Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 1.16 KB

README.md

File metadata and controls

21 lines (15 loc) · 1.16 KB

[Deprecated] See firebase_ml_vision example app for updated Live Camera Preview examples.

Flutter Live Camera with ML Kit Example Project

This project displays a live camera preview that highlights detected barcodes/faces/labels/text using ML Kit for Firebase.

How to use with your own project

  1. Add Firebase to your app. You can follow instruction here for iOS and android. You only need to follow the instructions to the point of including the config file. The firebase_ml_vision plugin will have the sdk already included.

  2. Include latest versions of the camera and firebase_ml_vision plugins in your project and follow instructions on including camera access permissions. Pay close attention to the README.md of both plugins to make sure everything is properly setup.

  3. Include lib/main.dart, lib/utils.dart, and lib/detector_painters.dart in your project's lib folder.