-
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
-
这是在Visual Basic 6源代码与PIC单片机的GPS。
This the sorce code in Visual Basic 6 for the GPS with PIC.-This is the sorce code in Visual Basic 6 for the GPS with PIC.
- 2022-06-01 10:43:35下载
- 积分:1
-
公历年月日和儒略日之间的互相转换,还包括一些其他的日期转换程序...
公历年月日和儒略日之间的互相转换,还包括一些其他的日期转换程序-Julian calendar date and the mutual conversion between the
- 2022-02-27 06:11:38下载
- 积分:1
-
GBA games are one of the most popular of a game, the game interface can not play...
GBA游戏是最受欢迎的一种游戏之一,这个游戏界面效果很好不可不玩玩。-GBA games are one of the most popular of a game, the game interface can not play well.
- 2022-04-13 09:19:59下载
- 积分:1
-
读取研华1753板卡输入输出
读取研华1753板卡输入输出
,读取研华1753板卡输入输出,
读取研华1753板卡输入输出
- 2022-11-17 09:35:03下载
- 积分:1
-
关于USB驱动的一些源代码,对写USB驱动的人有一定帮助
关于USB驱动的一些源代码,对写USB驱动的人有一定帮助-On the USB drive some of the source code, to write USB drive to help people have a certain
- 2022-01-21 17:36:20下载
- 积分:1
-
CoreAudio获取声卡输出音量
基于CoreAudio获取声卡输出电平值,用以指示声卡输出音量。
- 2022-02-20 02:32:24下载
- 积分:1
-
sample语法语义分析器,用vc6.0编写,多文件加类构成,有大量注释,不过存在某些错误,鉴于时间关系还没改正。...
sample语法语义分析器,用vc6.0编写,多文件加类构成,有大量注释,不过存在某些错误,鉴于时间关系还没改正。-sample semantic parser, using vc6.0 writing, multi-file plus class composition, there are a large number of annotations, but there were some errors, in view of the time yet to correct.
- 2022-07-03 15:54:34下载
- 积分:1
-
i.mx27 driver for nand flash
i.mx27 driver for nand flash
- 2022-03-22 00:12:50下载
- 积分:1
-
[配套资料]Visual Studio 2010(C#)Web数据库项目开发
这是曾建华书籍《Visual Studio 2010(C#)Web数据库项目开发》的配套课件和源码,分享给大家。通过一个完整地网上商城系统讲解如何使用Visual Studio 2010 C#开发基于数据库(SQL server)的web应用程序。
- 2022-05-08 06:32:26下载
- 积分:1