Skip to content

树莓派+摄像头模块+支付宝当面付=扫码枪

Notifications You must be signed in to change notification settings

yumusb/scan2pay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

scan2pay

介绍

本项目代码是利用树莓派+摄像头模块+支付宝当面付来实现扫码枪功能。

演示截图:

演示截图

本文基本上是对支付宝SDK和其他模块demo的拼合,仅仅达到支付功能。可以帮助初学者理解相关功能。如果需要用在正式环境中,还需要大幅修改。

使用

git clone https://github.com/yumusb/scan2pay.git
#克隆该仓库
cd scan2pay/
pip3 install -r requirements.txt
#安装所需依赖库

#检查配置选项(注释写的比较多,可以先去支付宝文档理解大致支付流程,然后连接摄像头测试是否连接成功,再进行扫码支付测试)
python3 main.py
#开始支付

链接

关于

About

树莓派+摄像头模块+支付宝当面付=扫码枪

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages