Raspberry Pi LESSON 45: Using the Raspberry Pi Camera in Bullseye with OpenCV

preview_player
Показать описание
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)

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 you how to operate the camera 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:

If you guys are interested in the oscilloscope I am using, you can pick one up here (affiliate link):

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:

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:

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.

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:

#bullseye
#opencv
#raspberrypi
Рекомендации по теме
Комментарии
Автор

Hi Proff, you taught me a lot back then when I was a fresher in my early career journey, 7 years ago. Now I'm an Electrical/Electronic Engineer working as an IoT/AI Solutions dev and a tutor. Lot of thanks and I salute you !

AronAyub
Автор

Thanks Paul. What I love about these courses is that it ties together classes I took in the past.

stephenlightkep
Автор

It is great to see the Pi camera come to life! Having done the FPS calculation in the AI course, it was a pretty quick addition to the Pi lesson. I am seeing around 18 FPS. It looks good, but is not the 30 FPS that Paul expected. Thanks for the great lesson Paul!

cbrombaugh
Автор

Hi Paul. This is awesome!
It is hard to keep up during the summer, but I'm trying to catch up. Thanks again.

martinlewis
Автор

Its perfect and the best pick. I tried 10 -15 videos, this gave me the desired output
☺☺☺☺☺

eei
Автор

This is exciting stuff. Looking forward to seeing where you take us from here.

tntragan
Автор

Thanks for this interesting new way of using the Pi camera. 😀

henkoegema
Автор

That was a lot of fun, thanks for your effort and great video production.

TheUnofficialMaker
Автор

OMG, you are my lifesaver, I tried so much ways including pi camera2 face detection program on their official repo but idk it is not working for me, but you are rockingg, Thankyou Somuuchh.If didn't saw this video my last opt was to restart all from 32bit os which will drain my entire work on 64bit.Once Thank you Paul

krizz
Автор

you're just amazing ! Thank you very much ❤️

oussamabenmazhar
Автор

excellent Video - got the camera working in minutes

xhfqvtf
Автор

thank you very much Mr. Paul you're awesome :)

lontongtepungroti
Автор

Thanks Paul. I like this video training course. It's useful.

Michael
Автор

Great lesson today! Will be working on updating my bullseye and doing homework and getting pico w loaded with micropython. I am up for live stream tomorrow night!!

larryplatzek
Автор

Hi Paul, Another high value session. I will be trying to add camera to my current Pico W project and expect this knowledge will be transferrable to Pico. Best regards, Ed

escheytt
Автор

A lot of thanks you made my University carrer a lot easier, masive thanks proff!!!

RicardoMaciasYepez
Автор

Thanks a lot sir, .
I was trying to connect the camera since last two day, But You code is so simple. I don't know why, But I was not getting any blog regarding the same.
Thanks again

training_demo
Автор

Excellent lesson. Python would not work until I had to updated my bullseye firmware to get libcamera library by using: sudo rpi-update.

Also, updated /boot/config.txt file with the following changes:
#start_x=1
camera_auto_detect=1
gpu_mem=256

Found libcamera-hello command was a good way to confirm camera is wired up correctly.

markbooco
Автор

I have followed you loosely on many of your posts. Arduino, Fusion 360, etc. You're an excellent teacher. I find all of your content intriguing and I normally browse your posts as my hobby needs dictate. Thank you for all you do. Unfortunately, I popped into this lesson w/o fully understanding the 64-bit operating repercussions. As a heads up for any of your followers. If they do not install the 64-bit version, i.e. go with default settings on the PI page even though it is a 'fresh install'; they will not be successful in installing the CV-2. At some level I thought the 64-bit vs 32 would just be a performance Hicky...but no...the files structures, etc. are a bit different. Anyway, you earned a Patrion visit from me. Just for the pure tenacity of putting that all together for us. If only I would have popped into lesson 44 1st * smile * . Please keep up the good fight. Rob

RobertWood-mgro
Автор

Ok i got it working 😁👍i don't know what it was i couldn't find it . But it works ❤

Ducerobot