FaceDetector.fromHandle constructor

FaceDetector.fromHandle(
  1. Pointer<id3FaceDetector> handle
)

Creates a new instance of the FaceDetector class.

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

Implementation

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