- ESP32 Camera Module
- FTDI Transmitter
- Connecting Wires
- USB Cable - A-Male to Mini-B
-
Connect the ESP32 Camera with the FTDI Transmitter in the following way
-
Use the USB Cable to connect the Transmitter with your PC
- Open Arduino IDE and open the ColorDetectionTest file.
- Replace SSID and Password with your network ID.
- Make sure Board is (ESP32 Wrover Kit) and a desirable COM port is selected (The one to which your module is connected)
- Hold the reset button on the ESP32 and click Upload. Keep holding the reset button.
- When you see Connecting… on the console, release the reset button.
- Wait for the console to say Hard Resetting Pin
- Now remove the IO0 pin from ESP32 and press Reset button again
- Wait for Serial Monitor to say Camera Ok and note down the Local IP (192.168.1.XX)
- Open CV2 File, replace IP address with Local IP and run program (F5).
Can detect a single color with full accuracy. (Current configuration is for red). You can change it to use for different color by changing the lower and upper HSV Values in the file.
Can detect more than one color. Works on the basis of dominant color detected. Hue values in the code might need updates.
Can detect more than one color. Works on the basis of storing a specific moment as an image, then upon intialization, can check for changes. If changes detected, then tells which new color has been spotted. Bugs yet to be fixed.