Using webcam/mobile camera
https://optimistic-davinci-81bcd8.netlify.com/
Whereas typical object detection models run in powerful servers, this one runs on your device. So if your device is slow, it will take time.
- Github : https://github.com/ShawonAshraf/Webcam-Object-Detection
- Gitlab : https://gitlab.com/ShawonAshraf/tfjs-object-detection
Using Tiny YOLO, an ML model that's been converted to work in Tensorflow.js
Check the package.json file.
- Clone the repo
cd
into the directory and run the following commands
npm install
npm run run-local
- Open your web browser and navigate to
http://localhost:3000
- Allow browser to use your webcam.