v0.1.1flutter_camera_overlay
아이디 카드, 신용 카드, 텍스트, 프롬프트 또는 사용자 정의 컴포넌트와 같은 일반적인 카메라 오버레이 구성 요소를 추가하는 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');