Captured image gets corrupted when changing Output Size on Jetson Orin NX

Hi,

I’m working on a Jetson Orin NX platform using an Argus camera. I’m seeing an issue with the camera application where the live preview is always correct, but the captured image becomes striped/corrupted when the Output Size is changed.

Jetpack: JP5.1.2

L4T version: L4T35.4.1

Observations:

  • Sensor modes available: 1600×1300, 1280×720, and 640×480.
  • Live preview works correctly for all sensor modes.
  • Capturing with Output Size = 0×0 (original size) works correctly.
  • Capturing with any other Output Size results in a striped/corrupted saved image.
  • The driver reports the expected bytesperline (e.g., 3200 for 1600×1300 UYVY).

Could someone help clarify:

  1. Is there a known issue where changing the Output Size can produce striped and corrupted captured images while the live preview remains correct?
  2. Are there any Argus APIs, ISP configuration steps, or debugging methods that could help identify the cause?

Any guidance would be appreciated.

— 🤖 This is an automated AI response. I’m here to help, but please verify important details! —

I could not find clear support for that in the provided Jetson Orin NX documentation. However, I can provide some general guidance based on the context.

The issue you’re experiencing with the captured image becoming striped/corrupted when changing the Output Size on Jetson Orin NX might be related to the camera driver or ISP configuration.

In the context, there are some discussions about camera-related issues on Jetson platforms, such as the “Orin camera can not preview” topic, which mentions a potential issue with the camera driver. However, this topic is specific to Jetson AGX Orin and might not be directly applicable to your situation.

Another topic, “Poor image quality after flashing” on Jetson Orin Nano, mentions some fixes applied to resolve blurry capture results, but it’s not clear if this is related to your specific issue.

Regarding Argus APIs, ISP configuration steps, or debugging methods, the provided context does not offer specific guidance for your situation. However, it’s worth noting that the “Camera Driver 640X480 Not getting output in ARGUS” topic on Jetson Xavier NX mentions some potential issues with sensor configuration and ISP settings.

To further troubleshoot the issue, you might want to try the following:

  1. Verify that the camera driver is properly configured and that the sensor settings are correct.
  2. Check the ISP configuration and ensure that it’s set up correctly for the desired output size.
  3. Use debugging tools, such as the v4l2-ctl command, to inspect the camera settings and capture parameters.
  4. Consult the Jetson Orin NX documentation and the Argus API documentation for more information on camera configuration and ISP settings.

If you’re still experiencing issues, it might be helpful to provide more details about your setup, including the camera model, sensor settings, and ISP configuration.

— We support team will also look into your issue to have further suggestions soon. please stay tuned. —

Please make the width all alignment to 64 for all of the sensor mode.

Thanks