You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ This repo is based on [Tensorflow Object Detection API](https://github.com/tenso
6
6
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.
7
7
8
8
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.
9
10
10
11
This repo can be deployed using either **docker** or **docker swarm**.
11
12
@@ -153,8 +154,17 @@ Returns the specified model's configuration
153
154
154
155
Performs inference on specified model and a list of images, and returns bounding boxes
155
156
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)
157
158
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
+

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
158
168
## Model structure
159
169
160
170
The folder "models" contains subfolders of all the models to be loaded.
@@ -257,3 +267,5 @@ Inside each subfolder there should be a:
257
267
Joe Sleiman, inmind.ai , Beirut, Lebanon
258
268
259
269
Antoine Charbel, inmind.ai, Beirut, Lebanon
270
+
271
+
[Anis Ismail](https://www.linkedin.com/in/anisdismail), Lebanese American University, Beirut, Lebanon
0 commit comments