分类: 未分类

497 篇文章

thumbnail
Tesseract-OCR的简单使用与训练
2016 from---http://www.cnblogs.com/cnlian/p/5765871.html Tesseract,一款由HP实验室开发由Google维护的开源OCR(Optical Character Recognition , 光学字符识别)引擎,与Microsoft Office Document Imaging(MODI)相比,我们可以不断的训练的库,使图像转换文本的能力不断增强;如果团队深度需要,还可以以它为模板,开发出符合自身需求的OCR引擎。 源码地址为:https://github.com/tesseract-ocr/tesseract; EXE可执行文件地址:http://download.csdn.net/download/whatday/7740469; 接下来,我们将在Windows环境下安装Tes…
thumbnail
maven generating project in batch mode hang
2015 from---http://www.cnblogs.com/beiyeren/p/4566485.html 现象: 执行 archetype:generate 的时候,会产生 [INFO] Generating project in Batch mode 然后就一直阻塞在这里 原因是:网速问题, 解决方法: 设置maven不要从远程服务器上获取catalog,增加参数-DarchetypeCatalog=internal 如何在idea里设置maven参数:
thumbnail
知识库 : 使用Tesseract识别弱验证码
2015-07-08 from---http://udn.yyuap.com/doc/ae/920457.html 摘要 1.验证码 2.验证码识别思路 3.验证码的强弱 4.Tesseract 5.Tesseract识别验证码示例 1.验证码 Wikipedia中验证码定义如下: A CAPTCHA (an acronym for "Completely Automated Public Turing test to tell Computers and Humans Apart") is a type of challenge-response test used in computing to determine whether or not the user is human. 翻译为中文就是: 全自动区分计算机和人类的公开图灵测试…
nginx重写错误的调试
2012 from---http://www.144d.com/post-203.html 用以下代码在Nginx的配置文件中打开重写错误日志提示。 view source print? 1 rewrite_log on;   # 打开 URL 重写模块的日志开关,以便写入 error_log 另外error_log最后那个参数还需要设置成Info.如下: view source print? 1 error_log /home/www/logs/nginx_error.log info; lnmp的集成包,默认设置的是: view source print? 1 error_log /home/www/logs/nginx_error.log crit; 并且没有开启rewrite_log on选项,所以重写错误时无法查看错误内容。 &n…
thumbnail
树莓派五合一传感器模块(湿度/温度/气压/高度/光线 ) 湿度功能使用教程
2016 年 4 月 9 日 from---http://ukonline2000.com/?p=937 本文只介绍湿度功能的使用,其他几种功能使用请参考 树莓派四合一(温度/气压/高度/光线 ) 使用教程 :http://ukonline2000.com/?p=583 教程一: 1.先完成I2C,GPIO,PIP等安装,使能I2C和GPIO接口,参考下面两个教程 使能树莓派的I2C接口 http://ukonline2000.com/?p=728 安装python的GPIO库 http://ukonline2000.com/?p=43 sudo apt-get install python3 sudo apt-get install python-pip sudo apt-get install python-virtualenv git…
OpenMediaVault3在Debian 8上的另类安装法
2016-04-06 from---http://bbs.mydigit.cn/read.php?tid=1606572 以往提到OpenMediaVault2.0 只能安装在Debian7.x的系统上,现在最新的OpenMediaVault 3已经放出测试版,它是基于Debian8的,现在可以正常安装了。 本文就介绍一下安装过程(不是直接利用OpenMediaVault的安装ISO安装,而是先安装纯净的Debian8,再安装OpenMediaVault 3) 这里主要是提一下可能遇到的坑和处理方法 安装Debian8 的过程这里就不累述,请自行搜索网上的帖子。 安装好Debian8 以后,把OpenMediaVault 3 的源配置进去,可以采用下面的命令(root权限下,下面命令基本都是在root权限下,将不再提醒) 复制代码 echo…
thumbnail
使用Python做验证码识别
2016-01-06 from---http://sineyuan.github.io/2016/01/06/python-captcha/ 平常我们上网经常遇到的验证码英文名为CAPTCHA, 这其实是一个非常炫酷的名字的缩写,全称为全自动区分计算机和人类的图灵测试(英语:Completely Automated Public Turing test to tell Computers and Humans Apart) 。看起来是不是很高大上啊,图灵测试都出来了。不过确实,对于识别验证码这种对人来说很容易的任务(普通验证码,非12306的)对于计算机来说可不简单。 工具 有用的工具: PIL(Python Image Library)——图片处理库 numpy——矩阵运算 tesseract——开源的ORC库 scikit-learn—…