Zed x mini HD 720 invalid resolution

Hello, Im trying to make the zed x mini to run in HD 720. here is the part of my code:

    // 3) Init ZED
    sl::Camera zed;
    sl::InitParameters init_params;
    init_params.sdk_verbose = true;
    init_params.depth_mode = sl::DEPTH_MODE::ULTRA;
    init_params.camera_resolution = sl::RESOLUTION::HD720;

it builds just fine but when i try to run it i get this error:

[2025-01-13 22:22:52 UTC][ZED][INFO] Logging level INFO
[2025-01-13 22:22:52 UTC][ZED][INFO] Logging level INFO
ZED open error: [2025-01-13 22:22:52 UTC][ZED][WARNING] INVALID RESOLUTION in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)
INVALID RESOLUTION. Exiting.
[2025-01-13 22:22:52 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[2025-01-13 22:22:52 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.

It works perfectly fine when i switch it to Auto, SVGA, or HD1200 so im not sure what is going on

Hi,

HD720 is not a mode supported by the ZED X camera, only by the ZED (USB) family. You can find the compatible mode for your camera here: Camera Controls - Stereolabs

1 Like