Skip to content

Multiple object detection using Webcam and the COCO-SSD pre trained model in TensorFlow.js

License

Notifications You must be signed in to change notification settings

kalmufti/tfjs-webcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorFlow.js Webcom Multi Object detection.

Multiple object detection using COCO-SSD a pre trained model in TensorFlow.js

This porject lives on Glitch at https://tfjswebcam.glitch.me

Feel free to fork this and use it as a quick way to start coding with TensorFlow.js directly or following some other tutorial that needs TensorFlow.js to run.

Your Project

← index.html

We simply have a script tag in our HTML to grab the a version of TensorFlow.js

To user the altest version of TensorFlow.js update the script line as the the following:

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs/dist/tf.min.js" type="text/javascript"></script>

However, if you want to pull in a particular version of TensorFlow.js you can do so like this:

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js" type="text/javascript"></script>

← style.css

Nothing to see here. Just styles to make the demo look prettier. You can use or ignore these as you please.

← script.js

All the code for using TensorFlow.js and the starting the webcom is here.


About

Multiple object detection using Webcam and the COCO-SSD pre trained model in TensorFlow.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published