-
facedetector
人脸检测器 #include < iostream >
#include < cv.h >
#include < highgui.h >
int main(void)
{
int 键 = 0 ;
int i;
CvMemStorage * 存储 = cvCreateMemStorage (0) ;
CvCapture * 捕获 = cvCaptureFromCAM (0) ;
char * 文件名 ="haarcascade_frontalface_alt.xml";
CvHaarClassifierCascade * 梯级 = (CvHaarClassifierCascade *) cvLoad (文件名,
0,0,0) ;
虽然 (关键! = "q") {
IplImage * 帧 = cvQueryFrame (捕获) ;
如果 (! 帧) 断 ;
CvSeq * 脸 = cvHaarDetectObjects (
帧,
级联,
存储,
1.1、
3,
0 / * CV_HAAR_DO_CANNY_PRUNNING *,
cvSize (40,40)) ;
为 (我 = 0 ; 我 < (脸? 面孔-> 共: 0) ; i + +) {
CvRect * wajah = (CvRect *) cvGetSeqElem (的脸,我) ;
CvFont 字体 ;
cvInitFont (& 字体,CV_FONT_HERSHEY_SIMPLEX,1.0,1.0,1,5,CV_AA) ;
CvRect * r=(CvRect*) cvGetSeqElem(faces, i) ;
cvPutTex
- 2022-01-30 19:16:21下载
- 积分:1
-
捕获 windows 桌面
它是一个简单的应用程序来捕获 windows 桌面。
在这种应用程序 ,用于命名的管道发送数据。当然,你可以使用另一种方式去做。吸为套接字,文件...等
我用这个在通信中的应用与 windows 服务,我认为是否一个服务到想做与桌面的东西,它会有帮助。
很高兴这样做。
- 2022-03-14 10:17:58下载
- 积分:1
-
.x+vb,very good,i think so,don t u think so,i wish think so,hard to find.
.x+vb,very good,i think so,don t u think so,i wish think so,hard to find.
- 2022-01-21 03:23:28下载
- 积分:1
-
Visual C++ programming 100 examples
Visual C++实效编程百例yuanma-Visual C++ programming 100 examples
- 2023-05-10 20:00:03下载
- 积分:1
-
VBU盘锁定
5.1.7更新记录:
1.修复Windows7系统无法运行的bug。
2.精简掉了启动器,直接运行"盾.exe"即可使用。
5.1.6更新记录:
1.修复5.1.2版本存在的4个bug。
2.应要求对设置向导进行了汉化。
5.1.2更新记录:
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-14 00:22:31下载
- 积分:1
-
ROM进出盒的演示程序
CD-ROM进出盒的演示程序 CD-ROM进出盒的演示程序-CD-ROM and out of the box demo CD-ROM and out of box demo program
- 2022-09-25 23:55:02下载
- 积分:1
-
First of all, we know the main elements of B tree is the so
首先,我们知道B树的主要元素是所谓的信息节点(node),每个数据节点都包含一些信息,以及其他指向节点的数据指针(pointer)。节点间的信息连接到分支上,即分支和叶子(叶子)的末端,假设信息开始插入的顺序如下:1、2、3、4、5、6。在B树上按照以下规则植树。
- 2022-03-11 11:13:16下载
- 积分:1
-
正则表达调控,perlregexd7 PCRE文档。~ DPK perlregex。~不要……
正则表达式控件,文件
PCREPerlRegExD7.~dpk
PerlRegEx.~pas
TPerlRegExD7.bat
PerlRegExD2005.bdsproj
PerlRegExD7.cfg
PerlRegEx.cnt
PerlRegEx.dcr
PerlRegExD7.dof
PerlRegExD2005.dpk
PerlRegExD5.dpk
PerlRegExD6.dpk
PerlRegExD7.dpk
PerlRegEx.GID
PerlRegEx.hlp
CHelpers.pas
PerlRegEx.pas
PerlRegExD5.res
PerlRegExD6.res
PerlRegExD7.res-Regular expression control, document PCRE PerlRegExD7. ~ Dpk PerlRegEx. ~ Pas TPerlRegExD7.bat PerlRegExD2005.bdsproj PerlRegExD7.cfg PerlRegEx.cnt PerlRegEx.dcr PerlRegExD7.dof PerlRegExD2005.dpk PerlRegExD5.dpk PerlRegExD6.dpk PerlRegExD7.dpk PerlRegEx.GID PerlRegEx.hlp CHelpers.pas PerlRegEx.pas PerlRegExD5.res PerlRegExD6.res PerlRegExD7.res
- 2022-04-08 15:48:07下载
- 积分:1
-
This is a classic wine, the sub
这是一个精典的分酒程序,分别有3 ,5 ,8 升三个瓶子,现在3和5里装了酒,要求不借助于别的工具,分出一个4 升的酒来-This is a classic wine, the sub-procedures, respectively, 3, 5, 8 or three bottles, now three and five carried the wine, asked not to help other tools, the separation of a 4-liter liquor to
- 2022-12-07 07:20:02下载
- 积分:1
-
VirtualDub是一套多媒体剪辑软件,它的功能可一点也不输给Premiere以及Media Studio等专业等级产品的功能。在VirtualDub中主要的...
VirtualDub是一套多媒体剪辑软件,它的功能可一点也不输给Premiere以及Media Studio等专业等级产品的功能。在VirtualDub中主要的功能可以区分为两大部份,一是可以让您针对现有的电影短片文件如。AVI以及。MPG等做编辑的工作,另一项则是可以搭配您的影像补捉卡做即时的动态影像捕捉的功能。-VirtualDub is a multimedia editing software, the functions it is not lost Premiere Media Studio and professional grade products function. In VirtualDub main functions can be divided into two parts, one can make your address existing documents such as film clips. AVI and. MPG done editing work, and the other one is you can mix the cards to capture images do instant video capture function.
- 2023-07-27 05:55:05下载
- 积分:1