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

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 194

  • @eloquentarduino5988
    @eloquentarduino5988 4 месяца назад +21

    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  4 месяца назад

      Hey thank you! your work is also amazing, great job!!!

    • @Circuitdigest
      @Circuitdigest  4 месяца назад

      I think its possible, not sure though

    • @tarun2145
      @tarun2145 3 месяца назад

      ​@@Circuitdigest hi sir,
      Which algorithm is this working on

    • @MuhammadRidho-qu9ey
      @MuhammadRidho-qu9ey 2 месяца назад

      @@Circuitdigest 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

    • @nishitbayen9021
      @nishitbayen9021 День назад

      @@Circuitdigest Loved your content, I have tried myself the project, but when i try to compile and upload, it shows me "Error Compiling for board AI Thinker ESP32-cam"

  • @munawarrock8811
    @munawarrock8811 День назад +1

    sir i love you unlike other ytuber u explain everything

  • @PriyankBolia
    @PriyankBolia 4 месяца назад +16

    Yours is the only Indian Tech Channel worth watching, all others make such basic videos, but your projects has some standard.

  • @ansalpv3199
    @ansalpv3199 Месяц назад +2

    BRO SET VIDEO AYRUNU NJAN KORA THIVASAM AYEE ITHINTA PORAKA NADAKAN THUDANJITEE BUT YOU SAVED MY DAY

  • @AfranHossanReaz
    @AfranHossanReaz 2 месяца назад

    I'm just loving it.Looking for such informative video!
    Can you make another Video to show the output result on web instead of showing on the OLED?
    And please make another video on plant disease identification project like this.
    Wish you luck.
    Thanks a lot

    • @godzilla2084
      @godzilla2084 2 месяца назад

      Look closely at the serial monitor , I think the address for the web is being generated on the 9th line of the serial monitor , I think if we copy paste it on the search bar in Google like he did for the 1st code i guess it would work showing the detection on video with indicators.

  • @AVI-xo1kb
    @AVI-xo1kb 4 месяца назад +3

    Nice video 👍 gonna try it asap. Keep uploading informative videos like this.

    • @Circuitdigest
      @Circuitdigest  4 месяца назад

      Thank you, I will

    • @MuhammadRidho-qu9ey
      @MuhammadRidho-qu9ey 2 месяца назад

      @@Circuitdigest 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

  • @Tony770jr
    @Tony770jr 4 месяца назад +5

    Nice video, but zoom in on the Arduino IDE text so it's easier to view on a mobile device. Thanks!

    • @Circuitdigest
      @Circuitdigest  4 месяца назад

      You can get all the necessary details on the project page linked in the video description.

    • @MuhammadRidho-qu9ey
      @MuhammadRidho-qu9ey 2 месяца назад

      @@Circuitdigest 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

    • @MuhammadRidho-qu9ey
      @MuhammadRidho-qu9ey 27 дней назад

      @@Circuitdigest hello sir I have an error on the ai thinker board, what version of the esp32 board are you using?

  • @Tima-rc4br
    @Tima-rc4br 2 месяца назад

    Great video! I like what you did there in the end with the OLED screen, so could you please show your final code? Cause Im having a little struggle with it. Thanks

    • @Circuitdigest
      @Circuitdigest  2 месяца назад +1

      The final code is available in the project page. Please check it out.

  • @niveshshrestha7326
    @niveshshrestha7326 4 месяца назад +3

    Gald to see Indian IT guy working also on hardware

  • @yashilseedoyal5899
    @yashilseedoyal5899 2 месяца назад

    Nice video, could you please show what you've modified in the code for the oled display? Thanks

  • @duyhoang2615
    @duyhoang2615 2 месяца назад

    Great project Sir. How many classifications that Esp-cam can store? Does your project have any restrictions?

  • @boxernath
    @boxernath День назад

    Is the full code in the link in bio?
    as in, does the AI have the code or does the edge impulse have its own ai that it uses to train?

  • @ath_greek
    @ath_greek 3 месяца назад +1

    could you do a video with servos pan and tilt and esp32 cam (recognizing and tracking?)

  • @geppetox748
    @geppetox748 Месяц назад +1

    Wonderful sir, thank you!

  • @financexplorer
    @financexplorer 4 месяца назад +3

    Thank you keep upgrading us

  • @adityaarya-p9g
    @adityaarya-p9g 2 месяца назад

    Thanks for the video
    Actually I am facing difficulties regarding one project that I got demanded from school
    Actually the project is school involves four houses and hence there are four coloured tshirt so they just wanted to collect the data that how many students are present of red colour tshirt or blue color tshirt and so on. So kindly help me out. Or please make a video related to this project I would really appreciate you for this kind.
    Thank you so much sir 😊

  • @sheteamar4602
    @sheteamar4602 4 дня назад +1

    'data_dims_t' {aka 'data_dims'} has no non-static data member named 'depth'
    1850 | data_dims_t filter_dims = {.width = filter_width, .height = filter_height, .depth = 0, .batch = 0}; error occurred while uploading code

    • @Circuitdigest
      @Circuitdigest  4 дня назад +2

      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

    • @sheteamar4602
      @sheteamar4602 3 дня назад

      @Circuitdigest thanks, sorted

  • @YigalBZ
    @YigalBZ 4 месяца назад

    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  4 месяца назад

      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.

    • @MuhammadRidho-qu9ey
      @MuhammadRidho-qu9ey 27 дней назад

      @@Circuitdigest hello sir I have an error on the ai thinker board, what version of the esp32 board are you using?

    • @ginazhou-q7b
      @ginazhou-q7b День назад

      @@MuhammadRidho-qu9ey 3.0.1

  • @chmadanmohansantosh6482
    @chmadanmohansantosh6482 3 месяца назад +2

    very nice.. enjoyed

  • @evstark
    @evstark Месяц назад +1

    If you encounter problem , on Windows just modify the tensorflow NN in library source

    • @jftexquis7754
      @jftexquis7754 Месяц назад

      Could you tell me what change is made?

  • @frankdearr2772
    @frankdearr2772 4 месяца назад +1

    Great topic, thanks 👍

  • @iot_enthusiast
    @iot_enthusiast 4 месяца назад

    nicely done! quick clarification - @5:39 GPIO0 should be held High or Low ?

  • @jeremiahthompson82
    @jeremiahthompson82 4 месяца назад +1

    Thanks. Very nice job

  • @dasig3010
    @dasig3010 Месяц назад +1

    can you do sound detection on esp32 using I2s mems please. detect sound and distinguish it example if it is fire alarm dog bark something like commonly heard on our surroundings

  • @adriandel_sur
    @adriandel_sur Месяц назад

    Very good explanation, but you didn't explain how to connect the OLED screen. What did you change in the code to display the results on the screen?

    • @Circuitdigest
      @Circuitdigest  Месяц назад +1

      Please check the project page linked in the video description.

  • @satorugojo_2003
    @satorugojo_2003 8 дней назад

    Hey bro can you tell me what software to design the prototype of this tutorial?

  • @bennguyen1313
    @bennguyen1313 3 месяца назад

    Can you do a video on how to debug an Edge/YOLO project using a JTAG debugger (ESP-Prog)?

  • @ASRoBo
    @ASRoBo 4 месяца назад +1

    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  4 месяца назад

      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.

  • @vitorpatricio2586
    @vitorpatricio2586 2 месяца назад

    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  2 месяца назад

      You can refer this docs.edgeimpulse.com/docs/tutorials/lifecycle-management/ota-model-updates/ota-model-updates-espressif-idf

  • @Aleun_a
    @Aleun_a 2 месяца назад +2

    Hocam tam aradığım video ❤

  • @_Scroll_With_Dev_
    @_Scroll_With_Dev_ 3 дня назад

    Sir , can you make a programming video on this or share here?

  • @JohnxGamerMinecraft
    @JohnxGamerMinecraft 2 месяца назад

    I want to calculate, the distance from the ESP32CAM to the object, How i can do this with the size of the centroid?

  • @muhammadNadeem-wp7vn
    @muhammadNadeem-wp7vn 4 месяца назад

    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  4 месяца назад

      You will have to give a bit more context.

  • @Alice8000
    @Alice8000 2 месяца назад +2

    YOLOOOOOOO!~ nice vid

  • @nandhakishore8439
    @nandhakishore8439 3 месяца назад +1

    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  3 месяца назад

      Check the uart connection. tx pin should be connected to Rx of the uart converter and RX pin to the TX pin

    • @nandhakishore8439
      @nandhakishore8439 2 месяца назад

      @@Circuitdigest Thank you sir

  • @vedkatyayan6566
    @vedkatyayan6566 9 дней назад

    Hi, I did the same thing and uploaded the zip file but I am getting error in compilation where it says to do sone changes in conv.cpp file and they are related to .channel and .output. What to do in that case?

  • @rohitchaudhari5337
    @rohitchaudhari5337 2 месяца назад +1

    Nice content.
    I follow all the same steps, but dont know why i am getting below error in verious line of codes.
    conv.cpp:1789:67: error: either all initializer clauses should be designated or none of them should be
    1789 | .channels = input->dims->data[3], 1
    | ^

    • @rohitchaudhari5337
      @rohitchaudhari5337 2 месяца назад +3

      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 ."

    • @Fuiyoh_1709
      @Fuiyoh_1709 3 дня назад

      @@rohitchaudhari5337 what to edit over there??

  • @wunderwaffeyt4077
    @wunderwaffeyt4077 5 дней назад +1

    Help, my code won't upload. It keeps saying compilation error: exit status 1

    • @Circuitdigest
      @Circuitdigest  4 дня назад

      You need to be a bit more elaborate. First check what the error is. Without knowing the exact error we won't be able to help you.

    • @wunderwaffeyt4077
      @wunderwaffeyt4077 3 дня назад

      C:\Users\acer\Documents\Arduino\libraries\elinahcaralian-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp: In function 'TfLiteStatus tflite::{anonymous}::Prepare(TfLiteContext*, TfLiteNode*)':
      C:\Users\acer\Documents\Arduino\libraries\elinahcaralian-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1789:67: error: either all initializer clauses should be designated or none of them should be
      1789 | .channels = input->dims->data[3], 1
      | ^
      C:\Users\acer\Documents\Arduino\libraries\elinahcaralian-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1793:68: error: either all initializer clauses should be designated or none of them should be
      1793 | .channels = output->dims->data[3], 1
      | ^
      C:\Users\acer\Documents\Arduino\libraries\elinahcaralian-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1795:80: error: either all initializer clauses should be designated or none of them should be
      1795 | data_dims_t filter_dims = {.width = filter_width, .height = filter_height, 0, 0};
      | ^
      C:\Users\acer\Documents\Arduino\libraries\elinahcaralian-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*)':
      C:\Users\acer\Documents\Arduino\libraries\elinahcaralian-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1883:58: error: either all initializer clauses should be designated or none of them should be
      1883 | .channels = input_depth, 1
      | ^
      C:\Users\acer\Documents\Arduino\libraries\elinahcaralian-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1887:59: error: either all initializer clauses should be designated or none of them should be
      1887 | .channels = output_depth, 1
      | ^
      C:\Users\acer\Documents\Arduino\libraries\elinahcaralian-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1889:80: error: either all initializer clauses should be designated or none of them should be
      1889 | data_dims_t filter_dims = {.width = filter_width, .height = filter_height, 0, 0};
      | ^
      exit status 1
      Compilation error: exit status 1

    • @wunderwaffeyt4077
      @wunderwaffeyt4077 3 дня назад

      @@Circuitdigest nevermind, I saw the fix you sent someone in a different comment, it works now

  • @techfun8528
    @techfun8528 2 месяца назад

    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

  • @Yashnarvariya-yd7yt
    @Yashnarvariya-yd7yt 2 месяца назад

    Hi sir please suggest some good major project,I need it for my sem exam

  • @evstark
    @evstark Месяц назад

    Sir , is their Tensorflow lite library installed on your IDE? and what is it?

    • @Circuitdigest
      @Circuitdigest  Месяц назад

      All the necessary libraries will be available with in the code you are downloading from the edge impulse.

    • @EsotericEntertainment2004
      @EsotericEntertainment2004 27 дней назад

      @@Circuitdigest But showing error

  • @delfindaffa7953
    @delfindaffa7953 4 месяца назад +1

    For the ESP32 board, what version of the library is used?

    • @mr.emptygamingyt
      @mr.emptygamingyt 3 месяца назад

      2.0.4

    • @Giburozu
      @Giburozu 28 дней назад

      ​@@mr.emptygamingytwhen I use 2.0.4 version, why error no such file or directory

    • @mr.emptygamingyt
      @mr.emptygamingyt 28 дней назад

      @@Giburozu I didn’t get any error while using this certain version 2.0.4. The project is running smoothly till now sir . I don’t have any idea why u get such error

    • @Giburozu
      @Giburozu 28 дней назад

      @@mr.emptygamingyt huft.. Thanks

  • @mohammedabdulrazzaq9964
    @mohammedabdulrazzaq9964 Месяц назад

    Hello, could you please tell ne how much did it cost you overall for the products? Roughly!

    • @Circuitdigest
      @Circuitdigest  Месяц назад

      Cost of the ESP32 camera module is around 3-6$.

  • @DwiAhmadza
    @DwiAhmadza 4 месяца назад

    Sir, can we use BLE 33 SENSE as programmer?

  • @EsotericEntertainment2004
    @EsotericEntertainment2004 26 дней назад

    Bro how to get stream link? I want video of the video stream link alone and not settings page

  • @dfastergaming3534
    @dfastergaming3534 4 месяца назад +1

    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  4 месяца назад +1

      Gerber file already on our website

  • @Giburozu
    @Giburozu 28 дней назад

    Can you help me? Why when im compiling, the process is so slow like dont do any progress?

    • @Circuitdigest
      @Circuitdigest  28 дней назад

      The first compile after opening the IDE will always slower. You can enable the verbose output for compile in the preferences to see the compilations progress.

  • @RakeshAntonyRajJ
    @RakeshAntonyRajJ 2 месяца назад

    what is the change in code that you have made to interface with oled. kindly provide the code for it.

    • @Circuitdigest
      @Circuitdigest  2 месяца назад

      The full code for the project is available on the project page.

  • @priyakoppuravuri7121
    @priyakoppuravuri7121 2 месяца назад +1

    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.

    • @creativeworld7090
      @creativeworld7090 Месяц назад

      Just put the code to the chatgpt. It will give u a solution

    • @amelliamendel2227
      @amelliamendel2227 Месяц назад

      And so when you pasted that into chat GPT what did it say?

  • @Kaynatwaqas
    @Kaynatwaqas Месяц назад +1

    v. good

  • @dulkithbatagoda14
    @dulkithbatagoda14 15 дней назад

    How can the edge impulse web application itself tells it can identify objects with 100 percent accuracy without testing with an object?

    • @Circuitdigest
      @Circuitdigest  13 дней назад

      It will use the test data set for evaluation.

  • @jnnpaul
    @jnnpaul 8 дней назад

    i am using I2c lcd for display the result ,but ihave error on it can you help to display on I2c lcd

    • @Circuitdigest
      @Circuitdigest  6 дней назад

      You will need to change the code accordingly. adapt the display related functions for the I2C LCD.

    • @jnnpaul
      @jnnpaul 6 дней назад

      @Circuitdigest can you help me, im using ur code

    • @jnnpaul
      @jnnpaul 4 дня назад

      @@Circuitdigest pls

  • @SA-oj3bo
    @SA-oj3bo 4 месяца назад

    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  4 месяца назад

      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 4 месяца назад

      @@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  4 месяца назад +2

      @@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

  • @EsotericEntertainment2004
    @EsotericEntertainment2004 26 дней назад

    How to integrate in blynk? Labelling of objects by camera

  • @SubhadraDas-l7g
    @SubhadraDas-l7g 3 месяца назад

    how to upgrade plan for edge impulse? I am not able to train the model for a large dataset

    • @Circuitdigest
      @Circuitdigest  3 месяца назад

      You will have to do that through the edge impulse website. The professional plan costs around 400$ per month.

  • @pixel__spot932
    @pixel__spot932 2 месяца назад +1

    can we use this to detect the number of cars in traffic ?, please reply

    • @Circuitdigest
      @Circuitdigest  2 месяца назад

      You can. you will need to train you model accordingly.

  • @aimsinteractivepvtltd8147
    @aimsinteractivepvtltd8147 4 месяца назад

    Effect of ambient light on performance??

    • @Circuitdigest
      @Circuitdigest  4 месяца назад +1

      Since we are working with gray scale images lighting difference is tolerable. But if you want reliable results lighting should be maintained constant

  • @GergelyCsermely
    @GergelyCsermely 4 месяца назад +1

    Thanks

  • @davidhouseago416
    @davidhouseago416 4 месяца назад

    Can't upload camera code I get error 'Compilation error: 'ledcSetup' was not declared in this scope; did you mean 'ledc_stop'?

    • @Circuitdigest
      @Circuitdigest  4 месяца назад

      make sure to install Eloquent ESP32-CAM Library.

  • @Amankhan-b4p8f
    @Amankhan-b4p8f 2 месяца назад

    Can we use this for facial recognition?

    • @Circuitdigest
      @Circuitdigest  2 месяца назад +1

      Yes. Here is the face recognition project. circuitdigest.com/microcontroller-projects/esp32-cam-face-recognition-using-edge-impulse

    • @Amankhan-b4p8f
      @Amankhan-b4p8f 2 месяца назад

      @@Circuitdigest thanks alot

  • @alanaja5047
    @alanaja5047 Месяц назад

    in board manager what version of esp32 you use

  • @sportygamerz2013
    @sportygamerz2013 Месяц назад

    can we use 0.91 inch oled screen which is long..will it work?
    plss tell

    • @Circuitdigest
      @Circuitdigest  Месяц назад

      you can but you may need to change the text positions and all to fit it within the display if needed.

  • @ghost_uom
    @ghost_uom 13 дней назад

    bro in the final step i have error in the code can you halp ma plz

  • @jnnpaul
    @jnnpaul Месяц назад

    hello can i use Arduino uno board instead of USB to Serial Converter

    • @Circuitdigest
      @Circuitdigest  Месяц назад

      You will have to use the one with 3.3V logic.

    • @jnnpaul
      @jnnpaul Месяц назад

      @@Circuitdigest how to fix esp32 a fatal error occurred: failed to connect to esp32: no serial data received. i am using arduino uno

    • @Circuitdigest
      @Circuitdigest  Месяц назад +1

      make sure the Arduino is in reset state. and as I mentioned earlier use a board with 3.3V logic. And you must press and hold the boot / GPIO0 button while the ESPCAM board is connected to put it in the download mode.

  • @gate2025-k1q
    @gate2025-k1q Месяц назад

    my serial monitor is not responding so what should i do?????

    • @Circuitdigest
      @Circuitdigest  Месяц назад

      Make sure the connections are correct. and after uploading the code you might need to reset the board manually.

  • @Only_for_Harbinger_hackathon
    @Only_for_Harbinger_hackathon 3 месяца назад

    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  3 месяца назад +1

      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 3 месяца назад +1

      @@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.

  • @itsvaibhavzine
    @itsvaibhavzine 9 дней назад

    i am getting this in Serial Monitor after uploading
    rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    flash read err, 1000
    ets_main.c 371
    ets Jun 8 2016 00:22:57
    how can i fix this and get wifi connect to esp32 Cam.

    • @Circuitdigest
      @Circuitdigest  4 дня назад

      Make sure you have selected the correct board, flash size and partition scheme.

  • @pooannamalai0988
    @pooannamalai0988 3 дня назад

    I am getting this error while compiling
    e:\Documents\Arduino\libraries\Smart_Iron_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp: In function 'TfLiteStatus tflite::{anonymous}::Prepare(TfLiteContext*, TfLiteNode*)':
    Help me in sorting it out

    • @Circuitdigest
      @Circuitdigest  День назад

      You haven't shared the actual error code...!

  • @Harini-c9s
    @Harini-c9s 3 месяца назад

    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  3 месяца назад

      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 3 месяца назад

    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  3 месяца назад

      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 3 месяца назад

      I didn't understand sir..I'm beginner of doing project..pls guide me step by step.. thanks in advance 🎉

  • @markjaysonalabazo1569
    @markjaysonalabazo1569 2 месяца назад

    can i use OV7670? @
    Circuit Digest

    • @Circuitdigest
      @Circuitdigest  2 месяца назад +1

      Its better to use OV2640 since the OV7670 lacks JPG mode.

  • @jayson-o2v
    @jayson-o2v 4 месяца назад

    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  4 месяца назад +2

      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 3 месяца назад +1

      @@Circuitdigest this works. thanks, I had same issue

    • @Fuiyoh_1709
      @Fuiyoh_1709 3 дня назад

      @@6901ben it didnt work for me i did edit the file it still showed the same issue
      pls elab

  • @EsotericEntertainment2004
    @EsotericEntertainment2004 27 дней назад

    Bro I am facing an error when I upload code of edge impulse

  • @phamdanai
    @phamdanai 2 месяца назад

    Tôi đã làm theo bạn không hiểu bị lỗi gì, có thể giúp tôi không

  • @samanthilakabanadara4788
    @samanthilakabanadara4788 4 месяца назад

    How to get an output (when detect union.output high or low)

    • @mohammedrahmansherif849
      @mohammedrahmansherif849 4 месяца назад

      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  4 месяца назад

      You can use the GPIO pins on ESP32CAM to get output based on what you detect

  • @markjaysonalabazo1569
    @markjaysonalabazo1569 Месяц назад

    I cant fix my error, I keep seeing the "is_pod"
    c:\users\mark jayson\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\include\c++\12.2.0\type_traits:757:5: note: declared here
    757 | is_pod

    • @markjaysonalabazo1569
      @markjaysonalabazo1569 Месяц назад

      What are the parts of the code we need to modify to avoid grtting errors? it seems that the code or library we get from edge impulse having an error. i even used the versions of libraries in ur video

  • @MohamedMusharafTEEE
    @MohamedMusharafTEEE 3 месяца назад

    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  3 месяца назад +1

      Nobody can help you if you don't provide the exact error code.

    • @MohamedMusharafTEEE
      @MohamedMusharafTEEE 3 месяца назад

      @@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  3 месяца назад

      Why are you using ESP32 S3? which camera module are you using? For normal ESP32 camera module select the appropriate ESP32 board.

  • @TBS_d
    @TBS_d 4 месяца назад

    it says error compiling for ai thinker
    while uploading

    • @Circuitdigest
      @Circuitdigest  4 месяца назад

      You will have to be a bit more specific. what is the actual error?

  • @Harini-c9s
    @Harini-c9s 2 месяца назад

    Fatal error: stdbool.h:no such file or directory
    23 | # include
    Compilation terminated how to clear this error

    • @Circuitdigest
      @Circuitdigest  2 месяца назад

      Which version of ESP32 Arduino core are you using? Try using any 2.x.x.

  • @PratikVyavahare-t4i
    @PratikVyavahare-t4i 3 месяца назад

    Sir how much project cost goes

    • @Circuitdigest
      @Circuitdigest  3 месяца назад +1

      Hardware wis you will need an ESP32-Cam module, which will cost anywhere around 400-600 INR.

  • @fajarnyt19th
    @fajarnyt19th 2 месяца назад

    bro please blind esp32 cam plus simple robot arm only

  • @kittiyakuldee3102
    @kittiyakuldee3102 3 месяца назад

    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:1842:80: 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  3 месяца назад

      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

  • @Ryunosuke_2008
    @Ryunosuke_2008 3 месяца назад

    are you a malayali ?

  • @kemaketseforkssebitiela3089
    @kemaketseforkssebitiela3089 4 месяца назад

    Hello everyone...is this a supervised learning

  • @gametube630
    @gametube630 3 месяца назад

    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:1881:58: 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:1885:59: 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  3 месяца назад

      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 2 месяца назад

      @@Circuitdigest Arduino core version is ESP32 Core Version: v5.1.4-497-gdc859c1e67-dirty

    • @Circuitdigest
      @Circuitdigest  2 месяца назад

      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)))?

  • @MuhammadRidho-qu9ey
    @MuhammadRidho-qu9ey 3 месяца назад

    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 😭😮‍💨

  • @phobose1.052
    @phobose1.052 Месяц назад

    अबे अंग्रेज के बच्चे हिन्दी भाषा में जानकारी साझा करता क्यों नहीं

  • @hi_beemo1808
    @hi_beemo1808 3 месяца назад

    bro you don't start a video by calling the audience people

    • @lmr9309
      @lmr9309 3 месяца назад

      What?

  • @phamdanai
    @phamdanai 2 месяца назад

    Giúp tôi với, bị lỗi gì ?
    In file included from c:\Users\Admin\Documents\Arduino\libraries\EloquentEsp32cam\src/eloquent_esp32cam.h:6,
    from C:\Users\Admin\AppData\Local\Temp\.arduinoIDE-unsaved2024822-2400-mzcqol.ak8lf\Collect_Images_for_EdgeImpulse\Collect_Images_for_EdgeImpulse.ino:20:
    c:\users\admin\documents\arduino\libraries\eloquentesp32cam\src\eloquent_esp32cam\camera\camera.h: In member function 'Eloquent::Error::Exception& Eloquent::Esp32cam::Camera::Camera::begin()':
    c:\users\admin\documents\arduino\libraries\eloquentesp32cam\src\eloquent_esp32cam\camera\camera.h:76:32: error: 'struct camera_config_t' has no member named 'pin_sccb_sda'; did you mean 'pin_sscb_sda'?
    config.pin_sccb_sda = pinout.pins.sccb_sda;
    ^~~~~~~~~~~~
    pin_sscb_sda
    c:\users\admin\documents\arduino\libraries\eloquentesp32cam\src\eloquent_esp32cam\camera\camera.h:77:32: error: 'struct camera_config_t' has no member named 'pin_sccb_scl'; did you mean 'pin_sscb_scl'?
    config.pin_sccb_scl = pinout.pins.sccb_scl;
    ^~~~~~~~~~~~
    pin_sscb_scl
    exit status 1
    Compilation error: exit status 1

  • @tnhnaem2290
    @tnhnaem2290 Месяц назад

    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:183:5: error: 'snapshot_buf' does not name a type
    183 | snapshot_buf = (uint8_t*)malloc(EI_CAMERA_RAW_FRAME_BUFFER_COLS * EI_CAMERA_RAW_FRAME_BUFFER_ROWS * EI_CAMERA_FRAME_BYTE_SIZE);
    | ^~~~~~~~~~~~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:186:5: error: expected unqualified-id before 'if'
    186 | if(snapshot_buf == nullptr) {
    | ^~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:191:18: error: 'ei::signal_t signal' redeclared as different kind of entity
    191 | ei::signal_t signal;
    | ^~~~~~
    In file included from c:\users\tnh naem\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\sys-include\time.h:158,
    from C:\Users\TNH Naem\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/include/newlib/platform_include/time.h:11,
    from c:\users\tnh naem\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\sys-include\sys\stat.h:9,
    from c:\users\tnh naem\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\sys-include\sys\_default_fcntl.h:211,
    from c:\users\tnh naem\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\sys-include\sys\fcntl.h:3,
    from C:\Users\TNH Naem\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/include/lwip/port/include/lwipopts.h:15,
    from C:\Users\TNH Naem\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/include/lwip/lwip/src/include/lwip/opt.h:51,
    from C:\Users\TNH Naem\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/include/lwip/lwip/src/include/lwip/ip_addr.h:40,
    from C:\Users\TNH Naem\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/IPAddress.h:25,
    from C:\Users\TNH Naem\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/Arduino.h:196,
    from C:\Users\TNH Naem\AppData\Local\Temp\arduino\sketches\1F531F31994AB10ACCAACCE861CDE501\sketch\esp32_camera_final.ino.cpp:1:
    c:\users\tnh naem\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\sys-include\signal.h:28:15: note: previous declaration 'void (* signal(int, _sig_func_ptr))(int)'
    28 | _sig_func_ptr signal (int, _sig_func_ptr);
    | ^~~~~~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:192:5: error: reference to 'signal' is ambiguous
    192 | signal.total_length = EI_CLASSIFIER_INPUT_WIDTH * EI_CLASSIFIER_INPUT_HEIGHT;
    | ^~~~~~
    In file included from d:\OneDrive - naemsit\Documents\Arduino\libraries\Object_Detection_RUET_inferencing\src/edge-impulse-sdk/dsp/spectral/feature.hpp:24,
    from d:\OneDrive - naemsit\Documents\Arduino\libraries\Object_Detection_RUET_inferencing\src/edge-impulse-sdk/dsp/spectral/spectral.hpp:23,
    from d:\OneDrive - naemsit\Documents\Arduino\libraries\Object_Detection_RUET_inferencing\src/edge-impulse-sdk/classifier/ei_run_dsp.h:22,
    from d:\OneDrive - naemsit\Documents\Arduino\libraries\Object_Detection_RUET_inferencing\src/edge-impulse-sdk/classifier/ei_run_classifier.h:24,
    from d:\OneDrive - naemsit\Documents\Arduino\libraries\Object_Detection_RUET_inferencing\src/Object_Detection_RUET_inferencing.h:49,
    from D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:4:
    d:\OneDrive - naemsit\Documents\Arduino\libraries\Object_Detection_RUET_inferencing\src/edge-impulse-sdk/dsp/spectral/signal.hpp:37:7: note: candidates are: 'class ei::signal'
    37 | class signal {
    | ^~~~~~
    c:\users\tnh naem\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\sys-include\signal.h:28:15: note: 'void (* signal(int, _sig_func_ptr))(int)'
    28 | _sig_func_ptr signal (int, _sig_func_ptr);
    | ^~~~~~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:193:5: error: reference to 'signal' is ambiguous
    193 | signal.get_data = &ei_camera_get_data;
    | ^~~~~~
    d:\OneDrive - naemsit\Documents\Arduino\libraries\Object_Detection_RUET_inferencing\src/edge-impulse-sdk/dsp/spectral/signal.hpp:37:7: note: candidates are: 'class ei::signal'
    37 | class signal {
    | ^~~~~~
    c:\users\tnh naem\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\sys-include\signal.h:28:15: note: 'void (* signal(int, _sig_func_ptr))(int)'
    28 | _sig_func_ptr signal (int, _sig_func_ptr);
    | ^~~~~~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:195:5: error: expected unqualified-id before 'if'
    195 | if (ei_camera_capture((size_t)EI_CLASSIFIER_INPUT_WIDTH, (size_t)EI_CLASSIFIER_INPUT_HEIGHT, snapshot_buf) == false) {
    | ^~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:204:44: error: reference to 'signal' is ambiguous
    204 | EI_IMPULSE_ERROR err = run_classifier(&signal, &result, debug_nn);
    | ^~~~~~
    d:\OneDrive - naemsit\Documents\Arduino\libraries\Object_Detection_RUET_inferencing\src/edge-impulse-sdk/dsp/spectral/signal.hpp:37:7: note: candidates are: 'class ei::signal'
    37 | class signal {
    | ^~~~~~
    c:\users\tnh naem\appdata\local\arduino15\packages\esp32\tools\esp-x32\2302\xtensa-esp32-elf\sys-include\signal.h:28:15: note: 'void (* signal(int, _sig_func_ptr))(int)'
    28 | _sig_func_ptr signal (int, _sig_func_ptr);
    | ^~~~~~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:205:5: error: expected unqualified-id before 'if'
    205 | if (err != EI_IMPULSE_OK) {
    | ^~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:211:14: error: expected constructor, destructor, or type conversion before '(' token
    211 | ei_printf("Predictions (DSP: %d ms., Classification: %d ms., Anomaly: %d ms.):
    ",
    | ^
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:215:14: error: expected constructor, destructor, or type conversion before '(' token
    215 | ei_printf("Object detection bounding boxes:
    ");
    | ^
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:216:5: error: expected unqualified-id before 'for'
    216 | for (uint32_t i = 0; i < result.bounding_boxes_count; i++) {
    | ^~~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:216:26: error: 'i' does not name a type
    216 | for (uint32_t i = 0; i < result.bounding_boxes_count; i++) {
    | ^
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:216:59: error: 'i' does not name a type
    216 | for (uint32_t i = 0; i < result.bounding_boxes_count; i++) {
    | ^
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:231:1: error: expected unqualified-id before 'if'
    231 | if (!bb_found) {
    | ^~
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:271:9: error: expected constructor, destructor, or type conversion before '(' token
    271 | free(snapshot_buf);
    | ^
    D:\OneDrive - naemsit\Desktop\3-1 Semester\Lab\Electronic Shop Practice\Project Object detection\Arduino Codes\esp32_camera_final\esp32_camera_final.ino:273:1: error: expected declaration before '}' token
    273 | }
    | ^
    exit status 1
    Compilation error: 'snapshot_buf' does not name a type
    This error is shown when i try to upload..
    what to do?

  • @ManhaFatima-gt4ry
    @ManhaFatima-gt4ry 22 дня назад

    Hey I would really appreciate your help on something, if you may can you please provide me with an email.?