The problem
Manual inspection of fabric is slow, tiring and error-prone.
A YOLO inspection system that reads several USB or IP camera streams, detects holes, lines and creases, and signals an ESP32 over serial to sound a buzzer or drive an actuator.
Catch defects early on the production line, cutting human error and waste.
The key decisions
A custom YOLO model for holes, lines and creases.
Thread-based capture across several USB and IP cameras.
A non-blocking serial link to an ESP32 that drives buzzers and actuators, in three sensor variants.
What was hard, and what I did
Keeping several cameras in sync
Thread-based OpenCV handlers per stream.
Changing light and fabric textures
Training on an augmented dataset.
Real-time inference
A smaller YOLO variant with reduced input size.
Hardware and software staying in step
Serial buffers with non-blocking reads and writes.
Tested in simulated and real textile production environments. A web dashboard and edge deployment are future work.
The numbers
Only numbers I can back up are shown here. Where a figure is self-reported or from a benchmark I haven't re-run, it says so.
Screens and hardware
Built with
Role to add.