-
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
-
关于一个com的应用
关于一个com的应用-on the application of a com
- 2022-01-25 15:54:16下载
- 积分:1
-
档案管理系统,vb写的
档案管理系统,vb写的-file management system, written in vb
- 2022-03-02 20:14:54下载
- 积分:1
-
BMP查看器
bmp viewer
- 2022-03-21 17:37:10下载
- 积分:1
-
鼠标控制动态链接库
鼠标控制动态连接库-mouse control Dynamic Link Library
- 2022-07-12 22:40:17下载
- 积分:1
-
There is a infinite series, whose general term is expressed as: a [n] = 10* 10*....
有一个无穷数列,其通项表示为:
a[n]=10*10*... n=0,1,2,3.....
构成了1,10,100,1000...
把它连起来,就成了数串。
判断数串的第i位到底是0还是1.性能要求1s
-There is a infinite series, whose general term is expressed as: a [n] = 10* 10*... n = 0,1,2,3 ..... constitute 1,10100,1000 it even ... together, it becomes the number of strings. Determine the number of strings in the end of the first i-bit is 0 or 1. Performance requirements 1s
- 2022-03-22 03:32:03下载
- 积分:1
-
用作查看windows变成源码的工具,比起vc界面更易于读代码,请大家共享之...
用作查看windows变成源码的工具,比起vc界面更易于读代码,请大家共享之-a tool for viewing codes, which was superior than vc
- 2022-07-25 22:09:38下载
- 积分:1
-
C++经典游戏编程实例,非常经典,对于初学者有用
C++经典游戏编程实例,非常经典,对于初学者有用-C++ programming examples of the classic game, very classic, useful for beginners
- 2022-05-18 18:22:25下载
- 积分:1
-
基于C++的跨平台象棋对战游戏
基于QT开发的一款象棋对战游戏,可支持玩家对战,人机对战,网络对战等多种对战模式,此软件在windows和linux下均可运行,网络对战服务器端架设在linux下。6909
- 2022-05-21 15:53:36下载
- 积分:1
-
c语言编写触摸屏驱动
c语言编写触摸屏驱动-Touchscreen drivers
- 2022-11-04 10:30:03下载
- 积分:1