Hello Professor,
I am trying to transform depth to color image offline. However, the code I used as shown bellow return transformed image with all zeros. Could you please help me to check the code? Or is there another way to transform depth to color image offline?
Looking forward to your reply.
def transform_depth_color(args):
with k4a.Device.open() as device:
device_config = k4a.DeviceConfiguration(
color_format=k4a.EImageFormat.COLOR_BGRA32,
color_resolution=COLOR_RESOLUTION[args.resolution],
depth_mode=DEPTH_MODE[args.depth_mode],
camera_fps=FPS[args.fps],
synchronized_images_only=True,
depth_delay_off_color_usec=0,
wired_sync_mode=k4a.EWiredSyncMode.STANDALONE,
subordinate_delay_off_master_usec=0,
disable_streaming_indicator=False)
Hello Professor, I am trying to transform depth to color image offline. However, the code I used as shown bellow return transformed image with all zeros. Could you please help me to check the code? Or is there another way to transform depth to color image offline? Looking forward to your reply.
def transform_depth_color(args): with k4a.Device.open() as device: device_config = k4a.DeviceConfiguration( color_format=k4a.EImageFormat.COLOR_BGRA32, color_resolution=COLOR_RESOLUTION[args.resolution], depth_mode=DEPTH_MODE[args.depth_mode], camera_fps=FPS[args.fps], synchronized_images_only=True, depth_delay_off_color_usec=0, wired_sync_mode=k4a.EWiredSyncMode.STANDALONE, subordinate_delay_off_master_usec=0, disable_streaming_indicator=False)