Flutter Gems is a curated list of 6000+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn Twitter

Top Flutter Machine Learning, OCR and Computer Vision packages

Last updated: November 15, 2024

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
Dart 3 compatible 👍 1.05K
Maintenance Status: Good

A Flutter plugin to use all APIs from Google's standalone ML Kit for mobile platforms.

tflite_flutter
Dart 3 compatible 👍 734
Maintenance 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.

google_mlkit_text_recognition
Dart 3 compatible 👍 268
Maintenance 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.

google_mlkit_face_detection
Dart 3 compatible 👍 233
Maintenance 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.

face_camera
Dart 3 compatible 👍 180
Maintenance 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.

flutter_tesseract_ocr Card Image
flutter_tesseract_ocr
Dart 3 compatible 👍 179
Maintenance 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.

ml_algo
Dart 3 compatible 👍 111
Maintenance Status: Good

Machine learning algorithms, Machine learning models performance evaluation functionality

flutter_scalable_ocr Card Image
flutter_scalable_ocr
Dart 3 compatible 👍 99
Maintenance 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.

opencv_dart
Dart 3 compatible 👍 70
Maintenance 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.

flutter_face_api
Dart 3 compatible 👍 69
Maintenance 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_object_detection
Dart 3 compatible 👍 64
Maintenance 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.

google_mlkit_pose_detection
Dart 3 compatible 👍 55
Maintenance 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.

google_mlkit_image_labeling
Dart 3 compatible 👍 47
Maintenance 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
Dart 3 compatible 👍 45
Maintenance Status: Good

A Flutter plugin to use Google's ML Kit On-Device Translation to dynamically translate text between more than 50 languages.

flutter_face_api_beta
Dart 3 compatible 👍 44
Maintenance 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.

onnxruntime
Dart 3 compatible 👍 41
Maintenance 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.

pytorch_lite Card Image
pytorch_lite
Dart 3 compatible 👍 40
Maintenance Status: Good

Flutter package to help run pytorch lite models classification and yolov5 and yolov8

flutter_nanonets_ocr
Dart 3 compatible 👍 39
Maintenance 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_vision
Dart 3 compatible 👍 36
Maintenance 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.

livelyness_detection
Dart 3 compatible 👍 34
Maintenance Status: Good

A single function package to detect weather the face visible in the camera is a live face or not.

firebase_ml_model_downloader
Dart 3 compatible 👍 23
Maintenance Status: Good

A Flutter plugin allowing you to use Firebase Ml Model Downloader.

huawei_ml_body
Dart 3 compatible 👍 18
Maintenance Status: Good

Huawei ML Kit Body Plugin for Flutter. Provides capabilities like face recognition, liveness & skeleton detection.

huawei_ml_text
Dart 3 compatible 👍 8
Maintenance Status: Good

Huawei ML Kit Text Plugin for Flutter. Provides capabilities like Text, document, id, bank card, general card & form recognition.

sphinx_verify Card Image
sphinx_verify
Dart 3 compatible 👍 2
Maintenance Status: Good

Sphinx Verify is a Flutter package that amis to provider a interface to amazon recognition service. with built-in use cases.

edge_detection Card Image
edge_detection
Dart 3 compatible 👍 287
Maintenance 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_ml_vision
Dart 3 compatible 👍 128
Maintenance Status: Average

Flutter plugin for Google ML Kit on-device vision apis. It includes barcode scanning, image labeling, text recognition and face detection.

flutter_vision Card Image
flutter_vision
Dart 3 compatible 👍 90
Maintenance 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.

flutter_mobile_vision_2
Dart 3 compatible 👍 49
Maintenance Status: Average

Flutter implementation for Google Mobile Vision. Scan Barcodes, Recognize Text and Detect Faces.

eneural_net
Dart 3 compatible 👍 33
Maintenance Status: Average

AI Library to create efficient Artificial Neural Networks. Computation uses SIMD (Single Instruction Multiple Data) to improve performance.

flutter_nude_detector
Dart 3 compatible 👍 29
Maintenance Status: Average

Detect explicit content in images easily with flutter_nude_detector, a powerful Flutter package leveraging advanced machine learning for safer user experience.

mnc_identifier_ocr Card Image
mnc_identifier_ocr
Dart 3 compatible 👍 28
Maintenance Status: Average

MNC Flutter plugin KTP scanner for iOS and Android.

huawei_ml_image
Dart 3 compatible 👍 7
Maintenance Status: Average

Huawei ML Kit Image Plugin for Flutter. Provides capabilities like image classification, object detection and image super resolution.

tflite
Dart 3 compatible 👍 555
Maintenance Status: Poor

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

pytorch_mobile
Dart 3 compatible 👍 109
Maintenance Status: Poor

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

flutter_camera_ml_vision
Dart 3 compatible 👍 106
Maintenance 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...

tflite_audio
Dart 3 compatible 👍 68
Maintenance Status: Poor

Audio classification Tflite package for flutter (iOS & Android). Can support Google Teachable Machine models.

learning
Dart 3 compatible 👍 57
Maintenance Status: Poor

The easy way to use Machine Learning Kit (Vision & NLP) in Flutter.

flutter_tflite
Dart 3 compatible 👍 47
Maintenance Status: Poor

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

flutter_piano_audio_detection
Dart 3 compatible 👍 41
Maintenance Status: Poor

Flutter plug-in for Piano Audio Detection. Can recognize the piano sound in real time using Google Magenta tflite model.

body_detection
Dart 3 compatible 👍 41
Maintenance 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.

learning_text_recognition
Dart 3 compatible 👍 37
Maintenance Status: Poor

The easy way to use ML Kit for text recognition in Flutter.

dart_sentiment
Dart 3 compatible 👍 35
Maintenance 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.

learning_face_detection
Dart 3 compatible 👍 31
Maintenance Status: Poor

The easy way to use ML Kit for face detection in Flutter.

learning_digital_ink_recognition
Dart 3 compatible 👍 29
Maintenance Status: Poor

The easy way to use ML Kit for digital ink recognition in Flutter.

flutter_mediapipe
Dart 3 compatible 👍 26
Maintenance Status: Poor

The flutter mediapipe plugin project.

sentiment_dart
Dart 3 compatible 👍 18
Maintenance Status: Poor

Sentiment Dart is a dart module that uses the AFINN-165 wordlist to perform sentiment analysis on arbitrary blocks of text

tesseract_ocr
👍 79
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
👍 44
Maintenance Status: Poor

Flutter plugin for Firebase Machine Learning Custom Model support.

firebase_livestream_ml_vision
👍 29
Maintenance Status: Poor

Flutter plugin for Firebase MLVision with Live Camera

firebase_mlkit_language
👍 28
Maintenance Status: Poor

Firebase ML Kit Language Plugin for Flutter, enables Language Detection and Translation between 59 Languages