The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

h/mercury: Add option to run hand detection model in all views

+5 -2
+5 -2
src/xrt/tracking/hand/mercury/hg_sync.cpp
··· 402 402 403 403 int num_views = 0; 404 404 405 - if (hgt->tuneable_values.always_run_detection_model || hgt->refinement.optimizing) { 405 + if (hgt->tuneable_values.always_run_detection_model || hgt->refinement.optimizing || 406 + hgt->tuneable_values.detection_model_in_both_views) { 406 407 u_worker_group_push(hgt->group, run_hand_detection, &infos[0]); 407 408 u_worker_group_push(hgt->group, run_hand_detection, &infos[1]); 408 409 num_views = 2; ··· 1210 1211 "Scribble pose-predictions into next frame"); 1211 1212 u_var_add_bool(hgt, &hgt->tuneable_values.scribble_keypoint_model_outputs, "Scribble keypoint model output"); 1212 1213 u_var_add_bool(hgt, &hgt->tuneable_values.scribble_optimizer_outputs, "Scribble kinematic optimizer output"); 1213 - u_var_add_bool(hgt, &hgt->tuneable_values.always_run_detection_model, "Always run detection model"); 1214 + u_var_add_bool(hgt, &hgt->tuneable_values.always_run_detection_model, 1215 + "Use detection model instead of pose-predicting into next frame"); 1214 1216 u_var_add_bool(hgt, &hgt->tuneable_values.optimize_hand_size, "Optimize hand size"); 1215 1217 u_var_add_bool(hgt, &hgt->tuneable_values.enable_pose_predicted_input, 1216 1218 "Enable pose-predicted input to keypoint model"); 1217 1219 u_var_add_bool(hgt, &hgt->tuneable_values.enable_framerate_based_smoothing, 1218 1220 "Enable framerate-based smoothing (Don't use; surprisingly seems to make things worse)"); 1221 + u_var_add_bool(hgt, &hgt->tuneable_values.detection_model_in_both_views, "Run detection model in both views "); 1219 1222 1220 1223 1221 1224