FLUTTER ECOSYSTEM

matwright/flutter_camera_overlay

matwright/flutter_camera_overlay open-source repository details.

flutter_camera_overlay project cover
Stars
16
Forks
38
Last push (UTC)
Jun 29, 2022
Project status
Active
Matthew Wright GitHub avatar
GITHUB User

Matthew Wright ↗

Concepteur-Développeur Web/Mobile Flutter l Firebase | Unity | Web

Campfire DigitalBourg En Bresse, FranceOfficial website ↗
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 5 items
  • flutter{"sdk":"flutter"}
  • camera^0.9.4
  • camera_web^0.2.1+1
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^1.0.0

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

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

https://raw.githubusercontent.com/matwright/flutter_camera_overlay/main/example/flutter_camera_overlay.webp

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