-
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
-
一个不错的注册表工具源代码
一个不错的注册表工具源代码-registry a good tool for source code
- 2023-02-01 07:20:03下载
- 积分:1
-
CString类的使用方法显现
CString类的使用方法显现-redeem kind of use appear
- 2022-01-31 08:18:01下载
- 积分:1
-
这是一个公交查询系统的简单设计,其中实现了根据车次号查站点以及根据起始与终止站点查询车次的两个模块功能。另外,还包含一个后台管理控制台,负责维护数据库的信息,具...
这是一个公交查询系统的简单设计,其中实现了根据车次号查站点以及根据起始与终止站点查询车次的两个模块功能。另外,还包含一个后台管理控制台,负责维护数据库的信息,具备了比较完善的数据库维护功能。数据库的备份以及连接数据库的文件在原码文件中,运行前请注意设置-This is a transit system for a simple design, which achieved under 000, and site investigations under the threshold and termination site for the two trips module function. In addition, the background also includes a management console, responsible for the maintenance of the information in the database, with a fairly complete database maintenance functions. The database backup, and connecting to the database code in the original paper document, running to set up the former
- 2023-03-12 09:40:04下载
- 积分:1
-
一个VB开发的画图程序,模仿woindows画笔
一个VB开发的画图程序,模仿woindows画笔-a VB drawing programs, copying woindows brush
- 2023-02-09 06:40:03下载
- 积分:1
-
NERO刻录SDK1.08版.里面包括了多个不同形式的demo
NERO刻录SDK1.08版.里面包括了多个不同形式的demo
-NERO Burning SDK1.08 version. Inside, including a number of different forms of demo
- 2023-04-01 03:10:04下载
- 积分:1
-
vb字符串函数详解,感觉还不错的。
vb字符串函数详解,感觉还不错的。-Detailed vb string functions, I feel pretty good.
- 2022-03-22 05:33:08下载
- 积分:1
-
Win2K under the Sniffer source code. Zip
Win2K下的Sniffer源代码.zip-Win2K under the Sniffer source code. Zip
- 2023-06-25 23:20:03下载
- 积分:1
-
大唐科源直流屏的规约格式转化成以太网103的协议
大唐科源直流屏的规约格式转化成以太网103的协议-major source of the Statute DC screen format into 103 Ethernet agreement
- 2022-03-29 06:33:24下载
- 积分:1
-
把EXCEL格式的多个工作簿的数据转换为ACCESS格式下的表,程序调用读取数据的效率大大提高。在该目录下有点目录.XLS程序运行有自动生成点目录.MDB....
把EXCEL格式的多个工作簿的数据转换为ACCESS格式下的表,程序调用读取数据的效率大大提高。在该目录下有点目录.XLS程序运行有自动生成点目录.MDB.-EXCEL format to multiple workbook ACCESS data into a table format, the program call to read data greatly improve the efficiency. A bit in the directory directory. XLS run directory are automatically generated points. MDB.
- 2022-09-09 08:30:02下载
- 积分:1