mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
h/mercury: Bump the hand detection threshold up
This commit is contained in:
parent
006bdbc400
commit
a934bf4ae3
|
@ -417,7 +417,7 @@ dispatch_and_process_hand_detections(struct HandTracking *hgt)
|
||||||
float confidence_sum = (infos[0].outputs[hand_idx].hand_detection_confidence +
|
float confidence_sum = (infos[0].outputs[hand_idx].hand_detection_confidence +
|
||||||
infos[1].outputs[hand_idx].hand_detection_confidence) /
|
infos[1].outputs[hand_idx].hand_detection_confidence) /
|
||||||
float(num_views);
|
float(num_views);
|
||||||
if (confidence_sum < 0.9) {
|
if (confidence_sum < 0.92) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue