Fix comments in GestureRecognizer
PiperOrigin-RevId: 482854253
This commit is contained in:
parent
ed938a9214
commit
fe77c5489f
|
@ -59,7 +59,7 @@ struct GestureRecognizerOptions {
|
||||||
int num_hands = 1;
|
int num_hands = 1;
|
||||||
|
|
||||||
// The minimum confidence score for the hand detection to be considered
|
// The minimum confidence score for the hand detection to be considered
|
||||||
// successfully.
|
// successful.
|
||||||
float min_hand_detection_confidence = 0.5;
|
float min_hand_detection_confidence = 0.5;
|
||||||
|
|
||||||
// The minimum confidence score of hand presence score in the hand landmark
|
// The minimum confidence score of hand presence score in the hand landmark
|
||||||
|
@ -67,11 +67,11 @@ struct GestureRecognizerOptions {
|
||||||
float min_hand_presence_confidence = 0.5;
|
float min_hand_presence_confidence = 0.5;
|
||||||
|
|
||||||
// The minimum confidence score for the hand tracking to be considered
|
// The minimum confidence score for the hand tracking to be considered
|
||||||
// successfully.
|
// successful.
|
||||||
float min_tracking_confidence = 0.5;
|
float min_tracking_confidence = 0.5;
|
||||||
|
|
||||||
// The minimum confidence score for the gestures to be considered
|
// The minimum confidence score for the gestures to be considered
|
||||||
// successfully. If < 0, the gesture confidence thresholds in the model
|
// successful. If < 0, the gesture confidence thresholds in the model
|
||||||
// metadata are used.
|
// metadata are used.
|
||||||
// TODO Note this option is subject to change, after scoring
|
// TODO Note this option is subject to change, after scoring
|
||||||
// merging calculator is implemented.
|
// merging calculator is implemented.
|
||||||
|
|
|
@ -310,18 +310,18 @@ public final class GestureRecognizer extends BaseVisionTaskApi {
|
||||||
/** Sets the maximum number of hands can be detected by the GestureRecognizer. */
|
/** Sets the maximum number of hands can be detected by the GestureRecognizer. */
|
||||||
public abstract Builder setNumHands(Integer value);
|
public abstract Builder setNumHands(Integer value);
|
||||||
|
|
||||||
/** Sets minimum confidence score for the hand detection to be considered successfully */
|
/** Sets minimum confidence score for the hand detection to be considered successful */
|
||||||
public abstract Builder setMinHandDetectionConfidence(Float value);
|
public abstract Builder setMinHandDetectionConfidence(Float value);
|
||||||
|
|
||||||
/** Sets minimum confidence score of hand presence score in the hand landmark detection. */
|
/** Sets minimum confidence score of hand presence score in the hand landmark detection. */
|
||||||
public abstract Builder setMinHandPresenceConfidence(Float value);
|
public abstract Builder setMinHandPresenceConfidence(Float value);
|
||||||
|
|
||||||
/** Sets the minimum confidence score for the hand tracking to be considered successfully. */
|
/** Sets the minimum confidence score for the hand tracking to be considered successful. */
|
||||||
public abstract Builder setMinTrackingConfidence(Float value);
|
public abstract Builder setMinTrackingConfidence(Float value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the minimum confidence score for the gestures to be considered successfully. If < 0,
|
* Sets the minimum confidence score for the gestures to be considered successful. If < 0, the
|
||||||
* the gesture confidence threshold=0.5 for the model is used.
|
* gesture confidence threshold=0.5 for the model is used.
|
||||||
*
|
*
|
||||||
* <p>TODO Note this option is subject to change, after scoring merging
|
* <p>TODO Note this option is subject to change, after scoring merging
|
||||||
* calculator is implemented.
|
* calculator is implemented.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user