Commit d51f79ac authored by sleepless-se's avatar sleepless-se
Browse files

update readme

parent b4703048
Pipeline #67732110 passed with stage
in 13 minutes and 20 seconds
......@@ -3,7 +3,7 @@
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`
`docker run -p 80:80 -v /path/to/yolo_weights.h5:/app/model_data/yolo_weights.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**
......@@ -24,11 +24,11 @@ Please replace to your image path `path/to/image.jpg`
You can edit ImageAI API.
1. Clone repository `git clone git@gitlab.com:sleepless-se/imageai_object_detection_api.git`
1. Edit `imageai_object_detection_api/api.py` as you want.
1. Folk [this repository](https://gitlab.com/sleepless-se/keras_yolo3_object_detection_api)
1. Clone repository `git clone git@gitlab.com:YOUR_ID/keras_yolo3_object_detection_api.git`
1. Run from `docker run -p 5000:5000 -v $(pwd):/app registry.gitlab.com/sleepless-se/keras_yolo3_object_detection_api python3 api.py`
1. Edit `api.py` or `yolo.py`
Here is [ImageAI Document](https://imageai.readthedocs.io/en/latest/)
## Build and Push
## Build Push
If you are fork on GitLab it's automatically build and push on the GitLab Container Registry.
You only need push to GitLab. It's automatically build and push to GitLab Container Registry.
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