getMinimumTrackedFaceAge method
Gets the minimum number of consecutive detections to reach before creating a tracked face. Hint: Default value is 1 for FaceDetector4B since the false detection rate is low enough. If using a less accurate detector (such as FaceDetector3C) one might consider increasing a bit this value to avoid false tracks.
return Minimum number of consecutive detections to reach before creating a tracked face. throws FaceException An error has occurred during Face Library execution.
Implementation
int getMinimumTrackedFaceAge() {
Pointer<Int> pMinimumTrackedFaceAge = calloc();
try {
var err = faceSDK.id3FaceTracker_GetMinimumTrackedFaceAge(_pHandle.value, pMinimumTrackedFaceAge);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vMinimumTrackedFaceAge = pMinimumTrackedFaceAge.value;
return vMinimumTrackedFaceAge;
} finally {
calloc.free(pMinimumTrackedFaceAge);
}
}