This is an example of a server client application that helps for price recognition from an image captured by the phone.
-
Install Docker.
-
Build the Docker image using the configurations inside the Dockerfile. The name of the image is object-detect.
docker build -t object-detect ./tf-serve
- Run the Docker image.
docker run --name object-detect -h 0.0.0.0 --network="host" --rm -d object-detect:latest
# --name For easy referencing this container
# --network Setup network as host
# --rm Removes container when it is stopped
# -d Daemonize the docker container
# -h Setup hostname, so we can access it using localhost
- Models are available on Google Drive
- Install requirement (python version > 3.x)
pip3 install -r requirement.txt
- Run server
python api/predict.py
MIT