Flutter Gems is a curated list of 6700+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter Machine Learning, OCR and Computer Vision packages
Last updated: January 26, 2025
Machine Learning is a subdomain of artificial intelligence that allows computer systems to learn from data, identify patterns and make predictions without being explicitly programmed. Its most popular application in a Flutter app is for NLP (natural language processing) & Computer Vision.
NLP is a type of machine learning that deals with analyzing, understanding and generating human language. For example, text summarization, translation, etc.
Whereas, Vision or computer vision, is another type of machine learning that deals with analyzing, understanding and interpreting digital images. For example, Optical character recognition (OCR), Face recognition, Pose detection, Object detection, Image to Caption generation, Edge detection, etc.
Tensorflow is one of the most widely used machine learning framework and Flutter supports importing tflite models for Edge inference.
The complete list of Dart and Flutter packages for Machine Learning, Deep Learning, Computer Vision and Tensorflow is provided below.
google_ml_kit
👍 1.09K ⬇️ 11.6K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use all APIs from Google's standalone ML Kit for mobile platforms.
tflite_flutter
👍 770 ⬇️ 15.5K
Dart 3 compatibleMaintenance Status: Good
TensorFlow Lite Flutter plugin provides an easy, flexible, and fast Dart API to integrate TFLite models in flutter apps across mobile and desktop platforms.
tflite
👍 559 ⬇️ 3.1K
Dart 3 compatibleMaintenance Status: Poor
A Flutter plugin for accessing TensorFlow Lite. Supports both iOS and Android.
google_mlkit_text_recognition
👍 297 ⬇️ 68K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use Google's ML Kit Text Recognition to recognize text in any Chinese, Devanagari, Japanese, Korean and Latin character set.
![edge_detection Card Image](/media-cards/edge_detection.png)
edge_detection
👍 294 ⬇️ 7.7K
Dart 3 compatibleMaintenance Status: Average
A flutter plugin to detect edges of objects, scan paper, detect corner, detect rectangle. It allows cropping of the detected object image and returns the path of the cropped image.
google_mlkit_face_detection
👍 248 ⬇️ 41.3K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use Google's ML Kit Face Detection to detect faces in an image, identify key facial features, and get the contours of detected faces.
google_mlkit_commons
👍 25 ⬇️ 184K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin with commons files to implement google's standalone ml kit made for mobile platform.
![flutter_tesseract_ocr Card Image](/media-cards/flutter_tesseract_ocr.png)
flutter_tesseract_ocr
👍 190 ⬇️ 1.5K
Dart 3 compatibleMaintenance Status: Good
Tesseract 4 adds a new neural net (LSTM) based OCR engine which is focused on line recognition. It has unicode (UTF-8) support, and can recognize more than 100 languages.
face_camera
👍 188 ⬇️ 1.8K
Dart 3 compatibleMaintenance Status: Good
A Flutter camera plugin that detects faces in real-time. In addition it can capture automatically once a face is detected, This can be handy while taking a selfie during kyc.
google_ml_vision
👍 132 ⬇️ 473
Dart 3 compatibleMaintenance Status: Poor
Flutter plugin for Google ML Kit on-device vision apis. It includes barcode scanning, image labeling, text recognition and face detection.
ml_algo
👍 114 ⬇️ 506
Dart 3 compatibleMaintenance Status: Good
Machine learning algorithms, Machine learning models performance evaluation functionality
pytorch_mobile
👍 111 ⬇️ 97
Dart 3 compatibleMaintenance Status: Poor
A flutter plugin for pytorch model inference. Supports image models as well as custom models.
![flutter_scalable_ocr Card Image](/media-cards/flutter_scalable_ocr.png)
flutter_scalable_ocr
👍 106 ⬇️ 1.1K
Dart 3 compatibleMaintenance Status: Good
Flutter scalable OCR package is a wrapper around google_mlkit_text_recognition where you can partialy select part of camera which text will be processed of.
flutter_camera_ml_vision
👍 106 ⬇️ 136
Dart 3 compatibleMaintenance Status: Poor
A flutter widget that show the camera stream and allow ML vision recognition on it, it allow you to detect barcodes, labels, text, faces...
![flutter_vision Card Image](/media-cards/flutter_vision.png)
flutter_vision
👍 96 ⬇️ 395
Dart 3 compatibleMaintenance Status: Average
Plugin for managing Yolov5, Yolov8 and Tesseract v5 accessing with TensorFlow Lite 2.x. Support object detection, segmentation and OCR on Android. iOS, Working in progress.
opencv_dart
👍 87 ⬇️ 1.5K
Dart 3 compatibleMaintenance Status: Good
OpenCV4 bindings for Flutter, using dart:ffi. This plugin include `videoio` module, if you don't need it, please use `opencv_core` instead.
google_mlkit_object_detection
👍 68 ⬇️ 11.8K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use Google's ML Kit Object Detection and Tracking to detect and track objects in an image or live camera feed.
flutter_face_api
👍 72 ⬇️ 3.7K
Dart 3 compatibleMaintenance Status: Good
This is a flutter module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera. Supports Android and iOS.
google_mlkit_pose_detection
👍 59 ⬇️ 11.2K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use Google's ML Kit Pose Detection to detect the pose of a subject's body in real time from a continuous video or static image.
tflite_audio
👍 68 ⬇️ 161
Dart 3 compatibleMaintenance Status: Poor
Audio classification Tflite package for flutter (iOS & Android). Can support Google Teachable Machine models.
google_mlkit_image_labeling
👍 51 ⬇️ 11.7K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use Google's ML Kit Image Labeling to detect and extract information about entities in an image across a broad group of categories.
google_mlkit_translation
👍 49 ⬇️ 13K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use Google's ML Kit On-Device Translation to dynamically translate text between more than 50 languages.
learning
👍 57 ⬇️ 70
Dart 3 compatibleMaintenance Status: Poor
The easy way to use Machine Learning Kit (Vision & NLP) in Flutter.
onnxruntime
👍 48 ⬇️ 1.5K
Dart 3 compatibleMaintenance Status: Good
Flutter plugin for OnnxRuntime provides an easy, flexible, and fast Dart API to integrate Onnx models in flutter apps across mobile and desktop platforms.
flutter_mobile_vision_2
👍 49 ⬇️ 184
Dart 3 compatibleMaintenance Status: Poor
Flutter implementation for Google Mobile Vision. Scan Barcodes, Recognize Text and Detect Faces.
flutter_tflite
👍 48 ⬇️ 520
Dart 3 compatibleMaintenance Status: Poor
A Flutter plugin for accessing TensorFlow Lite. Supports both iOS and Android.
![pytorch_lite Card Image](/media-cards/pytorch_lite.png)
pytorch_lite
👍 47 ⬇️ 892
Dart 3 compatibleMaintenance Status: Good
Flutter package to help run pytorch lite models classification and yolov5 and yolov8
flutter_face_api_beta
👍 44 ⬇️ 324
Dart 3 compatibleMaintenance Status: Good
This is a flutter module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera. Supports Android and iOS.
flutter_piano_audio_detection
👍 43 ⬇️ 22
Dart 3 compatibleMaintenance Status: Poor
Flutter plug-in for Piano Audio Detection. Can recognize the piano sound in real time using Google Magenta tflite model.
body_detection
👍 41 ⬇️ 32
Dart 3 compatibleMaintenance Status: Poor
A flutter plugin that uses MLKit on iOS/Android platforms to enable body pose and mask detection using Pose Detection and Selfie Segmentation APIs for both static images and live camera stream.
flutter_nanonets_ocr
👍 40 ⬇️ 48
Dart 3 compatibleMaintenance Status: Good
A package for using Nanonets OCR api calls easily in the flutter application without having to write long code to implement it manually.
google_mlkit_digital_ink_recognition
👍 23 ⬇️ 12.7K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use Google's ML Kit Digital Ink Recognition to recognize handwritten text on a digital surface in hundreds of languages, as well as classify sketches.
google_vision
👍 38 ⬇️ 58
Dart 3 compatibleMaintenance Status: Good
Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications.
google_mlkit_selfie_segmentation
👍 26 ⬇️ 10K
Dart 3 compatibleMaintenance Status: Good
Flutter plugin to use Google's ML Kit Selfie Segmentation API to easily separate the background from users within a scene and focus on what matters.
learning_text_recognition
👍 37 ⬇️ 139
Dart 3 compatibleMaintenance Status: Poor
The easy way to use ML Kit for text recognition in Flutter.
livelyness_detection
👍 37 ⬇️ 0
Dart 3 compatibleMaintenance Status: Good
A single function package to detect weather the face visible in the camera is a live face or not.
dart_sentiment
👍 35 ⬇️ 73
Dart 3 compatibleMaintenance Status: Poor
Dart Sentiment is a dart module that uses the AFINN-165 wordlist and Emoji Sentiment Ranking to perform sentiment analysis on arbitrary blocks of input text.
google_mlkit_language_id
👍 20 ⬇️ 11.8K
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin to use Google's ML Kit Language Identification to determine the language of a string of text.
eneural_net
👍 33 ⬇️ 33
Dart 3 compatibleMaintenance Status: Average
AI Library to create efficient Artificial Neural Networks. Computation uses SIMD (Single Instruction Multiple Data) to improve performance.
learning_face_detection
👍 31 ⬇️ 140
Dart 3 compatibleMaintenance Status: Poor
The easy way to use ML Kit for face detection in Flutter.
![ocr_scan_text Card Image](/media-cards/ocr_scan_text.png)
ocr_scan_text
👍 30 ⬇️ 355
Dart 3 compatibleMaintenance Status: Average
OCR Scan Text is a wrapper around the "Google ML kit Text Recognition" library.
mnc_identifier_face
👍 29 ⬇️ 171
Dart 3 compatibleMaintenance Status: Average
MNC liveness detection flutter plugin
learning_digital_ink_recognition
👍 29 ⬇️ 63
Dart 3 compatibleMaintenance Status: Poor
The easy way to use ML Kit for digital ink recognition in Flutter.
![mnc_identifier_ocr Card Image](/media-cards/mnc_identifier_ocr.png)
mnc_identifier_ocr
👍 28 ⬇️ 64
Dart 3 compatibleMaintenance Status: Average
MNC Flutter plugin KTP scanner for iOS and Android.
face_sdk_3divi
👍 27 ⬇️ 211
Dart 3 compatibleMaintenance Status: Good
3DiVi Face SDK plugin. Implements Face Recognition, Face Detection and Face Keypoints Detection.
flutter_mediapipe
👍 26 ⬇️ 468
Dart 3 compatibleMaintenance Status: Poor
The flutter mediapipe plugin project.
firebase_ml_model_downloader
👍 23 ⬇️ 392
Dart 3 compatibleMaintenance Status: Good
A Flutter plugin allowing you to use Firebase Ml Model Downloader.
tensorflow_lite_flutter
👍 22 ⬇️ 157
Dart 3 compatibleMaintenance Status: Average
A Flutter plugin for accessing TensorFlow Lite. Supports both iOS and Android.
tflite_v2
👍 19 ⬇️ 554
Dart 3 compatibleMaintenance Status: Average
A Flutter plugin for accessing TensorFlow Lite, fixed android embedding v2 error. Supports both iOS and Android.
huawei_ml_body
👍 19 ⬇️ 1
Dart 3 compatibleMaintenance Status: Good
Huawei ML Kit Body Plugin for Flutter. Provides capabilities like face recognition, liveness & skeleton detection.
sentiment_dart
👍 18 ⬇️ 807
Dart 3 compatibleMaintenance Status: Poor
Sentiment Dart is a dart module that uses the AFINN-165 wordlist to perform sentiment analysis on arbitrary blocks of text
flutter_pixelmatching
👍 18 ⬇️ 135
Dart 3 compatibleMaintenance Status: Good
Module to perform feature matching using OpenCV
nsfw_detector_flutter
👍 8 ⬇️ 259
Dart 3 compatibleMaintenance Status: Good
A Flutter package to detect NSFW (Not Safe For Work / NUDE / adults) content and classify SAFE content without requiring assets. Easily integrate NSFW detection into your app.
huawei_ml_text
👍 8 ⬇️ 1
Dart 3 compatibleMaintenance Status: Good
Huawei ML Kit Text Plugin for Flutter. Provides capabilities like Text, document, id, bank card, general card & form recognition.
huawei_ml_image
👍 7 ⬇️ 2
Dart 3 compatibleMaintenance Status: Good
Huawei ML Kit Image Plugin for Flutter. Provides capabilities like image classification, object detection and image super resolution.
![sphinx_verify Card Image](/media-cards/sphinx_verify.png)
sphinx_verify
👍 2 ⬇️ 58
Dart 3 compatibleMaintenance Status: Good
Sphinx Verify is a Flutter package that amis to provider a interface to amazon recognition service. with built-in use cases.
tesseract_ocr
👍 79 ⬇️ 56
Maintenance Status: Poor
Tesseract 4 adds a new neural net (LSTM) based OCR engine which is focused on line recognition. It has unicode (UTF-8) support, and can recognize more than 100 languages.
firebase_ml_custom
👍 45 ⬇️ 12
Maintenance Status: Poor
Flutter plugin for Firebase Machine Learning Custom Model support.
firebase_livestream_ml_vision
👍 29 ⬇️ 30
Maintenance Status: Poor
Flutter plugin for Firebase MLVision with Live Camera
firebase_mlkit_language
👍 28 ⬇️ 37
Maintenance Status: Poor
Firebase ML Kit Language Plugin for Flutter, enables Language Detection and Translation between 59 Languages