Skip to content
pubscout

text_sight

1.0.0, released 2 months ago by an unverified publisher

Live, on-device text recognition for Flutter using Apple Vision on iOS and ML Kit on Android.

WASM-ready
$ flutter pub add text_sight
Source repository

What it does

Performs fast, on-device optical character recognition (OCR) via a live camera view or from static images. It integrates Apple Vision natively on iOS without adding third-party ML frameworks, while using ML Kit with an on-demand model download on Android.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need real-time OCR or text scanning within a live Flutter camera preview.
  • You want to avoid bundling heavy third-party ML frameworks into your iOS application build.
  • You need to extract text from a single image file or byte array without using a camera.

Skip it when

  • You need to scan barcodes or QR codes instead of text.
  • You are targeting Android devices that do not support Latin script text recognition.

Strengths

  • Uses native Apple Vision on iOS, keeping app builds lighter.
  • Unbundled Android ML Kit model by default to keep initial APK size small.
  • Provides normalized bounding boxes across both platforms so layout code does not branch on platform.

Weaknesses

  • Android text recognition is currently restricted to Latin script only.
  • Live scanning requires a physical device because the iOS Simulator lacks a camera.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
3

Requires adding the NSCameraUsageDescription permission string to ios/Runner/Info.plist for iOS camera access.

final controller = TextSightController();

TextSightView(
  controller: controller,
  onResult: (capture) => capture.lines.forEach((line) => print(line.text)),
);

await controller.requestCameraPermission();
await controller.start();

Alternatives

Packages that do the same job and could replace text_sight.

Works with

Packages commonly used together with text_sight: ones it builds on, ones built on it, and its own family.