搜尋套件、儲存庫與 APP 分類

flutter_camera_overlay 封面
套件詳情v0.1.1

flutter_camera_overlay

一個 Flutter 插件,用於新增常見的相機疊加元件,例如身分證、信用卡、文字、提示或自訂元件。

AndroidiOSWeb
近 30 天下載
82
喜歡數
120
Pub 分數
140

安裝套件

flutter pub add flutter_camera_overlay

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 插件,讓開發者能夠在相機預覽上疊加常見的視覺元素——如身分證、信用卡、文字提示或自訂元件。它簡化了引導式相機拍攝介面的建立,非常適合文件掃描、身分驗證和表單輸入工作流程。此插件支援 Android、iOS 和 Web 平台,在各類裝置上提供一致的體驗。設計以簡單為核心,可無縫整合至現有的相機實作中,使用標準 Flutter 小工具。

適用情境

  • 文件掃描
  • 身份驗證
  • 表單數據捕獲
  • 引導式拍照
  • 入職工作流程

主要特色

  • 預建構的疊加元件
  • 自定疊加層支援
  • 跨平台相容性
  • 與相機外掛程式輕鬆整合
  • 響應式設計

適合對象

  • 開發文件捕獲應用的開發者
  • 實施身分驗證的團隊
  • 需要引導式攝像頭輸入的應用
  • 專注於使用者體驗的前端工程師
  • Web 和移動統一解決方案

使用建議

  • 需要相容的相機實作
  • 疊加定位可能需要微調
  • 僅限視覺疊加(無處理)
  • 不是完整的相機解決方案
  • Web 支援取決於瀏覽器功能

原始 README

以下為關聯原始碼儲存庫的 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

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

所屬分類

依賴

依賴清單 2 項

  • camera^0.9.4
  • camera_web^0.2.1+1

原始碼儲存庫

使用此套件的專案

暫無相關資料。