flutter_vision_ocr 0.0.2 copy "flutter_vision_ocr: ^0.0.2" to clipboard
flutter_vision_ocr: ^0.0.2 copied to clipboard

A flutter plugin to provide ocr with realtime images

flutter_vision_ocr #

Flutter Vision OCR

Overview #

The flutter_vision_ocr plugin is a Flutter package that provides OCR (Optical Character Recognition) capabilities using the Vision API. This plugin allows you to extract text from images and perform various OCR-related tasks in your Flutter applications.

Features #

  • Extract text from images using OCR.
  • Detect and recognize text in real-time using the device's camera.
  • Configurable OCR settings and options.
  • Cross-platform support for Android and iOS.

Installation #

To use this plugin, add flutter_vision_ocr as a dependency in your pubspec.yaml file:

dependencies:
  flutter_vision_ocr: ^1.0.0

Then, run the following command to fetch the dependencies:

$ flutter pub get

Usage #

Import the package in your Dart file:

import 'package:flutter_vision_ocr/flutter_vision_ocr.dart';

Extracting Text from Images #

To extract text from an image, use the FlutterVisionOCR.extractTextFromImage method. This method takes an image file or image path as input and returns the extracted text as a String.

4
likes
140
pub points
50%
popularity

Publisher

unverified uploader

A flutter plugin to provide ocr with realtime images

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_vision_ocr