fustyles / Arduino

389 stars 287 forks source link

Feedback on output pin of ESP32 #6

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi, props to your work. I am new to progamming in Java, so let me ask this question: Where do I have to put the part, that turns on e.g. a led, when a special light colour is detected?

I want to have feedback from the microcontroller, when a flashlight is pointed on the camera (-> detecting white), to use the signal for hardware issues.

Best regards from Germany, Paul Loer

fustyles commented 4 years ago

Use Tracking.js to detect color. (Line 1102-1155) https://github.com/fustyles/Arduino/blob/master/ESP32-CAM_Tracking.js/ESP32-CAM_Tracking.js_color/ESP32-CAM_Tracking.js_color.ino

Video https://www.youtube.com/watch?v=ywo0wwn-VDc&list=PLZe8S9aHg1TNggXgAQjRhzPN-YI6vTbBn&index=20&t=0s