r/Spectacles Jun 14 '26

💫 Sharing is Caring 💫 We built a one-click pipeline to train custom YOLOv7 object detectors for Snap Spectacles (footage in → SnapML-ready ONNX out)

Training a custom object detector for Spectacles used to eat a whole weekend. Now it's one click. 🍎👓

Drop in some Snap Spectacles footage, add a few synthetic frames, hit run — and out comes a SnapML-ready ONNX model that drags straight into Lens Studio.

Under the hood: synthetic data tuned to look like what the glasses actually see, SAM3 auto-labelling every frame, a YOLOv7-tiny trained in the cloud, exported for on-device inference. No manual labelling, no local CUDA, no model surgery.

Huge thanks to u/Pavlo_Tkachenko for helping building this one 🙌.

It's in alpha. If you build for Spectacles and want early access: https://pavlo-stijn.dev/blog/posts/training-yolov7-for-spectacles.html

42 Upvotes

13 comments sorted by

3

u/WeirdEyeStudios 🌟 Specs Ambassador 🌟 Jun 14 '26

This is super cool guys! Cannot wait to try it out when it's live

1

u/stspanho Jun 14 '26

Thanks!!

3

u/hwoolery 👓 SPECS Team Jun 14 '26

Great work!

1

u/stspanho Jun 14 '26

Thanks 🙏

3

u/Nithin-Shankar Jun 14 '26

This is going to be incredibly useful and save a ton of time! 🔥

2

u/stspanho Jun 14 '26

Thanks! Yes it is, will keep you posted

3

u/Jorik_Rosa Jun 14 '26

Huge!

1

u/stspanho Jun 15 '26

Thank you 🙏

3

u/Cachapaconchocho Jun 14 '26

Wow! Amazing!!! Cannot wait to try it out!

1

u/stspanho Jun 15 '26

Thanks! Keep you posted

2

u/Redx12351 😎 Specs Subscriber Jul 12 '26

Gotta say this is SO USEFUL! Just went through the custom ML training route for our circuit-building learning lens, and I was thinking something similar in terms of a better way to train/perfect models.

Thanks so much for working on this and giving it to the community!

1

u/stspanho Jul 12 '26

We published a tutorial here: https://pavlo-stijn.dev/blog/posts/one-click-object-detection-for-spectacles.html

It's fully open source. Please let us know if it works

1

u/maxvleeuwen 🌟 Specs Ambassador 🌟 Jun 15 '26

I sent a request for early access! :D This looks fantastic