JsqrcodeSample
安卓手机,js调用系统摄像头扫码二维码并识别,推荐火狐以及谷歌浏览器
Install / Use
/learn @xcyxiner/JsqrcodeSampleREADME
jsqrcodeSample
安卓手机,js调用系统摄像头扫码二维码并识别,推荐火狐以及谷歌浏览器(只测试了火狐)
参考链接
- web/html5调用摄像头实现二维码扫描
- JS调用安卓手机摄像头扫描二维码并用JS解析二维码
- LazarSoft/jsqrcode
- H5混合开发二维码扫描以及调用本地摄像头
- 草料二维码
- 使用Nodejs快速搭建一个的本地静态文件服务器
前置条件
- 需要安装 node
关于运行
npm install
node server.js
- 或者执行脚本1.sh
sh 1.sh
示例二维码以及扫码后的截屏见screen_shot目录
目录结构
├── 1.sh
├── README.md
├── node_modules
│ ├── connect
│ ├── debug
│ ├── depd
│ ├── destroy
│ ├── ee-first
│ ├── encodeurl
│ ├── escape-html
│ ├── etag
│ ├── finalhandler
│ ├── fresh
│ ├── http-errors
│ ├── inherits
│ ├── mime
│ ├── ms
│ ├── on-finished
│ ├── parseurl
│ ├── path
│ ├── process
│ ├── range-parser
│ ├── send
│ ├── serve-static
│ ├── setprototypeof
│ ├── statuses
│ ├── unpipe
│ ├── util
│ └── utils-merge
├── package-lock.json
├── package.json
├── public
│ ├── index.html
│ ├── js
│ └── jsqrcode
├── screen_shot
│ ├── hellokitty.png
│ └── 截图.jpeg
└── server.js
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
