Click here to Skip to main content
15,867,568 members
Articles / Artificial Intelligence / Tensorflow

Dogs and Pizza: Computer Vision in the Browser With TensorFlow.js

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
9 Jul 2020CPOL4 min read 8.5K   174   6  
In this article, we’ll dive into computer vision running right within a web browser.
Here we look at: Gathering test images, imports TensorFlow.js and a collection of sample images, add an image element (set to 224px), add a status text element with functions to set the images, add code to randomly pick and load one of the images, running object recognition, and adding code to show the prediction result in text.

Views

Daily Counts

Downloads

Weekly Counts

This article is part of the series 'Face Touch Detection with Tensorflow.js View All

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
Raphael Mun is a tech entrepreneur and educator who has been developing software professionally for over 20 years. He currently runs Lemmino, Inc and teaches and entertains through his Instafluff livestreams on Twitch building open source projects with his community.

Comments and Discussions