camera_google_ml_vision 1.1.0-nullsafety
camera_google_ml_vision: ^1.1.0-nullsafety copied to clipboard

A flutter widget that show the camera stream and allow ML vision recognition on it, it allow you to detect barcodes, labels, text, faces...

camera_google_ml_vision #

1.1.0-nullsafety

A Flutter package for iOS and Android to show a preview of the camera and detect things with Google ML Vision.

This version is a copy taken from

flutter_camera_ml_vision #

flutter_camera_ml_vision,

Installation First, add camera_google_ml_vision as a dependency.

... dependencies: flutter: sdk: flutter camera_google_ml_vision: 1.1.0-nullsafety ...

Android Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.

minSdkVersion 21 ps: This is due to the dependency on the camera plugin.

Usage

  1. Example with Barcode CameraMlVision<List

CameraMlVision.instance.barcodeDetector().detectInImage CameraMlVision.instance.cloudLabelDetector().detectInImage CameraMlVision.instance.faceDetector().processImage CameraMlVision.instance.labelDetector().detectInImage CameraMlVision.instance.textRecognizer().processImage Then when something is detected the onResult callback is called with the data in the parameter of the function.

Exposed functionality from CameraController We expose some functionality from the CameraController class here a list of these :

value prepareForVideoRecording startVideoRecording stopVideoRecording takePicture Getting Started See the example directory for a complete sample app.

Features and bugs Please file feature requests and bugs at the issue tracker.

Technical Support For any technical support, don't hesitate to contact us. Find more information in our website

3
likes
100
pub points
52%
popularity

A flutter widget that show the camera stream and allow ML vision recognition on it, it allow you to detect barcodes, labels, text, faces...

Repository (GitHub)
View/report issues

Documentation

API reference

License

LICENSE

Dependencies

camera, collection, device_info, flutter, google_ml_vision, path_provider, pedantic, visibility_detector

More

Packages that depend on camera_google_ml_vision