Adquisition issue with Jetson Orin NX 16GB carried board J4012 and IMX477 camera

Hello,

I am experiencing a strange image acquisition issue in my project involving a Jetson Orin NX with an IMX477 camera connected. My goal is to capture images at a specific framerate and save them into a folder for use in other parts of my project.

The acquisition is performed using the following GStreamer pipeline:

def __gstreamer_pipeline__(
    sensor_id=0,
    width=1920,
    height=1080,
    framerate=30,
    flip_method=0,
):
    return (
        "nvarguscamerasrc sensor-id=%d sensor-mode=0 ! "
        "video/x-raw(memory:NVMM), width=(int)%d, height=(int)%d, framerate=(fraction)%d/1 ! "
        "nvvidconv flip-method=%d ! "
        "video/x-raw, width=(int)%d, height=(int)%d, format=(string)BGRx ! "
        "videoconvert ! "
        "video/x-raw, format=(string)BGR ! appsink"
        % (
            sensor_id,
            width,
            height,
            framerate,
            flip_method,
            width,
            height,
        )
    )

video_capture = cv2.VideoCapture(__gstreamer_pipeline__, cv2.CAP_GSTREAMER)
_, frame = video_capture.read()

However, the images I captured have the following issue: Image

As shown, the camera retains an older frame while it is building a new one. This occurs every time there is movement in the stream, making the issue most noticeable under those conditions.

I have already followed the configuration guidelines provided here:https://wiki.seeedstudio.com/J401_carrierboard_Hardware_Interfaces_Usage/#supported-cameras-are-as-follows but the issue is still there.

I have also tried to chage some parameters in the pipeline including: --exposuretimerange --gainrange --enc-bitrate --hw-enc-path in the nvarguscamerasrc element of the pipeline but it didn’t work.

What it is worse is that I have another Jetson Orin NX, identical to this one and connected to the same type of camera, which runs the exact same code without any issues. This leads me to believe that the problem relies on some hardware configuration I haven’t made.

I have been stuck on this issue for two weeks now and would greatly appreciate any guidance that could help resolve it. If you need any additional information to clarify my situation, please feel free to ask.

Thanks in advance!

Sorry for the delay! Before answering your question, I have a few doubts. Thank you in advance for your response:

Is there a similar problem with opening the video stream from the camera?

Does this mean you are using J4012 which is also orin nx? Or do you use a carrier board from another manufacturer

Hi, sorry for the delay in answering. I didn’t have access to the hardware to check what you were asking. Now I have everything again.

Yes, the same issue happens if I open the stream from the camera.

It is the exact same board with the exact same carrier board. Both are Orin NX, carrier board J4012.