# -*- coding: utf-8 -*- # @Author : FELIX # @Date : 2018/5/18 16:19 import qrcode from PIL import Image url='http://www.baidu.com' qr=qrcode.QRCode( v... ...
分类:
编程语言 时间:
2018-05-18 17:15:15
阅读次数:
163
识别图片上的一维码信息先需要引用一个DLL文件zxing.dll文件 你可以在扩展与跟新里面将这个添加,也可以通过这个地址 https://code.msdn.microsoft.com/ZXINGNET-QRCode-Generator-05128cfb?SRC=VSIDE 下载dll文件。 文件 ...
分类:
其他好文 时间:
2018-05-15 14:02:41
阅读次数:
175
C QR二维码DEMO QR二维码 二维码的一种 相关技术 ThoughtWorks.QRCode 第三方类库 DEMO功能 Encode 生成二维码图片 Encoding 编码 Correction Level 等级 Version 版本 Size 大小 Decode 解密二维码 GitHub " ...
import qrcode #先通过pip install qrcode[pil] 将qrcode模块导入进来qr = qrcode.QRCode( version=1, #值为1~40的整数,可以控制二维码的大小 error_correction=qrcode.constants.ERROR_CO ...
分类:
编程语言 时间:
2018-05-13 13:37:58
阅读次数:
196
1. 下载qrcode.js文件,引入文件中。 <script type="text/javascript" src="qrcode.min.js"></script> 2. 对响应连接生成二维码。 <div id="qrcode" ></div> var qrcode = new QRCode(d ...
分类:
Web程序 时间:
2018-05-11 20:20:45
阅读次数:
279
1.用pip命令安装模块 pip install 模块名 e.g. pip install qrcode 2.用pip卸载模块 pip uninstall 模块名 e.g. pip install qrcode 3.pip查看已经安装的所有模块 pip list 4.pip查看模块目前有最新版本的 ...
分类:
编程语言 时间:
2018-05-09 23:58:12
阅读次数:
348
public function index(){ $url = 'https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQEA8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLn'; $file = "public/uploads/1... ...
分类:
其他好文 时间:
2018-05-09 19:27:50
阅读次数:
185
不做过多的描述了,详细的内容可以参照文章“Thinkphp3.2版本结合phpqrcode生成二维码并提供下载”。 方法就是将qrcode()方法替换成qicode_mh()方法,路径自行配置即可。 ...
分类:
Web程序 时间:
2018-05-09 14:42:38
阅读次数:
213
include_once LIB_ROOT_PATH . '3rdParty/QRReader/lib/QrReader.php';// 引入识别二维码插件 // 读取二维码的缩略图并识别,识别二维码 $qrcode = new \QrReader('./temp/Upload/imora/thum ...
分类:
Web程序 时间:
2018-05-08 17:37:43
阅读次数:
188
通过传入字符串,生成二维码图片或者base64格式字符串 ...
分类:
编程语言 时间:
2018-05-05 16:48:15
阅读次数:
1651