摘要: 比如我们已知函数y=f(x),那我们想知道f(x)的最大值,x=argmax{f(x)} 我们使用高斯过程GP作为代理函数去代理f(x),根据一些已有的一些初始(xi,yi)(上图曲线上的小黑点)去fit一个GP(上图紫色区域画出来fit好的GP) 根据已有的高斯过程,随机采样m个点(上图的x1,x 阅读全文
posted @ 2022-03-19 19:49 阿夏z 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 爱因斯坦求和(einsum)和克罗内克记号(Kronecker delta) 参考文章1 参考文章2 阅读全文
posted @ 2022-03-04 11:04 阿夏z 阅读(33) 评论(0) 推荐(0) 编辑
摘要: cin/cin.get/cin.getline与输入缓冲区 从键盘读入的几种方式 #include <iostream> #include <string> using namespace std; int main(){ char a[20]; cout<<"cin读取 "<<endl; //输入 阅读全文
posted @ 2020-09-24 11:06 阿夏z 阅读(2336) 评论(0) 推荐(0) 编辑
摘要: 计算机视觉中关于人脸的一些任务 face detection vj/lbp/hog dl:faceness/mtcnn/RetinaNet/faceBoxes/LFFD 人脸检测综述 face landmark estimation/face alignment 3000fps/dlib 68点 m 阅读全文
posted @ 2020-09-21 14:28 阿夏z 阅读(232) 评论(0) 推荐(0) 编辑
摘要: softNMS ! import numpy as np boxes = np.array([[100, 100, 210, 210, 0.72], [250, 250, 420, 420, 0.8], [220, 220, 320, 330, 0.92], [100, 100, 210, 210, 阅读全文
posted @ 2020-09-18 15:36 阿夏z 阅读(1251) 评论(1) 推荐(0) 编辑
摘要: python 多进程(MultiProcess) 1.Process 创建进程的类:Process([group [, target [, name [, args [, kwargs]]]]]),target表示调用对象,args表示调用对象的位置参数元组,kwargs表示调用对象的字典,name 阅读全文
posted @ 2020-08-05 10:27 阿夏z 阅读(870) 评论(0) 推荐(0) 编辑
摘要: 调整对比度 直方图均衡化/对比度限制自适应直方图均衡化(CLAHE)/gamma变换/对数变化 限制对比度自适应直方图均衡化算法原理 限制对比度自适应直方图均衡化算法实现 代码实现 import cv2 import matplotlib.pyplot as plt import numpy as 阅读全文
posted @ 2020-07-02 12:23 阿夏z 阅读(979) 评论(0) 推荐(0) 编辑
摘要: 图像锐化算法(Image sharpening):拉普拉斯增强和Unsharp Masking(附代码) \(y(m,n)=x(m,n)+\lambda*z(m,n)\) 其中$x(m,n)$是处理前图片,$y(m,n)$是锐化后,$z(m,n)\(代表增强图像的边缘和细节(高频部分),\)\lam 阅读全文
posted @ 2020-05-28 12:02 阿夏z 阅读(7500) 评论(0) 推荐(0) 编辑
摘要: 1.标题 号来表示 a aaa 2.换行 末尾两个空格或者`` aaa bbb ccc ddd 3.引用 表示 也可以在引用中 使用嵌套的引用 4.列表 无序列表 或者 或者 表示 a b + a + b a b 有序列表以数字和 表示 1. a 2. b 5.代码 通过 是Tab键上边那个按键) 阅读全文
posted @ 2020-04-27 18:18 阿夏z 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <fstream> 3 #include <string.h> 4 #include <vector> 5 #include <sys/io.h> 6 #include <dirent.h> 7 #include <stdlib.h> 阅读全文
posted @ 2020-04-21 14:49 阿夏z 阅读(369) 评论(0) 推荐(0) 编辑