pip install flask
python rest_service.py
curl http://127.0.0.1:5000/
curl -F "image=@img1.jpg" http://127.0.0.1:5000/upload
Minimal working example of a REST service doing image recognition in Python
pip install flask
python rest_service.py
curl http://127.0.0.1:5000/
curl -F "image=@img1.jpg" http://127.0.0.1:5000/upload
Minimal working example of a REST service doing image recognition in Python