Tensorflow.js is an open-source library enabling us to define, train and run machine learning models in the browser, using Javascript. For more information about Tensorflow.js, check out its official webpage. I will use Tensorflow.js library in Angular to build a Web App which detects multiple objects on webcam video feed.
First, we have to select the pre-trained model which we are going to use for object detection. Tensorflow.js provides several pre-trained models for classification, pose estimation, speech recognition and object detection purposes. Check out all the Tensoflow.js pre-trained models for more information.
Run npm run start:dev
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
MIT License
Copyright (c) [2019] [UNX Digital]