Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When starting the imx265c camera on Orin NX, the image is pink instead of color #122

Closed
voyager556321 opened this issue Nov 15, 2024 · 1 comment

Comments

@voyager556321
Copy link

When I start the camera on orin NX when the stream is displayed, it has a purple color instead of different colors, how can this be fixed, and what exactly is the problem, I changed wbmode, but the stream only changed from purple to white because the daylylight parameter, I made the appropriate changes to the device tree for the camera
Screenshot From 2024-11-15 10-30-37

@bazo80
Copy link
Collaborator

bazo80 commented Feb 19, 2025

Hello @voyager556321 ,

there is the so called black_level v4l2 control and the ISP is not aware of that control. Since the driver is initially setting the appropriate blacklevel value for the attached sensor (if the sensor supports that), every pixel has a certain offset. So the ISP tries to compensate this offset.

v4l2-ctl -d /dev/videoX -c black_level=1
v4l2-ctl -d /dev/videoX -c black_level=0

The other cause might be a wrong bayer pattern, which must be set in the device tree. RGGB/GBRG

Which sensor are you using?

best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants