machine-learning

Integrate TensorFlow Lite and Firebase ML Kit into Flutter applications.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/vertivolatam/monorepo --skill machine-learning-vertivolatam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: machine-learning
Source: https://github.com/vertivolatam/monorepo/tree/main/skills/flutter/machine-learning
Command: npx skills add https://github.com/vertivolatam/monorepo --skill machine-learning-vertivolatam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tflite_flutter, tflite_flutter_helper, firebase_ml_model_downloader, google_mlkit_text_recognition, google_mlkit_face_detection, google_mlkit_barcode_scanning, google_mlkit_object_detection, image_picker, image, camera, and includes scripts (resource) components.

What problem does it solve?

This Skill integrates advanced machine learning functionalities directly into Flutter applications, enabling features like image recognition, object detection, and text analysis without requiring deep ML expertise.

Core Features & Use Cases

  • On-Device ML: Utilizes TensorFlow Lite for efficient, offline inference.
  • Pre-trained Models: Supports common tasks like image classification and object detection out-of-the-box.
  • Custom Model Deployment: Allows integration of custom TFLite models for specialized needs.
  • Firebase ML Integration: Leverages Firebase for model management and cloud-based ML services.
  • Use Case: A retail app could use this skill to allow users to take a photo of a product and instantly identify it, find similar items, and display product details.

Quick Start

Use the machine-learning skill to classify an image using a TFLite model.

Frequently Asked Questions about machine-learning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate TensorFlow Lite models into a Flutter app for on-device inference?

Integrating TensorFlow Lite into Flutter involves using the tflite_flutter and tflite_flutter_helper packages to execute on-device inference. This approach supports offline image classification and object detection efficiently within the application.

Can I use Firebase ML Kit for text recognition and face detection in Flutter?

Yes, Firebase ML Kit supports text recognition, face detection, and barcode scanning in Flutter via the google_mlkit SDKs. These pre-trained models provide out-of-the-box functionality for analyzing images without needing custom training data.

What's the best way to deploy a custom TFLite model in a Flutter application?

The best way to deploy a custom TFLite model in Flutter is by using the firebase_ml_model_downloader to manage and fetch models dynamically. This integrates seamlessly with tflite_flutter to run your specialized machine learning inference tasks.

Does Google ML Kit object detection work offline in Flutter apps?

Google ML Kit object detection operates entirely on-device in Flutter, ensuring offline functionality and low latency. It leverages the google_mlkit_object_detection SDK to identify objects within images captured via the camera or image_picker.

Do I need Firebase for ML model management in a Flutter machine learning app?

Firebase is not strictly required for on-device models using tflite_flutter, but firebase_ml_model_downloader provides robust cloud-based model management. It allows you to dynamically update and download custom TFLite models without app store releases.