Uploaded January 2026 | Updated November 2026, 3 hours ago
I built an ESP32-powered parts counter for $34 using computer vision!
hackmakemod.com/blogs/projects/parts-counter-blob-counter
Using a LilyGo T-Camera Plus S3 and blob detection algorithms, I created a completely self-contained parts counter that requires no laptop or external processing. The secret? Classic connected-component labeling from the 1960s running under 900 lines of code.
In this video:
1. How blob counting works (binary conversion, flood-fill, and size filtering)
2. Why backlighting beats ring lights and single-source lighting
3. The three critical tuning parameters: Threshold, Min Size, and Max Size
4. Why this approach is better than machine learning for this application
5. A real-world speed test you won't want to miss
The system uses a custom 3D-printed backlit counting tray and camera mount to ensure consistent, crisp silhouettes. The built-in screen can cycle between live camera feed, blob mask view, and final count - perfect for instant troubleshooting.
This project is completely independent - no sponsors, just sharing what works.
Free 3D files and full code available at: HackMakeMod.com
The code should work with most ESP32 camera boards. If you want to improve on this design or adapt it for your own workshop, grab the files and let me know what you build!
I built an ESP32-powered parts counter for $34 using computer vision!
hackmakemod.com/blogs/projects/parts-counter-blob-counter
Using a LilyGo T-Camera Plus S3 and blob detection algorithms, I created a completely self-contained parts counter that requires no laptop or external processing. The secret? Classic connected-component labeling from the 1960s running under 900 lines of code.
In this video:
1. How blob counting works (binary conversion, flood-fill, and size filtering)
2. Why backlighting beats ring lights and single-source lighting
3. The three critical tuning parameters: Threshold, Min Size, and Max Size
4. Why this approach is better than machine learning for this application
5. A real-world speed test you won't want to miss
The system uses a custom 3D-printed backlit counting tray and camera mount to ensure consistent, crisp silhouettes. The built-in screen can cycle between live camera feed, blob mask view, and final count - perfect for instant troubleshooting.
This project is completely independent - no sponsors, just sharing what works.
Free 3D files and full code available at: HackMakeMod.com
The code should work with most ESP32 camera boards. If you want to improve on this design or adapt it for your own workshop, grab the files and let me know what you build!










