-
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
-
自定义按钮的源文件,按钮上面自动显示功能描述。可以重载自己的按钮。...
自定义按钮的源文件,按钮上面自动显示功能描述。可以重载自己的按钮。-Custom button" s source files, the button automatically displays the features described above. You can override its own button.
- 2022-03-22 07:36:38下载
- 积分:1
-
钢琴弹奏程序【VC++编程】
钢琴弹奏程序【VC++编程】-Piano Playing Procedural programming-- VC
- 2022-01-25 18:26:00下载
- 积分:1
-
隐藏马尔可夫模型工具包
隐马尔可夫模型工具箱(HTK)是一个用于建立和操作隐马尔可夫模型的可移植工具箱。HTK主要用于语音识别研究,尽管它已被用于许多其他应用,包括语音合成、字符识别和DNA测序的研究。HTK在全球数百个网站上使用。
- 2023-04-10 21:15:04下载
- 积分:1
-
Bilinear transform algorithm input order, the sampling time, control variables (...
双线性变换算法
输入阶次 ,采样时间 ,控制变量 ( 时 =1, 时 =0)
b1为s函数或z函数多项式的系数,先输入分子的系数(从高次幂至低次幂,高阶系数为零的,应输入0,各系数之间用空格键隔开),再输入分母的系数(从高次幂至低次幂,高阶系数为零的,应输入0,各系数之间用空格键隔开),均存到b1内。
-Bilinear transform algorithm input order, the sampling time, control variables (time = 1, when = 0) b1 function for s or z function polynomial coefficient, the coefficient of the first input elements (from the high power to low power of , high-coefficient of zero, should be type 0, the coefficient between the key separated by a space), and then type the denominator of the coefficient (from the high power to low-power, high-coefficient of zero, should be type 0, between the coefficient of keys separated by spaces), are kept within the b1.
- 2022-02-04 07:44:22下载
- 积分:1
-
支持MPEG4编解码的播放器(要求显卡支持YUV的硬件支持),可播放IM4的文件。...
支持MPEG4编解码的播放器(要求显卡支持YUV的硬件支持),可播放IM4的文件。-support MPEG4 codec player (requiring support YUV graphics hardware support) IM4 can play in the paper.
- 2022-11-14 18:10:03下载
- 积分:1
-
得到所有进程列表的程序
得到所有进程列表的程序-The app of getting all the processes
- 2022-07-04 16:16:39下载
- 积分:1
-
操作系统课程设计,内存管理,银行家算法+快速文件管理系统
操作系统课程设计,内存管理,银行家算法+快速文件管理系统-os
- 2022-10-16 19:10:05下载
- 积分:1
-
all software necessary steps to abolish the general procedures used to be the so...
所有必要的软件步骤,以废除一般程序使用的源代码。在最后!
- 2022-12-08 05:40:03下载
- 积分:1
-
用c实现的msc模拟工具包
用c实现的msc模拟工具包-achieve with the msc simulation tool kit
- 2022-08-16 13:08:19下载
- 积分:1