A Flutter application demonstrating object detection using TensorFlow Lite via the tflite_flutter
package. This app features:
- Live Object Detection using the device camera
- Network Image Detection utilizing Unsplash API
- Gallery Photo Detection from the device's photo library
- Real-time object detection through the camera
- Detect objects in images fetched from the Unsplash API
- Detect objects in images selected from the device gallery
-
Clone the Repository:
git clone https://github.com/dhyash-simform/object_detection.git cd object_detection
-
Install Dependencies:
flutter pub get
-
Add Unsplash API Key:
- Sign up at Unsplash Developers to get your API key.
- Open
lib/services/api_service_type.dart
. - Locate the headers parameter and replace
YOUR_API_KEY
with your actual API key:headers: { 'Authorization': 'Client-ID YOUR_API_KEY', }
-
Run the App:
flutter run
A Flutter plugin for TensorFlow Lite that allows running machine learning models directly on mobile devices with efficient performance.
A pure Dart library for decoding, encoding, and processing image files. It supports a wide range of image formats and manipulation features.
A Flutter plugin that provides an easy way to pick images and videos from the device's gallery or camera.
A Flutter plugin to access and control the device's cameras. It enables capturing photos, recording videos, and implementing real-time camera previews.
A type-safe HTTP client generator for Dart inspired by Square's Retrofit library for Android. It simplifies API calls using annotations.
Provides annotations to support JSON serialization and deserialization in Dart. Often used with json_serializable
for automated code generation.
A powerful HTTP client for Dart, featuring interceptors, request cancellation, form data handling, file downloading, and more.
A state-management library that makes state observable and reactive in Flutter apps. It enables efficient UI updates based on data changes.
A Flutter integration library for MobX, allowing easy reactive state management with Observer
widgets to rebuild UI efficiently.
A popular state-management solution in Flutter. It offers a simple and efficient way to manage and propagate app state.
A Flutter library to render SVG (Scalable Vector Graphics) files directly in the app. Useful for displaying vector images with high scalability.
Live Object Detection | Network Image Object Detection | Gallery Image Object Detection |
---|---|---|
![]() |
![]() |
![]() |
This project is licensed under the MIT License - see the LICENSE file for details.h