Тёмный

How to do Object Detection using ESP32-CAM and Edge Impulse YOLO Model 

Circuit Digest
Подписаться 111 тыс.
Просмотров 54 тыс.
0% 0

Опубликовано:

 

4 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 100   
@eloquentarduino5988
@eloquentarduino5988 Месяц назад
Glad to see your video made 10x my views in just 10 days T_T. That said, I'm happy that more people get to know my library
@Circuitdigest
@Circuitdigest Месяц назад
Hey thank you! your work is also amazing, great job!!!
@Circuitdigest
@Circuitdigest Месяц назад
I think its possible, not sure though
@tarun2145
@tarun2145 Месяц назад
​@@Circuitdigest hi sir, Which algorithm is this working on
@PriyankBolia
@PriyankBolia Месяц назад
Yours is the only Indian Tech Channel worth watching, all others make such basic videos, but your projects has some standard.
@Tony770jr
@Tony770jr Месяц назад
Nice video, but zoom in on the Arduino IDE text so it's easier to view on a mobile device. Thanks!
@Circuitdigest
@Circuitdigest Месяц назад
You can get all the necessary details on the project page linked in the video description.
@yashilseedoyal5899
@yashilseedoyal5899 6 дней назад
Nice video, could you please show what you've modified in the code for the oled display? Thanks
@duyhoang2615
@duyhoang2615 11 дней назад
Great project Sir. How many classifications that Esp-cam can store? Does your project have any restrictions?
@Yashnarvariya-yd7yt
@Yashnarvariya-yd7yt 2 дня назад
Hi sir please suggest some good major project,I need it for my sem exam
@financexplorer
@financexplorer Месяц назад
Thank you keep upgrading us
@niveshshrestha7326
@niveshshrestha7326 Месяц назад
Gald to see Indian IT guy working also on hardware
@priyakoppuravuri7121
@priyakoppuravuri7121 День назад
i have uploaded zip library and did exactly as shown in video to run esp32cam code. its showing error before compilation finished. error is "The error you're encountering indicates issues with the use of initializer lists in your code. The error message either all initializer clauses should be designated or none of them should be points to improper mixing of designated and non-designated initializers." can you please resolve this. trying from 1 month.
@AVI-xo1kb
@AVI-xo1kb Месяц назад
Nice video 👍 gonna try it asap. Keep uploading informative videos like this.
@Circuitdigest
@Circuitdigest Месяц назад
Thank you, I will
@frankdearr2772
@frankdearr2772 Месяц назад
Great topic, thanks 👍
@jeremiahthompson82
@jeremiahthompson82 Месяц назад
Thanks. Very nice job
@gsk1986
@gsk1986 17 дней назад
Awsome.. relevent tech
@Alice8000
@Alice8000 6 дней назад
YOLOOOOOOO!~ nice vid
@JohnxGamerMinecraft
@JohnxGamerMinecraft 7 дней назад
I want to calculate, the distance from the ESP32CAM to the object, How i can do this with the size of the centroid?
@chmadanmohansantosh6482
@chmadanmohansantosh6482 Месяц назад
very nice.. enjoyed
@ath_greek
@ath_greek Месяц назад
could you do a video with servos pan and tilt and esp32 cam (recognizing and tracking?)
@bennguyen1313
@bennguyen1313 Месяц назад
Can you do a video on how to debug an Edge/YOLO project using a JTAG debugger (ESP-Prog)?
@vitorpatricio2586
@vitorpatricio2586 9 дней назад
I am trying to do that using esp-idf, but is harder than that surely! At professinal application we need be capable to port the project in esp-idf, I am almost giving up
@Circuitdigest
@Circuitdigest 8 дней назад
You can refer this docs.edgeimpulse.com/docs/tutorials/lifecycle-management/ota-model-updates/ota-model-updates-espressif-idf
@techfun8528
@techfun8528 9 дней назад
Bro i just want to upload the code to the ESP-32 CAM through ESP 8266, so is there any other process need to be follow for that approach
@YigalBZ
@YigalBZ Месяц назад
Excellent video. Thank you. Few questions: 1) do you know if the libraries included in VScode? 2) Any idea how far can such a detection work with this camera?
@Circuitdigest
@Circuitdigest Месяц назад
You can use the same library with VScode and Platform IO. the detection range would be very small since the ESP32 can only process image with lower resolution. if you increase the resolution the frame rate will be reduced drastically and the ESP32 may even crash with very high resolutions.
@delfindaffa7953
@delfindaffa7953 Месяц назад
For the ESP32 board, what version of the library is used?
@mr.emptygamingyt
@mr.emptygamingyt Месяц назад
2.0.4
@GergelyCsermely
@GergelyCsermely Месяц назад
Thanks
@rohitchaudhari5337
@rohitchaudhari5337 12 дней назад
Nice content. I follow all the same steps, but dont know why i am getting below error in verious line of codes. conv.cpp:178<a href="#" class="seekto" data-time="546">9:6</a>7: error: either all initializer clauses should be designated or none of them should be 1789 | .channels = input->dims->data[3], 1 | ^
@rohitchaudhari5337
@rohitchaudhari5337 12 дней назад
I resolved the above issue Just editing the file ei_classifier_config.h in exported Arduino library folder: /scr/edge-impulse-sdk/classifier/ Disabling #define EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN 1 and set it to 0 will allow the project to compile ."
@pixel__spot932
@pixel__spot932 5 дней назад
can we use this to detect the number of cars in traffic ?, please reply
@Circuitdigest
@Circuitdigest 4 дня назад
You can. you will need to train you model accordingly.
@ASRoBo
@ASRoBo Месяц назад
Nice video❤ I want to on red led when onion is detected, green when potato is detected and yellow when tomato is detected, is it possible ? , if yes how can i do this ?
@Circuitdigest
@Circuitdigest Месяц назад
Yes you can activate a corresponding LED when a specific object is detected. You can check for the bb.label value and activate the LEDs accordingly.
@muhammadNadeem-wp7vn
@muhammadNadeem-wp7vn Месяц назад
Sir, this is my first time on this channel. Sir, I made a car detection project using Edge Impulse, but when I uploaded it to the ESP32-CAM, I encountered many initializer errors during compilation. Sir, please tell me why this happened when everything was auto-generated.
@Circuitdigest
@Circuitdigest Месяц назад
You will have to give a bit more context.
@Amankhan-b4p8f
@Amankhan-b4p8f 4 дня назад
Can we use this for facial recognition?
@Circuitdigest
@Circuitdigest 3 дня назад
Yes. Here is the face recognition project. circuitdigest.com/microcontroller-projects/esp32-cam-face-recognition-using-edge-impulse
@iot_enthusiast
@iot_enthusiast Месяц назад
nicely done! quick clarification - @<a href="#" class="seekto" data-time="339">5:39</a> GPIO0 should be held High or Low ?
@Circuitdigest
@Circuitdigest Месяц назад
GPIO should be pulled to LOW.
@nandhakishore8439
@nandhakishore8439 14 дней назад
sir i am using esp32 camera and the camera module they gave to code , the module have the same number of pin holes which the camera board have, i put the camera in the module and connected the module to program , but i am not getting any output nothin is getting printed in the serial moniter
@Circuitdigest
@Circuitdigest 14 дней назад
Check the uart connection. tx pin should be connected to Rx of the uart converter and RX pin to the TX pin
@nandhakishore8439
@nandhakishore8439 8 дней назад
@@Circuitdigest Thank you sir
@user-ls1mt4ly5c
@user-ls1mt4ly5c 15 дней назад
Either all initializer clauses should be designated or none of them should be data_dims_t filter _dims={.width=filter__width,.height=filter_height,0,0}; how to correct this error.pls guide me step by step because im the beginner of doing project this is my first project.pls help me sir..thanks in advance
@Circuitdigest
@Circuitdigest 15 дней назад
Try editing the file ei_classifier_config.h in exported Arduino library folder: /scr/edge-impulse-sdk/classifier/: and set #define EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN from 1 to 0
@dfastergaming3534
@dfastergaming3534 Месяц назад
Building a High-Resolution POV Display using ESP3 I am making your this project in my third year Sir Can you provide me your PCB garba file in this (please sir help)🙏🙏🙏 One more question is I can use the ESP 32 inbuilt data transfer and charging pin it is work or not you can tell me 🙏🙏 👇👇👇 Building a High-Resolution POV Display using ESP32
@Circuitdigest
@Circuitdigest Месяц назад
Gerber file already on our website
@DwiAhmadza
@DwiAhmadza Месяц назад
Sir, can we use BLE 33 SENSE as programmer?
@Only_for_Harbinger_hackathon
@Only_for_Harbinger_hackathon Месяц назад
hello sir, I absolutely loved your video. I have a query, pls help me look into it. Ater saving impulse, when raw features are to be generated, it is saying "Error: VipsJpeg: Invalid SOS parameters for sequential JPEG" please help sir, this is causing a major setback in my projject.
@Circuitdigest
@Circuitdigest Месяц назад
Either change your training images. Images taken with some phones may show this kind of error. Use the ESP32 CAM to take the training images.
@Only_for_Harbinger_hackathon
@Only_for_Harbinger_hackathon Месяц назад
@@CircuitdigestThankyou, I did find out that this is caused by samsung phones, as pics taken using samsung devices have some error data, resaving the image in another device or format will work.
@user-ek3kx5gn5c
@user-ek3kx5gn5c Месяц назад
how to upgrade plan for edge impulse? I am not able to train the model for a large dataset
@Circuitdigest
@Circuitdigest Месяц назад
You will have to do that through the edge impulse website. The professional plan costs around 400$ per month.
@muthuselvimuthuselvi3364
@muthuselvimuthuselvi3364 18 дней назад
Either all initializer clauses should be designated or none of them should be data_dims_t filter _dims={.width=filter__width,.height=filter_height,0,0}; how to correct this error.
@Circuitdigest
@Circuitdigest 18 дней назад
Try editing the file ei_classifier_config.h in exported Arduino library folder: /scr/edge-impulse-sdk/classifier/: and set #define EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN from 1 to 0
@muthuselvimuthuselvi3364
@muthuselvimuthuselvi3364 17 дней назад
I didn't understand sir..I'm beginner of doing project..pls guide me step by step.. thanks in advance 🎉
@aimsinteractivepvtltd8147
@aimsinteractivepvtltd8147 Месяц назад
Effect of ambient light on performance??
@Circuitdigest
@Circuitdigest Месяц назад
Since we are working with gray scale images lighting difference is tolerable. But if you want reliable results lighting should be maintained constant
@user-ls1mt4ly5c
@user-ls1mt4ly5c 11 дней назад
Fatal error: stdbool.h:no such file or directory 23 | # include Compilation terminated how to clear this error
@Circuitdigest
@Circuitdigest 11 дней назад
Which version of ESP32 Arduino core are you using? Try using any 2.x.x.
@davidhouseago416
@davidhouseago416 Месяц назад
Can't upload camera code I get error 'Compilation error: 'ledcSetup' was not declared in this scope; did you mean 'ledc_stop'?
@Circuitdigest
@Circuitdigest Месяц назад
make sure to install Eloquent ESP32-CAM Library.
@SA-oj3bo
@SA-oj3bo Месяц назад
Will the accuracy with esp32 be lower or only slower compared to a solution on RP or PC? Which Yolo model is used for this ESP32 application?
@Circuitdigest
@Circuitdigest Месяц назад
The frame rate and accuracy will definitely better on RP or PC. We selected ESP32 cam because its a low cost option
@SA-oj3bo
@SA-oj3bo Месяц назад
@@Circuitdigest it is a great solution but I not understand why the same model would be less ac curate on an esp32, slower I agree, but less accurate? Sure?
@Circuitdigest
@Circuitdigest Месяц назад
@@SA-oj3bo During training the model we reduced the training cycle so as to reduce the code size and make it easy for esp32. ideally if you need better accuracy you should provide more training datasets and use high epoch but this is not feasible on a small processor like esp32. also we cannot use a better resolution camera with esp32
@TBS_d
@TBS_d Месяц назад
it says error compiling for ai thinker while uploading
@Circuitdigest
@Circuitdigest Месяц назад
You will have to be a bit more specific. what is the actual error?
@jayson-o2v
@jayson-o2v Месяц назад
hi, may i know why when i uploaded the code it showed compilation error and also some In function 'TfLiteStatus tflite::{anonymous}::Prepare(TfLiteContext*, TfLiteNode*)': , either all initializer clauses should be designated or none of them should be 1789 | .channels = input->dims->data[3], 1
@Circuitdigest
@Circuitdigest Месяц назад
Make sure to follow steps exactly as in the article. If you still face the same issue try editing the file ei_classifier_config.h in exported Arduino library folder: /scr/edge-impulse-sdk/classifier/: Disabling #define EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN 1 and set it to 0 will allow the project to compile .
@6901ben
@6901ben 21 день назад
@@Circuitdigest this works. thanks, I had same issue
@samanthilakabanadara4788
@samanthilakabanadara4788 Месяц назад
How to get an output (when detect union.output high or low)
@mohammedrahmansherif849
@mohammedrahmansherif849 Месяц назад
check from which variable the detection is coming from, and use if condition to check the class. Finally, use digitalWrite() to perform HIGH & LOW operations. Thanks!
@Circuitdigest
@Circuitdigest Месяц назад
You can use the GPIO pins on ESP32CAM to get output based on what you detect
@kittiyakuldee3102
@kittiyakuldee3102 29 дней назад
Hi, I tried to follow and uploaded it and it has a problem c:\Users\USER!\Documents\Arduino\libraries\test_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp:18<a href="#" class="seekto" data-time="2528">42:8</a>0: error: either all initializer clauses should be designated or none of them should be 1842 | data_dims_t filter_dims = {.width = filter_width, .height = filter_height, 0, 0}; | ^ exit status 1
@Circuitdigest
@Circuitdigest 29 дней назад
Try editing the file ei_classifier_config.h in exported Arduino library folder: /scr/edge-impulse-sdk/classifier/: and set #define EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN from 1 to 0
@kemaketseforkssebitiela3089
@kemaketseforkssebitiela3089 Месяц назад
Hello everyone...is this a supervised learning
@mohammedrahmansherif849
@mohammedrahmansherif849 Месяц назад
yes
@Circuitdigest
@Circuitdigest Месяц назад
Yes this comes under supervised learning
@PratikVyavahare-t4i
@PratikVyavahare-t4i Месяц назад
Sir how much project cost goes
@Circuitdigest
@Circuitdigest Месяц назад
Hardware wis you will need an ESP32-Cam module, which will cost anywhere around 400-600 INR.
@MohamedMusharafTEEE
@MohamedMusharafTEEE 29 дней назад
Bro after build the AI trained Model.the code is not Compiling it takes long time and they display "compilation terminated error". Please help me bro.to solve this problem.
@Circuitdigest
@Circuitdigest 28 дней назад
Nobody can help you if you don't provide the exact error code.
@MohamedMusharafTEEE
@MohamedMusharafTEEE 28 дней назад
@@Circuitdigest c:\Users\Mohamed Mushraf\Documents\Arduino\libraries\Waste_Segregation_System-project-1_inferencing\src\edge-impulse-sdk\porting\espressif\ESP-NN\src\convolution\esp_nn_conv_s8_filter_aligned_input_padded_esp32s3.S:2: fatal error: opening dependency file C:\Users\Mohamed Mushraf\AppData\Local\Temp\arduino\sketches\D60EA5CD2FB35EF678691B1E576D39DC\libraries\Waste_Segregation_System-project-1_inferencing\edge-impulse-sdk\porting\espressif\ESP-NN\src\convolution\esp_nn_conv_s8_filter_aligned_input_padded_esp32s3.S.d: No such file or directory 2 | #if EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN && EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN_S3 compilation terminated. exit status 1 Compilation error: exit status 1
@Circuitdigest
@Circuitdigest 24 дня назад
Why are you using ESP32 S3? which camera module are you using? For normal ESP32 camera module select the appropriate ESP32 board.
@user-mb9tu3sh2d
@user-mb9tu3sh2d 27 дней назад
are you a malayali ?
@MuhammadRidho-qu9ey
@MuhammadRidho-qu9ey 27 дней назад
hello sir, is it not possible to have a bounding box or something similar? The point is to detect objects in real time with an ESP32 cam that has a bounding box or centeroid 😭😮‍💨
@gametube630
@gametube630 26 дней назад
Thank you for the video. I have a problem with the compiling of the code. c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp: In function 'void tflite::{anonymous}::EvalQuantizedPerChannel(TfLiteContext*, TfLiteNode*, const TfLiteConvParams&, const NodeData&, const TfLiteEvalTensor*, const TfLiteEvalTensor*, const TfLiteEvalTensor*, TfLiteEvalTensor Tka*)': c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:188<a href="#" class="seekto" data-time="118">1:58</a>: error: either all initializer clauses should be designated or none of them should be 1881 | .channels = input_depth, 1 | ^ c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:188<a href="#" class="seekto" data-time="359">5:59</a>: error: either all initializer clauses should be designated or none of them should be 1885 | .channels = output_depth, 1 | ^ exit status 1 Compilation error: exit status 1 It's a piece of the error. I used esp 32 cams + Arduino ide 2.3.2 + edge impulse os was shown in the video but it did not work. Also, I visited the web page and recreated all steps, but without success. Which could be a problem? Thank you for answer :)
@Circuitdigest
@Circuitdigest 25 дней назад
What version of ESP32 Arduino core are you using? Make sure to follow steps exactly as in the article. If you still face the same issue try editing the file ei_classifier_config.h in exported Arduino library folder: /scr/edge-impulse-sdk/classifier/: Disabling #define EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN 1 and set it to 0 will allow the project to compile .
@gametube630
@gametube630 5 дней назад
@@Circuitdigest Arduino core version is ESP32 Core Version: v5.1.4-497-gdc859c1e67-dirty
@Circuitdigest
@Circuitdigest 3 дня назад
Thats the ESP IDF version which the core is based on. And have tried editing the config files i have mentioned.
@gametube630
@gametube630 2 дня назад
@@Circuitdigest I set #define EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN to 0 and it works. Thank you! buy the way how do you know what exactly do? I asking because I have a lot of troubles with connecting modules to esp32/arduino and I don't know how to solve problem. perhaps you know some books that could help troubleshoot better)))?
@hi_beemo1808
@hi_beemo1808 23 дня назад
bro you don't start a video by calling the audience people
@lmr9309
@lmr9309 20 дней назад
What?
Далее
ЭТО мне КУПИЛИ ПОДПИСЧИКИ 📦
22:33
La Tierra Robó El Anillo De Saturno #planetballs
00:14
Arduino To ESP32: How to Get Started!
9:26
Просмотров 313 тыс.
Forget WiFi! This Wireless Method is WAY Better?
12:14
Просмотров 575 тыс.
We built a Drone using ESP32 for less than Rs.1000!
9:37
I Built a Sun Tracking Solar Charger
14:15
Просмотров 161 тыс.
ESP32-Cam Complete Guide
26:31
Просмотров 121 тыс.