- 博客(15)
- 资源 (8)
- 收藏
- 关注
原创 大开眼界--关注意的分离
<br />刚刚读了Gregor Kiczales 一篇 paper,名叫 Separation of Concerns with Procedures, Annotations, Advice and Pointcuts, 眼界大开,原来衡量代码的灵活性首先是看这代码结构是否能让各种关注点分离开来。<br /> <br />关注意的分离!(Separation of concern)
2010-08-30 22:32:00 822
转载 国外类似VeryCD的emule下载网站网址大全
<br />4. CDMSShare http://www.cdmsshare.org/ <br /><br /><br /><br />5. Descargatorrent http://descargatorrent.webcindario.com/ <br /><br /><br /><br />6. eChule.NET http://www.echule.net/ <br /><br /><br /><br />7. EliteFreak http://www.elitefreak.net/ <b
2010-08-29 08:42:00 13465
原创 Opencv: 测试所生成的分类器xml
<br />先得到test sample:<br /> <br /><br />用命令: opencv_createsamples.exe -info test1.dat -img face7.jpg -bg C:/TDDOWNLOAD/car_pic/bg.txt -num 35<br /> <br />-info 后面是生成的dat 文件, <br />-img 是人脸图片<br />-bg 背景图片<br />-num 生成的sample数量<br /> <br /> <br />测试命令:<br /
2010-08-28 12:20:00 2494 2
原创 图片截图处理
现已有样本视频。为了得到背景图片,我在网上http://www.xdowns.com/soft/softdown.asp?softid=45431下载了一个名为“视频截图王”的工具。使用了该工具后发现它能批量截图,但结果是所有的图片都集成在一张图片上,如下图所示:所以要用一个软件来实现图片切割。我找到了图片剪纸刀 V2.0 这款软件,下载地址: http://www.duote.com/soft/3572.html用法简介: http://www.duote.com/tech/1/1598.html
2010-08-27 16:25:00 812
转载 用opencv实现简单的人脸检测
<br />#include "stdafx.h"#include "cv.h"#include "highgui.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include <math.h>#include <float.h>#include <limits.h>#include <time.h>#include <ctype.h>#include
2010-08-27 10:17:00 797
原创 AspectJ 安装的path及classpath 设置
1.设置 path = ;c:/aspectj1.x/bin (‘;’分号前面是系统原来的值, 把x换你的aspectj版本)2. 将 C:/aspectj1.6/lib/aspectjrt.jar 这个文件拷贝到 .../jdk1.x/jre/lib/ext 路径下 3. 设置 classpath = ;c:/aspectj1.x/lib/aspectjrt.jar设置完毕,在命令行键入命令 ajc , 回车后看到一大堆选项回应,说明设置成功。以下是运用AspectJ的一个实例 新建一个Test.jav
2010-08-26 23:45:00 1820
转载 Java classpath 及 path 设置
<br />1. JAVA_HOME: D:/Java/jdk1.5.0_07 (此项是jdk的路径)2.CLASSPATH: .;%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar (注意:点号不能省略,表示当前目录) 3. 编辑PATH的变量值,在后面加上 ;%JAVA_HOME%/bin (注意:要有分号隔开)
2010-08-26 23:22:00 923
原创 OpenCV训练分类器制作xml文档(木马原创)
<br /> <br /> <br /> <br />在网上找了中文资料,发现大多都是转载那两篇文章,而且那两篇文章讲的都有误差,经过两天的摸索,我终于训练分类器成功了,在此与大家分享。<br /> <br />参考英文资料网址: http://note.sonots.com/SciSoftware/haartraining.html#e134e74e<br /> <br /> <br /> <br />整个过程分为两步:<br />1. 创建样本<br />2. 训练分类器<br />
2010-08-25 19:05:00 23102 36
原创 在vc++2008为程序设置命令行参数
<br />“项目” --》 “<proj_name> 属性” ->(左边栏) "配置属性" ->"调试"<br /> <br />在“命令参数” 写上所要运行的参数即可
2010-08-25 10:28:00 1729
原创 windows 7 启动时间设置
<br />“计算机”右击 属性 --> 高级系统设置(左边栏最后一项) -->在 “ 启动与故障恢复 ” 按设置, 剩下就是自己设置了。
2010-08-17 08:16:00 773
转载 Linux 启动顺序修改
<br />设置WIN7为第一启动项。<br />在应用程序-附件-打开终端 ,运行代码:sudo chmod +w /boot/grub/grub.cfg<br />,然后再运行代码:sudo gedit /boot/grub/grub.cfg<br />以上需要root权限<br />修改顺序要 从”BEGIN”到 “END”整段移动 !<br />set timeout=10 ——————————启动列表停留时间<br />修改后如下引用:#<br /># DO NOT EDIT TH
2010-08-17 07:24:00 1765
原创 设置和取得CvMat的值(简单方法)
//Example 3-5. Setting a single value in a matrix using the CV_MAT_ELEM_PTR() macro CvMat* mat = cvCreateMat( 5, 5, CV_32FC1 ); float element_3_2 = 7.7; *( (float*)CV_MAT_ELEM_PTR( *mat, 3, 2 ) ) = element_3_2; //Example 3-4. Accessing a matrix wi
2010-08-08 19:20:00 3445
原创 用opencv简单显示图像和视频(代码有注释)
<br />#include "stdafx.h"#include "cv.h"#include "highgui.h"void displayPic(char *argv){ IplImage* img = cvLoadImage( argv ); //opens a window on the screen that can //contain and display an image cvNamedWindow( "Example1", CV_WINDOW_AUTO
2010-08-07 23:01:00 1522
转载 【VC++】不能将参数 1 从“_TCHAR”转换为“const char* 问题解决
<br />原因:2005默认的"使用 Unicode字符集",解决:在你建立的解决方案的工程文件的属性看到选"配置属性"的"字符集"请选择"使用多字节字符集"就可以了。<br />2005打开6.0的文件时候不会出现的这样的错误,是因为编译环境在转换过程中进行了转换.<br /><br />本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/hujiao199/archive/2008/02/20/2110119.aspx<br /> <br />这个解决办法在vs
2010-08-06 08:19:00 5953
原创 为vs2008配置openvc 2.1
为vs2008配置openvc,过程如下: 工具->选项->项目和解决方案->vc++目录, “显示一下内容的目录”下拉列表中选择“包含文件”,添加条目“C:/OpenCV2.1/include/opencv”; “显示一下内容的目录”下拉列表中选择“库文件” ,添加条目“C:/OpenCV2.1/lib”; "显示一下内容的目录"下拉列表选择“源文件”,添加条目”C:/OpenCV2.1/src/cv” ,”C:/OpenCV2.1/src/cvaux” ,”C
2010-08-06 08:10:00 1321
托福OG(第三版) The.Official.Guide.to.the.TOEFL.iBT,Third.Edition
2010-07-23
Concrete Mathematics
2010-07-02
用Rational RequisitePro写用例规约(Use Case Specification)的心得
2009-11-11
Struts.The.Complete.Reference.2nd.Edition
2009-10-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人