FLUTTER ECOSYSTEM

tflite

A Flutter plugin for accessing TensorFlow Lite. Supports both iOS and Android.

Latest version
1.1.2
30-day downloads
353
Likes
565
Pub points
130

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

tflite is a Flutter plugin that enables integration of TensorFlow Lite for on-device machine learning inference. It supports both Android and iOS platforms, allowing developers to run lightweight ML models directly on mobile devices. Ideal for tasks like image classification, object detection, and real-time processing, it provides a straightforward API to load and execute models efficiently. The plugin is maintained by the community and offers seamless access to TensorFlow Lite's capabilities within Flutter applications.

Use cases
  • Image classification
  • Object detection
  • Real-time inference
  • On-device AI processing
  • Mobile OCR
Key features
  • Cross-platform support (Android & iOS)
  • Lightweight model execution
  • Simple API for model loading
  • Supports various TensorFlow Lite models
  • Efficient on-device inference
Suitable for
  • Mobile apps with AI features
  • Computer vision projects
  • Offline machine learning
  • Educational ML demos
  • Performance-sensitive applications
Considerations
  • Requires model conversion to TensorFlow Lite format
  • Limited to inference (not training)
  • Model size impacts app bundle size
  • May need optimization for low-end devices
  • No built-in model management tools
Supported platformsAndroidiOS

Install package

flutter pub add tflite

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects