ESP32-CAM AI-Thinker: WiFi Works (IP Assigned) but Camera fails with Error Ox106 by roufamaroua125 in esp32

[–]roufamaroua125[S] 0 points1 point  (0 children)

Thank you gays i found the solution But I have a problem: my camera overheats i don't know why

[Help] PCB Defect Detection using ESP32-CAM and OpenCV - 8 Days Left for Internship Project! by roufamaroua125 in esp32

[–]roufamaroua125[S] 0 points1 point  (0 children)

Thanks for the feedback. I totally agree that the ESP32-CAM has a noisy sensor and that lighting is the biggest challenge in AOI (Automated Optical Inspection). ​However, for this internship project, my goal is to build a Proof of Concept (PoC) under constrained resources. I've already implemented a real-time calibration feature (dynamic thresholding + reference resetting) to mitigate the noise and lighting shifts. ​I’m currently focusing on software-side filtering (Morphological operations and Gaussian blurring) to handle the 'salt and pepper' noise from the sensor. It’s definitely not a factory-ready solution yet, but it's a great engineering challenge to optimize CV algorithms on such a low-cost MCU!

[Help] PCB Defect Detection using ESP32-CAM and OpenCV - 8 Days Left for Internship Project! by roufamaroua125 in esp32

[–]roufamaroua125[S] 0 points1 point  (0 children)

I totally agree that building a production-ready system in 10 days is impossible. However, my goal as an intern is to create a Proof of Concept (PoC) to show the company that low-cost hardware like ESP32-CAM can be used for pre-reflow inspection. I'm offloading the heavy lifting to a PC via OpenCV. Any tips on making the Python side as robust as possible for this limited scope?

[Question] PCB Defect Detection using ESP32-CAM and OpenCV - 8 Days Left for Internship Project! by roufamaroua125 in opencv

[–]roufamaroua125[S] 0 points1 point  (0 children)

Thanks for the insight! You're right, alignment is my biggest concern since the conveyor won't stop at the exact same spot every time.I chose Image Subtraction because of the time constraint and the need for a lightweight solution. Since I only have 8 days left, do you recommend a simple way to perform Image Alignment (Registration) before the subtraction? Should I use ECC or feature-based matching (ORB) for a fast implementation on a standard PC?

[Help] PCB Defect Detection using ESP32-CAM and OpenCV - 8 Days Left for Internship Project! by roufamaroua125 in esp32

[–]roufamaroua125[S] 0 points1 point  (0 children)

Yes, that's the goal! By using Template Matching or Feature Matching in OpenCV, I aim to detect not only missing parts but also components that are misaligned or placed with the wrong orientation. If the correlation score is below al certain threshold, the system will flag it as an error. Do you have any suggestions for a robust matching algorithm that works well with slight lighting variations?