-
摄像头采集人脸并计算相似度
加载原始对比图像,并计算原始图像的直方图;
获取摄像头信息,抽取其中的帧,并计算该帧图像的直方图;
将抽取的图像的直方图与原始图像的直方图进行比较,并计算其相似度。
这个相似度就是这两上人脸的相似度了。
主要有以下几个函数构成:
/** Function Headers */
void detectAndDisplay(Mat bas_img, Mat frame, bool iscap );
//获取直方图
Mat calculateHistogram(Mat src_img);
//计算相似度
double calculateComparesion(Mat src, Mat dst);
- 2022-07-09 02:43:33下载
- 积分:1
-
给用ObjectARX开发AutoCAD初学者的一个例子,说明如何定义自定义实体...
给用ObjectARX开发AutoCAD初学者的一个例子,说明如何定义自定义实体-to use AutoCAD beginners ObjectARX an example on how to define custom entities
- 2022-03-20 20:35:48下载
- 积分:1
-
sophisticated graphics and animation system procedure is the preparation of my o...
精细绘图及动画 制个程序是本人自己编写,所以这里能后做出详细解释。程序运行后会在屏幕上用triplex_font显示“press any key for set off”,下方是用基本的线条画出的发射架(有点粗糙),即程序中的DrawGun()函数,当按下任意键后,将在发射架上方出现一个用横线填充的飞机,同时背景被繁星填充,此时必须按住任意键不放,否则飞机将不会发射。发射完成后,即飞机坐标小于0,将出现一句话:"successfully!!!,press ESC to quit",若中途按ESC退出,则飞机Y坐标不小于0,将出现"failue,..."这句话。-sophisticated graphics and animation system procedure is the preparation of my own, here is an ability to make a detailed explanation. After running on the screen with triplex_font shows that the "press any key for set off", is the bottom line with the basic head of the launcher (somewhat rough), that the procedures DrawGun () function, when pressed any button, will be on the launch pad tower side there with a hyphen Filled with the aircraft, while the background was filled with stars, this time to be arbitrary button is pressed it, it will not launch aircraft. Fired Upon completion, the coordinates of the aircraft is less than 0, there will be one sentence : "successfully! ! ! , Press ESC to
- 2023-04-03 20:20:03下载
- 积分:1
-
display screen 360 degrees
展示360度的画面-display screen 360 degrees
- 2023-03-06 21:20:03下载
- 积分:1
-
2D图像处理非线性拉伸变换用于图像增强处理
2D图像处理非线性拉伸变换用于图像增强处理-2D image processing for non-linear stretch image enhancement transform treatment
- 2022-07-27 16:53:58下载
- 积分:1
-
EasyDraw轻松绘图程序源代码
EasyDraw轻松绘图程序源代码 -EasyDraw relaxed cartography procedure source code
- 2022-04-12 12:07:03下载
- 积分:1
-
交互界面的填充程序
交互界面的填充程序-interface filling procedures
- 2022-07-09 12:55:37下载
- 积分:1
-
achieve 24 map color inversion, turn gray, and the restoration of the maximum
能实现24位图色彩反转,转灰度,以及恢复原图-achieve 24 map color inversion, turn gray, and the restoration of the maximum
- 2022-02-10 05:38:32下载
- 积分:1
-
一种新的小目标检测方法
A novel approach to the detection of small objects
- 2022-03-22 03:22:24下载
- 积分:1
-
bmp图片打开,显示,可以进行数字图象处理的一些变化,对bmp图片进行灰度化以后,可以进行数字滤波,fft等。还有几何变换的一些功能。此工程是我们数字图象处理课...
bmp图片打开,显示,可以进行数字图象处理的一些变化,对bmp图片进行灰度化以后,可以进行数字滤波,fft等。还有几何变换的一些功能。此工程是我们数字图象处理课程时候的作业。非常适合在校大学生研究学习。-bmp picture opened, display, digital images can be some of the changes, bmp picture of gray, can digital filter, such as fft. There transform the geometric features. This project is digital image processing-time work. Very suitable for college students study.
- 2022-02-03 14:10:24下载
- 积分:1