# getTrackerMaximumFaceAge method

int getTrackerMaximumFaceAge()

Gets the maximum number of consecutive non-detections to be reached before deleting a tracked face. Hint: Default value is 2. One must adapt this value to its needs in terms of tracker identity memory (in seconds) and measured frame rate on target platform.

return Maximum number of consecutive non-detections to be reached before deleting a tracked face. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getTrackerMaximumFaceAge() {
      Pointer<Int> pTrackerMaximumFaceAge = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetTrackerMaximumFaceAge(_pHandle.value, pTrackerMaximumFaceAge);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vTrackerMaximumFaceAge = pTrackerMaximumFaceAge.value;
        return vTrackerMaximumFaceAge;
      } finally {
        calloc.free(pTrackerMaximumFaceAge);
      }
    }