Color Detection & Tracking with ESP32 Camera & OpenCV

preview_player
Показать описание
Up to 20%-30% off for PCB & PCBA order:
Only 0$ for 1-4 layer PCB Prototypes:

Register and get $100 from NextPCB:

𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
This project is all about Color Detection & Tracking with ESP32 CAM Module & OpenCV. Thus, we will be detecting any specific colors during live video streaming. Colour detection is necessary to recognize objects, it is also used as a tool in various image editing and drawing apps. This method is completely different from other ESP32-CAM Color Detection methods as we are not writing the color detection code for Microcontroller. Rather we will use our laptops for Python Code. This method makes the processing faster.

Later we will also share the values from our python code to ESP32-CAM using a Client-Server connection. The method of color detection used here is HSV or Hue Saturation Value conversion.

Here we have used the ESP32-CAM module, which is a small camera module with the ESP32-S chip. Besides the OV2640 camera and several GPIOs to connect peripherals, it also features a microSD card slot that can be useful to store images taken with the camera.

Initially, we will write the C Code for ESP32 CAM & then install Python and the required Python libraries. Later we will go through the Python Programming for using OpenCV. This is an essential tutorial as you will be able to use any sort of Image processing or Machine Learning on the live video without having to write it on Arduino IDE.

....................................................................................................................................................................................................................................

Drop a like if you liked this video.
Don't forget to subscribe to our channel for more Electronics projects and tutorials.

Рекомендации по теме
Комментарии
Автор

Thank you so much Jasmine, I like this video.

birdybirdy
Автор

wonderful esp32 camera project 🥰 something different than the raspberry pi opencv design 🤔 thank you 🤩🙎‍♀🧚‍♂🐦🐬🌴

qzorn
Автор

Great video, and great 3d printed case!👏👏👏👏👏

Makerfabs
Автор

This worked awesome, just one question, how can I send input from the python program back to the arduino to move a motor?? Please help! Thank you very much.

sudarshanseshadri
Автор

can you help me? I got this error

Error: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>

kakikuda
Автор

Such a great content 😍 thank you so much and keep Posting more such videos ❤️

xkvvwdz
Автор

Hello how to eletronics, I am first on the comment... 😊😃

mramzadg
Автор

do you have any idea about how do after the cam detect specific color then it will send notification to user?

nur_arifikhwan
Автор

will it work to tracking a rat outdoor in the ricefield??

febifebriansyah
Автор

it is showing Error compiling for board ESP32 Wrover Module.
please help

vinayakdeshmukh
Автор

when using reader.readtext() in the real time video, the stream is very slow. How can we solve this issue?

reemashrestha
Автор

I got "Error compiling for board ESP32 Wrover Module" please how cam I solve it?

kanakevin
Автор

What is the name of colour sensor used here?

nihadhpk
Автор

Great and clear video. But I only had 'CAMERA OK' but doesn't have the local IP address. How can I solve it? Thank you.

yoyopoonishere
Автор

Hi. Can we connect it to arduino?
(Example : when the camera detect red colour, so the servo motor is turn on)

Or can we take the RGB color data from this camera and process the data in arduino?

Thankyou

pokednaful
Автор

code is not compiling : two many library used wifi.h, pls suggest how to solve

ArjunKohli
Автор

Error compilling for board AI Thing ESP32-CAM

vinacheapcoltd
Автор

where can i find the code for a specific color, nice video

yayovera
Автор

I can't seem to run the esp32cam WifiCam.ino code. I got these errors:

In member function 'esp32cam::ResolutionList const':
error: 'camera_sensor_info_t' was not declared in this scope
error: 'info' was not declared in this scope
error: 'esp_camera_sensor_get_info' was not declared in this scope

hazqier