自己一直嚷嚷着打算学学图像识别,识别个简单的,车牌号,验证码之类的,之前查过资料,OpenCV可以实现。昨天花了一个下午终于配置好环境了,今天写下总结。OpenCV这一名称包含了Open和Computer Vision两者的意思。实际上,Open指Open Source(开源,即开放源代码),Com...
分类:
系统相关 时间:
2014-07-27 21:32:45
阅读次数:
658
include ‘Timagick.class.php‘;
$image = new Timagick();
$image->open(‘a.gif‘);
$image->resize_to(100, 100, ‘scale_fill‘);
$image->add_text(‘1024i.com‘, 10, 20);
$image->add_watermark(‘1024i.gif‘, ...
分类:
Web程序 时间:
2014-07-27 12:16:21
阅读次数:
345
Description
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.
There are 16 handles on the refrigerator door. Every handle c...
分类:
其他好文 时间:
2014-07-27 11:36:04
阅读次数:
234
故障:
之前phpMyAdmim和Yii连接Mysql都好着的,某天,同时出现如下报错:
1、linux下phpMyAdmin 出现 “缺少 mysqli 扩展,请检查
PHP 配置。”
2、Yii 出现CDbConnection failed to open the DB connection: could not find driver
排查:
1、先排查Mysql服务是否正...
分类:
数据库 时间:
2014-07-27 11:16:42
阅读次数:
232
用XMLHttpRequest对象,发请求的基本代码如下:var xmlhttp=new XMLHttpRequest(); var url="http://localhost:3004/test"; xmlhttp.open("get",...
分类:
Web程序 时间:
2014-07-27 10:33:42
阅读次数:
950
这几天学head firs python , 讲的比较浅显易懂,这本书可以当小说读了尝试使用a+方式打开文件,结果发现写入后读取不到,研究了一会才发现是因为使用a的方法打开文件,光标默认在文件末尾,此时用readline是读取不到的,要手动seek(0)代码如下:try: data = ope...
分类:
编程语言 时间:
2014-07-27 10:23:22
阅读次数:
224
C:\users\XXXX>easy_install scrapy 出现错误 fatal error C1083: Cannot open include file: 'openssl/aes.h' : No such file or directory。才想起scrapy主页Installatio...
分类:
Windows程序 时间:
2014-07-27 09:44:12
阅读次数:
1567
在JavaWeb项目中,当然有很多jsp页面,但是我发现,双击打开jsp页面总是卡机,相对于打开其他java文件而言非常慢,感觉很不舒服,MyEclipse中默认打开jsp页面是以可视化的形式展现的,但是大多数情况我们都喜欢以代码方式打开jsp页面。
有两种方式来解决打开jsp页面较慢的问题。
单击选中jsp页面,点击右键---open with --- MyEclipse JSP Edit...
分类:
Web程序 时间:
2014-07-26 15:25:31
阅读次数:
271
Problem Description
Now an emergent task for you is to open a password lock. The password is consisted of four digits. Each digit is numbered from 1 to 9. Each time, you can add or minus 1 to any d...
分类:
其他好文 时间:
2014-07-26 15:24:12
阅读次数:
280
..\..\SYSTEM\usart\usart.c(1): error: #5: cannot open source input file "sys.h": No such file or directory #include "..\sys\sys.h"这样就可以找到路径了 再次编译出现了问题...
分类:
其他好文 时间:
2014-07-26 14:56:20
阅读次数:
442