Тёмный

Laser Tracking System -using OpenCV 3.1 and Raspberry Pi 3 

Andy Eggert
Подписаться 978
Просмотров 293 тыс.
50% 1

Final year project for Electrical and Electronic Engineering degree. Platform with a mounted laser pointer to track a person. Using OpenCV 3.1 and a Raspberry Pi 3.

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

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 184   
@supersonic2101
@supersonic2101 4 года назад
Hi, this is 2020 and this project still seems soo good. Can you please share tutorial on how you made hardware and software both? Thanks
@glegoo195
@glegoo195 7 лет назад
can you do a tutorial regarding how to do this please?
@VascoCC95
@VascoCC95 4 года назад
From what it seems, the recognition is based in a kind of motion detection. You have an open-cv function for that and there's an youtuber called sentdex that has some very nice tutorials on that! About making the laser pointing to your target I don't know much on the topic, sorry...
@alvaroboven
@alvaroboven 3 года назад
@@VascoCC95 Something incredible of this one is the fluent of the video. With sentdex tutorials, video doesn't exceed 5 fps
@VascoCC95
@VascoCC95 3 года назад
@@alvaroboven I'm not saying it is better than this one, I'm just helping him to understand what is behind the scenes and pointing to a tutorial
@alvaroboven
@alvaroboven 3 года назад
@@VascoCC95 yeah sure, I didn't want to insinuate a comparison. In that case, do you know which is the optimizer way to program object detection in rp???
@VascoCC95
@VascoCC95 3 года назад
@@alvaroboven Well... You are lucky because I JUST ran a test on a RP and I got average 12,7 FPS. I used OpenCV's HAAR Cascade for face recognition in a RP 4B with 2GB RAM. I installed OpenCV via the link's tutorial and placed the haar file "manually" in the project's folder. www.pyimagesearch.com/2018/09/26/install-opencv-4-on-your-raspberry-pi/
@mxcollin95
@mxcollin95 7 лет назад
This is rad!!! Any chance you could post a video on how you did this??? It'd be greatly appreciated!
@tashrif4444
@tashrif4444 6 лет назад
The soundtrack is just awesome!
@jeffbeck6501
@jeffbeck6501 6 лет назад
I died from the music.
@zulqarnayeenschaftler9323
@zulqarnayeenschaftler9323 4 года назад
Crazy music
@FIREMAN-ff3cj
@FIREMAN-ff3cj 4 года назад
Music for my ears
@ANGEL-mb9yx
@ANGEL-mb9yx 3 года назад
My condolences
@MadhuKumar-hi2qs
@MadhuKumar-hi2qs 3 года назад
Name of the music
@jyotiradityakumar1174
@jyotiradityakumar1174 3 года назад
@@MadhuKumar-hi2qs RU-vid where by pewdipie
@cosmicallyderived
@cosmicallyderived 6 лет назад
Good job! I think a second image that closed up to the guy's clothes to show the red-dot intercepting it would have been a real winner.
@junyang1710
@junyang1710 4 года назад
The object is about 1.7 meters high, and it is on the ground, so from en.wikipedia.org/wiki/Pinhole_camera_model, calculate intersection of a line (from camera positon calibration) and ground plane , you can get the positon of the man. then point your laser to him.
@kentvandervelden
@kentvandervelden 4 года назад
Did you make your own closed loop system? Looks like you used DC motors and pots. Nice work! Though, the music seems a little off for a person tracker :)
@willzyxw1422
@willzyxw1422 6 лет назад
so much drama in the music
@tinkmarshino
@tinkmarshino 5 лет назад
great some guy walking around..
@TheSephrn
@TheSephrn 6 лет назад
what method are you using? Background subtraction, HOG, Haar or something else? Looks accurate!
@FIREMAN-ff3cj
@FIREMAN-ff3cj 4 года назад
someone knows each other and could tell what technology this gentleman used.
@Brickkzz
@Brickkzz 3 года назад
1:15 looks like background subtraction
@Brickkzz
@Brickkzz 3 года назад
I wonder how erratic this would be at low light conditions
@prakashchandran1416
@prakashchandran1416 6 лет назад
Hi Andy, This project look's very cool and perfect :). How you established the connection between the raspberry pi module and arduino to share the object coordinate information.
@foti4822
@foti4822 2 года назад
Interesting project. Would love to know more about the hardware used in this video!
@IDoNotLikeHandlesOnYT
@IDoNotLikeHandlesOnYT 6 лет назад
Why not use premade servo motors? What computer vision algorithm/pipeline does it use? Would it be confused by multiple people?
@mahirshafiyev9863
@mahirshafiyev9863 7 лет назад
what happens when second person appears?
@gnimoay7489
@gnimoay7489 7 лет назад
Hi there, I was wondering how did u make the laser point to the real position of a person. I'm doing sth sort of similar with urs, projecting images on the back of one's palm. For the projection part ,I selected the area of projection in camera and then corrected the perspective of this area. SO I can just draw at the perspective corrected coordinate in my projection area. But how did u get the right rotation for a real world position. Thanks.
@ahmeta.112
@ahmeta.112 6 лет назад
What did you use for opencv? C++ or Python?
@kalebakeitshokile1366
@kalebakeitshokile1366 3 года назад
You can use either but Python is way easier
@heel57
@heel57 Год назад
What is the laser doing in this setup? Is it used in the control loop or just a pointer? I assume the latter is the case.
@tha531
@tha531 5 лет назад
This will be awesome for making movies.... with a camera instead of laser.
@tuncfreeman
@tuncfreeman 3 года назад
Add heavy metal music and nerfgun to project. Boom! :D good project yours
@MrProzaki
@MrProzaki 7 лет назад
How was ur experience with rasp 3 in terms of speed while working with opencv ? I have rspb 2 model b and using a simple color detection it would slow the processing around 3-5 fps . I hope u get my question sorry for my English .
@programming_hut
@programming_hut 4 года назад
what frame rate did you got for realtime detection
@Omkar_Srivastava
@Omkar_Srivastava 8 месяцев назад
Can you plz explain me how to do this I want to make one plz using raspberry pi 3 pls
@jui-yanghsieh381
@jui-yanghsieh381 2 года назад
What is the purpose of the laser? How does it help the camera track the person?
@laurentmichalski7171
@laurentmichalski7171 7 лет назад
great job, congratulations
@duartedias3460
@duartedias3460 5 лет назад
Next step: swap the laser for a gun and implement a firing mechanism
@VascoCC95
@VascoCC95 4 года назад
Already exists... Just join the army
@carunyazx950
@carunyazx950 3 года назад
😂😂😂 Absolutely 👍
@MilesVranas
@MilesVranas 3 года назад
the fact that this video showed up on my recommended just know. I'm literally making a yt series on making a nerf gun turret that uses open cv to aim and shoot darts at ppl.
@BlensonPaul
@BlensonPaul 2 года назад
would work well with paintball
@bmk5019
@bmk5019 7 лет назад
Great Job!! very impresive.
@andyeggert8578
@andyeggert8578 7 лет назад
Bastiaan Klaasing thanks😉
@bmk5019
@bmk5019 7 лет назад
Happy and smart New Year ;-) just a few hours left in Holland.. Keep it up!
@spencer998
@spencer998 7 лет назад
So I see that you've used C++... I've been trying to code with OpenCV and C++ for quite some time but I can't seem to figure out what IDE to use (if any) that will make it easy to use with OpenCV (building/path to the libraries gets really annoying). Are you using Code::Blocks, Geany, the Linux Terminal, or just your favorite text editor? Just curious if you're around 🤔
@diegooriginalesmontoya5863
@diegooriginalesmontoya5863 3 года назад
How is it going?
@bogdantrynka3701
@bogdantrynka3701 24 дня назад
Hi, its 2024 we need it start the uprising of the machines
@burakhandogan2856
@burakhandogan2856 5 лет назад
Is it possible to make this with Rasperry Pi Zero?
@kostasnikoloutsos5172
@kostasnikoloutsos5172 7 лет назад
New level of security
@ayeyefookinw0tm859
@ayeyefookinw0tm859 4 года назад
how did you figure out how the degrees the servo had to move compared to the x y of the video?
@mm168mm8
@mm168mm8 5 лет назад
i just can see your laser pointer ..I don't see the laser light ??!!
@jean-pierregergie1847
@jean-pierregergie1847 3 года назад
Hii I am reall intersted i knowing how you calibrated the lazer so it can track human It will be great if you share more abou this subject
@ashkanikov3269
@ashkanikov3269 7 лет назад
is this on github?
@enesozdinc8441
@enesozdinc8441 3 года назад
Bro What is your motors models. I watched 1080 and focused but I couldnt see :) I can see only RS
@KulbirAhluwalia
@KulbirAhluwalia 6 лет назад
Well done bro
@hritiksoni
@hritiksoni 4 года назад
@Andy May I have the design files for the infrastructure of laser movement? Or can you please guide me where can I get it? Thanks
@fernandorivdev1389
@fernandorivdev1389 7 лет назад
Very Impresive, Congratulations! Any tutorial to replicate your work and Learn?
@mysteriouslymysteriousmyst9139
great project!
@andyeggert8578
@andyeggert8578 6 лет назад
Thanks!
@wayneolaya3572
@wayneolaya3572 6 лет назад
what laser did you use? can you tell me all the material that you use.
@TheRealJackfrog
@TheRealJackfrog 7 лет назад
LOVE the music
@amitgoel6830
@amitgoel6830 6 лет назад
Can u please make a tutorial having some details of your excellent project.... It will be very helpfull....
@nicorudikan8844
@nicorudikan8844 2 года назад
Hey, im interested on making this project do you mind sharing the tutorial how to make this?
@navar45000
@navar45000 5 лет назад
The cool thing to do is put the camera where the laser pointer is and have the camera move so as the object that is tracked it is always drifting it back to the center of the screen. Now you have an auto tracking gimbal like soloshot without a tag. I don't think distance is being calculated here, because the camera is fixed the image the movements of the laser are limited to the fov and so the laser moves in relation to the center of the image. It probably took trial and error of some sort to move the laser to the correct extents of the image and distance is irrelevant. You would need additional data (gps) to calculate distance.
@andyeggert8578
@andyeggert8578 5 лет назад
funkyfreestyler thanks for your comment! True, distance was not calculated here and was irrelevant. The aim was to only have the laser point at the middle of an object in the fov of the camera. Having a moving camera would mean I would have to change my method of image processing as I made use of the ‘steady’ background.
@weswest2654
@weswest2654 7 лет назад
How does it track the person (heat/motion/position/etc.) ? Can it track an object like a car or a drone?
@nextronicCasablanca
@nextronicCasablanca 7 лет назад
yes you can , using image processing in OpenCV
@danielf950
@danielf950 7 лет назад
DROIDii1 Yeah, on a serious note on your number 4... how would a system like that distinguish between hostile and friendly individuals? One way I see it is by marking friendlies with an IR emitter, but that wouldn't do in a military situation where this would denounce the operative's position on the enemy's NVGs. It could be used though if it is stationary and it has to protect a perimeter AFTER a certain limit (as this can be easily programed in OpenCV), limit within which there can be safe movement of troops.
@rohitkarle
@rohitkarle 7 лет назад
can we have a code for the same? or how to do it/?
@khtan5531
@khtan5531 5 лет назад
@DROIDii1 this would be true for a static camera facing a fixed scene. But won't it be problematic for a moving camera which has to deal with a changing background scene?
@edith_1232
@edith_1232 4 года назад
What is camera use for detection? Plss
@alicanozkum6290
@alicanozkum6290 7 лет назад
Hi, I am designing a motion tracking project with raspberry pi. I will use it as a finishing project. I want to get information about the laser project. can you help me.
@muhammadhanifudin2666
@muhammadhanifudin2666 7 лет назад
How fps guys,, i wondering it gets fast fps,, i doing same project but get low fps,, thanks dude
@zohebsajid3627
@zohebsajid3627 7 лет назад
is it possible to get a list of all the parts for a project like this ?
@sasadamin
@sasadamin 7 лет назад
what language you used for the program? Also do mention if this is release build that is causing high fps... Thankyou...
@andyeggert8578
@andyeggert8578 7 лет назад
Asad Amin using C++. Working at 20fps.
@sasadamin
@sasadamin 7 лет назад
Andy Eggert thankyou for the reply i figured that much. Did u used hardware acceleration? Finally, great work... it gave me few ideas.
@andyeggert8578
@andyeggert8578 7 лет назад
Asad Amin nope. Thanks
@andyeggert8578
@andyeggert8578 7 лет назад
Asad Amin nope. Thanks
@digioasis4832
@digioasis4832 4 года назад
Actually, I am also working on a target tracking system. need your help is possible.
@BlensonPaul
@BlensonPaul 2 года назад
good one.. Wondering how would it work with AI..??
@yeshacroe9354
@yeshacroe9354 3 года назад
Hello how do you code to make it have a blue box thing.
@ianchan2624
@ianchan2624 10 месяцев назад
cool
@gomenaros
@gomenaros 7 лет назад
I smell military applications (dron rockets etc) in this tech and I can't say I m happy with that.
@montanacaleb
@montanacaleb 6 лет назад
The military is far beyond this primitive tech, they have mini tank-like robots with mini guns mounted on them.
@YellowOysterCult
@YellowOysterCult 2 года назад
This is impressive and all but what's with the music..
@FRANK2810
@FRANK2810 7 лет назад
What operating system do you use to do the project? Raspbian, ARCH LINUX, RaspEX, Rasp ARCH, Ubuntu, etc.
@andyeggert8578
@andyeggert8578 7 лет назад
Frank PS raspbian
@sayomshakib4965
@sayomshakib4965 7 лет назад
Love it!!!
@jalan4524
@jalan4524 7 лет назад
How does it lock the target?
@giorgosiotis1557
@giorgosiotis1557 3 года назад
Programming code is only private???
@bhaskarjyotidutta3253
@bhaskarjyotidutta3253 5 лет назад
What shoul I learn for this types of computer vision. I mean I need the starting point.
@ayeyefookinw0tm859
@ayeyefookinw0tm859 4 года назад
python
@anam_nadir
@anam_nadir 6 лет назад
Hi! How far can detect? Thank you.
@enzopulido2579
@enzopulido2579 6 лет назад
Can you put is up on a drone?
@Anton-sz6ef
@Anton-sz6ef 5 лет назад
Please how did you do that ?
@Quarkburger
@Quarkburger 5 лет назад
I did this in 3 weekends except instead of a laser I had a flash light.
@oSJmee
@oSJmee Год назад
I guess now he or she is building battlebots.
@XwitterEye
@XwitterEye 2 года назад
the guy on the motorcycle
@edinsonst2939
@edinsonst2939 7 лет назад
Se ve muy bien
@spotdoit6047
@spotdoit6047 5 лет назад
I will be thankful if you will give me source code for it because i am working on same.
@raisbastomi
@raisbastomi 5 лет назад
can i see the code? i so impresive. where we can now tutorial e
@brendethedev2858
@brendethedev2858 6 лет назад
Neighbors used to walk in front of my office all the time now they don't because I blind them. With my laser
@sachingarg8429
@sachingarg8429 6 лет назад
Dope
@deepakpv8537
@deepakpv8537 6 лет назад
Can you please give me the code of this project ?
@吳卿瑤
@吳卿瑤 7 лет назад
所以這部分做到的是追蹤對吧?
@fullmoon6661
@fullmoon6661 7 лет назад
what motor are you using mate? please kindly reply, I wanna make smooth pan & tilt like yours
@andyeggert8578
@andyeggert8578 7 лет назад
Willyam Adhi I am using geared DC instrument motors from McLennon.
@fullmoon6661
@fullmoon6661 7 лет назад
Andy Eggert thanks
@bmk5019
@bmk5019 7 лет назад
+Willyam Adhi Hi, i recently bought two optical scopes, i already made an adapter to mount my smartphone on it (digi-scoping), works great. Next step in the project is to make a pan & tilt for the scope(s) and use the pi camera instead of the phone. Then stream the image via a web server on the pi. Then i created a remotely controlled extreme zoom webcam... i live in a high building with great view... So i need 2 (or 4) servo's for the pan & tilt, the spotting scope weight is 988 gram, but in balance, i dont think it's hard work for the servo's. What's your plan with the pan & tilt system? Regards, Bastiaan
@fullmoon6661
@fullmoon6661 7 лет назад
Bastiaan Klaasing hi, that is cool project. Mine is just like yours but it's focused on surveillance. So I kinda need smooth pan & tilt but also compact in size. I'm still working on it
@muhammadhanifudin2666
@muhammadhanifudin2666 7 лет назад
How fps guys..? im wondering it gets fast fps tracking
@annas.227
@annas.227 7 лет назад
Hi guys, nice work! I'm trying to get OpenCV installed on a Pi3 and keep getting errors. Are there any docs or tutorials on the install that you could point me towards?
@probibably
@probibably 7 лет назад
In case you still need it or anyone else is looking for a step by step: www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/
@arifikhsanudin9987
@arifikhsanudin9987 6 лет назад
it can be a weapon
@toyteardown5722
@toyteardown5722 7 лет назад
How does it prioritize multiple targets?
@andyeggert8578
@andyeggert8578 7 лет назад
Toy Teardown hi. Tracks the biggest moving object.
@toyteardown5722
@toyteardown5722 7 лет назад
wow, very clever.
@alexshmidt4297
@alexshmidt4297 4 года назад
Hello do you have scripts and instructions ?? I can buy $$$#
@pokerspace_pro
@pokerspace_pro 7 лет назад
damn! cool!
@ISHANSDungeon
@ISHANSDungeon 7 лет назад
next up laser guided missile
@jarisipilainen3875
@jarisipilainen3875 7 лет назад
would be faster track just with camera lol or is camera tracking and laser is just moving there ha
@JaydipPatelindia
@JaydipPatelindia 6 лет назад
can i Buy the CODES from you !
@grodarh
@grodarh 4 года назад
Waited for an accurate laser headshot but no.
@ganstagirs
@ganstagirs 6 лет назад
were code?
@aimless3827
@aimless3827 4 года назад
How to make guided missile under $300 for the next video.
@marinenav8
@marinenav8 2 года назад
tutorial, please
@ShivaniSingh-jc4pg
@ShivaniSingh-jc4pg 6 лет назад
plase help me i need a tutoriall
@dqalitz
@dqalitz 6 лет назад
Can you post the code?
@claudioLuna02
@claudioLuna02 7 лет назад
tutorial ? please
@dqalitz
@dqalitz 6 лет назад
Hello can you send or sell your code?
@guardrepresenter5099
@guardrepresenter5099 7 лет назад
Easy man.Substract background picture from recent picture than get moment of substraction.Can you do it moving background with two similar object or more :)
@andyeggert8578
@andyeggert8578 7 лет назад
bilen basarir can you sir??
@guardrepresenter5099
@guardrepresenter5099 7 лет назад
I am trying to do last 3 years. The answer is %70 yes % 30 no with all situation.
@andyeggert8578
@andyeggert8578 7 лет назад
What methods are you using? Also using OpenCV?
@guardrepresenter5099
@guardrepresenter5099 7 лет назад
I am using shape descriptors or their combinitions.Some times i am coding some times iam using opencv But the key is to find invariant features of the shape.In opencv you can find some of them like sift,surf,blob.Then elemination of redundant unneccessary features.Some moments like hu,zernike usefull too.Depents on situation.Good like my friend.
@andyeggert8578
@andyeggert8578 7 лет назад
Is it possible to see some of your work results?
@lezbriddon
@lezbriddon Год назад
-50 points, no nerf gun.
@insonia-somdomundomusicasp3128
1:30
@extrem2497
@extrem2497 4 года назад
Turret
@PressurenFlames
@PressurenFlames 3 года назад
It needs rail guns though..
@alissonmauro5349
@alissonmauro5349 4 года назад
Have too much delay.
@VakaramGolang
@VakaramGolang 2 года назад
Можно собирать пулемёт
@ethern6416
@ethern6416 6 лет назад
gj
Далее
Every Developer Needs a Raspberry Pi
27:27
Просмотров 599 тыс.
Top 10 Raspberry Pi Projects for 2022
7:54
Просмотров 1,5 млн
AI Learns to Run Faster than Usain Bolt | World Record
10:22
DIY Laser Image Projector (100ft+ Range!)
20:08
Просмотров 280 тыс.
Object Tracking with Opencv and Python
30:03
Просмотров 612 тыс.
Amazing Invention- This Drone Will Change Everything
21:32
Cambot! Servo controlled motion tracking camera.
6:38
I Built The First LAMINAR FLOW ROCKET ENGINE
15:51
Просмотров 2,4 млн
OpenCv and Camera Calibration on a Raspberry Pi 3
9:17
Vortex Cannon vs Drone
20:44
Просмотров 21 млн