DetectFacesRequest.cropCentralFace constructor

DetectFacesRequest.cropCentralFace(
  1. Uint8List image
)

Creates a request for a cropped portrait of the person whose face is the most central.

image - Image base64.

Implementation

DetectFacesRequest.cropCentralFace(Uint8List image)
    : _image = image,
      _scenario = DetectFacesScenario.CROP_CENTRAL_FACE;