FLUTTER ECOSYSTEM

pytorch_mobile

A flutter plugin for pytorch model inference. Supports image models as well as custom models.

Latest version
0.2.2
30-day downloads
22
Likes
113
Pub points
150

Package Overview

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

Overview

A Flutter plugin enabling PyTorch model inference on mobile devices, supporting both image models and custom-trained models. It allows developers to integrate machine learning capabilities directly into Flutter apps for Android and iOS. The plugin provides a bridge between Dart and PyTorch Mobile, facilitating efficient on-device inference without relying on cloud services. Ideal for real-time processing in applications like object detection, image classification, and custom AI workflows.

Use cases
  • On-device image classification
  • Real-time object detection
  • Custom model deployment in mobile apps
  • Offline AI inference
  • Mobile OCR integration
Key features
  • Supports Android and iOS
  • Integrates with PyTorch Mobile
  • Enables offline inference
  • Handles image and custom models
  • Lightweight and efficient
Suitable for
  • Mobile ML developers
  • App builders needing on-device AI
  • Projects requiring privacy-preserving inference
  • Apps with limited internet access
Considerations
  • Requires model conversion to TorchScript
  • Limited to inference (not training)
  • Model size impacts app bundle
  • Needs platform-specific setup
  • No built-in model management
Supported platformsAndroidiOS

Install package

flutter pub add pytorch_mobile

Categories

Dependencies

Dependency list 2 items

Related projects

No data available yet.