Azure Kinect body tracking index map
The body index map includes the instance segmentation map for each body in the depth camera capture. Each pixel maps to the corresponding pixel in the depth or IR image. The value for each pixel represents which body the pixel belongs to. It can be either background (value K4ABT_BODY_INDEX_MAP_BACKGROUND
) or the index of a detected k4abt_body_t
.
Note
The body index is different than the body id. You can query the body id from a given body index by calling API: k4abt_frame_get_body_id().
Using body index map
The body index map is stored as a k4a_image_t
and has the same resolution as the depth or IR image. Each pixel is an 8-bit value. It can be queried from a k4abt_frame_t
by calling k4abt_frame_get_body_index_map
. The developer is responsible for releasing the memory for the body index map by calling k4a_image_release()
.
Next steps
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho