Laser Tracking System -using OpenCV 3.1 and Raspberry Pi 3

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

КОМЕНТАРІ • 185

  • @supersonic2101
    @supersonic2101 4 роки тому +24

    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

  • @jeffbeck6501
    @jeffbeck6501 6 років тому +86

    I died from the music.

  • @glegoo195
    @glegoo195 7 років тому +94

    can you do a tutorial regarding how to do this please?

    • @VascoCC95
      @VascoCC95 4 роки тому +7

      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 4 роки тому

      @@VascoCC95 Something incredible of this one is the fluent of the video. With sentdex tutorials, video doesn't exceed 5 fps

    • @VascoCC95
      @VascoCC95 4 роки тому +1

      @@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 4 роки тому

      @@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 4 роки тому

      @@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 років тому +19

    This is rad!!! Any chance you could post a video on how you did this??? It'd be greatly appreciated!

  • @tashrif4444
    @tashrif4444 7 років тому +2

    The soundtrack is just awesome!

  • @AlanMedina314
    @AlanMedina314 7 років тому

    Very Cool the mechanism to rotate the cam seem very smooth.

  • @cosmicallyderived
    @cosmicallyderived 7 років тому +2

    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 роки тому +2

    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.

  • @tinkmarshino
    @tinkmarshino 5 років тому +1

    great some guy walking around..

  • @foti4822
    @foti4822 2 роки тому

    Interesting project. Would love to know more about the hardware used in this video!

  • @kentvandervelden
    @kentvandervelden 4 роки тому +7

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

  • @TheSephrn
    @TheSephrn 7 років тому +12

    what method are you using? Background subtraction, HOG, Haar or something else? Looks accurate!

    • @FIREMAN-ff3cj
      @FIREMAN-ff3cj 4 роки тому +1

      someone knows each other and could tell what technology this gentleman used.

    • @Brickkzz
      @Brickkzz 3 роки тому +1

      1:15 looks like background subtraction

    • @Brickkzz
      @Brickkzz 3 роки тому

      I wonder how erratic this would be at low light conditions

  • @prakashchandran1416
    @prakashchandran1416 6 років тому +3

    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.

  • @IDoNotLikeHandlesOnYT
    @IDoNotLikeHandlesOnYT 6 років тому +1

    Why not use premade servo motors? What computer vision algorithm/pipeline does it use? Would it be confused by multiple people?

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

  • @ahmeta.112
    @ahmeta.112 6 років тому +8

    What did you use for opencv? C++ or Python?

  • @willzyxw1422
    @willzyxw1422 6 років тому +23

    so much drama in the music

  • @prakhardixit1597
    @prakhardixit1597 8 років тому +2

    Great work there! I am working on a somewhat similar project, I would be very grateful to get your insight as to how exactly did you manage to get this working. Could you please brief it?

  • @tuncfreeman
    @tuncfreeman 3 роки тому

    Add heavy metal music and nerfgun to project. Boom! :D good project yours

  • @gnimoay7489
    @gnimoay7489 7 років тому +1

    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.

  • @lol-et1fz
    @lol-et1fz 2 роки тому

    РЕСПЕКТ

  • @MrProzaki
    @MrProzaki 7 років тому +1

    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 .

  • @mahirshafiyev9863
    @mahirshafiyev9863 7 років тому +3

    what happens when second person appears?

  • @mustafardk
    @mustafardk 4 роки тому

    Hi! What camera did you use? USB, PiCamera or what?

  • @jui-yanghsieh381
    @jui-yanghsieh381 2 роки тому

    What is the purpose of the laser? How does it help the camera track the person?

  • @programming_hut
    @programming_hut 4 роки тому +1

    what frame rate did you got for realtime detection

  • @duartedias3460
    @duartedias3460 6 років тому +30

    Next step: swap the laser for a gun and implement a firing mechanism

    • @VascoCC95
      @VascoCC95 4 роки тому +6

      Already exists... Just join the army

    • @carunyazx950
      @carunyazx950 3 роки тому

      😂😂😂 Absolutely 👍

    • @MilesVranas
      @MilesVranas 3 роки тому +1

      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

  • @tha531
    @tha531 5 років тому

    This will be awesome for making movies.... with a camera instead of laser.

  • @laurentmichalski7171
    @laurentmichalski7171 8 років тому

    great job, congratulations

  • @burakhandogan2856
    @burakhandogan2856 5 років тому +1

    Is it possible to make this with Rasperry Pi Zero?

  • @enesozdinc8441
    @enesozdinc8441 3 роки тому

    Bro What is your motors models. I watched 1080 and focused but I couldnt see :) I can see only RS

  • @spencer998
    @spencer998 7 років тому +1

    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 🤔

  • @ashkanikov3269
    @ashkanikov3269 8 років тому +6

    is this on github?

  • @bmk5019
    @bmk5019 8 років тому +2

    Great Job!! very impresive.

    • @andyeggert8578
      @andyeggert8578  8 років тому

      Bastiaan Klaasing thanks😉

    • @bmk5019
      @bmk5019 8 років тому

      Happy and smart New Year ;-) just a few hours left in Holland.. Keep it up!

  • @ayeyefookinw0tm859
    @ayeyefookinw0tm859 5 років тому

    how did you figure out how the degrees the servo had to move compared to the x y of the video?

  • @KulbirAhluwalia
    @KulbirAhluwalia 6 років тому +1

    Well done bro

  • @amitgoel6830
    @amitgoel6830 6 років тому

    Can u please make a tutorial having some details of your excellent project....
    It will be very helpfull....

  • @sasadamin
    @sasadamin 7 років тому +1

    what language you used for the program? Also do mention if this is release build that is causing high fps...
    Thankyou...

    • @andyeggert8578
      @andyeggert8578  7 років тому +1

      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

  • @navar45000
    @navar45000 6 років тому

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

      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 8 років тому +3

    How does it track the person (heat/motion/position/etc.) ? Can it track an object like a car or a drone?

    • @nextronicCasablanca
      @nextronicCasablanca 8 років тому

      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?

  • @kostasnikoloutsos5172
    @kostasnikoloutsos5172 7 років тому

    New level of security

  • @jean-pierregergie1847
    @jean-pierregergie1847 4 роки тому

    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

  • @wobbuffet8791
    @wobbuffet8791 7 років тому

    I could see how this would work with a moving camera. You would basically keep panning/tilting until the object is centered, but how does this work with a static webcam? I am truly puzzled by this.

    • @Schmuck
      @Schmuck 7 років тому

      Are you talking about tracking the object (or in this case, person)? If so, then I haven't heard of anyone doing this in the method you provided, panning/tilting until the object is centered. How this was done, was using the open sourced OpenCV library by intel. You feed it some input, a video frame, and then it analysis the frame using a series of algorithms to determine the location of the object.

  • @wayneolaya3572
    @wayneolaya3572 7 років тому

    what laser did you use? can you tell me all the material that you use.

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

  • @BlensonPaul
    @BlensonPaul 2 роки тому

    good one..
    Wondering how would it work with AI..??

  • @edith_1232
    @edith_1232 4 роки тому

    What is camera use for detection? Plss

  • @fernandorivdev1389
    @fernandorivdev1389 7 років тому +1

    Very Impresive, Congratulations! Any tutorial to replicate your work and Learn?

  • @yeshacroe9354
    @yeshacroe9354 3 роки тому

    Hello how do you code to make it have a blue box thing.

  • @zohebsajid3627
    @zohebsajid3627 8 років тому

    is it possible to get a list of all the parts for a project like this ?

  • @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 7 років тому +2

      The military is far beyond this primitive tech, they have mini tank-like robots with mini guns mounted on them.

  • @nicorudikan8844
    @nicorudikan8844 2 роки тому

    Hey, im interested on making this project do you mind sharing the tutorial how to make this?

  • @FRANK2810
    @FRANK2810 7 років тому

    What operating system do you use to do the project? Raspbian, ARCH LINUX, RaspEX, Rasp ARCH, Ubuntu, etc.

  • @fullmoon6661
    @fullmoon6661 8 років тому

    what motor are you using mate? please kindly reply, I wanna make smooth pan & tilt like yours

    • @andyeggert8578
      @andyeggert8578  8 років тому +1

      Willyam Adhi I am using geared DC instrument motors from McLennon.

    • @fullmoon6661
      @fullmoon6661 8 років тому

      Andy Eggert thanks

    • @bmk5019
      @bmk5019 8 років тому

      +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 8 років тому

      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 8 років тому

      How fps guys..? im wondering it gets fast fps tracking

  • @Omkar_Srivastava
    @Omkar_Srivastava 11 місяців тому

    Can you plz explain me how to do this I want to make one plz using raspberry pi 3 pls

  • @bilalunes
    @bilalunes 7 років тому

    Hey andy.
    I am workinkg in a project that looks similar to your project. Can you please give me the details of your project?

  • @mysteriouslymysteriousmyst9139
    @mysteriouslymysteriousmyst9139 6 років тому

    great project!

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

  • @jalan4524
    @jalan4524 7 років тому

    How does it lock the target?

  • @suleymankocamaz3743
    @suleymankocamaz3743 Рік тому

    Great project. Could you please share a code please?

  • @giorgosiotis1557
    @giorgosiotis1557 3 роки тому

    Programming code is only private???

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

    Hi, its 2024
    we need it start the uprising of the machines

  • @anam_nadir
    @anam_nadir 6 років тому

    Hi! How far can detect? Thank you.

  • @Anton-sz6ef
    @Anton-sz6ef 5 років тому

    Please how did you do that ?

  • @digioasis4832
    @digioasis4832 4 роки тому

    Actually, I am also working on a target tracking system. need your help is possible.

  • @bhaskarjyotidutta3253
    @bhaskarjyotidutta3253 5 років тому

    What shoul I learn for this types of computer vision. I mean I need the starting point.

  • @TheRealJackfrog
    @TheRealJackfrog 7 років тому

    LOVE the music

  • @muhammadhanifudin2666
    @muhammadhanifudin2666 8 років тому +1

    How fps guys,, i wondering it gets fast fps,, i doing same project but get low fps,, thanks dude

  • @enzopulido2579
    @enzopulido2579 6 років тому

    Can you put is up on a drone?

  • @toyteardown5722
    @toyteardown5722 7 років тому

    How does it prioritize multiple targets?

  • @annas.227
    @annas.227 7 років тому +1

    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 років тому +1

      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/

  • @Quarkburger
    @Quarkburger 5 років тому +1

    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.

  • @sayomshakib4965
    @sayomshakib4965 7 років тому

    Love it!!!

  • @XwitterEye
    @XwitterEye 3 роки тому

    the guy on the motorcycle

  • @mm168mm8
    @mm168mm8 5 років тому +1

    i just can see your laser pointer ..I don't see the laser light ??!!

  • @insonia-somdomundomusicasp3128
    @insonia-somdomundomusicasp3128 6 років тому

    1:30

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

  • @raisbastomi
    @raisbastomi 5 років тому

    can i see the code? i so impresive. where we can now tutorial e

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

    May we see the 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?

  • @deepakpv8537
    @deepakpv8537 6 років тому

    Can you please give me the code of this project ?

  • @spotdoit6047
    @spotdoit6047 5 років тому

    I will be thankful if you will give me source code for it because i am working on same.

  • @JaydipPatelindia
    @JaydipPatelindia 7 років тому

    can i Buy the CODES from you !

  • @ianchan2624
    @ianchan2624 Рік тому

    cool

  • @吳卿瑤
    @吳卿瑤 7 років тому

    所以這部分做到的是追蹤對吧?

  • @YellowOysterCult
    @YellowOysterCult 2 роки тому

    This is impressive and all but what's with the music..

  • @jarisipilainen3875
    @jarisipilainen3875 7 років тому

    would be faster track just with camera lol or is camera tracking and laser is just moving there ha

  • @aimless3827
    @aimless3827 4 роки тому

    How to make guided missile under $300 for the next video.

  • @alexshmidt4297
    @alexshmidt4297 4 роки тому

    Hello do you have scripts and instructions ?? I can buy $$$#

  • @ISHANSDungeon
    @ISHANSDungeon 7 років тому

    next up laser guided missile

  • @sachingarg8429
    @sachingarg8429 6 років тому

    Dope

  • @dqalitz
    @dqalitz 6 років тому

    Hello can you send or sell your code?

  • @claudioLuna02
    @claudioLuna02 8 років тому

    tutorial ? please

  • @marinenav8
    @marinenav8 3 роки тому

    tutorial, please

  • @dqalitz
    @dqalitz 6 років тому

    Can you post the code?

  • @arifikhsanudin9987
    @arifikhsanudin9987 6 років тому

    it can be a weapon

  • @edinsonst2939
    @edinsonst2939 7 років тому

    Se ve muy bien

  • @ganstagirs
    @ganstagirs 6 років тому

    were code?

  • @pokerspace_pro
    @pokerspace_pro 7 років тому

    damn! cool!