objectDetector method

  1. @Deprecated('Use [google_mlkit_object_detection] plugin instead of [google_ml_kit].')
ObjectDetector objectDetector({
  1. required ObjectDetectorOptions options,
})

Returns an instance of ObjectDetector.

Implementation

@Deprecated(
    'Use [google_mlkit_object_detection] plugin instead of [google_ml_kit].')
ObjectDetector objectDetector({required ObjectDetectorOptions options}) {
  return ObjectDetector(options: options);
}