ESP32-CAM: Simple AI Robot (Object Detection | Object Tracking | Lane Tracking)

Поделиться
HTML-код
  • Опубликовано: 22 май 2020
  • In this project, I would like to share with you how to make a simple AI Robot with ESP32-CAM module.
    The robot can do the Object Detection, Object Tracking, Lane Autonomous Tracking and remote controlled by the Android Phone. The application would acquire the ESP32 address via a broadcast UDP package (255.255.255.255) , so we don't need to configure the address of the module, we just connect it to the same wifi network with the mobile.
    ESP32-CAM firmware and Android source: github.com/longpth/ESP32CamAI
    Android Application: play.google.com/store/apps/de...
    More detail: www.hackster.io/dragonph/esp3...
    The Android Application is tested and run smoothly on Android Phone with specifiation: Android 10, Snapdragon 730, Ram 6GB, 6.39 inches, 1080 x 2340 pixels.
    So for best performace, please use the similar or higher specifiation.
    Components:
    1. ESP32-CAM module x 1
    2. L298N Motor Driver module x 1
    3. 1:120 Gear Motor x 2
    4. wheel x 2
    5. ball transfer unit x 1
    6. Cardboard
    7. Icream stick
    8. Portable power bank
    Other projects:
    Raspberry Pi and Arduino: Logo Sorting System
    • Raspberry Pi and Ardui...
    ESP32-CAM: Remote Control Object Detection Camera
    • ESP32-CAM: Remote Cont...
    ESP32-CAM: Classification with tensorflow.js
    • ESP32-CAM: Object clas...
    Arduino and Android: Breath Alcohol Tester
    • Alcohol Tester with Ar...
    Arduino and Android: Object Tracking Camera
    • Simple Object Tracking...
    ESP8266 Arduino Project: Electric Lock and Unlocked by Android Fingerprint
    • ESP8266 Arduino Projec...
    #esp32camrobot #esp32computervision #esp32AI
    Music and sound effect: RUclips Audio Library.
    ****************************************************
    If you like, don't forget to subscribe and share for more projects: / @roboticslearner
    ****************************************************
  • ХоббиХобби

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

  • @roboticslearner
    @roboticslearner  4 года назад +12

    I configured my board as Tools/Board/ESP32 Wrover Module, and define CAMERA_MODEL_AI_THINKER for the pins definition. Because there are some different kinds of ESP32-CAM modules, so please check your board and your pins definition respectively.
    I clarified my module by trying to run the ESP32 example CameraWebserver first, then keep the setting for my other projects, but it maybe different from yours.
    Regarding my code, to make sure the camera module is initialized fine, please enable DEBUG macro in ESP32CamAI ino file, then use Serial Monitor to check if this message is output: "camera init state 0".

    • @elektroasik
      @elektroasik 3 года назад

      Why when i try connect to ip, i cannot display the webcam? Respon please, because this is a really good project👍

    • @roboticslearner
      @roboticslearner  3 года назад +2

      @@elektroasik I have published the android source code, I think you should try debugging to figure out your issue, maybe there is some problem with the connection

    • @satriamuhammadazis6786
      @satriamuhammadazis6786 3 года назад

      @@roboticslearner Where you published the android source code? Please give me a URL

    • @roboticslearner
      @roboticslearner  3 года назад

      @@satriamuhammadazis6786 You can find it here: github.com/longpth/ESP32CamAI

    • @satriamuhammadazis6786
      @satriamuhammadazis6786 3 года назад

      @@roboticslearner what the software to make that android application? Android studi or else?

  • @dwaynecartex877
    @dwaynecartex877 3 года назад +16

    very very impressive .
    seems easy to people , but object tracking takes a lot of time in training the machine to distinguish and come up with a sure results.
    Wonderful job you've done there

  • @alexfernandesportrai
    @alexfernandesportrai Год назад +2

    This is a brilliant project. Thank you. It took me a while to figure it out, but when it worked it was beautiful. It's a complex code thanks for sharing it.

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      hi sir I am facing problem
      esp is not connecting to phone 🥲
      help me out pls

  • @andres.manurung2551
    @andres.manurung2551 3 года назад +1

    Thanks for posting this. Keep up your amazing work 😁

  • @othoniel123
    @othoniel123 Год назад +1

    Thank you very much for sharing such a great project, it is magnificent. Congratulations.

  • @yupingliao4078
    @yupingliao4078 3 года назад +1

    Hello engineer, your project is great, thank you

  • @Telboy-fv8ke
    @Telboy-fv8ke 4 года назад +1

    I love this, Thankyou so much for sharing

  • @noegutierrez48
    @noegutierrez48 2 года назад

    Great project!, which software did you use for the android app? I see the android source files in java in your github but I'd like to know where did you program it? Thank you in advance

  • @fps886797d
    @fps886797d 3 года назад

    Your projects are so much fun...
    thank you. (Samsung galaxy tab A, works great!)

  • @subhajitdutta7835
    @subhajitdutta7835 3 года назад +5

    How to connect the app to eps32 can board?? the serial monitor showing "camera init state 0" but app showing "cannot connect to esp32 camera"
    please help

  • @arpankarar1540
    @arpankarar1540 3 года назад +6

    plzz make a video in which you will make the complete project step by step. I love this project and want to make it.

  • @Bianchi77
    @Bianchi77 Год назад

    Nice info, thanks for sharing it, keep it up :)

  • @te083tejaspatil8
    @te083tejaspatil8 2 года назад

    Do we have to put short pin on Enable A & B because my robot is not moving at all, rest all computer vision stuff is working well, what to do?? Please reply

  • @krishnaghatol1391
    @krishnaghatol1391 2 года назад

    Hello there sir. Can you please explain how the code works and what all processes are going in the Esp32cam so that ot can detect objects?

  • @davenygeilpatiluna6227
    @davenygeilpatiluna6227 2 года назад +1

    Hi there! I am interested in this kind of projects. I am planning to make an object tracker robot using Arduino UNO, ESP32 camera module and a bunch of servomotors for the movement of the robot. Can you help me for the code for the camera in order to detect and track the object? I would really appreciate if you can help. Thank you very much!

  • @sanketmendke9793
    @sanketmendke9793 2 года назад

    sir can you please share me that which version of esp 32 you will use in these Project like esp32 Ai thinker or only esp32

  • @techworkforyou192
    @techworkforyou192 Год назад

    Great project. In hackster tutorial you mentioned that Android phone can also control the ESP32-CAM GPIOs via UDP package. How to do this? simple code example will help a lot.
    Thanks!

  • @salmanfarsi5588
    @salmanfarsi5588 Год назад

    Can you please tell ke what should o do after doing all connections..and then what to do?

  • @jayvelousemilla1941
    @jayvelousemilla1941 4 года назад

    Hi! Your project is awesome. But I have a question. Is it applicable to use L293D motor driver instead of L298N?

  • @TechInventorAman
    @TechInventorAman 3 года назад +2

    i would like to know who is performing the "detection" operation . Is it the esp32 or esp32 is simply streaming the video to the phone and then phone is doing all the heavy lifting like the detection and recognition stuff .

    • @roboticslearner
      @roboticslearner  3 года назад

      Yes, esp32 is used for video streaming and actuator controlling, AI task is executed by phone

  • @mdandry
    @mdandry Год назад

    Could the camera be used for an edge detection robot?

  • @user-tk9le2rq9b
    @user-tk9le2rq9b 3 месяца назад

    Hello sir. The project you made was wonderful. Can you please somehow indicate on how would we process the source code? Like should all the source code you've given will be written or just a some of it? Thank you so much, sir!

  • @mdjunait3563
    @mdjunait3563 11 месяцев назад +1

    The android app is not supported in Android 11..Can you please make it for Android 11 and higher..??

  • @ARRoboTics
    @ARRoboTics 2 года назад

    Hlw sir your project is great project.
    Sir Whether to work with Direct App after uploading the program

  • @zengshuai4180
    @zengshuai4180 Год назад

    Sir, if I want to replace it with my own target detection model, how should I modify the code?

  • @akshat2205
    @akshat2205 2 года назад +1

    I am adding the zip file esp 32 cam ai in sketch but nothing is coming and same is happening when adding Arduino web socket zip file in sketch. Please help

  • @juliocesavaz
    @juliocesavaz 3 года назад +1

    Nice job, sir. Would it be possible to make the wheels turn right or left to follow the object? Also make the car go forward or backwards if the object gets too far or too close? Thank you.

    • @roboticslearner
      @roboticslearner  3 года назад +1

      Yeah, actually yes but because the number of esp32 cam gpios are limited

    • @syarruddin
      @syarruddin Год назад

      @@roboticslearner whats that mean?

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

    can i use the blue plastic servo instead the metal one

  • @kaczkawil1
    @kaczkawil1 2 года назад

    Hi, I really like your job! Could you recomend some good Object Tracking Tutorial/Guide?

  • @abhishekkadu9581
    @abhishekkadu9581 2 года назад

    I have downloaded the application from Playstore but it is not connecting to ESP32 cam module What should I do

  • @djwfly1
    @djwfly1 3 года назад

    Hello,friend. Great project. I have a question, Is the pin LEFT_CHANNEL and RIGHT_CHANNEL in the code connected to ENA and ENB of l298N ? Thanks!

    • @roboticslearner
      @roboticslearner  3 года назад

      Hello Ding, LEFT_CHANNEL and RIGHT_CHANNEL are pwm channels, they are not pin numbers

  • @Milby20289394bc
    @Milby20289394bc 2 года назад

    I’m trying to build something similar to this to sort brass by caliber by using a camera to read a headstamp where can I go for more info to learn how to build what I’m wanting?

  • @ganwei2821
    @ganwei2821 2 года назад

    It seems all is OK, except that the speed of the playing video with Android phone is very slow. And I do not know where the bot is because I can not get the picture in time on the phone.
    Please help me solve the problem.

  • @vardhanbunny5965
    @vardhanbunny5965 3 года назад

    Can we connect with only browser because the app is lagging and app is difficult to connect

  • @aakifahbatool5957
    @aakifahbatool5957 3 года назад

    Is sd card needed for esp32cam in this project?

  • @Sadiqkhan-uf6dx
    @Sadiqkhan-uf6dx Год назад

    Can we track and follow a particular object with this ?

  • @myperspective5091
    @myperspective5091 2 года назад +2

    I always thought that it might be interesting to look into building a robot like this.
    I see that your robot has a vision based line following ability and it can track objects and identify them but can it do anything else with that info?

    • @roboticslearner
      @roboticslearner  2 года назад

      Thanks for conment, I am thinking how to improve it

    • @myperspective5091
      @myperspective5091 2 года назад

      @@roboticslearner
      It reminds me of the Cosmo and Vector robots.
      Can it read bar codes and execute commands based on those barcodes?
      Do you have any plans to add any other functions to this robot?
      With a project like this have you reached your current range of knowledge in this are?
      Do you have a continued interest in this area of exploration as a hobby?
      What do you think of the Misty educational robot and other robots like the kuri robot and the Qbo original?
      Have you ever played around with any off the shelf robots like a; Darwin, Nao, Cosmo, or a Vector?
      How many years of programming do you have? Is it just hobby or college too?
      What future robot projects do you have?
      Do you find the current state of hobby robotics to be dwindling, stagnating, or plateauing and not advancing?

    • @roboticslearner
      @roboticslearner  2 года назад +1

      Wow, your questions encourage me a lots. Yeah sure I want to improve it more ... I am thinking of making it an easy learning stem robot too ...

  • @chattran4843
    @chattran4843 3 года назад

    please give me the wiring diagram for esp32camera and lm298n. thank you

  • @shweta6965
    @shweta6965 2 года назад

    I have done everything then also esp32 cam is not connecting with app why plz help me through it

  • @abhijithabhi6598
    @abhijithabhi6598 2 года назад +1

    Its working dude thank you bro

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      'vector' in namespace 'std' does not name a template type
      I got this error help me bro

    • @rahulchowdary6914
      @rahulchowdary6914 Год назад

      esp32 not connected to phone help me bro

    • @abhijithabhi6598
      @abhijithabhi6598 Год назад +1

      Redump the program bro

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      @@abhijithabhi6598 bro 😅
      I have edited the code
      I got an error
      Vector in namespace std does not name a template type
      So in yt comments only I got reply
      To edit the code
      Add #include
      Add lib vector
      I did that
      Code complianced now not connecting to phone

    • @abhijithabhi6598
      @abhijithabhi6598 Год назад +1

      Both ur mobile and esp32 connected to same wifi

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

    my ESP 32 cam takes 250mA with out the LED light so the bat drains quite fast.......or use a hughe bat

  • @sergioeddy11
    @sergioeddy11 4 года назад +1

    sorry, i try to implement some similar project in react native webview, how do you handle and ip default from a site, boradcasting to the app?

    • @sergioeddy11
      @sergioeddy11 4 года назад

      do you have some react native projects similar to this? using esp32 cam

    • @sergioeddy11
      @sergioeddy11 4 года назад

      I mean, how can you translate the ip defualt view to a webview in an application ?

    • @roboticslearner
      @roboticslearner  4 года назад +1

      Hi Edward-Hedz30,
      I have not used react native before, but I had implemented a web browser remote application using some basic html and javascript, could you check it if it can be somehow a reference : github.com/ANM-P4F/ESP32-CAM-ROBOT

  • @nithesh857
    @nithesh857 4 года назад

    Is this the Ai thinker's Esp32-S you were using? Pls let me know!

    • @roboticslearner
      @roboticslearner  4 года назад

      I don't think it is

    • @nithesh857
      @nithesh857 4 года назад

      @@roboticslearner then which model you were using?

    • @roboticslearner
      @roboticslearner  4 года назад

      Could you check my pinned comment, I bought it from a local shop and not sure exactly about the model, so I had to try many times to configure the IDE and pin definition and then figured out which as my pinned comment works

  • @mkpeker
    @mkpeker Год назад

    good work but, in your arduino code there is conflicts motor control pins. can you please open and clearly comment pinns for l298 motor driver. or provide a schematic please

  • @PavanKumar-os2qv
    @PavanKumar-os2qv 3 года назад

    Hello cn u share the code only for the object detection ??

  • @fuadafiff3803
    @fuadafiff3803 3 года назад +1

    Hai mate this is great!
    I have an obstacle program that reads "camera_wrap. H: no such file or directory"
    What is the solution?

    • @roboticslearner
      @roboticslearner  3 года назад

      Hello, could you follow the description below the video?

  • @yupingliao4078
    @yupingliao4078 3 года назад

    😍👍

  • @mostasimtoki8002
    @mostasimtoki8002 3 года назад +1

    Seeking help here,
    Is there any possible if I supply 7.4v instead of 5 v??😅

    • @roboticslearner
      @roboticslearner  3 года назад

      In that case, you need a converter or an IC ex 7805 to convert from 7.4v to 5v for supplying the esp32 cam module, for the motors, I think you can supply them with 7.4v

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

    the app i can't found in play store link can you give Me the app

  • @pavankumarvaranasi3051
    @pavankumarvaranasi3051 3 года назад

    May I know the reason y bot is hanging suddenly

  • @VikasHacker
    @VikasHacker 3 года назад

    where should i connect servo negative wire and we can give 7.4v to the car through motor driver plz answer

    • @roboticslearner
      @roboticslearner  3 года назад

      Please check the description below the video and you can find the hackster.io link for showing how to connect the electronic parts

  • @arjun9500
    @arjun9500 7 месяцев назад

    Sir I have an error message will comes it will showing class WiFiClientSecure' has no member named 'setInsecure'
    _client.ssl->setInsecure();
    What can I do? Would you please give me a solution please

  • @VikasHacker
    @VikasHacker 4 года назад

    My god sir it iss thunder really

  • @abdelsalamhamid8829
    @abdelsalamhamid8829 3 года назад

    Hello! this is very nice project. I tried and it Works! I have som quetions may will improve the robot. for example if trying to turn to left should also right wheel turn in revers direction. The same as to turn to right should left Wheel turn in revers direction. And som time it reset the robot .button LED and object traking not showing in App?The second quetion is what software or program you used to design Android App software? Any advise would be great, thank you!

    • @roboticslearner
      @roboticslearner  3 года назад

      This one is a prototype I made when I have free time, so it still does not work well in some case I think, but I would improve it in the future, I used Android Studio to make the app.

    • @abdelsalamhamid8829
      @abdelsalamhamid8829 3 года назад

      Thanks for your reply , It will be great if you do a project for how to design App with Android studio for this project.

    • @roboticslearner
      @roboticslearner  3 года назад

      Yeah! That is a good idea, I am busy this moment, but will come back for more projects in couple of months, please dont forget to take a look at that time ;)

    • @VikasHacker
      @VikasHacker 3 года назад

      @@roboticslearner please update the code so it work more properly

  • @konlop7000
    @konlop7000 Год назад +1

    can face recognition happen offline without laptop for example using just an 12C LCD screen to write names?

    • @roboticslearner
      @roboticslearner  Год назад

      Good idea, not yet implemented

    • @konlop7000
      @konlop7000 Год назад

      @@roboticslearner
      I mean is it possible to just use offline esp32 to face recognizing?

  • @chiragscience9434
    @chiragscience9434 3 года назад

    sir plz help me.........
    when i am trying to connect the cam app with the esp32 its witting that can't connect to esp 32 camera..............sir plz help me its argent
    i am using oppo a31 phone.........

  • @trillobit3sIndieDevGames
    @trillobit3sIndieDevGames 7 месяцев назад

    ai possui a aplicação para download ou somente o apk?

  • @elektroasik
    @elektroasik 3 года назад

    I want to ask, how do I connect this project, if I make my own application using the Inventor or Codular app? and can this project be opened using a browser like chrome or something else?

    • @roboticslearner
      @roboticslearner  3 года назад

      hello, if you want to use web browser, firstly you should try with this ruclips.net/video/xvkwcLCyFT0/видео.html

    • @chiragscience9434
      @chiragscience9434 3 года назад

      plzz help me with it my app is not working its argent plzz help me

  • @PerlFacts
    @PerlFacts 11 месяцев назад

    does this project uses arduino board?

  • @raguaviva
    @raguaviva 3 года назад

    Misleading title, the phone is the one doing the AI not the ESP32

  • @thewormbook199
    @thewormbook199 9 месяцев назад

    Hello please urgently help me
    I am getting error "WStype_t" has not been declared 😢

  • @TheCoderTenalli
    @TheCoderTenalli 3 года назад

    hey buddy, I'm making a project where esp32 cam can identify that is there any person in the room or not and then according to that switch on/off the lights, using its camera module.
    plz guide me in this, how to do it ?????

    • @roboticslearner
      @roboticslearner  3 года назад

      You should use object detection and filter person class only, then count the person if more than zero or not, object detection you could use yolo or ssd mobilenet, but esp32 is not capable of running these cnn itself, so I think you should use esp32 for streaming and control the switch only, ai task should be done eslewhere...

  • @vardhanbunny5965
    @vardhanbunny5965 3 года назад

    Can we connect through browser ??

  • @user-js4od1nk2w
    @user-js4od1nk2w 10 месяцев назад

    does it also work with an i pad

  • @JuanCarlos-ff6vp
    @JuanCarlos-ff6vp 4 года назад +1

    Great work. Do you know if theres is possible to lane tracking byself with the ESP32-cam instead use the android app?. I want to make a lane tracking stand alone with the ESP32-cam. Greetings.

    • @roboticslearner
      @roboticslearner  4 года назад +1

      Hi Juan Carlos,
      You mean using computer vision? if not I think you can use IR sensors.

    • @JuanCarlos-ff6vp
      @JuanCarlos-ff6vp 4 года назад

      @@roboticslearner I mean to process the image and detect the lane byself the ESP32-cam, without needing to send the image to the app (smartphone).

    • @roboticslearner
      @roboticslearner  4 года назад +1

      @@JuanCarlos-ff6vp I think we can do it, you could try writing a image gray scale and threshold function, but I worry that ESP does these processing not fast enough, because you need to iterate through the image with size 640x480x3 pixels (I use the resolution 640x480), anyway, you can try it, for ex: stackoverflow.com/questions/54173733/convert-rgb-to-grayscale-in-bare-c. If you run these task on pc or Android, you can use opencv api.

    • @JuanCarlos-ff6vp
      @JuanCarlos-ff6vp 4 года назад +1

      @@roboticslearner I was thinking of applying Hough transform. I am building a robot that runs through the rows of vineyards. The idea is to keep the car in the center of the aisle that forms between the trees. Greetings and thanks for your answers.

    • @roboticslearner
      @roboticslearner  4 года назад

      Hi Juan Carlos,
      I am interested in autonomous driving also, but for that kind of lane tracking, I think you could use segmentation CNN, but ESP seems not sufficient to do that task, if you want to use a same size but stronger controller, I think you can use openmv.io/products/openmv-cam-h7, or raspberry pi/jetson nano are good candidates also.

  • @user-zo3kd5kh2j
    @user-zo3kd5kh2j 18 дней назад

    hello, the android app isnt working can you help please

  • @mitraarnab8130
    @mitraarnab8130 2 года назад

    Sir can you please help I am not able to stream Esp 32 AI cam App

  • @mostasimtoki8002
    @mostasimtoki8002 3 года назад

    Bro, If I use the sg-90 servo motor instead MG-90S ? WILL IT WORK?
    PLEASE HELP 😅

  • @felixalwin8212
    @felixalwin8212 Год назад

    how do i connect to my mobile? pleas tell me

  • @VikasHacker
    @VikasHacker 3 года назад

    He'llo sir in object tracking when we moving the box infront of espcam then the servo is working when we doing up and down but when we bring the box to left right why the car is not moving this system is only for servo only please say

    • @roboticslearner
      @roboticslearner  3 года назад

      Yeah, due to the limitation of the gpios so I have not implemented that function

    • @VikasHacker
      @VikasHacker 3 года назад

      @@roboticslearner can you try to add that also if it can 🙄?

  • @CrashPreinsertion
    @CrashPreinsertion 3 года назад

    I'm sorry you haven't made more videos lately. I hope we get past this stupid pandemic thing soon.

  • @rjgaming9965
    @rjgaming9965 Год назад +2

    bro all connections are ok plese we need detailed video for code and libraries

  • @bharath5673__
    @bharath5673__ 3 года назад

    💘

  • @user-wc4tl5fm8w
    @user-wc4tl5fm8w Год назад

    Hello Sir I have to make a Robot which segregates dry and wet waste using machine learning so i have the trained and tested dataset ready but how to implement it on Esp32 is a big problem plzz help me with it sir.

    • @Sinelizwi-il1gv
      @Sinelizwi-il1gv 8 месяцев назад

      Did you manage to do it?? I'm still struggling

  • @invonatormoustaphaalihssai2114
    @invonatormoustaphaalihssai2114 3 года назад

    It s formal or anual

  • @2myway914
    @2myway914 4 года назад

    Seeking Help!
    I am having issue - the streaming is inconsistent and had to reopen app to restart video streaming. The response also lags..
    Also want to know how to add and set own image range in it.
    Basically doing it for my daughter as getting into AI is her hobby so much request your help to sort this issue.
    Thanks in anticipation!

    • @roboticslearner
      @roboticslearner  4 года назад

      Hello 2my way, I am not sure about the inconsistent streaming, but there are maybe 2 reason: your network is not good or your esp32-cam hardware has problems, could you try with another wifi access point or another esp32-cam module. Regarding the image range, I am not sure what it is?

    • @nithesh857
      @nithesh857 4 года назад

      @2my_way, pls help me in connecting the module with the app! I am facing "Cannot connect to Esp32cam error" after launching the app even though I have successfully connected the module with the personal hotspot of my mobile phone!

  • @rahulchowdary6914
    @rahulchowdary6914 Год назад +1

    'vector' in namespace 'std' does not name a template type
    this is the error i got plz help me out

  • @noelinx
    @noelinx Год назад

    bro ye aap robot app se control kar rahe hena

  • @syazamshop107
    @syazamshop107 3 года назад

    Can be used without android application ? Can open the control from webserver ?

    • @roboticslearner
      @roboticslearner  3 года назад

      Yes, but in that case, you just can just do some manual remote control, or low rate ai task ...

  • @kj4051
    @kj4051 4 года назад

    Hello A&M I have errors : undefined reference to `grabImage(unsigned int&, unsigned char*) and undefined reference to `initCamera(). what can I do? Thanks

    • @kj4051
      @kj4051 4 года назад

      I have try "//cameraInitState = initCamera();" and "//grabImage(jpgLength, jpgBuff);" this two lines. It Done compiling but I believe that camera should not work properly.

    • @roboticslearner
      @roboticslearner  4 года назад +1

      You must keep these functions, they are important, it cannot work without these function, you should download the repository and then extract it, there should be ino and cpp, h files inside, then use arduino ide to load the ino file and flash to esp32-cam, then it should work

    • @kj4051
      @kj4051 4 года назад +2

      @@roboticslearner Thanks so much, It's worked!

  • @mostasimtoki8002
    @mostasimtoki8002 3 года назад

    Seeking help,
    Can I upload the code using Arduino nano instead of ftdi ttl module?
    Please help 😅

  • @nitingamare9693
    @nitingamare9693 2 года назад +1

    I 🔥 made this thank you 🌻
    Is there any option to update app data base like different components objects

    • @roboticslearner
      @roboticslearner  2 года назад

      You can retrain the model

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      'vector' in namespace 'std' does not name a template type i got the error can you help me bro

    • @salmanfarsi5588
      @salmanfarsi5588 Год назад

      How did you made it?is there any details paper or video?

  • @mohamedeldardiri
    @mohamedeldardiri 3 года назад

    Hi, the app cannot connect to camera , but i can browse the ip with the browser , where the 2 motors work fine but not the servo. Do i have to install the AI firmware ? where?

    • @mohamedeldardiri
      @mohamedeldardiri 3 года назад

      Ip address on browser with port 86 shows : websocket server only ... and the app cannot connect

    • @mohamedeldardiri
      @mohamedeldardiri 3 года назад

      My mask is : 255.255.255.0

    • @mohamedeldardiri
      @mohamedeldardiri 3 года назад

      IT WORKED .. finally , it was a connection problem .. commands are significantly lagging .. GREAT

  • @madewira9572
    @madewira9572 3 года назад

    I have question regarding control the robot using your app,how to connect app with the robot,?did you using WiFi?if yes ..so the robot Will have WiFi ssid?? Thanks...

    • @roboticslearner
      @roboticslearner  3 года назад

      Hi Made Wira, yes, you could check the description below the video, you need change ssid and pass corespondent to yours in the source code for esp32-cam module

    • @madewira9572
      @madewira9572 3 года назад

      @@roboticslearner thanks for your respond sir, i just check the description in your video,now i solve the problem,anyway thanks for code and great app.....

  • @Randomisedguy1001
    @Randomisedguy1001 2 года назад

    Nice one, but wire connection isn't clear

  • @andreabasile8320
    @andreabasile8320 Год назад +2

    Hi man! Fantastic project!!
    I am having issues connecting ESP32CAM to smartphone. They are both connected to th same wifi...

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      bro is the code complied
      I am getting an issue
      'vector' in namespace 'std' does not name a template type
      this is the issue i got
      help me plz

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      same bro
      your project is it working?

    • @nabtakir
      @nabtakir 11 месяцев назад +1

      @@rahulchowdhary8063 just add this line of code at the header of your code #include

  • @kj4051
    @kj4051 4 года назад

    Please help : I using ESP32 Wrover Module and run ESP32 example CameraWebserver it smoothly. But when I try AI robot there are many errors such as: undefined reference to `WebSocketsServer::WebSocketsServer(unsigned short, String, String)', undefined reference to `WebSocketsServer::loop(), Multiple libraries were found for "WiFi.h". etc
    Can you show me how to fix it?
    Thanks

    • @roboticslearner
      @roboticslearner  4 года назад

      Hi K j, actually I had written in REAME in the github link, you should download github.com/Links2004/arduinoWebSockets as zip file and add this library to your Arduino Libraries by Sketch/Include Library/Add Zip... Regarding the "Multiple libraries were found for "WiFi.h"", there is a WiFi.h duplicated in the arduino ide/ libraries, you should delete it and use the library form esp.

    • @kj4051
      @kj4051 4 года назад

      @@roboticslearner Thanks for your reply . But what about camera_wrap.h
      it's not found.

    • @roboticslearner
      @roboticslearner  4 года назад +1

      Hi K j, How to dowload my repository?, it should be in the same directory with ino file

  • @mohamedeldardiri
    @mohamedeldardiri 3 года назад

    How will the camera move left and right ?

    • @roboticslearner
      @roboticslearner  3 года назад +1

      The camera module does not have enough gpio to control many thing, so if you want to control the camera to move left and right, you need to add a arduino board

  • @user-si5zc9dq6n
    @user-si5zc9dq6n 8 месяцев назад

    hi while compiling i got
    'vector' in namespace 'std' does not name a type error
    please help how to resolve

  • @user-qb3hb5wi4t
    @user-qb3hb5wi4t 2 года назад +1

    Hello Sir, your project is very interesting and I like it very much, so I cloned your code and made some changes for my project.At first it worked fine, but after a few days, for some unknown reason, object detection stopped working at all, and object tracking had problems as follows:If the program has not performed target detection before the object tracking mode, the object tracking function will still work. If the target detection button has been clicked before, the object tracking function will only draw an immovable rectangle, and the crosshair will no longer appear.I really don't understand, can you help me find the reason?Thank you so much!!These words are translated into English by software. Please forgive me if they are not smooth.I hope you can spare some time to help me, thanks again!!

    • @shweta6965
      @shweta6965 2 года назад

      I have done all the thing then also esp32 cam is not connecting with app why but esp32 is connected with hotspot

    • @shweta6965
      @shweta6965 2 года назад

      Plz help me

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      @@shweta6965 hi is your project worked
      I got an error
      'vector' in namespace 'std' does not name a template type
      How can I slove it

    • @AryanKanojiaOfficial
      @AryanKanojiaOfficial 8 месяцев назад

      @@rahulchowdhary8063 in .ino file add new header file #include vector

  • @sltechgalaxy1677
    @sltechgalaxy1677 2 года назад +2

    Code please 🥺

  • @praveengv612
    @praveengv612 9 месяцев назад

    can anyone guide me how to do the project from scratch....

  • @jeremyahamioje-iv8ze
    @jeremyahamioje-iv8ze 5 месяцев назад

    Can it follow a human instead,someone please reply

  • @sanketmendke9793
    @sanketmendke9793 2 года назад +1

    next video kab aayega 😅

  • @huntercowboyyt4244
    @huntercowboyyt4244 3 года назад

    objection is running in your mobile or in your hardware.

  • @shahftw_04
    @shahftw_04 3 года назад

    Can u provide me details description of parts please

    • @roboticslearner
      @roboticslearner  3 года назад

      Hello, You can find it in the description below the video

  • @furkanborayazc7878
    @furkanborayazc7878 4 года назад

    Hi, I made a robot, but when I press the forward key or any direction key, the app also works nonstop. I wonder what caused it. When I press forward or backward, the engines run nonstop for 2-3 seconds. the problem is exactly what. ESP32 stems

    • @furkanborayazc7878
      @furkanborayazc7878 4 года назад

      When I press back and forth or right and left, the motors start non-stop, but the servo motor moves up and down by itself.I changed the esp32cam, but unfortunately I have the same problem again

    • @roboticslearner
      @roboticslearner  4 года назад

      I don't have that problem but let me check for a while

    • @furkanborayazc7878
      @furkanborayazc7878 4 года назад

      @@roboticslearner Thank you so much for solving this problem. Would you share the object detection codes ? I would like to improve.

    • @furkanborayazc7878
      @furkanborayazc7878 4 года назад

      when I enable object detection, the application slows down a lot. What is the reason?

    • @roboticslearner
      @roboticslearner  4 года назад

      Hi, Object detection is running on a cnn model, currently I am using ssd mobilenetv2, it would take much cpu computing, so it would slow down the overall

  • @kobalov1
    @kobalov1 3 года назад

    I AM also wondering, can you connect directly to esp32 with a phone without using wifi??? would that be possible?? thanks :D

    • @roboticslearner
      @roboticslearner  3 года назад +1

      Yes, via wifi or bluetooth

    • @kobalov1
      @kobalov1 3 года назад +1

      @@roboticslearner i figured it out, I just changed the line of code from connecting to wifi to making its own server where I can connect the phone to.

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      hi bro did you did this project...?

    • @kobalov1
      @kobalov1 Год назад

      @@rahulchowdhary8063 yeah, like I wrote

    • @rahulchowdhary8063
      @rahulchowdhary8063 Год назад

      @@kobalov1 hi sir I am facing problem
      I am not able to connect esp to phone 🥲
      Help me plz

  • @nithesh857
    @nithesh857 4 года назад

    I have did everything thoroughly, even after connecting the module with the mobile hotspot, the app is showing something like "Cannot connect to ESP32cam"... I guess there is some mistake in the code ! Even, I am unable to stream video with the IP address using your code so I guess something have missed in the code( The board is working fine with webcamserver example ) Please help me to fix the error !

    • @roboticslearner
      @roboticslearner  4 года назад

      I don't know why you get that error, the code run fine with mine, and confirmed by some other persons

    • @roboticslearner
      @roboticslearner  4 года назад

      You could check by connecting the module to pc via serial and check with serial monitor to view the debug infomation

    • @nithesh857
      @nithesh857 4 года назад

      @@roboticslearner what should be the debug information? 'Camera int value 0' is that it?

    • @roboticslearner
      @roboticslearner  4 года назад +1

      Yes, 0 means initialization fine

  • @haribhanumishra8643
    @haribhanumishra8643 3 года назад

    hi,
    dude how to connect the app with esp32 ???
    I`VE everything but how to connect it to the app to control the robot

    • @roboticslearner
      @roboticslearner  3 года назад +1

      Hello, when you press "Stream" button, the app should automatically connect to the esp32-cam module, you should check if your esp32-cam connect to the same local network with the android phone or not...

    • @TheCoderTenalli
      @TheCoderTenalli 3 года назад

      @@roboticslearner ok i`ll try it, thank you so much buddy