Skip to content

Image classification using official Tensorflow model trained with ImageNet dataset.

Notifications You must be signed in to change notification settings

sonttran/tensorflow-image-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image recognition using Tensorflow official model

Usage

  • 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

Chihuahua

Labrador

About

Image classification using official Tensorflow model trained with ImageNet dataset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages