Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From OrbbecSDK to OrbbecSDK_v2, basic differences. #32

Open
bumbastic opened this issue Dec 16, 2024 · 1 comment
Open

From OrbbecSDK to OrbbecSDK_v2, basic differences. #32

bumbastic opened this issue Dec 16, 2024 · 1 comment
Assignees

Comments

@bumbastic
Copy link

Switching an App's OrbbecSDK dependencies to OrbbecSDK_v2. Results i heavy distorted/wrong depth images.

I believe this is the only code where I handle the depth image outside the SDK:

    auto depth_frame = frame->as<ob::VideoFrame>();
    const uint32_t width = depth_frame->width();
    const uint32_t height = depth_frame->height();

    uint16_t* src_data = (uint16_t*)(void*)depth_frame->data();

    // Create an open3d::t::geometry::Image from camera frame data
    open3d::core::Tensor tensor(src_data, open3d::core::Dtype::UInt16, { height, width, 1 }, {});
    open3d::t::geometry::Image open3d_image(tensor);

visualizing open3d_image as 3d point cloud, shows a heavily distorted depth image. What changed?

I expected same result for both versions of the SDK.

  • OS: Windows 11.
  • SDK: 2.0.18 vs 1.10.16
  • Model: Femto MEGA.
  • Firmware Version: 1.3.0.
@Sirudoi Sirudoi self-assigned this Dec 20, 2024
@zhonghong322
Copy link
Contributor

zhonghong322 commented Dec 23, 2024

After enabling hardware D2C in OrbbecSDK v2, the depth point cloud had distortion, which has been fixed in version v2.1.1.
https://github.com/orbbec/OrbbecSDK_v2/releases/tag/v2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants