Skip to content

Commit 332b19a

Browse files
authored
Update README.md
1 parent c5b1fab commit 332b19a

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This repo is based on [Tensorflow Object Detection API](https://github.com/tenso
66
The Tensorflow version used is 1.13.1. The inference REST API works on CPU and doesn't require any GPU usage. It's supported on both Windows and Linux Operating systems.
77

88
Models trained using our training tensorflow repository can be deployed in this API. Several object detection models can be loaded and used at the same time.
9+
This repo also offers optical character recognition services to extract textboxes from images.
910

1011
This repo can be deployed using either **docker** or **docker swarm**.
1112

@@ -153,8 +154,17 @@ Returns the specified model's configuration
153154

154155
Performs inference on specified model and a list of images, and returns bounding boxes
155156

156-
**P.S: Custom endpoints like /load, /detect, and /get_labels should be used in a chronological order. First you have to call /load, and then call /detect or /get_labels**
157+
#### /models/{model_name}/one_shot_ocr (POST)
157158

159+
Takes an image and returns extracted text details. In first place a detection model will be used for cropping interesting areas in the uploaded image. Then, these areas will be passed to the OCR-Service for text extraction.
160+
161+
#### /models/{model_name}/ocr (POST)
162+
163+
![predict image](./docs/5.gif)
164+
165+
Takes an image and returns extracted text details without using an object detection model
166+
167+
**P.S: Custom endpoints like /load, /detect, /get_labels and /one_shot_ocr should be used in a chronological order. First you have to call /load, and then call /detect, /get_labels or /one_shot_ocr
158168
## Model structure
159169

160170
The folder "models" contains subfolders of all the models to be loaded.
@@ -257,3 +267,5 @@ Inside each subfolder there should be a:
257267
Joe Sleiman, inmind.ai , Beirut, Lebanon
258268

259269
Antoine Charbel, inmind.ai, Beirut, Lebanon
270+
271+
[Anis Ismail](https://www.linkedin.com/in/anisdismail), Lebanese American University, Beirut, Lebanon

0 commit comments

Comments
 (0)