Skip to content

Predict Image Content 🖼 using Tensorflow.js and ImageNet Dataset Model 💿

Notifications You must be signed in to change notification settings

tharunoptimus/predict-image-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prediction using Image Classification Model - ImageNet Database

Predicts the object in the captured image using a trained model

ML Libraries used

How this works

  • The model is loaded from the from the Library
  • The image is captured by the device camera
  • The image is converted to a tensor
  • The tensor is passed to the model
  • The model outputs the predicted object

Issues in v1

  • The first prediction takes longer time to be completed because the model is loaded from the library for the first time
  • Could not cache the model using service worker because it depends on other online resources
  • Passess 100% of the lighthouse audit except for the Performance because the model is loaded from the library

Install it as PWA

Enjoy!

About

Predict Image Content 🖼 using Tensorflow.js and ImageNet Dataset Model 💿

Topics

Resources

Stars

Watchers

Forks