v0.1.1flutter_camera_overlay
IDカード、クレジットカード、テキスト、プロンプト、またはカスタムコンポーネントなどの一般的なカメラオーバーレイコンポーネントを追加するためのFlutterプラグインです。
120いいね 10230日間ダウンロード140Pub ポイント
AndroidiOSWeb
matwright/flutter_camera_overlay open-source repository details.
{"sdk":"flutter"}^0.9.4^0.2.1+1{"sdk":"flutter"}^1.0.0以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
This package provides a simple camera overlay to aid capture of documents such as national ID cards, passports and driving licenses.
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.webpImport the file.
import 'package:flutter_camera_overlay/flutter_camera_overlay.dart';
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');