D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS: 2949422 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2916088 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2882755 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2849422 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2816088 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2782755 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2749422 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2716088 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2682755 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2649422 type:Depth capturesync_drop, releasing capture early due to full queue TS: 2616088 type:Depth Printf("Finished body tracking processing!\n") Printf("Get depth capture returned error: %d\n", get_capture_result) Printf("Error! Get depth frame time out!\n") It should never hit time out when K4A_WAIT_INFINITE is set. Printf("Pop body frame result failed!\n") Įlse if (get_capture_result = K4A_WAIT_RESULT_TIMEOUT) Printf("Error! Pop body frame result timeout!\n") VERIFY(k4abt_frame_get_body_skeleton(body_frame, i, &body.skeleton), "Get body from body frame failed!") īody.id = k4abt_frame_get_body_id(body_frame, i) Įlse if (pop_frame_result = K4A_WAIT_RESULT_TIMEOUT) Printf("%zu bodies are detected!\n", num_bodies) Size_t num_bodies = k4abt_frame_get_num_bodies(body_frame) If (pop_frame_result = K4A_WAIT_RESULT_SUCCEEDED) K4a_image_t color_image = k4a_capture_get_color_image(capture_result) K4a_capture_t capture_result = k4abt_frame_get_capture(body_frame) K4a_wait_result_t pop_frame_result = k4abt_tracker_pop_result(tracker, &body_frame, K4A_WAIT_INFINITE) Printf("Error! Add capture to tracker process queue failed!\n") Printf("Error! Add capture to tracker process queue timeout!\n") Įlse if (queue_capture_result = K4A_WAIT_RESULT_FAILED) It should never hit timeout when K4A_WAIT_INFINITE is set. If (queue_capture_result = K4A_WAIT_RESULT_TIMEOUT) K4a_wait_result_t queue_capture_result = k4abt_tracker_enqueue_capture(tracker, sensor_capture, K4A_WAIT_INFINITE) printf("Start processing frame %d\n", frame_count) If (get_capture_result = K4A_WAIT_RESULT_SUCCEEDED) K4a_wait_result_t get_capture_result = k4a_device_get_capture(device, &sensor_capture, K4A_WAIT_INFINITE) VERIFY(k4abt_tracker_create(&sensor_calibration, &tracker), "Body tracker initialization failed!") VERIFY(k4a_device_get_calibration(device, device_pth_mode, device_lor_resolution, &sensor_calibration), VERIFY(k4a_device_start_cameras(device, &device_config), "Start K4A cameras failed!") VERIFY(k4a_device_open(0, &device), "Open K4A Device failed!") K4a_device_configuration_t device_config = K4A_DEVICE_CONFIG_INIT_DISABLE_ALL ĭevice_pth_mode = K4A_DEPTH_MODE_NFOV_UNBINNED ĭevice_lor_resolution = K4A_COLOR_RESOLUTION_720P ĭevice_config.synchronized_images_only = false
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |