Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 723 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 723 Bytes

ImageAIDemo

Dockerised version of the example provided by Moses Olafenwa in his article Object Detection with 10 lines of code

cd docker-imageAI
sudo docker build -t imageai --file Dockerfile .
sudo docker run --rm -it imageai /bin/bash
sudo docker run -p 127.0.0.1:8080:8080 -d imageai
sudo docker container ls
curl -X POST 127.0.0.1:8080 --data-binary @/home/breim/Desktop/foto1.jpg # if post mode, i will finish this soon.
docker exec -it imageai bash # login in docker

Todo

Implement a curl post with http.server to return json response.