Coder Social home page Coder Social logo

scan2pay's Introduction

scan2pay

介绍

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

演示截图:

演示截图

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

使用

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

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

链接

关于

scan2pay's People

Contributors

yumusb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.