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: May 12, 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 👍 949
Maintenance Status: Good

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

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

edge_detection Card Image
edge_detection
Dart 3 compatible 👍 260
Maintenance Status: Good

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_text_recognition
Dart 3 compatible 👍 219
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 👍 173
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.

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

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

ml_algo
Dart 3 compatible 👍 104
Maintenance Status: Good

Machine learning algorithms, Machine learning models performance evaluation functionality

flutter_vision Card Image
flutter_vision
Dart 3 compatible 👍 74
Maintenance Status: Good

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

flutter_face_api
Dart 3 compatible 👍 52
Maintenance Status: Good

This is a flutter module for compairing faces using phone`s camera.

google_mlkit_object_detection
Dart 3 compatible 👍 50
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 👍 45
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.

flutter_face_api_beta
Dart 3 compatible 👍 40
Maintenance Status: Good

This is a flutter module for compairing faces using phone`s camera.

flutter_nanonets_ocr
Dart 3 compatible 👍 38
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_mlkit_image_labeling
Dart 3 compatible 👍 37
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 👍 36
Maintenance Status: Good

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

eneural_net
Dart 3 compatible 👍 33
Maintenance Status: Good

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

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

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

google_vision
Dart 3 compatible 👍 31
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.

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

mnc_identifier_ocr Card Image
mnc_identifier_ocr
Dart 3 compatible 👍 23
Maintenance Status: Good

MNC Flutter plugin KTP scanner for iOS and Android.

flutter_nude_detector
Dart 3 compatible 👍 23
Maintenance Status: Good

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

huawei_ml_body
Dart 3 compatible 👍 15
Maintenance Status: Good

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

firebase_ml_model_downloader
Dart 3 compatible 👍 15
Maintenance Status: Good

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

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.

huawei_ml_image
Dart 3 compatible 👍 7
Maintenance Status: Good

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

google_ml_vision
Dart 3 compatible 👍 122
Maintenance Status: Average

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

pytorch_mobile
Dart 3 compatible 👍 101
Maintenance Status: Average

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

flutter_mobile_vision_2
Dart 3 compatible 👍 46
Maintenance Status: Average

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

flutter_tflite
Dart 3 compatible 👍 43
Maintenance Status: Average

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

m7_livelyness_detection
Dart 3 compatible 👍 37
Maintenance Status: Average

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

tflite
Dart 3 compatible 👍 544
Maintenance Status: Poor

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

flutter_camera_ml_vision
Dart 3 compatible 👍 104
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 👍 66
Maintenance Status: Poor

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

learning
Dart 3 compatible 👍 56
Maintenance Status: Poor

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

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

flutter_piano_audio_detection
Dart 3 compatible 👍 38
Maintenance Status: Poor

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

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 👍 34
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 👍 30
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 👍 22
Maintenance Status: Poor

The flutter mediapipe plugin project.

sentiment_dart
Dart 3 compatible 👍 17
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
👍 43
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