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

Compute Module • Re: CM4 + IMX296 Camera --> Impossible Camera Rotation

$
0
0
Hello,

I am using a CM4 with 2 IMX296 cameras.

I would like to flip the displayed image so my config.txt is :

Code:

#camera_auto_detect = 1dtoverlay=imx296,rotation=0,cam0dtoverlay=imx296,rotation=0,cam1 
I tried with rotation at 0 or 180 but it has no effect, the image is still fliped.

Same thing with libcamera-hello

Code:

 libcamera-hello  --camera 1 --rotation 0 
or

Code:

 libcamera-hello  --camera 1 --rotation 180 
What am I missing ?

Thanks for your help !
your config.txt is wrong as is your CLI command.

Just tested the V2 camera on a CM4, connected to CSI1
Hence config.txt needs to be

Code:

# Automatically load overlays for detected cameras# camera_auto_detect=1dtoverlay=imx219,cam1
My camera connector points upwards --> the image is upside down.
running below command shows the image in correct orientation

Code:

libcamera-hello --rotation=180

Statistics: Posted by aBUGSworstnightmare — Wed Apr 24, 2024 6:27 am



Viewing all articles
Browse latest Browse all 4814

Trending Articles