Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

Camera board • Re: Problem with Picamera2 (Bad images)

$
0
0
rpicam-jpeg works fine. That means the camera is functional and the drivers are correctly installed. Try to capture an image using libcamera directly in Python:
Thank you very much for your answer. Tried your code, but unfortunately result is the same - it saves mix of pixels instead of image.

Here is what i get in console when i run the script:

Code:

user@raspberrypi:~ $ python3 forum.py [0:06:22.386615581] [1410]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2+27-7330f29b[0:06:22.938066466] [1413]  WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise[0:06:22.944352039] [1413]  INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0[0:06:22.944571258] [1413]  INFO RPI pipeline_base.cpp:1126 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'[0:06:22.969598445] [1410]  INFO Camera camera.cpp:1197 configuring streams: (0) 2592x1944-BGR888 (1) 2592x1944-SGBRG10_CSI2P[0:06:22.970517820] [1413]  INFO RPI vc4.cpp:622 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SGBRG10_1X10 - Selected unicam format: 2592x1944-pGAA
But the image is actually the same as before, even no reasons to load it.

Ordered another camera, another model will try with it soon. Maybe my actual one requires some special configurations...

If someone has a key to my problem, it will be nice to get it. Thank you for any ideas in advance!

Statistics: Posted by borsuk — Wed Mar 19, 2025 5:47 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles