A Simple TensorFlowJS Image Recognition Project | NodeJS & Coco SSD

TensorFlow logo
TensorFlowJS logo. Source

Project Walkthrough

Folder structure
Folder Structure
Install Project Dependencies
Final package.json file
package.json
Html markup, index.html
Helper function: parseImageImport
Helper function: parseImageImport
Helper functions: detectContour() and drawImage()
Helper functions: detectContour() and drawImage()
IIFE performing the loading the model and performing predictions
IIFE performing the loading the model and predictions
images/index.js
images/index.js

Result

Application showing candidate images annotated with predictions. Candidate image source: Unsplash

In conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store