Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Libcamera with OpenCV in Raspberry Pi 32 bit Bullseye

License

NotificationsYou must be signed in to change notification settings

Qengineering/Libcamera-OpenCV-RPi-Bullseye-32OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

output image

Libcamera + OpenCV on a Raspberry Pi 4 with 32-bit Bullseye OS

License

In the new Debian 11, Bullseye, you can only capture live video with a streaming framework, like GStreamer or FFmpeg. This is an example of libcamera working on a Raspberry Pi with an 32-bits OS.


Dependencies.

To run the application, you have to:


Installing the app.

To extract and run the app in Code::Blocks
$ mkdirMyDir
$ cdMyDir
$ wgethttps://github.com/Qengineering/Libcamera-OpenCV-RPi-Bullseye-32OS/archive/refs/heads/main.zip
$ unzip -j master.zip
Remove master.zip, LICENSE and README.md as they are no longer needed.
$ rm master.zip
$ rm LICENSE
$ rm README.md

YourMyDir folder must now look like this:
GStreamer_RPi_32_Bullseye.cpb
main.cpp


Running the app.

To run the application load the project file GStreamer_RPi_32_Bullseye.cbp in Code::Blocks.
Next, follow the instructions atHands-On.
On thispage you can see how to make thewebcam work.


Frame rate.

The Raspicam supports many sizes and frame rates, as you can seehere.
You can switch between the different options by altering the parameters in the pipeline.
As long it's a valid combination, it will work. For instance:

    //pipeline parameters    int capture_width = 640 ;    int capture_height = 480 ;    int display_width = 640 ;    int display_height = 480 ;    int framerate = 90 ;

paypal

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp