Hello, I have an imx219 camera and I am processing images on this camera. I want to transfer this processed image via HDMI. I prepared a code for this. It was working for the devoloper kit, but after changing my jetson’s board to A603, I get an error when I try again. code: "gstreamer_pipeline = (
"nvarguscamerasrc sensor-id=0 ! "
“video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)10/1 !”
“nvvidconv !”
“video/x-raw, format=(string)NV12 !”
“videoconvert !”
“appsink”
)
hdmi_pipeline = (
“appsrc !”
“videoconvert !”
“nvvidconv !”
“nvdrmvideosink set_mode=0 -e”
)
cap = cv2.VideoCapture(gstreamer_pipeline, cv2.CAP_GSTREAMER)
out = cv2.VideoWriter(hdmi_pipeline, cv2.CAP_GSTREAMER, 0, 30, (1280, 720), True)
if not cap.isOpened():
print(“Camera could not be opened”)
else:
while True:
ret, frame = cap.read()
if not ret:
print(“Image could not be obtained from camera”)
break
results = model(frame)
annotated_frame = results[0].plot() # Annotated frame
out.write(annotated_frame)
"
error:“[ WARN:0@1.562] global cap_gstreamer.cpp:2436 open OpenCV | GStreamer warning: error opening writer pipeline: syntax error”
it gives this error so the image is not going to hdmi. how can I fix this error, I would be glad if you can help.
@DaneLLL