Commit 0829e9f8 authored by sleepless-se's avatar sleepless-se
Browse files

update read me

parent d9a3191f
Pipeline #67710550 passed with stage
in 12 minutes and 41 seconds
# ImageAI Object Detection API
# keras-yolo3 Object Detection API
## Setup
`docker run -p 80:80 registry.gitlab.com/sleepless-se/imageai_object_detection_api:latest`
Please replace `/path/to/yolo_weights.h5` and `/path/to/voc_classes.txt` by your own file.
`docker run -p 80:80 -v /path/to/yolo_weights.h5:/app/model_data/yolo.h5 -v /path/to/voc_classes.txt:/app/model_data/voc_classes.txt registry.gitlab.com/sleepless-se/keras_yolo3_object_detection_api:latest`
## Test
**Access**
http://localhost
You can see `Welcome to Object detection!`
You can see `Welcome to keras-yolo3 Object detection!`
**Object ditection**
Send your image to the API. It's return the result of object detection by YOLOv3.
Please replace to your image path `path/to/image.jpg`
`curl -X POST -F image=@path/to/image.jpg http://localhost/predict`
Please replace to your image path `path/to/image.jpg`
## Develop
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment