-
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
-
增强 C 源代码的可读性的 C 语言源程序
增强 C 源代码的可读性的 C 语言源程序 -C source code to enhance the readability of the C language source code
- 2022-03-07 07:24:37下载
- 积分:1
-
判定一个图是否是双连通图,没有实现图形界面,是DOS程序
判定一个图是否是双连通图,没有实现图形界面,是DOS程序-To determine whether a graph is a two-connected graph, there is no realization of a graphical interface is DOS program
- 2022-05-07 03:26:06下载
- 积分:1
-
Flash文件编程源代码
Flash文件编程源代码-Flash File programming source code
- 2022-11-26 15:55:04下载
- 积分:1
-
flex 实现的拍照程序 含flash原码
flex 实现的拍照程序 含flash原码-use flash to take photo software
- 2023-04-08 02:00:08下载
- 积分:1
-
混音程序
用C++编写的两路音频混音程序,很适合初学者。
Mixer.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
Mixer.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CMixerApp application class.
Mixer.cpp
This is the main application source file that contains the application
class CMixerApp.
- 2022-03-12 21:29:31下载
- 积分:1
-
clock program using OpenGl with C
clock program using OpenGl with C-clock program using OpenGl with C
- 2022-01-25 19:10:08下载
- 积分:1
-
QC-LDPC
QC-LDPC是准循环奇偶校验码,在编码和解码的的过程中更加简单,能够避免生成出现较多的1,QC-LDPC的校验矩阵的构造采用了PEG算法,并且带有了消除4环和6环的功能,构造方法简单。
- 2022-03-18 06:13:43下载
- 积分:1
-
剪贴板数据处理类。
剪贴板数据处理类COleDataSourceEx-the class of clipboard data processing.
- 2022-03-05 16:41:45下载
- 积分:1
-
分析本机所有网站留下的cookies信息。可以获取部分网站用户信息等。...
分析本机所有网站留下的cookies信息。可以获取部分网站用户信息等。-Analysis of the machine left the cookies for all sites of information. Website users can access some information.
- 2022-04-20 17:49:25下载
- 积分:1