Raspberry Pi LESSON 48: Creating A Bouncing Box Overlay in OpenCV

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2023
  • Announcing the Most Awesome Raspberry Pi Lessons of All Times! This time we RUMBLE!
    In this class series, we will be using the most excellent Sunfounder Ultimate Raspberry Pi kit, available here: (Affiliate Link)
    amzn.to/3tSk9Mo
    or for our UK friends, amzn.to/3I5d401
    In this lesson I will show you how to use the Raspberry Pi camera on the Bullseye operating system, in either 32 bit or 64 bit mode. I will show how to create a bouncing box overlay using openCV.
    If you want to grab those cool little straight jumper wires I am using to keep my breadboard builds neat and clean you can snag a box of them here:
    amzn.to/36NyfHq
    If you guys are interested in the oscilloscope I am using, you can pick one up here (affiliate link):
    amzn.to/3v13Mhl
    You guys get your hardware ordered so you can follow along at home!
    You will also need a Raspberry Pi. I suggest the Raspberry Pi 4. If you do not already have one, this is the most suitable gear I could find:
    amzn.to/3pBMfKm
    The Raspberry Pi's are sort of pricy right now, so you can look on ebay or elsewhere to see if there are any deals. You will need a SD card. If you do not already have one, this is a good one:
    amzn.to/3KcXTn2
    I like using a wireless keyboard and mouse to have fewer wires. You can certainly use your USB keyboard and mouse, but if you want a nice wireless one, this one works on the pi. We demonstrate this by using a button switch to control a LED.
    amzn.to/36Rv9Sk
    You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
    / paulmcwhorter
    [Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. ]
    #bullseye
    #opencv
    #raspberrypi
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 34

  • @markbooco1719
    @markbooco1719 ปีที่แล้ว

    Thanks for great lesson! Several trial and errors hours but got it accomplished. No pain no gain!

  • @pralaymajumdar1206
    @pralaymajumdar1206 6 หลายเดือนก่อน

    Very interesting lesson & always awesome.. Being an Engineers it's a great achievement to get u in TH-cam. Thank u sir from India..

  • @wilsonlittle4833
    @wilsonlittle4833 ปีที่แล้ว

    I've been a BAD student!!! I'm now on my third series with TTB, and I absolutely love your teaching style, and I learn a heck of a lot. I do each homework in advance, and attempt to enhance it beyond what is requested. However, I simply fail to routinely post, or even mark the video as a LIKE. Even though they are very deserving of the acknowledgement. Thanks for all your effort.

  • @martinlewis645
    @martinlewis645 11 หลายเดือนก่อน

    Thank you again for a great lesson. I was close, but needed a bit of help.

  • @arguedas02
    @arguedas02 ปีที่แล้ว

    Great series of lessons it is amazing all the things we can learn on this classes Thank You Paul, for your hard work... Blessing ....

  • @richhoneyford9789
    @richhoneyford9789 ปีที่แล้ว

    Folded like a cheap Chinese chair. I solved the methodology but over-thought the tuple. I thought that tuples cannot be changed so did all kinds of crazy things to change tuple. Got a headache and gave it up.
    I love watching your river background. God is a magnificent artist.

  • @daveCotterill
    @daveCotterill ปีที่แล้ว

    Brilliant Lesson, absolutely make sense working it out on paper first. Unfortunately I failed to come up up with a working solution, but I will get better!. Thanks for your hard work.

  • @kau_norw
    @kau_norw ปีที่แล้ว

    Very thoroughly explained, thank you.

  • @DrDave327
    @DrDave327 ปีที่แล้ว

    👍Great content, Paul!

  • @cbrombaugh
    @cbrombaugh ปีที่แล้ว

    Thanks for another great Pi lesson Paul!

  • @tkklein
    @tkklein ปีที่แล้ว

    I miss these tutorials!

  • @qzorn4440
    @qzorn4440 ปีที่แล้ว

    very nice. In a programming class you always make your flow chart and write the code on paper before touching the computer. This way the plan is understood first. 😎 Thank you so much.
    The engineers on the factory floor have to have a working upgrade program before they shut the assembly line down on the weekend so it will work Monday morning.

  • @tntragan
    @tntragan ปีที่แล้ว +2

    Another great lesson. I am working on your artificial intelligence series and it is really meshing nicely with this series. Thanks to that and the lessons on visual python, I was able to complete this lesson.

    • @paulmcwhorter
      @paulmcwhorter  ปีที่แล้ว +1

      Yes, this will touch on a lot of similar topics, but then will have some new directions as well.

  • @RobWood-cf4ct
    @RobWood-cf4ct ปีที่แล้ว

    I am legend. Unfortunately, I don't have recording equipment so cannot post my solution as suggested. Doesn't make sense to me to post code here either. Anyway, I was able to get the box bouncing as well as the circle from the previous lesson. My solution was slightly different because I used a multiplier in the main code and then multiply it by -1 in the if statements to change direction. The circle was slightly easier because the edge is r away from the center in all directions. In any event, I enjoy all your content. Keep up the good fight. Rob

  • @daviddun1389
    @daviddun1389 ปีที่แล้ว

    Will be following your excellent work, I have a few Raspberry Pi's in the house as NAS and honeypots, I started back in the day with a sinclair zx80 and courses in Fortran

  • @jameslewellen150
    @jameslewellen150 ปีที่แล้ว

    Thanks for this wonderful explanation. I was pretty much sitting in a walmar lawn chair, with some help I was able to get it done.

  • @JuliaDaser
    @JuliaDaser 10 หลายเดือนก่อน

    I am Legend! (Didn't post the homework on TH-cam but I managed to complete it!)

  • @freddyveza
    @freddyveza 2 วันที่ผ่านมา

    I am legend!

  • @LorenBurdette
    @LorenBurdette ปีที่แล้ว

    Great Explanation! I got the HW and worked it out on paper first but my drawing wasn't near as nice as yours. You are the man, sir!

  • @ramonestana7338
    @ramonestana7338 ปีที่แล้ว

    Dear Paul, thank you very much for your great work! Now, whats about speech recognition with the jetson nano or xavier? Could this possible? Thanks again very much❤

  • @ctlancearrowlarson8237
    @ctlancearrowlarson8237 ปีที่แล้ว

    Just thought I'd say a small thing about taking class notes. What works best for me are 5"X8"(12.7cmX20.32cm) ruled index cards. Sometimes Daiso Japan Stores carry these clear plastic boxes (6"X9"-1"deep), where I store the cards. I know notes can be taken on a computer, but I like paper.

  • @alldaypancakes7058
    @alldaypancakes7058 ปีที่แล้ว

    if you go to raspberry leson 5 homework you can see a ant on the breadbord i am suprised that you didnt see it i saw it and i wasnt even looking at the breadbord its in first 37 minuts of the video much love you are great

  • @DavidConner-yz2ud
    @DavidConner-yz2ud 8 หลายเดือนก่อน

    Really enjoying the class! I was able to solve the homework - very similar to your solution. I tried moving this to the new Bookworm OS but was not successful. Apparently openCV installs differently in Bookworm so I was defeated at square one!

    • @paulmcwhorter
      @paulmcwhorter  8 หลายเดือนก่อน +1

      In going through these lessons it is good to stay on the same version of the OS I am on. Most things should be the same, but sometimes difficulty installing libraries if you are on different versions.

  • @TheTimeProphet
    @TheTimeProphet 11 หลายเดือนก่อน

    It was interesting, but I hate python with a passsion and much prefer C++ modular programming. I watched because you have a great presentation style.

  • @keithlohmeyer
    @keithlohmeyer ปีที่แล้ว

    👍YT juice.

    • @DrDave327
      @DrDave327 ปีที่แล้ว

      Great idea Keith! I will do the same.

  • @timefactortheoryofgravitya7578
    @timefactortheoryofgravitya7578 8 หลายเดือนก่อน

    My video has an added feature. In the lower left corner it displays: (X=xxxx Y=xxx) ~ Rxxx Gxxx Bxxx ,where ever I point the mouse on the frame. Why?