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

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

LGMVIP — WEB DEVELOPMENT INTERNSHIP EXPERIENCE

Navigating Xcode for React Native Developers (with a web background)

Simple Splash/Launch/Boot Screen in React Native (iOS and Android)

Announcing Bit with Angular Public Beta

location’s href vs replace vs assign in JavaScript — Technolize Your Future

Keep Calm and Stay Strong

React Native — Make Your Imports Easy To Write

Building effective Error Boundaries in React.

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
Ayokunle Odutayo

Ayokunle Odutayo

Engineer

More from Medium

Socket.IO & it’s Implementation Using Node.js

Hi Node js, I have added you in my project.

Creating a server and logger with Node.js

readFile() vs readfileSync() in node.js