DetectedFace.fromHandle constructor

DetectedFace.fromHandle(
  1. Pointer<id3DetectedFace> handle
)

Creates a new instance of the DetectedFace class.

param handle Handle to the DetectedFace. throws FaceException An error has occurred during Face Library execution.

Implementation

DetectedFace.fromHandle(Pointer<id3DetectedFace> handle) {
  _pHandle = calloc();
  _pHandle.value = handle;
  _disposable = false;
}