-
摄像头采集人脸并计算相似度
加载原始对比图像,并计算原始图像的直方图;
获取摄像头信息,抽取其中的帧,并计算该帧图像的直方图;
将抽取的图像的直方图与原始图像的直方图进行比较,并计算其相似度。
这个相似度就是这两上人脸的相似度了。
主要有以下几个函数构成:
/** 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
-
可以自行写入汉字并可进行放大
可以自行写入汉字并可进行放大- May voluntarily read in the Chinese character and may carry on
enlarges
- 2022-03-16 15:59:52下载
- 积分:1
-
Simulated missile hit its target from the injection to the final explosion of th...
模拟导弹从射出到击中目标,最后爆炸的整个过程-Simulated missile hit its target from the injection to the final explosion of the whole process
- 2022-09-01 16:35:03下载
- 积分:1
-
image processing an entry C source
图像处理入门C源码1-image processing an entry C source
- 2022-01-26 04:53:59下载
- 积分:1
-
Windows SDK实现罗伯茨算子提取边缘。
Windows SDK实现Roberts算子提取边缘。-Windows SDK realizes the Roberts operator to withdraw the edge.
- 2022-11-21 02:40:03下载
- 积分:1
-
非常有趣的3D文字按钮在VC中的实现,希望对美工要求的朋友能有帮助!...
非常有趣的3D文字按钮在VC中的实现,希望对美工要求的朋友能有帮助!-Very interesting 3D Text button in the realization of VC in the hope that the requirements of art can help a friend!
- 2023-03-17 04:45:04下载
- 积分:1
-
Qt绘图程序,使用QGraphicsView框架编写的绘图demo,实现了缩放,选择,移动等基本操作。
使用Qt QGraphicsView框架编写的一个绘图程序,实现了图形的创建,缩放,移动,旋转等基本操作。对于初学Qt绘图的朋友会有帮助。
- 2023-08-07 22:55:04下载
- 积分:1
-
基于ORL人脸库的主元分析法用于人脸识别
基于ORL人脸库的主元分析法用于人脸识别-ORL face database based on the principal component analysis method for face recognition
- 2022-02-27 07:36:37下载
- 积分:1
-
模糊C均值聚类的图像分类,这是matlab代码。
C均值模糊聚类,适用于图像分类,此为MATLAB 程序代码。-C mean fuzzy clustering for image classification, this is MATLAB code.
- 2022-03-23 00:25:10下载
- 积分:1
-
使用GDI+ 实现文字旋转的例子
使用GDI+ 实现文字旋转的例子-use GDI+ text rotation example
- 2022-12-02 15:15:03下载
- 积分:1