DetectFacesRequest.thumbnail constructor

DetectFacesRequest.thumbnail(
  1. Uint8List image
)

Creates a request for a cropped portrait of the person whose face is the most central in the image in the original size.

image - Image base64.

Implementation

DetectFacesRequest.thumbnail(Uint8List image)
    : _image = image,
      _scenario = DetectFacesScenario.THUMBNAIL;