[BUG] The generated YUV data is heavily reddish

Use the oneshot sample demo provided in argus to generate jpg data, which is seriously reddish, as shown in the figure above。

What is the general reason?

Hello there @13588761951 and welcome to the NVIDIA developer forums.

Am I correct in assuming you mean libargus API for Jetson?

Because then I think this post belongs in one of the Jetson specific categories on this forum.

If you tell me which model of Jetson you are using, I can transfer your post for you.

Thanks!

Thank you for your reply very munch!

My model is NVIDIA Jetson AGX Orin.

Now I am debugging the function of the camera and encountered the above problem,Please help me turn the post,thank you !

There you go. I hope you will get this resolved!

Does preview without reddish?
Could you verify on argus_camera for jpeg capture?

Also please provide much detail information about the sensor module.

Deserializers:max96712

Serializers:max9295

Sensor module: imx728

The raw image is normal, but the yuv image is abnormal,and the generated jpg image is also abnormal.

See the attachment for the raw image!
3.raw (16.1 MB)

Did you check the preview screen?
It could be pixel format report incorrect.

The screen preview is also abnormal, the preview is reddish!

I tried setPixelFormat(PIXEL_FMT_YCbCr_420_888) or setPixelFormat(PIXEL_FMT_P016),

Still can’t solve this problem

I mean your sensor driver report incorrect pixel type.
Did you apply any ISP overrides file /vat/nvidia/nvcam/settings/
Please share the camera device tree here to review.

tegra234-camera-genesys.dtsi (9.7 KB)

devicetree file see attachment please!

Do use reference badge “A6V26” , Modify the strings to verify.

badge = “imx728_bottom_A6V26”;

We changed it with reference to tegra234-camera-imx274-dual.dtsi,Is it not possible to do this?

Also, I don’t quite understand your reply above, can you elaborate? thanks

Don’t use any of reference badge info, The ISP setting was loaded depend on this badge. Please make it unique strings.

After changing unique strings, see the attached picture. It is much better than before, but it is still slightly reddish. Is this caused by calling the default ISP setting?

How about change a scene?
Did you check if any ISP file at /var/nvidia/nvcam/settings/?

/var/nvidia/nvcam/settings/
nvcam_cache_0.bin serial_no_0.bin

There are only two bin files in the setting folder.

Remove all of them and reboot to check.

After removing all of them, and reboot.

But after executing the executable file of the sample, two bin files are generated under the setting file.