DetectFacesRequest constructor

DetectFacesRequest(
  1. Uint8List image,
  2. DetectFacesConfig config, {
  3. String? tag,
})

Create DetectFacesRequest object.

image - Image base64.

config - Custom Request configuration to specify image, quality, attributes parameters.

tag - Defines tag that can be used in detect faces processing. Defaults to null.

Implementation

DetectFacesRequest(
  Uint8List image,
  DetectFacesConfig config, {
  String? tag,
})  : _image = image,
      _configuration = config,
      _tag = tag;