- Image classification using official Tensorflow model trained with ImageNet dataset.
- Have Python and Tensorflow installed
- Run
git clone https://github.com/sonttran/tensorflow-image-classification.git
cd tensorflow-image-classification
python3 classify_image.py --image_file <path/to/your/image/file> --num_top_predictions <integer (default 5)>
- Example
python3 classify_image.py --image_file ./5.jpeg
- Response
Labrador retriever (score = 0.43014)
Chesapeake Bay retriever (score = 0.13870)
kelpie (score = 0.06117)
Rottweiler (score = 0.01032)
flat-coated retriever (score = 0.00776)
- This demo uses Vpop Node.js server and exposes this image recognition engine to the web
- Samples