ML Kit project Sample Downloads
These tested sample projects are provided for downloads for you to save your time from fixing errors and assembling the utility files. The google-services.json
file is not provided. You will have to generate your own file by creating a project at firebase console and include it in the project's app directory. The gradle files are not provided. So you cannot import the project directly to Android Studio. So inorder to run the projects, you may follow the following two steps:
Create a project in firebase and download the
google-services.json
file.Create a project in Android Studio with same package name as the firebase project and copy the
google-services.json
to the app directory. Then copy all the files in the project and implement appropriate firebase libraries and permisions as described in their respective tutorial @ hoineki.com.
Download Links:
ML Kit Cloud Landmark recognition
ML Kit Cloud Document text recognition
ML Kit On-device image labeling
ML Kit On-device text recognition
You may also refer to this repo for the source codes.