-
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
-
语音记事本,实现文字排板,格试设置等常用功能,加语音郎读...
语音记事本,实现文字排板,格试设置等常用功能,加语音郎读-phonetic notice book
- 2022-10-26 11:45:03下载
- 积分:1
-
Nanjing University of Aeronautics and Astronautics curriculum design data struct...
南京航空航天大学数据结构课程设计,本软件写的是公共交通换乘系统,有一点点小bug,但基本能用-Nanjing University of Aeronautics and Astronautics curriculum design data structure, the software is written by public transit systems, there is one little bug, but the basic use
- 2023-08-21 11:30:03下载
- 积分:1
-
汇编语言中的中断试验程序源代码
该实验可以进行方针测试...
汇编语言中的中断试验程序源代码
该实验可以进行方针测试-assembly language interruption of the pilot program source code for the experimental approach can be tested
- 2022-11-13 13:40:03下载
- 积分:1
-
windows控制台下的俄罗斯方块
一款调用windows api编写的控制台下的俄罗斯方块,所以游戏功能均已实现,操作流畅
- 2023-05-14 10:30:04下载
- 积分:1
-
cayman提供的PXA270 wince下的bsp源码包
cayman提供的PXA270 wince下的bsp源码包-cayman provided PXA270 wince bsp source package under
- 2022-07-09 21:23:50下载
- 积分:1
-
绘制的图片可以自由放大缩小,借压缩不需要密码直接使用
绘制的图片可以自由放大缩小,借压缩不需要密码直接使用-drawing pictures free zooming through compression used directly without a password
- 2022-03-03 23:56:35下载
- 积分:1
-
空间分析小程序,可以进行缓冲,叠加,相交等空间分析
空间分析小程序,可以进行缓冲,叠加,相交等空间分析-small spatial analysis procedures can buffer stack, such as spatial analysis intersection
- 2022-03-07 01:04:10下载
- 积分:1
-
拖放文件,可将程序拖放到列表中,显示其绝对路径
拖放文件,可将程序拖放到列表中,显示其绝对路径-Drag and drop document can be drag and drop procedure to the list, indicating their absolute path
- 2023-07-23 10:40:03下载
- 积分:1
-
16点阵汉字库程序(Delphi)
16点阵汉字库程序(Delphi)-16 (Delphi)
- 2022-04-15 22:38:06下载
- 积分:1