flutter_camera_overlay 0.1.1 copy "flutter_camera_overlay: ^0.1.1" to clipboard
flutter_camera_overlay: ^0.1.1 copied to clipboard

A Flutter plugin to add common camera overlay components such as ID Card, Credit Card, Texts, prompts or custom components.

flutter_camera_overlay #

This package provides a simple camera overlay to aid capture of documents such as national ID cards, passports and driving licenses.

Default ISO Card formats #

https://www.iso.org/standard/70483.html

cardID1 - Most banking cards and ID cards

cardID2 - French and other ID cards. Visas.

cardID3 - United States government ID cards

simID000 - SIM cards

Getting Started #

Import the file.

import 'package:flutter_camera_overlay/flutter_camera_overlay.dart';

Use with default style: #

CameraOverlay(
    snapshot.data!.first,
    CardOverlay.byFormat(format),
    (XFile file) => print(file.path),
    info: 'Position your ID card within the rectangle and ensure the image is perfectly readable.',
    label: 'Scanning ID Card');

TODO #

  • add data capture (card numbers, etc)
  • automatic edge detection & capture
108
likes
140
points
1.91k
downloads

Publisher

verified publishermatwright.dev

Weekly Downloads

A Flutter plugin to add common camera overlay components such as ID Card, Credit Card, Texts, prompts or custom components.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

camera, camera_web, flutter

More

Packages that depend on flutter_camera_overlay