How easy is it to visual track an object? PSVR Headset Tracker with the OpenMV-H7 Camera!

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • Get your 75% off Gold Elektor subscription here: www.elektormagazine.com/news/...
    Coupon Code: greatscott20yt
    Previous video: • Top 3 GreatScott! vide...
    LIDAR video (previous Elektor video): • Is LIDAR easy to use f...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    Support me for more videos: www.patreon.com/GreatScott?ty=h
    Websites which were shown during the video:
    www.elektor.com/
    www.elektor.com/openmv-h7-camera
    openmv.io/
    docs.openmv.io/openmvcam/tutor...
    www.trinamic.com/fileadmin/as...
    www.thingiverse.com/
    In this video we will have a closer look at the OpenMV-H7 Camera. That means we will learn a bit about Python programming before I will show you how to use the camera in order to track a face, eyes, objects or colours. At the end I will then combine the camera with 3D Printing and a stepper motor in order to create a system that tracks my PSVR headset. Let's get started!
    Thanks to Elektor for sponsoring this video!
    Visit www.elektormagazine.com/ to read their magazines and buy electronic components.
    Music:
    2011 Lookalike by Bartlebeats
  • НаукаНаука

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

  • @Urre5
    @Urre5 4 года назад +525

    VR developer here. Moving the camera defeats the purpose, and ruins your gaming experience as your relative position is what determines your position in the gameworld

    • @greatscottlab
      @greatscottlab  4 года назад +192

      Well, that is what I thought as well at the end.......

    • @vke6077
      @vke6077 4 года назад +28

      Maybe you could send some kind of "displacement" value to the headset every time the camera moves? I don't think this is possible with the PSVR though

    • @mwm2929
      @mwm2929 4 года назад +7

      Hook up 2 wires to activate re-centering after a large number of steps in the motor has occurred? Is there a button to solder into, or perhaps a bit of signal to emulate from the headset?

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

      @@mwm2929 exactly what i was thinking

    • @somedude2492
      @somedude2492 4 года назад +13

      @@vke6077 on pc that would probably be possible. On psvr though i don't think it would be that easy.

  • @Ezio-Auditore94
    @Ezio-Auditore94 4 года назад +1

    I just became obsessed with VR videos literally yesterday, now this video is uploaded. I'm so happy right now!

  • @cxmmax4265
    @cxmmax4265 4 года назад +16

    I love this new sofa video style

  • @SachinKumar-bd9td
    @SachinKumar-bd9td 4 года назад

    Hello sir....I am from India .....I just want to learn from u...all the basic and advanced concepts.....thanks....all of your videos are very important for me ....

  • @JanCiger
    @JanCiger 4 года назад +121

    @GreatScott, you really don't want to move the PSVR camera using a motor while playing!
    That will completely screw up the tracking of your space in any game you are playing (on top of the PSVR tracking being quite poor already, compared to e.g. Rift, Quest or Vive). The camera position/orientation is what mathematically determines where there is the origin ("zero") of your (= game's) coordinate space. If you start moving that around, you are screwed - your space will move with it. Not good - if anything it will make you dizzy because the scene will be constantly moving even when you aren''t and throw off your proprioception ("I thought my hand was here but it is there?!"). I believe PSVR doesn't use anything like the Guardian or Chaperone systems of Rift/Vive that show you when you are about to exit the boundaries of your play space but if it did, those would be constantly moving with the movement of the camera too, rendering them useless.
    The only way to make that work properly would be to have a positional feedback on the motor (e.g. an encoder or a stepper like you have used) and feed that into the algorithm, so that it can compensate. Doable if you DIY it but obviously not applicable for stock PSVR with no source code access.
    A better solution is what has been used for the original Kinect, which also had field of view issues - a set of supplementary clip-on wide angle lenses that let the camera "see" larger space.
    (and yep, I am a VR engineer/developer/researcher too)

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

      skill level 11 play drunk!

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

      PSVR tracking is solid when setup up properly.

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

      @@NETBotic Fine, but not compared to other headsets.

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

      Yeah, I was thinking that since he mentioned he wanted it for VR: won’t it mess with the tracking algorithm? And I’m a VR noob!

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

      Darth Vader says NOOOOOOOO!!!!

  • @CShand
    @CShand 4 года назад +13

    Friend walks in room wearing blue t-shirt, psvr "extreme difficulty activated."

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

    You’ve really taken things to the next level recently with your new introductions and production quality - great work. Thanks for all your great content, you’ve inspired me to start my own channel 👌🏼🙌🏼👏🏼

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

    nice that you keep changing the videos up a bit! I liked the intro a lot

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

    Great video tutorial man. I somehow need visual tracking for one of my projects. Nice!

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

    great scott seems very happy today(those bottles in background might be the reason) :-D

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

    I love the new style of video when you film yourself for the Intro ... It's great !

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

    Really liking these new in person intros. Cool stuff

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

    Morgen GS, alles Gute im 2020 und vielen Dank für die hochwertigen Videos.

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

    Hi from Nicaragua Im an Electronics student
    I enjoy and learn a lot from your videos and proyects continue, with that we'll learn from you thanks..

  • @deadbird99
    @deadbird99 4 года назад +66

    I really like this intro!

    • @greatscottlab
      @greatscottlab  4 года назад +10

      Thanks :-)

    • @Idk-qg7hb
      @Idk-qg7hb 4 года назад

      X99 did someone asked

    • @Idk-qg7hb
      @Idk-qg7hb 4 года назад +3

      X99 and how the fuck u commented 1 week ago

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

      This video was uploaded today wtf

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

      @@Idk-qg7hb Patreon early access?

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

    Never thought I'd see all these elements in one Video!

  • @amyshaw893
    @amyshaw893 4 года назад +28

    surely the movement would just make the psvr think you are moving in the opposite direction? does the ps camera know that it is being rotated?

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

      no, it does not. That is something that could be added in easily enough (it's just another transform operation), but as this is the only movable camera setup in use....

  • @PaceWithGrace
    @PaceWithGrace 4 года назад +15

    Loved this video! More integration projects please!

    • @greatscottlab
      @greatscottlab  4 года назад +6

      Thanks :-) I will give it my best.

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

    The videography was different than your usual videos
    I like that😀

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

    Fantastic project, dude! Really well done! 😃

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

    really cool project. keep up the great work brother.

  • @uccong7651
    @uccong7651 4 года назад +4

    New year, new intro, and I love it (the new intro) ;-)

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

    This project is really fun to know, Thanks!

  • @CuteBoy-kg7xt
    @CuteBoy-kg7xt 4 года назад +39

    9:52 just glue a different color led on the headset and track that color😎

    • @greatscottlab
      @greatscottlab  4 года назад +10

      Haha also possible :-)

    • @thisfeatureisbad
      @thisfeatureisbad 4 года назад +5

      "Five minutes crafts"

    • @emaker1233
      @emaker1233 4 года назад +5

      I was thinking he was gonna glue googly eyes on the PSVR headset to use the face tracking

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

      Or track an object. If the object is the goggles then it should be fine (or even better).

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

      @@thisfeatureisbad 😂😂

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

    You are a Real Genius ! Your Projects are really cool ! Thank you !

  • @RomanoPRODUCTION
    @RomanoPRODUCTION 4 года назад +3

    Facecam projects are awesome ❤

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

    Intro was sooooo satisfying :)

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

    Nice job man! I’d be stoked to have built something like that. 👍

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

    Great, as always !
    Keep it up bro !!

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

    Production quality of your videos are impressive

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

    How to use electronics to greatly increase the chance of motion sickness in VR

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

    Hey Scott, Thanks for teaching electronics to me i finally made my first project without any tutorial needed
    you rock ! : )

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

    @GreatScott! you never fail to amaze me man .... keep up the good work u are awesome

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

    I like your AMAZING SUPER videos! Keep it up!

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

    You are the best of électronique

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

    Thanks for the video! It was really interesting and entertaining.

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

      Durchaus

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

    Great video.
    Now I want to make a stand for a camera to track movement in my garden with one zoomed cam and one area cam.

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

    Excellent! Gonna build some precision guided munitions now...

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

    Sehr professionell auf den Schrittmotor zu schlagen.

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

    Dlib can create a 3d model of the blue areas and extract pitch, yaw, and roll along with location using object recognition. And it's friendly C++. Great library.

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

    New intro. I love it😍

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

    @GreatScott Awesome vid. If it’s picking up multiple objects then track the average of them. E.g. For 2 objects... x = (x1+x2) / 2 and y = (y1+y2) /2. This will set it to track exactly in the middle between them

  • @kousheekchakraborty9250
    @kousheekchakraborty9250 4 года назад +5

    Great video and a good proof of concept! One quick suggestion, drilling holes into 3d prints to mount things is not recommended because the only surface the screw is biting into is the infill (which is generally a very small amount of contact area). Although, in this case, it's okay because you didn't have to deal with large loads.

    • @321ooo123
      @321ooo123 4 года назад

      Unless you print with 100% infill.

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

      @@321ooo123 true, but it's unlikely under most circumstances, I go up to 40% infill max on my prints

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

    I love this intro sincerely I watch your videos last 2 years but I never see you in any videos this is awesome 😊😊

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

      You're welcome :-)

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

      It's my pleasure and I'm learning electronics and I love electronics

  • @ICY-iC
    @ICY-iC 4 года назад +1

    @GreatScott i do love everything about your work and this channel.
    Btw, In load consumer electronic master on/off switch are made using push button switch, to trigger action from microcontroller.
    If by any chance this topic might interest you for an upcoming video, i'd be glad to see in which condition such device is required, pros and cons using them, and how to turn on/off an Arduino based project to put it in deepsleep mode and wake itself up..
    Thanks for such amazing content, keep on doing what you do, it's really helpful..

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

    The Pixy2 with servo module would be perfect for this application.

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

    That project would have been at least 6 months of hard work, at the time I became an electrical engineer. Nice work.

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

    When you finish your elecric Simson ?

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

    The idea is great 👍👍👍

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

    Would love to see what else this camera can do in the future. Review possible?

  • @666aron
    @666aron 4 года назад

    Awesome project. This gave me an idea. I have that camera, and an STM32F446. I have to check if the openMV IDE likes it. microPython is portable.

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

    Awsome video! Although it is not usable with vr for obvious reasons I really like video itself.

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

    One of your best video IMO. Gave me a lot of ideas for other applications. I am assuming just the sample code was in python but could be programmed in C.

  • @0Bariq0
    @0Bariq0 4 года назад

    Did u try out esp32 ai thinker with camera. If u do, would u do a video on image recognition on Arduino ide

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

    Thank you a lot for this video

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

    Merci Scott pour cette réduction sur l'abonnement Elektor!

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

      Enjoy Elektor! We're sure you'll love the magazine and all the benefits of a membership!

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

    Would you mind sharing the code that you ended up using? Thanks!

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

    Hey can u explain how to use x box camera in making picture of 3d printer

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

    Thanks for the info!

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

    Your video is amazing. I would like to use a system like this to find any objects in the sky, like planes or satellites.
    Your videos are awesome, and it's way better when you appear in the video 😊

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

    Wow! Thanks a lot sir!

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

    Some parts of your LiPoChargeProtectBoost-circuit are discontinued on LCSC.
    Could you build a updated version of this project please? ^^

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

    Another awesome video! I cringed around 8:23 though. Get a small arbor press for such tasks.

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

    Can you make a motorized pan/tilt head for a camera?

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

    Can we use open mv h7 camera to detect oncoming vehicles and control hi lo feature of headlight in automobiles, kindly advise.

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

    Awesome intro

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

    Three of my favorite words: Let's get started.

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

    Solving a similar problem, I used a lens to widen the view of the camera. I have also built software to identify and track position of pixel color on the screen and simulate mouse clicks while running games to keep logged in while I needed to be afk. I really like this build you have for face and eye tracking ability. It has lots of potential for security purposes. Perhaps locate a face and zoom in for a few HD screen shots, thus solving the problem of almost all security camera footage of criminal activity where they can't identify the criminal.

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

    Hey bro! your videos are so awesome, if you have time, kindly make an experiment about "sonoluminescence".

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

    Can you make terminator vision like t800 use openMV -H7...

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

    Lmao that intro was hilarious 10/10 video just because of that

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

    Did you make 12 volt power supply to run hi amp dc motter

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

    it's cool... you make camera paning...!!!

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

    Keep up the awesome work! I might get Tetris effect. Can you believe Joseph is 16, and Greentea is 20? That's crazy. I hope Jonas makes it back next year, but with the hyper tapping, I fear he may not. Maybe we will see you in Portland next year???

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

    Finally a module to put my python knowledge into

  • @theq-1
    @theq-1 4 года назад

    I did exactly this 8 years ago for a painball sentry gun and an rdd2 head. Spent months creating algorythms to work out objects ranges and trajectories..

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

    Very good 👍

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

    thanks for phython also thank you great scott for share thes awsome progect :)

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

    What source you used for python and how much time it required

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

    Can you make a video about how you organize all your stuff bolts, parts, nuts and other tools

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

    You don't really want to move the camera while playing. However, you could trigger it when you sit down, but before you start playing to ensure you're in the middle of the frame no matter where on the sofa you sit, or if you go from sitting to standing etc. Plenty of possible ways to trigger it with the camera, or a GPIO etc.

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

    can you do one on night vision goggles I've trying to figure out how i could make some

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

    hello scott
    can u make a diy short killer video ?

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

    Very Nice. Ya I Enjoyed

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

    I think moving the PSVR camera will cause the "zero" point in game move with you, kinda like the whole room would shift to left or right. How about wider angle lens for PSVR?

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

    Can tester work in DC?

  • @99domini99
    @99domini99 4 года назад

    Hello GreatScott! You should look into Oculus Constellation tracking.
    It's an obsolete tracking solution right now, but this is how the Oculus Rift CV1 was tracked. It's also visual tracking, but by using multiple IR camera sensors. You can use up to four of them, but three is enough for a full 360 degree roomscale experience up to 3.5m*3.5m. PSVR having only one camera sensor makes it incapable of more than 90 degree tracking and roomscale experiences.
    In any VR solution where external sensors are used, it's key that they remain stationary as they form the anchor points from where the headset and controllers are tracked in space. If you move the sensors, you move the entire playspace and tracking will mess up.
    Oculus replaced Constellation tracking with the release of the Rift S and the Oculus Quest in favor of their "Insight Tracking" system, where the IR camera sensors are placed on the VR headset itself, removing the need for external sensors.

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

    Really gud man😊

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

    Hi, could you make a Video about how to use the 74hc595n with Arduino Uno!?

  • @jaWitold
    @jaWitold 4 года назад +3

    Żubrówka in the background

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

    I would love to see something like this used for camera tracking to keep things in frame for use guys that do not have people to film while doing repairs ect. like a overhead camera rig that would track a colour in frame and I can have a it on my hands or on what ever I am filming.

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

    @GreatScott Hi I am trying to repair my Bluetooth speaker, but I am not getting out any audio from the speaker even though it is attached to the board. I have a pair of wires that come form the sub woofer

  • @Mario-he9db
    @Mario-he9db 4 года назад +1

    You should build a pan/tilt version

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

    Attach an infared LED or UV LED to the headset, and put a filter in front of the camera. This is actually the same technology some head trackers use, and it is effective. Constantly moving camera might still be bad though.

  • @DerMoosfrau
    @DerMoosfrau 4 года назад +31

    The coolest Motion Tracking Project on Earth is "Automatic Bullseye, MOVING DARTBORD" from Marc Robber at RUclips.

    • @Drew-Dastardly
      @Drew-Dastardly 4 года назад

      Marc Robber - Freudian slip there for Mark Rober?

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

      @@Drew-Dastardly Seems I am just to stupid to copy some simple letters, sorry. 😃

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

      @Marko ...and it tracks objects in motion....

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

      @Marko so motion tracking has to track an object in the whole universe?

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

    This is completely off topic but how did you get so good in electronics? Also got any book recommendations ? I want to self learn this but I always find myself lost . Anyways thanks for reading this.

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

    Can you test jlcpcb smt service please.

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

    I saw you finally 😍😍

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

    Brother I need help.i want 3.7v to 5v DC booster module.i want to boost voltage of 18650 battery to 5v DC.
    Which ic that you recommend?
    I hope you understand.

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

    Stability can be added by adding a saturation curve (dead zone/schmitt trigger) for the center/reference point.