pyorbbecsdk icon indicating copy to clipboard operation
pyorbbecsdk copied to clipboard

Extrinsics depth to color gives wrong translation array

Open theWoogle opened this issue 3 months ago • 1 comments

The transformation array of a depth profile extrinsic to color profile with Gemini 336L does not match the output when using print.

# Configure depth stream
depth_profile_list = pipeline.get_stream_profile_list(ob.OBSensorType.DEPTH_SENSOR)
depth_profile = depth_profile_list.get_video_stream_profile(
    1280, 800, ob.OBFormat.Y16, 5
)
config.enable_stream(depth_profile)
d2c_extrinsic = depth_profile.get_extrinsic_to(color_profile)
print("extrinsic depth to color {} [mm]".format(d2c_extrinsic))
print(d2c_extrinsic.transform)

First output: extrinsic depth to color <OBD2CTransform rot=[0.999995, 0.00177309, -0.00269853, -0.00176806, 0.999997, 0.00186701, 0.00270184, -0.00186223, 0.999995] transform=[-23.6961, -0.0629519, 0.303361] [mm]

Second output: array([-23.69613, -23.69613, -23.69613], dtype=float32)

Expected second output: array([-23.69613, -0.0629519, 0.303361], dtype=float32)

theWoogle avatar Oct 14 '25 09:10 theWoogle

@theWoogle Hi, Hi, could you please provide the following information to help us investigate the issue:

1.The log files when the problem occurs.

2.The version of pyorbbecsdk you are using.

3.Does this issue happen consistently, or only occasionally?

Thanks for your help!

gongye2 avatar Oct 27 '25 02:10 gongye2