RecognizeConfig.withScenario constructor

RecognizeConfig.withScenario(
  1. Scenario scenario, {
  2. Uint8List? image,
  3. List<Uint8List>? images,
  4. Uint8List? data,
  5. List<ImageInputData>? imageInputData,
  6. Uint8List? dtc,
  7. Uint8List? livePortrait,
  8. Uint8List? extPortrait,
  9. bool oneShotIdentification = false,
})

Implementation

RecognizeConfig.withScenario(
  Scenario scenario, {
  Uint8List? image,
  List<Uint8List>? images,
  Uint8List? data,
  List<ImageInputData>? imageInputData,
  Uint8List? dtc,
  Uint8List? livePortrait,
  Uint8List? extPortrait,
  bool oneShotIdentification = false,
})  : _scenario = scenario,
      _onlineProcessingConfig = null,
      livePortrait = livePortrait,
      extPortrait = extPortrait,
      oneShotIdentification = oneShotIdentification,
      image = image,
      images = images,
      data = data,
      imageInputData = imageInputData,
      dtc = dtc;