This is a sample project of an app that uses Firebase's MLKit to classify an image in 3 different ways.
Each branch shows the implementation of a differnt model.
Feel free to explore it with and without the tutorial and bolgposts:
- 0.start - the starting code with basic UI
- 1.run_local_model - implementation with local (on device) MLKit model
- 2.run_cloud_model - implementation with cloud based MLKit model
- 3.run_custom_model - implementation with TensorflowLite custom model (managed by MLKit)
You'd have to clone the repository and adding Firebase to it.
Everything is explained at this turorial: Tutorial - Classify an image with MLKit for Android
For more mobile dev friendly background on what is machine learning, how does it work and why MLkit is so awesome, checkout this blogposts series:
- Part 1: What do they all talk about?
- Part 2: How to make a machine learn?
- Part 3: More about that learning
- Part 4: Going Mobile! ML-Kit why and how?
- Part 5: Using a Local Model (coming soon ✨)
- Part 6: Using a Cloud Model (coming soon ✨)
- Part 7: Using a Custom Model (coming soon ✨)