-
摄像头采集人脸并计算相似度
加载原始对比图像,并计算原始图像的直方图;
获取摄像头信息,抽取其中的帧,并计算该帧图像的直方图;
将抽取的图像的直方图与原始图像的直方图进行比较,并计算其相似度。
这个相似度就是这两上人脸的相似度了。
主要有以下几个函数构成:
/** 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
-
方便的更换皮肤,不需要多少代码,非常简单易懂。
方便的更换皮肤,不需要多少代码,非常简单易懂。-facilitate the replacement of the skin, not the number of code is very simple and understandable.
- 2022-05-07 13:21:13下载
- 积分:1
-
通过WECAM颜色检测
colour detection by wecam-color detection by wecam
- 2022-01-26 08:33:20下载
- 积分:1
-
这是一个比例缩放的程序代码,可根据客户区的大小,按比例改变控件 的大小,详请见代码。...
这是一个比例缩放的程序代码,可根据客户区的大小,按比例改变控件 的大小,详请见代码。-This a zoom ratio of the code, according to the size of the customer, according to the change in the proportion of component size, see detailed code.
- 2022-03-29 00:30:00下载
- 积分:1
-
飞行动态仿真系统的源代码
飞行动力模拟系统VC源码- Flight dynamic simulator system VC source code
- 2023-05-03 03:10:03下载
- 积分:1
-
这是一个利用椭圆函数ellipse( )修改上例的画“小眼睛“的程序。
这是一个利用椭圆函数ellipse( )修改上例的画“小眼睛“的程序。- This is () revises on the example picture using elliptic
function ellipse "the small eye" the procedure.
- 2022-02-25 14:05:23下载
- 积分:1
-
opencv的录像程序
基于opencv2.4.4开源库,利用vs2010编写的一个opencv的测试样例,用于实现通过摄像头实时录像的功能,通过修改代码可以实现帧率的修改
- 2023-04-05 15:05:06下载
- 积分:1
-
用罗伯特subcomputioner彩色图像边缘检测,真彩色图像编程…
利用robert算子对图像彩色图像进行边缘检测,真彩色图像编程要注意三个字节表示一个象素,分别对RGB三色做Robert算子运算-Detect edge of color image using Robert subcomputioner,true color image programming should represent a pixel by three bytes,and compute the three colors(RGB) using Robert subcomputioner.
- 2022-06-14 09:54:39下载
- 积分:1
-
基于平面拟合的Lidar影像建筑物提取
从LiDAR影像中提取建筑物,最重要的是去除高大的树冠。本项目通过平面拟合去除LiDar影像中的高大树冠,并通过区域生长的方式得到建筑物对象。
- 2022-06-21 04:00:41下载
- 积分:1
-
在已知点的坐标和节点编号杆件两段接点标号的情况下绘制三维图形...
在已知点的坐标和节点编号杆件两段接点标号的情况下绘制三维图形-Known node coordinates and the bars at both ends of the case of contact numbers drawn three-dimensional graphics.
- 2022-11-22 13:05:03下载
- 积分:1