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

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 140

  • @eloquentarduino5988
    @eloquentarduino5988 2 місяці тому +16

    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  2 місяці тому

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

    • @Circuitdigest
      @Circuitdigest  2 місяці тому

      I think its possible, not sure though

    • @tarun2145
      @tarun2145 2 місяці тому

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

    • @MuhammadRidho-qu9ey
      @MuhammadRidho-qu9ey 28 днів тому

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

  • @ansalpv3199
    @ansalpv3199 3 дні тому +1

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

  • @PriyankBolia
    @PriyankBolia 3 місяці тому +16

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

  • @geppetox748
    @geppetox748 2 дні тому +1

    Wonderful sir, thank you!

  • @AfranHossanReaz
    @AfranHossanReaz 27 днів тому

    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 24 дні тому

      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.

  • @Aleun_a
    @Aleun_a 22 дні тому +2

    Hocam tam aradığım video ❤

  • @Tony770jr
    @Tony770jr 3 місяці тому +5

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

    • @Circuitdigest
      @Circuitdigest  3 місяці тому

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

    • @MuhammadRidho-qu9ey
      @MuhammadRidho-qu9ey 28 днів тому

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

  • @AVI-xo1kb
    @AVI-xo1kb 3 місяці тому +3

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

    • @Circuitdigest
      @Circuitdigest  3 місяці тому

      Thank you, I will

    • @MuhammadRidho-qu9ey
      @MuhammadRidho-qu9ey 28 днів тому

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

  • @duyhoang2615
    @duyhoang2615 Місяць тому

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

  • @dasig3010
    @dasig3010 6 днів тому +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

  • @yashilseedoyal5899
    @yashilseedoyal5899 Місяць тому

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

  • @evstark
    @evstark 6 днів тому +1

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

  • @Tima-rc4br
    @Tima-rc4br Місяць тому

    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  Місяць тому +1

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

  • @financexplorer
    @financexplorer 3 місяці тому +3

    Thank you keep upgrading us

  • @ath_greek
    @ath_greek 2 місяці тому +1

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

  • @adriandel_sur
    @adriandel_sur 9 днів тому

    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  6 днів тому +1

      Please check the project page linked in the video description.

  • @niveshshrestha7326
    @niveshshrestha7326 3 місяці тому +3

    Gald to see Indian IT guy working also on hardware

  • @YigalBZ
    @YigalBZ 3 місяці тому

    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  3 місяці тому

      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.

  • @evstark
    @evstark 6 днів тому

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

    • @Circuitdigest
      @Circuitdigest  6 днів тому

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

  • @Kaynatwaqas
    @Kaynatwaqas 7 днів тому +1

    v. good

  • @iot_enthusiast
    @iot_enthusiast 3 місяці тому

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

  • @frankdearr2772
    @frankdearr2772 2 місяці тому +1

    Great topic, thanks 👍

  • @mohammedabdulrazzaq9964
    @mohammedabdulrazzaq9964 8 днів тому

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

    • @Circuitdigest
      @Circuitdigest  6 днів тому

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

  • @bennguyen1313
    @bennguyen1313 2 місяці тому

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

  • @jeremiahthompson82
    @jeremiahthompson82 3 місяці тому +1

    Thanks. Very nice job

  • @chmadanmohansantosh6482
    @chmadanmohansantosh6482 2 місяці тому +2

    very nice.. enjoyed

  • @vitorpatricio2586
    @vitorpatricio2586 Місяць тому

    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  Місяць тому

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

  • @ASRoBo
    @ASRoBo 3 місяці тому +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  2 місяці тому

      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.

  • @JohnxGamerMinecraft
    @JohnxGamerMinecraft Місяць тому

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

  • @Alice8000
    @Alice8000 Місяць тому +2

    YOLOOOOOOO!~ nice vid

  • @Yashnarvariya-yd7yt
    @Yashnarvariya-yd7yt Місяць тому

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

  • @dfastergaming3534
    @dfastergaming3534 3 місяці тому +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  3 місяці тому +1

      Gerber file already on our website

  • @techfun8528
    @techfun8528 Місяць тому

    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

  • @muhammadNadeem-wp7vn
    @muhammadNadeem-wp7vn 3 місяці тому

    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  3 місяці тому

      You will have to give a bit more context.

  • @pixel__spot932
    @pixel__spot932 Місяць тому +1

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

    • @Circuitdigest
      @Circuitdigest  Місяць тому

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

  • @delfindaffa7953
    @delfindaffa7953 2 місяці тому +1

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

  • @adityaarya-p9g
    @adityaarya-p9g Місяць тому

    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 😊

  • @SA-oj3bo
    @SA-oj3bo 3 місяці тому

    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  3 місяці тому

      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 3 місяці тому

      @@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  3 місяці тому +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

  • @Only_for_Harbinger_hackathon
    @Only_for_Harbinger_hackathon 2 місяці тому

    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  2 місяці тому +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 2 місяці тому +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.

  • @sportygamerz2013
    @sportygamerz2013 22 години тому

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

    • @Circuitdigest
      @Circuitdigest  7 хвилин тому

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

  • @DwiAhmadza
    @DwiAhmadza 2 місяці тому

    Sir, can we use BLE 33 SENSE as programmer?

  • @RakeshAntonyRajJ
    @RakeshAntonyRajJ Місяць тому

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

    • @Circuitdigest
      @Circuitdigest  Місяць тому

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

  • @priyakoppuravuri7121
    @priyakoppuravuri7121 Місяць тому +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 11 днів тому

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

    • @amelliamendel2227
      @amelliamendel2227 11 днів тому

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

  • @rohitchaudhari5337
    @rohitchaudhari5337 Місяць тому

    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

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

  • @phamdanai
    @phamdanai 23 дні тому

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

  • @jnnpaul
    @jnnpaul 7 днів тому

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

    • @Circuitdigest
      @Circuitdigest  6 днів тому

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

    • @jnnpaul
      @jnnpaul 4 дні тому

      @@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  День тому

      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.

  • @Harini-c9s
    @Harini-c9s Місяць тому

    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  Місяць тому

      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

  • @Amankhan-b4p8f
    @Amankhan-b4p8f Місяць тому

    Can we use this for facial recognition?

    • @Circuitdigest
      @Circuitdigest  Місяць тому +1

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

    • @Amankhan-b4p8f
      @Amankhan-b4p8f Місяць тому

      @@Circuitdigest thanks alot

  • @GergelyCsermely
    @GergelyCsermely 3 місяці тому +1

    Thanks

  • @jayson-o2v
    @jayson-o2v 2 місяці тому

    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  2 місяці тому +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 2 місяці тому +1

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

  • @aimsinteractivepvtltd8147
    @aimsinteractivepvtltd8147 3 місяці тому

    Effect of ambient light on performance??

    • @Circuitdigest
      @Circuitdigest  3 місяці тому +1

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

  • @davidhouseago416
    @davidhouseago416 3 місяці тому

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

    • @Circuitdigest
      @Circuitdigest  3 місяці тому

      make sure to install Eloquent ESP32-CAM Library.

  • @SubhadraDas-l7g
    @SubhadraDas-l7g 2 місяці тому

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

    • @Circuitdigest
      @Circuitdigest  2 місяці тому

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

  • @muthuselvimuthuselvi3364
    @muthuselvimuthuselvi3364 Місяць тому

    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  Місяць тому

      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 Місяць тому

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

  • @nandhakishore8439
    @nandhakishore8439 Місяць тому

    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  Місяць тому

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

    • @nandhakishore8439
      @nandhakishore8439 Місяць тому

      @@Circuitdigest Thank you sir

  • @markjaysonalabazo1569
    @markjaysonalabazo1569 29 днів тому

    can i use OV7670? @
    Circuit Digest

    • @Circuitdigest
      @Circuitdigest  29 днів тому +1

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

  • @kemaketseforkssebitiela3089
    @kemaketseforkssebitiela3089 3 місяці тому

    Hello everyone...is this a supervised learning

  • @MohamedMusharafTEEE
    @MohamedMusharafTEEE 2 місяці тому

    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  2 місяці тому +1

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

    • @MohamedMusharafTEEE
      @MohamedMusharafTEEE 2 місяці тому

      @@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  2 місяці тому

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

  • @PratikVyavahare-t4i
    @PratikVyavahare-t4i 2 місяці тому

    Sir how much project cost goes

    • @Circuitdigest
      @Circuitdigest  2 місяці тому +1

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

  • @samanthilakabanadara4788
    @samanthilakabanadara4788 3 місяці тому

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

    • @mohammedrahmansherif849
      @mohammedrahmansherif849 3 місяці тому

      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  3 місяці тому

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

  • @fajarnyt19th
    @fajarnyt19th 25 днів тому

    bro please blind esp32 cam plus simple robot arm only

  • @markjaysonalabazo1569
    @markjaysonalabazo1569 17 днів тому

    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 17 днів тому

      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

  • @MuhammadRidho-qu9ey
    @MuhammadRidho-qu9ey 2 місяці тому

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

  • @Ryunosuke_2008
    @Ryunosuke_2008 2 місяці тому

    are you a malayali ?

  • @Harini-c9s
    @Harini-c9s Місяць тому

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

    • @Circuitdigest
      @Circuitdigest  Місяць тому

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

  • @TBS_d
    @TBS_d 2 місяці тому

    it says error compiling for ai thinker
    while uploading

    • @Circuitdigest
      @Circuitdigest  2 місяці тому

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

  • @kittiyakuldee3102
    @kittiyakuldee3102 2 місяці тому

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

  • @gametube630
    @gametube630 2 місяці тому

    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  2 місяці тому

      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 Місяць тому

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

    • @Circuitdigest
      @Circuitdigest  Місяць тому

      Thats the ESP IDF version which the core is based on. And have tried editing the config files i have mentioned.

    • @gametube630
      @gametube630 Місяць тому

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

  • @phobose1.052
    @phobose1.052 18 днів тому

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

  • @hi_beemo1808
    @hi_beemo1808 2 місяці тому

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

  • @phamdanai
    @phamdanai 23 дні тому

    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 14 днів тому

    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?