A simple olive fruit counter app powered by a TFLite model.
- Take a photo with your camera or select an image from your gallery.
- The app will automatically detect and count the number of olives in the image.
- The result is displayed on a separate screen, with bounding boxes around the detected olives.
- Load the model: When you open the app, it will automatically load the TFLite model. Wait for the "Model loaded successfully" message to appear.
- Choose an image:
- Tap the "Take Photo" button to open the camera and take a picture of the olives.
- Tap the "Choose from Gallery" button to select an existing image of olives from your device.
- View the results: The app will process the image and display the total number of olives detected, with bounding boxes drawn around each olive.
To build and run this project, you will need to have the Flutter SDK installed.
-
Clone the repository:
git clone https://github.com/sgkouzias/olive_counter.git
-
Navigate to the project directory:
cd olive_counter -
Install the dependencies:
flutter pub get
-
Run the app:
flutter run