Layers model transfer Learning with MobileNet v2 in TensorFlow.js
Awaiting TF.js load
- First enable webcam and allow access when asked.
- Now find an object, point cam at it, click and hold gather class 1 data button to gather at least 30 samples.
- Repeat for class 2 with a different object of interest. Get similar number of samples.
- Click train and predict and wait while the model is trained live in your browser. No data is sent to server.
- Once trained you will see live predictions appear above the video for what it thinks it sees.