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.
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)