Classify GettingStarted
Getting started
Since this assignment need to use Teachable machine then that mean we are creating our own model
Getting the model
- First step is obviously getting the dataset, feel free to pick any theme e.g. fruit
https://www.kaggle.com/datasets/moltean/fruits
Get them from there or idk maybe get one yourself
-
Head to Google Teachable Machine to create .tflite model
Teachable Machinehttps://teachablemachine.withgoogle.com/train/image -
Name each class properly and upload your data.
-
Click train and just wait patiently
mind you this would take a long time depend on your data.
-
Export model to tflite
-
Download the model

-
Unpack the model on assets folder on the root of your flutter project
-
Add this to pubspec.yaml
assets: - assets/model_unquant.tflite - assets/labels.txt
mind you the indentation matter
flutter:
uses-material-design: true
assets:
- assets/model_unquant.tflite
- assets/labels.txt