登录 注册
数据分析与数据处理
1,179
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Dart
语言
—
创建时间
最近更新

项目能做什么

通用 Flutter 条码与二维码扫描插件,支持 Android、iOS、macOS 及 Web。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# mobile_scanner

[![Pub Version](https://img.shields.io/pub/v/mobile_scanner.svg)](https://pub.dev/packages/mobile_scanner)
[![Pub Version Prerelease](https://img.shields.io/pub/v/mobile_scanner.svg?include_prereleases)](https://pub.dev/packages/mobile_scanner)
[![Build Status](https://github.com/juliansteenbakker/mobile_scanner/actions/workflows/code-coverage.yml/badge.svg)](https://github.com/juliansteenbakker/mobile_scanner/actions/workflows/code-coverage.yml)
[![Style: Very Good Analysis](https://img.shields.io/badge/style-very_good_analysis-B22C89.svg)](https://pub.dev/packages/very_good_analysis)
[![Codecov](https://codecov.io/gh/juliansteenbakker/mobile_scanner/graph/badge.svg?token=RGE4XVOGJ5)](https://codecov.io/gh/juliansteenbakker/mobile_scanner)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/juliansteenbakker)](https://github.com/sponsors/juliansteenbakker)

A fast and lightweight Flutter plugin for scanning barcodes and QR codes using the device’s camera. It supports multiple barcode formats, real-time detection, and customization options for an optimized scanning experience on multiple platforms.

## Features

- Fast barcode and QR code scanning
- Supports multiple barcode formats
- Real-time detection
- Customizable camera and scanner behavior

See the [examples](example/README.md) for runnable examples of various usages, such as the basic usage, applying a scan window, or retrieving images from the barcodes.

## Platform Support

| Android | iOS | macOS | Web | Linux | Windows |
|---------|-----|-------|-----|-------|---------|
| ✔       | ✔   | ✔     | ✔   | :x:   | :x:     |

### Features Supported

See the example app for detailed implementation information.

| Features     | Android            | iOS                | macOS              | Web |
|--------------|--------------------|--------------------|--------------------|-----|
| analyzeImage | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: |
| returnImage  | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: |
| scanWindow   | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: |
| autoZoom     | :heavy_check_mark: | :x:                | :x:                | :x: |
| autoTorch    | :heavy_check_mark: (requires a light sensor) | :heavy_check_mark: | :heavy_check_mark: | :x: |
| lensType     | :heavy_check_mark: | :heavy_check_mark: | :x:                | :x: |
| getSupportedLenses(facing:) | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: |
| getBestCloseRangeScanningLens | :heavy_check_mark: (always normal) | :heavy_check_mark: (requires iOS 15, falls back to normal) | :x: (always normal) | :x: (always normal) |

### Querying supported lens types with facing filter

Use `getSupportedLenses()` to query which lens types the device has. Pass an optional `facing` parameter to restrict results to cameras on one side:

```dart
// All cameras (back + front)
final Set<CameraLensType> allLenses = await controller.getSup
阅读完整原文

项目深度分析 AI 生成

Flutter 高级扫码与工业扫码增强 SDK (Commercial Extension)

产品构想基于开源核心,提供面向仓储物流、零售巡检的企业级扩展包,提供更强的数据解析(如 GS1、PDF417 批量解码、连续高速扫描去重、破损码补偿算法等)
核心功能高速连扫与防抖去重算法、多条码同时捕获模式、离线破损/反光条码优化处理、GS1/标准工业码解析器
目标用户仓储物流、资产盘点、移动零售行业的 Flutter 开发团队
难度/周期高 · 2-3个月 · 成本:极低(主要是算法研究与多机型真机测试成本)
收费模式商业授权(按应用包名付费或年订阅许可证)
竞争风险开源底层基于系统自带 ML Kit/Vision,核心识别上限受限于底层系统能力,需集成 C++ 图像预处理库可能增加维护成本
依据 已验证事实(README显示支持基础格式但缺少高级工业特性如多码连扫和高级码制优化)

即插即用型商用扫码 UI 模板与完整方案包 (Mobile Scanner Pro UI)

产品构想封装包含权限处理、扫码框动画、闪光灯自动切换提示、相册识别、历史记录和声音震动反馈的开箱即用商用 UI 套件
核心功能自适应扫码框、暗光自动提醒开启手电筒、相册图片选码与裁剪解析、完备的权限引导交互、多套企业级视觉样式
目标用户中小型项目独立开发者、外包团队、快速交付业务线的商业公司
难度/周期低 · 2-4周 · 成本:极低(纯前端 Flutter UI 及交互逻辑封装)
收费模式在 Gumroad/FlutterFlow 市场或自建站点以单次购买源码许可模式售卖($29 - $79)
竞争风险技术壁垒较低,容易被社区开发者仿制或由开源社区直接贡献UI示例
依据 AI推测

企业级平台补全与定制适配服务 (Desktop & Embedded Support)

产品构想针对企业在 Windows/Linux 扫码枪设备、车载平板或工业 PDA 上的特殊需求,提供定制驱动对接与平台扩展维护服务
核心功能扩展 Windows/Linux 桌面端支持、外接扫码硬件(如斑马 PDA、工业红外镜头)定制桥接、CameraX 深度参数适配
目标用户工业物联网设备制造商、智慧零售硬件集成商、桌面收银系统开发者
难度/周期中等 · 1-2个月 · 成本:低(需采购特定工业硬件或桌面测试设备)
收费模式技术咨询、企业定制开发费与年度 SLA 维护合同
竞争风险受众市场偏小众,商务拓展周期长,硬件碎片化严重导致测试维护成本上升
依据 已验证事实(README表格明确显示 Linux 和 Windows 尚不支持 :x:)
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建时间待补全,最近推送 ,发布过 84 个 Release
社区活跃Star 1,179 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。