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

  Переглядів 131,212

Robotics Learner

Robotics Learner

4 роки тому

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: UKposts Audio Library.
****************************************************
If you like, don't forget to subscribe and share for more projects: / @roboticslearner
****************************************************

КОМЕНТАРІ: 338
@roboticslearner
@roboticslearner 4 роки тому
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 роки тому
@@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 роки тому
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
@andres.manurung2551
@andres.manurung2551 3 роки тому
Thanks for posting this. Keep up your amazing work 😁
@alexfernandesportrai
@alexfernandesportrai Рік тому
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
@yupingliao4078
@yupingliao4078 3 роки тому
Hello engineer, your project is great, thank you
@othoniel123
@othoniel123 10 місяців тому
Thank you very much for sharing such a great project, it is magnificent. Congratulations.
@Telboy-fv8ke
@Telboy-fv8ke 3 роки тому
I love this, Thankyou so much for sharing
@fps886797d
@fps886797d 3 роки тому
Your projects are so much fun... thank you. (Samsung galaxy tab A, works great!)
@Bianchi77
@Bianchi77 9 місяців тому
Nice info, thanks for sharing it, keep it up :)
@arpankarar1540
@arpankarar1540 3 роки тому
plzz make a video in which you will make the complete project step by step. I love this project and want to make it.
@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!
@noegutierrez48
@noegutierrez48 Рік тому
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
@subhajitdutta7835
@subhajitdutta7835 2 роки тому
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
@abhijithabhi6598
@abhijithabhi6598 2 роки тому
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 Рік тому
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 Рік тому
Both ur mobile and esp32 connected to same wifi
@user-tk9le2rq9b
@user-tk9le2rq9b Місяць тому
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!
@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
@sanketmendke9793
@sanketmendke9793 Рік тому
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
@user-js4od1nk2w
@user-js4od1nk2w 8 місяців тому
does it also work with an i pad
@PerlFacts
@PerlFacts 9 місяців тому
does this project uses arduino board?
@ARRoboTics
@ARRoboTics 2 роки тому
Hlw sir your project is great project. Sir Whether to work with Direct App after uploading the program
@jayvelousemilla1941
@jayvelousemilla1941 3 роки тому
Hi! Your project is awesome. But I have a question. Is it applicable to use L293D motor driver instead of L298N?
@roboticslearner
@roboticslearner 3 роки тому
Hi Jayvelou, I think there is no problem.
@kaczkawil1
@kaczkawil1 2 роки тому
Hi, I really like your job! Could you recomend some good Object Tracking Tutorial/Guide?
@salmanfarsi5588
@salmanfarsi5588 11 місяців тому
Can you please tell ke what should o do after doing all connections..and then what to do?
@mdandry
@mdandry Рік тому
Could the camera be used for an edge detection robot?
@juliocesavaz
@juliocesavaz 3 роки тому
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 роки тому
Yeah, actually yes but because the number of esp32 cam gpios are limited
@syarruddin
@syarruddin Рік тому
@@roboticslearner whats that mean?
@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 роки тому
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!
@myperspective5091
@myperspective5091 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 роки тому
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 ...
@yupingliao4078
@yupingliao4078 3 роки тому
😍👍
@mdjunait3563
@mdjunait3563 9 місяців тому
The android app is not supported in Android 11..Can you please make it for Android 11 and higher..??
@aakifahbatool5957
@aakifahbatool5957 2 роки тому
Is sd card needed for esp32cam in this project?
@akshat2205
@akshat2205 Рік тому
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
@zengshuai4180
@zengshuai4180 Рік тому
Sir, if I want to replace it with my own target detection model, how should I modify the code?
@vardhanbunny5965
@vardhanbunny5965 2 роки тому
Can we connect with only browser because the app is lagging and app is difficult to connect
@rjgaming9965
@rjgaming9965 Рік тому
bro all connections are ok plese we need detailed video for code and libraries
@roboticslearner
@roboticslearner Рік тому
I have a tutorial in the video description
@mariotovar4762
@mariotovar4762 Місяць тому
my ESP 32 cam takes 250mA with out the LED light so the bat drains quite fast.......or use a hughe bat
@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
@noelinx
@noelinx Рік тому
bro ye aap robot app se control kar rahe hena
@TechInventorAman
@TechInventorAman 3 роки тому
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
@chiragscience9434
@chiragscience9434 2 роки тому
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.........
@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
@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.
@Sadiqkhan-uf6dx
@Sadiqkhan-uf6dx Рік тому
Can we track and follow a particular object with this ?
@abhishekkadu9581
@abhishekkadu9581 2 роки тому
I have downloaded the application from Playstore but it is not connecting to ESP32 cam module What should I do
@VikasHacker
@VikasHacker 3 роки тому
My god sir it iss thunder really
@praveengv612
@praveengv612 7 місяців тому
can anyone guide me how to do the project from scratch....
@nithesh857
@nithesh857 3 роки тому
Is this the Ai thinker's Esp32-S you were using? Pls let me know!
@roboticslearner
@roboticslearner 3 роки тому
I don't think it is
@nithesh857
@nithesh857 3 роки тому
@@roboticslearner then which model you were using?
@roboticslearner
@roboticslearner 3 роки тому
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
@thewormbook199
@thewormbook199 7 місяців тому
Hello please urgently help me I am getting error "WStype_t" has not been declared 😢
@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?
@roboticslearner
@roboticslearner 2 роки тому
Try some ml model with python first
@shweta6965
@shweta6965 2 роки тому
I have done everything then also esp32 cam is not connecting with app why plz help me through it
@chattran4843
@chattran4843 2 роки тому
please give me the wiring diagram for esp32camera and lm298n. thank you
@arjun9500
@arjun9500 5 місяців тому
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
@pavankumarvaranasi3051
@pavankumarvaranasi3051 2 роки тому
May I know the reason y bot is hanging suddenly
@rahulchowdary6914
@rahulchowdary6914 Рік тому
'vector' in namespace 'std' does not name a template type this is the error i got plz help me out
@Gigantamax_Mega_Charizard_X
@Gigantamax_Mega_Charizard_X 6 місяців тому
plz help me.same problem .new here.
@sanketmendke9793
@sanketmendke9793 Рік тому
next video kab aayega 😅
@trillobit3sGames
@trillobit3sGames 5 місяців тому
ai possui a aplicação para download ou somente o apk?
@bharath5673__
@bharath5673__ 3 роки тому
💘
@PavanKumar-os2qv
@PavanKumar-os2qv 2 роки тому
Hello cn u share the code only for the object detection ??
@konlop7000
@konlop7000 Рік тому
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?
@CrashPreinsertion
@CrashPreinsertion 3 роки тому
I'm sorry you haven't made more videos lately. I hope we get past this stupid pandemic thing soon.
@roboticslearner
@roboticslearner 3 роки тому
Yeah, I'll try to come back soon :)
@sergioeddy11
@sergioeddy11 3 роки тому
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 3 роки тому
do you have some react native projects similar to this? using esp32 cam
@sergioeddy11
@sergioeddy11 3 роки тому
I mean, how can you translate the ip defualt view to a webview in an application ?
@roboticslearner
@roboticslearner 3 роки тому
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
@vardhanbunny5965
@vardhanbunny5965 2 роки тому
Can we connect through browser ??
@andreabasile8320
@andreabasile8320 Рік тому
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 9 місяців тому
@@rahulchowdhary8063 just add this line of code at the header of your code #include
@invonatormoustaphaalihssai2114
@invonatormoustaphaalihssai2114 3 роки тому
It s formal or anual
@fuadafiff3803
@fuadafiff3803 3 роки тому
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?
@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
@mitraarnab8130
@mitraarnab8130 Рік тому
Sir can you please help I am not able to stream Esp 32 AI cam App
@felixalwin8212
@felixalwin8212 Рік тому
how do i connect to my mobile? pleas tell me
@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
@raguaviva
@raguaviva 3 роки тому
Misleading title, the phone is the one doing the AI not the ESP32
@mostasimtoki8002
@mostasimtoki8002 3 роки тому
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
@user-si5zc9dq6n
@user-si5zc9dq6n 6 місяців тому
hi while compiling i got 'vector' in namespace 'std' does not name a type error please help how to resolve
@adityadesai882
@adityadesai882 5 місяців тому
same here....please help me
@vishnukumarancv7506
@vishnukumarancv7506 2 роки тому
Nice one, but wire connection isn't clear
@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 🙄?
@nitingamare9693
@nitingamare9693 2 роки тому
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 11 місяців тому
How did you made it?is there any details paper or video?
@FortniteBlazeYT
@FortniteBlazeYT 8 місяців тому
there is a lot of error in the code
@nileshgodhanipatel2211
@nileshgodhanipatel2211 5 місяців тому
Brother how to uplod program?
@2myway914
@2myway914 3 роки тому
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 3 роки тому
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 3 роки тому
@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!
@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 ukposts.info/have/v-deo/sKacq5mDeq93tWQ.html
@chiragscience9434
@chiragscience9434 2 роки тому
plzz help me with it my app is not working its argent plzz help me
@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...
@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 6 місяців тому
Did you manage to do it?? I'm still struggling
@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.....
@jeremyahamioje-iv8ze
@jeremyahamioje-iv8ze 3 місяці тому
Can it follow a human instead,someone please reply
@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 ...
@mostasimtoki8002
@mostasimtoki8002 3 роки тому
Bro, If I use the sg-90 servo motor instead MG-90S ? WILL IT WORK? PLEASE HELP 😅
@roboticslearner
@roboticslearner 3 роки тому
Yeah, I think it is fine
@kj4051
@kj4051 3 роки тому
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 3 роки тому
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 3 роки тому
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 3 роки тому
@@roboticslearner Thanks so much, It's worked!
@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 роки тому
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
@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
@kj4051
@kj4051 3 роки тому
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 3 роки тому
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 3 роки тому
@@roboticslearner Thanks for your reply . But what about camera_wrap.h it's not found.
@roboticslearner
@roboticslearner 3 роки тому
Hi K j, How to dowload my repository?, it should be in the same directory with ino file
@JuanCarlos-ff6vp
@JuanCarlos-ff6vp 4 роки тому
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 роки тому
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 роки тому
@@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 роки тому
@@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.
@mostasimtoki8002
@mostasimtoki8002 3 роки тому
Seeking help, Can I upload the code using Arduino nano instead of ftdi ttl module? Please help 😅
@roboticslearner
@roboticslearner 3 роки тому
I think it would be same :D
@sltechgalaxy1677
@sltechgalaxy1677 2 роки тому
Code please 🥺
@mohamedeldardiri
@mohamedeldardiri 3 роки тому
How will the camera move left and right ?
@roboticslearner
@roboticslearner 3 роки тому
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
@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
@huntercowboyyt4244
@huntercowboyyt4244 3 роки тому
objection is running in your mobile or in your hardware.
@roboticslearner
@roboticslearner 3 роки тому
Hello, it runs on mobile phone
@kobalov1
@kobalov1 2 роки тому
I AM also wondering, can you connect directly to esp32 with a phone without using wifi??? would that be possible?? thanks :D
@roboticslearner
@roboticslearner 2 роки тому
Yes, via wifi or bluetooth
@kobalov1
@kobalov1 2 роки тому
@@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
@user-qb3hb5wi4t
@user-qb3hb5wi4t 2 роки тому
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 6 місяців тому
@@rahulchowdhary8063 in .ino file add new header file #include vector
@berainwaree5454
@berainwaree5454 2 роки тому
Can esp32 cam can detecting object like smart cane?
@roboticslearner
@roboticslearner 2 роки тому
Actually, the detection is done by the smartphone app, so if you want to detect some custom object, you need to retrain the model and build the app again ...
@akshat2205
@akshat2205 Рік тому
Can't find the code
@ugurcnar2866
@ugurcnar2866 3 роки тому
Hello sir, thank you for your efforts. I have a question. What does camera_wrap.h file do in this code ? Frankly...
@roboticslearner
@roboticslearner 3 роки тому
This is a header file, It just contains the prototypes for 2 function which are declared in camera_wrap.cpp, you include this header file in your cpp file to use these functions
@ugurcnar2866
@ugurcnar2866 3 роки тому
@@roboticslearner I would like to make a self driving line follower robot car ( It won't use smartphone ) by using ESP32 Camera module. How can I apply Hough transform and Canny edge detection by using Arduino ? I will be so glad if you reply. Thank you and Best regards.
@roboticslearner
@roboticslearner 3 роки тому
Hello, I am not sure if esp32 has enough resource to do that, but I think you can try it, there are some c++ implementation for canny and Hough transfrom, just take them and check it
@ugurcnar2866
@ugurcnar2866 3 роки тому
@@roboticslearner Hello, another option to programme ESP32 CAM module is Micropython. I use Thonny IDE in order to load codes to ESP32 CAM. How can I start camera server using Micropython ? Is there any useful source and idea to process live video by ESP32 CAM using Micropython ? Sincerely, I am so appreciated and welcomed. Thank a lot.
@roboticslearner
@roboticslearner 3 роки тому
Yeah, I have heard about it before but not yet work with it, but in my opinion, esp32 is good enough for streaming and maybe do some light computer vision task, but I am sure if it is efficient for computer vision processing... maybe another version of it in the future with better resource such as cpu frequency and ram could do it well ... So far, I know that it supports face recognition, but with high latency ...
Surveillance Car using ESP32 Cam module | ESP32 Camera wi-fi car 🚓
13:03
hash include electronics
Переглядів 222 тис.
ESP32-Cam Complete Guide
26:31
DIY Engineers
Переглядів 95 тис.
McDonald’s MCNUGGET PURSE?! #shorts
00:11
Lauren Godwin
Переглядів 29 млн
Лизка заплакала смотря видео котиков🙀😭
00:33
Анита просто на химии, поэтому такая сильная
00:21
Женя Лизогуб SHORTS
Переглядів 2,8 млн
Adding AI Vision To A Robot Car Using A Huskylens - Line & Object Tracking
6:02
Object Detection & Identification using ESP32 CAM Module & OpenCV
7:05
How To Electronics
Переглядів 254 тис.
How to Make a DIY Surveillance Car at Home
6:52
TARUN KUMAR DAHAKE
Переглядів 41 тис.
Tutorial ESP32 CAM Rover
10:03
ALFA-JOR 144
Переглядів 62 тис.
ESP32 based omnidirectional robots w/ camera | makermoekoe
13:41
maker.moekoe
Переглядів 1,3 млн
Face Tracking Turret made with Arduino and Open CV2
2:36
Owen O'Brien
Переглядів 2,1 тис.
Никто не жмёт ему руку 😮
0:28
RenkO
Переглядів 3,6 млн
Слишком много порошка...
0:35
Это точно смешно
Переглядів 5 млн
Оживила Дерево 🤯
0:41
MovieLuvsky
Переглядів 667 тис.