# getTrackerMinimumFaceAge method

int getTrackerMinimumFaceAge()

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 getTrackerMinimumFaceAge() {
      Pointer<Int> pTrackerMinimumFaceAge = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetTrackerMinimumFaceAge(_pHandle.value, pTrackerMinimumFaceAge);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vTrackerMinimumFaceAge = pTrackerMinimumFaceAge.value;
        return vTrackerMinimumFaceAge;
      } finally {
        calloc.free(pTrackerMinimumFaceAge);
      }
    }