Image capture from monochrome bayer RAW sensnor with TX2

Hi, ShaneCCC
I recently lit up a monochrome bayer RAW sensor on TX2,the captured image is pink.
Could you please tell me how can I get a normal black and white image?
I refered this topic but it’s doesn’t work well.

[type or paste code here](https://forums.developer.nvidia.com/t/the-feasibility-of-high-frame-rate-camera-input-on-jetson-agx-xavier/187004)
ShaneCCC
Moderator
Aug 23
You can just report it as normal RGB bayer sensor and create camera_overrides.isp at /var/nvidia/nvcam/settings/
Also need change the file attribute to 644 by sudo chmod 644 camera_overrides.isp

demosaic.v5.family.use=CCCC
defaults.yuvMatrix[0] = {0.3333, 0.3333, 0.3333, 0};
defaults.yuvMatrix[1] = {0, 0, 0, 0};
defaults.yuvMatrix[2] = {0, 0, 0, 0};
defaults.yuvMatrix[3] = {0, 0, 0, 1};

BTW,Are there more detailed instructions for using camera_overide.isp.
Like how to adjust the BLC,WB,CCM,Lens shading,Such as this
Thank you and Best Regards.

added: After the above method is implemented,use the following command to capture the image

gst-launch-1.0 nvarguscamerasrc ! ''......................................... -e 

An error occurred after the command was executed : 725 No cameras available
The camera can open normally after deleting camera_overide.isp files.
Tx2 L4T version is 32.6.1.

It’s typo? The file name should be camera_overrides.isp

Sorry , My spelling is wrong.
This is true in practice,

Remove the defaults.* only left demosaic.v5.family.use=CCCC in the overrides file to try.

No error,The camera can be turned on and the image is still pink.

Looks like lost the “;” in first first line.

demosaic.v5.family.use=CCCC;
defaults.yuvMatrix[0] = {0.3333, 0.3333, 0.3333, 0};
defaults.yuvMatrix[1] = {0, 0, 0, 0};
defaults.yuvMatrix[2] = {0, 0, 0, 0};
defaults.yuvMatrix[3] = {0, 0, 0, 1};

It seems doesn’t work,I actually tried adding semicolons before you said it.

I tried again and rebooted the device, but it still reported the same error.

How about remove the first line left the defaults.yuvMartix[*]

It works well, thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.