isl-org / isl-org/Open3D

Kinect for Azure python interface. How to get image timestamp

Open
#2,224 3 comments 0 reactions 1 assignee Claimed by @theNded View on GitHub
feature request sensor
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

I need to synchronize the images with an external odometry input. But I can't find a way to get to the sensor image timestamps in the python interface.

In the cpp api(open3d/io/sensor/azure_kinect/AzureKinectSensor.cpp) it looks like I could do something like this:

```
k4a_capture_t capture = CaptureRawFrame();
k4a_image_t depth_image = k4a_capture_get_depth_image(capture);

# timestamps retrieved
uint64_t image_device_timestamp = k4a_image_get_device_timestamp_usec (depth_image);
uint64_t image_system_timestamp = k4a_image_get_system_timestamp_nsec (depth_image);

# The RGDB image type retrieved
auto rgbd = DecompressCapture( capture, true);

k4a_plugin::k4a_capture_release(capture);
```

If above looks right for the cpp interface, how could I achieve the same with the python interface?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.