Hello, when i run the code to open the camera, the following error occurs:
[2025-07-16 10:25:46 UTC][ZED][INFO] Logging level INFO
[2025-07-16 10:25:47 UTC][ZED][WARNING] CAMERA STREAM FAILED TO START in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)
Failed to open ZED: CAMERA STREAM FAILED TO START
Process finished with exit code 1
Here’s my code:
import pyzed.sl as sl
# Create a ZED camera object
zed = sl.Camera()
# Set initialization parameters (use defaults)
init_params = sl.InitParameters()
# Open the camera
status = zed.open(init_params)
if status != sl.ERROR_CODE.SUCCESS:
print("Failed to open ZED:", status)
exit(1)
# Grab a single image
if zed.grab() == sl.ERROR_CODE.SUCCESS:
image = sl.Mat()
zed.retrieve_image(image, sl.VIEW.LEFT)
print("Frame size:", image.get_width(), "x", image.get_height())
else:
print("Failed to grab image")
zed.close()
My camera is a ZED X Mini, connected via a Mono capture card, and the JetPack version is :
ray@jetson:/usr/local/zed/tools$ ZED_Diagnostic
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
ZED Diagnostic Tool
Stack trace (most recent call last) in thread 127687:
#9 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#8 Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffffa9945edb, in
#7 Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffffa98dd5b7, in
#6 Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6", at 0xffffa9bb31fb, in
#5 Object "ZED_Diagnostic", at 0x44cf67, in
#4 Object "ZED_Diagnostic", at 0x46847f, in
#3 Object "ZED_Diagnostic", at 0x45461f, in
#2 Object "ZED_Diagnostic", at 0x446487, in
#1 Object "/usr/lib/aarch64-linux-gnu/libQt5Gui.so.5", at 0xffffaa441c9f, in QFont::QFont()
#0 Object "/usr/lib/aarch64-linux-gnu/libQt5Gui.so.5", at 0xffffaa376104, in QGuiApplication::font()
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault (core dumped)
Hi @Myzhar
Yes, I connected to the Jetson development board via SSH and then executed the command line. Is it necessary to have a display connected? I can try connecting a display and see if that works.
But the code in the first topic was run with a display connected.
Thank you very much for your help. However, the code in the first topic was run with a display connected. I will upload a picture of the device connections later; please help me check it. Thanks again.
I checked the wiring and found no issues. I measured the mono capture card with a thermal imager and found its temperature reached over 130°C. Our EE’s preliminary judgment is that the mono capture card is burned out.
The official documentation states that the input voltage for the mono capture card is 12–19V, and my power supply is 15V 1A. I would like to ask the ZED technical team to help analyze the cause of the mono capture card failure.