tnx for the vid, i have been searching for tutorials of libcamera and didnot notice there is picamera2
@welshjohn6497
Жыл бұрын
At last, some really useful information on getting libcamera to work on the RPi with Bullseye, thank you
@dphair3805
6 ай бұрын
Great explanation / demo of libcamera. I'm a beginner with a RP4b running Bookworm looking to make a trail cam that works offline with a battery and triggered by motion detection. I was able to follow your video and install all software as described with no errors except for the Thonny script. I'm surprised there aren't more similar videos using libcamera? It appears to have so much to offer. Lots to learn...Thanks😎
@robertorgan6037
Жыл бұрын
Thank you! A concise explanation of what I need to know and how to do it. You have saved me a great deal of time!
@OnnieKoski
8 ай бұрын
The memory thing might just fix a completely different project I’ve got going, so thanks for that!!
@danwood7576
Жыл бұрын
The source code you have on the linked picamera2 page is for a game not the picamera so you might want to update that. Great idea and vid.
@PenguinTutor
Жыл бұрын
Sorry about the confusion with the source code, but thanks for pointing it out - I've now replaced it with the correct code. It looks like I accidentally copied and pasted some of my KZitem animation code by mistake.
@gunterbreite7145
7 ай бұрын
Thanks a lot mate. One of the best tutorials I found when batteling my Pi 3B+ Camera v3 install !!👍👍👍 Is there any tip / hint regarding a small & sensefull GUI for the Camera control / operation ??
@PenguinTutor
7 ай бұрын
I did think of creating my own GUI, but it's a long way down my list of potential projects. There is a guide to creating your own here: projects.raspberrypi.org/en/projects/the-all-seeing-pi/0 although I've not worked through that. If you want a more comprehensive GUI there is PiCameraApp, which has a lot of features, but it hasn't been updated for several years so it probably won't work with the new libraries, so would need to be run with the compatibility mode. github.com/Billwilliams1952/PiCameraApp
@raflifahrezy7755
6 ай бұрын
Can you help me, my raspi5 on the "python preview.py" have error. The error said "ModulNotFoundError:No module named 'picamera2'. Thanks
@PenguinTutor
6 ай бұрын
I've just tried this on a Raspberry Pi 5 and it works for me. Have you got the latest version of Raspberry Pi OS (installed using the RPI Imager?) or are you using a different distro? The module is included in python3-picamera2. If it's not installed then you could try installing with: sudo apt install python3-picamera2
@fabiomalmsteen3576
3 ай бұрын
HI thanks for the excellent video, I wanted to ask you how it is possible to add export in raw format to video capture? Thank you very much
@PenguinTutor
3 ай бұрын
Most proprietary "raw" formats are designed for a specific camera. A "raw" format from picamera would be to just capture the image as an array of pixels. This can be done using array = picam2.capture_array("main") That will give a 3 dimensional Numpy Array which you can then manipulate and convert / save as required. An alternative is to capture into the PIL format which can be manipulated and / or exported - eg. export as an uncompressed TIFF image = picam2.capture_image("main") (then process as required) Or if you want raw video capture then use: config = picam2.create_video_configuration(raw={}, encode="raw") picam2.configure(config) encoder = Encoder() picam2.start_recording(encoder, "test.raw") This is all covered on the Picamera2 documentation at: datasheets.raspberrypi.com/camera/picamera2-manual.pdf
Пікірлер: 14