This website requires JavaScript.
Explore
Help
Register
Sign In
realrobotshk
/
vision
Watch
1
Star
0
Fork
You've already forked vision
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c2f4e52e80
vision
/
pc_vision
/
models
/
teachable
History
Jake
71645fc5ca
streaming, comms, and basic image processing app
2026-07-17 14:52:46 +08:00
..
README.md
streaming, comms, and basic image processing app
2026-07-17 14:52:46 +08:00
labels.txt
streaming, comms, and basic image processing app
2026-07-17 14:52:46 +08:00
README.md
Unescape
Escape
Teachable Machine export folder
Collect samples in the viewer first (Class + Save sample / P key),
then upload pc_vision/samples/Ball and .../Background into TM classes.
1. Go to
https://teachablemachine.withgoogle.com/
→ Image Project
2. Create classes, e.g. "Ball" and "Background"
3. Train, then Export Model → Tensorflow → Keras
4. Unzip and copy these two files into THIS folder:
keras_model.h5
labels.txt
5. In the viewer: Method → Teachable Machine (or click Load TM model…)
Tips for kids workshops:
- Take 30
–
50 photos of the ball from different angles / distances
- Take 30
–
50 background photos of the floor / room without the ball
- Retrain whenever lighting or the ball changes, then overwrite these files
Needs: pip install tensorflow (or tensorflow-cpu)