前几天听到一个朋友的需求说帮人脸p马赛克有点繁琐,所以就想用Opencv做个原理。 核心原理是很简单的: 1.人脸识别 2.高斯模糊 ...
分类:
其他好文 时间:
2018-10-14 00:26:09
阅读次数:
128
解决方法: 增加一个隐藏的option,就可以触发。 ...
分类:
其他好文 时间:
2018-10-09 11:41:00
阅读次数:
356
给出2个N * N的矩阵M1和M2,输出2个矩阵相乘后的结果。 Input 第1行:1个数N,表示矩阵的大小(2 <= N <= 100) 第2 - N + 1行,每行N个数,对应M1的1行(0 <= M1[i] <= 1000) 第N + 2 - 2N + 1行,每行N个数,对应M2的1行(0 < ...
分类:
其他好文 时间:
2018-10-07 23:24:57
阅读次数:
224
几乎 Menu 控件外观的各个方面都可以使用 Menu 控件的属性或级联样式表 (CSS) 来管理。通过了解哪些属性控制呈现的哪些方面,可以定制菜单的外观。本主题介绍由 Menu 控件公开的样式类型,并建议一些使用 Menu 控件设置样式的最佳做法。 可以直接在标记中设置各种样式的属性或使用样式表。 ...
分类:
Web程序 时间:
2018-10-06 17:50:22
阅读次数:
339
#include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; Mat img1, img2, img3, img4, img5, img6, img_result, img_gray1 ...
分类:
其他好文 时间:
2018-10-04 09:35:19
阅读次数:
178
不论鼠标指针穿过被选元素或其子元素,都会触发 mouseover 事件。 只有在鼠标指针穿过被选元素时,才会触发 mouseenter 事件。 被触发的 Mouseover 事件: 被触发的 Mouseenter 事件: ...
分类:
其他好文 时间:
2018-10-03 00:45:19
阅读次数:
207
#include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; Mat img1, img2, img3, img_gray, map_x, map_y; char win1[] = " ...
分类:
其他好文 时间:
2018-10-02 17:57:58
阅读次数:
221
#include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; Mat img1, img2, img3, img_gray, kernel_x, kernel_y; char win1 ...
分类:
其他好文 时间:
2018-10-01 21:06:09
阅读次数:
199
设m是正整数,a是整数,若a模m的阶等于φ(m),则称a为模m的一个原根。(其中φ(m)表示m的欧拉函数) 给出1个质数P,找出P最小的原根。 给出1个质数P,找出P最小的原根。 Input 输入1个质数P(3 <= P <= 10^9) Output 输出P最小的原根。 Input示例 3 Out ...
分类:
其他好文 时间:
2018-10-01 15:02:04
阅读次数:
125
Given a 2D integer matrix M representing the gray scale of an image, you need to design a smoother to make the gray scale of each cell becomes the ave ...
分类:
编程语言 时间:
2018-09-30 00:54:22
阅读次数:
170