Laser Tracking System -using OpenCV 3.1 and Raspberry Pi 3

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • 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.

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

  • @supersonic2101
    @supersonic2101 4 года назад +23

    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 лет назад +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 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 года назад +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 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/

  • @jeffbeck6501
    @jeffbeck6501 6 лет назад +86

    I died from the music.

  • @willzyxw1422
    @willzyxw1422 6 лет назад +23

    so much drama in the music

  • @mxcollin95
    @mxcollin95 7 лет назад +19

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

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

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

  • @TheSephrn
    @TheSephrn 6 лет назад +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

  • @ahmeta.112
    @ahmeta.112 6 лет назад +8

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

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

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

  • @mahirshafiyev9863
    @mahirshafiyev9863 7 лет назад +3

    what happens when second person appears?

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

    what frame rate did you got for realtime detection

  • @bogdantrynka3701
    @bogdantrynka3701 28 дней назад

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

  • @ashkanikov3269
    @ashkanikov3269 7 лет назад +6

    is this on github?

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

  • @mm168mm8
    @mm168mm8 5 лет назад +1

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

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

  • @burakhandogan2856
    @burakhandogan2856 5 лет назад +1

    Is it possible to make this with Rasperry Pi Zero?

  • @cosmicallyderived
    @cosmicallyderived 6 лет назад +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.

  • @muhammadhanifudin2666
    @muhammadhanifudin2666 7 лет назад +1

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

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

    Suspicious.... Camera is moving but the background is not moving.... i think this is fake....
    FAKE
    Edit : there is other camera near to the moving one.... and used video editing software to make object track...
    FAKE

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

      The camera is not moving and thus the background is not moving. Only the laser is moving. Please have a proper look before making such comments, the very first second of the video shows the camera position and that it is fixed to the base.

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

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

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

  • @prakhardixit1597
    @prakhardixit1597 7 лет назад +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?

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

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

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

  • @tashrif4444
    @tashrif4444 6 лет назад +2

    The soundtrack is just awesome!

  • @fernandorivdev1389
    @fernandorivdev1389 7 лет назад +1

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

  • @tinkmarshino
    @tinkmarshino 5 лет назад +1

    great some guy walking around..

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

    Можно собирать пулемёт

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

    -50 points, no nerf gun.

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

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

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

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

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

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

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

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

    Programming code is only private???

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

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

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

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

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

  • @jui-yanghsieh381
    @jui-yanghsieh381 2 года назад

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

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

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

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

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

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

    Great project. Could you please share a code please?

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

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

    What is camera use for detection? Plss

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

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

    Waited for an accurate laser headshot but no.

  • @tha531
    @tha531 5 лет назад

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

  • @ianchan2624
    @ianchan2624 10 месяцев назад

    cool

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

    It needs rail guns though..

  • @jarisipilainen3875
    @jarisipilainen3875 7 лет назад

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

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

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

    Have too much delay.

  • @KulbirAhluwalia
    @KulbirAhluwalia 6 лет назад +1

    Well done bro

  • @spotdoit6047
    @spotdoit6047 5 лет назад

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

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

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

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

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

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

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

    the guy on the motorcycle

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

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

  • @bilalunes
    @bilalunes 6 лет назад

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

  • @amitgoel6830
    @amitgoel6830 6 лет назад

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

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

    tutorial, please

  • @FRANK2810
    @FRANK2810 7 лет назад

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

  • @deepakpv8537
    @deepakpv8537 6 лет назад

    Can you please give me the code of this project ?

  • @wayneolaya3572
    @wayneolaya3572 6 лет назад

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

  • @Anton-sz6ef
    @Anton-sz6ef 5 лет назад

    Please how did you do that ?

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

  • @bhaskarjyotidutta3253
    @bhaskarjyotidutta3253 5 лет назад

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

  • @JaydipPatelindia
    @JaydipPatelindia 6 лет назад

    can i Buy the CODES from you !

  • @raisbastomi
    @raisbastomi 5 лет назад

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

  • @AlanMedina314
    @AlanMedina314 7 лет назад

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

  • @dqalitz
    @dqalitz 6 лет назад

    Hello can you send or sell your code?

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

    Turret

  • @zohebsajid3627
    @zohebsajid3627 7 лет назад

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

  • @jalan4524
    @jalan4524 7 лет назад

    How does it lock the target?

  • @bmk5019
    @bmk5019 7 лет назад +2

    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!

  • @anam_nadir
    @anam_nadir 6 лет назад

    Hi! How far can detect? Thank you.

  • @ISHANSDungeon
    @ISHANSDungeon 7 лет назад

    next up laser guided missile

  • @dqalitz
    @dqalitz 6 лет назад

    Can you post the code?

  • @lol-et1fz
    @lol-et1fz 2 года назад

    РЕСПЕКТ

  • @ShivaniSingh-jc4pg
    @ShivaniSingh-jc4pg 6 лет назад

    plase help me i need a tutoriall

  • @mediacenter2719
    @mediacenter2719 6 лет назад

    Fear . very scared.

  • @ganstagirs
    @ganstagirs 6 лет назад

    were code?

  • @kostasnikoloutsos5172
    @kostasnikoloutsos5172 7 лет назад

    New level of security

  • @enzopulido2579
    @enzopulido2579 6 лет назад

    Can you put is up on a drone?

  • @laurentmichalski7171
    @laurentmichalski7171 7 лет назад

    great job, congratulations

  • @arifikhsanudin9987
    @arifikhsanudin9987 6 лет назад

    it can be a weapon

  • @claudioLuna02
    @claudioLuna02 7 лет назад

    tutorial ? please

  • @ethern6416
    @ethern6416 6 лет назад

    gj

  • @sachingarg8429
    @sachingarg8429 6 лет назад

    Dope

  • @edinsonst2939
    @edinsonst2939 7 лет назад

    Se ve muy bien

  • @TheRealJackfrog
    @TheRealJackfrog 7 лет назад

    LOVE the music

  • @吳卿瑤
    @吳卿瑤 7 лет назад

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

  • @toyteardown5722
    @toyteardown5722 7 лет назад

    How does it prioritize multiple targets?