Skip to content

Commit 38bb99d

Browse files
Updated documentation
1 parent c3e19df commit 38bb99d

1 file changed

Lines changed: 9 additions & 17 deletions

File tree

README.md

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ sudo docker build --build-arg http_proxy='' --build-arg https_proxy='' -t yolov3
5555

5656
## Run The Docker Container
5757

58-
To run the API, go to the project's root directory and run the following:
58+
To run the API, go the to the API's directory and run the following:
5959

6060
#### Using Linux based docker:
6161

@@ -79,7 +79,7 @@ To see all available endpoints, open your favorite browser and navigate to:
7979
```
8080
http://<machine_IP>:<docker_host_port>/docs
8181
```
82-
The 'predict_batch' endpoint is not shown on swagger.
82+
The 'predict_batch' endpoint is not shown on swagger. The list of files input is not yet supported.
8383

8484
**P.S: If you are using custom endpoints like /load, /detect, and /get_labels, you should always use the /load endpoint first and then use /detect or /get_labels**
8585

@@ -133,24 +133,26 @@ Returns the specified model's configuration
133133

134134
Performs inference on specified model and a list of images, and returns bounding boxes
135135

136+
**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**
137+
136138
## Model structure
137139

138140
The folder "models" contains subfolders of all the models to be loaded.
139141
Inside each subfolder there should be a:
140142

141-
- Cfg file (ends with .cfg): contains the configuration of the model
143+
- Cfg file (yolo-obj.cfg): contains the configuration of the model
142144

143-
- Weights file (ends with .weights)
145+
- Weights file (yolo-obj.weights)
144146

145-
- Names file (ends with .names) : contains the names of the classes
147+
- Names file (obj.names) : contains the names of the classes
146148

147149
- Config.json (This is a json file containing information about the model)
148150

149151
```json
150152
{
151153
"inference_engine_name": "yolov3_opencv_cpu_detection",
152-
"confidence": 60,
153-
"nms_threshold": 0.6,
154+
"confidence": <between_0_and_100>,
155+
"nms_threshold": <between_0_and_1>,
154156
"image": {
155157
"width": 416,
156158
"height": 416,
@@ -169,8 +171,6 @@ Inside each subfolder there should be a:
169171
}
170172
```
171173
P.S
172-
- confidence value should be between 0 and 100
173-
- nms_threshold value should be between 0 and 1
174174
- You can change confidence and nms_threshold values while running the API
175175
- The API will return bounding boxes with a confidence higher than the "confidence" value. A high "confidence" can show you only accurate predictions
176176

@@ -206,11 +206,3 @@ Inside each subfolder there should be a:
206206

207207
## Acknowledgment
208208

209-
[inmind.ai](https://inmind.ai)
210-
211-
[robotron.de](https://robotron.de)
212-
213-
Antoine Charbel, inmind.ai , Beirut, Lebanon
214-
215-
Daniel Anani, inmind.ai, Beirut, Lebanon
216-

0 commit comments

Comments
 (0)