Click here to Skip to main content
15,034,598 members
Articles / Artificial Intelligence / Tensorflow


5 bookmarked

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
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.




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


About the Author

Raphael Mun
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