flutter_camera_overlay 0.1.0 flutter_camera_overlay: ^0.1.0 copied to clipboard
A Flutter plugin to add common camera overlay components such as ID Card, Credit Card, Texts, prompts or custom components.
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 #
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.
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');
- add data capture (card numbers, etc)
- automatic edge detection & capture