会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yunshangyue
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
5
6
7
8
9
10
11
12
13
···
19
下一页
2020年8月30日
numpy中的随机数
摘要: # 随机数生成 #标准正态分布 samples = np.random.normal(size=(4,4)) print(samples) # 生成一个标准正太分布的4*4样本值 #均值分布 # numpy.random.rand(d0, d1, ..., dn):生成一个[0,1)之间的随机浮点数
阅读全文
posted @ 2020-08-30 07:44 yunshangyue
阅读(340)
评论(0)
推荐(0)
2020年8月29日
Multi-Target Tracking by Discrete-Continuous Energy Minimization
摘要: aaa
阅读全文
posted @ 2020-08-29 18:25 yunshangyue
阅读(111)
评论(0)
推荐(0)
2020年8月27日
vector操作
摘要: 索引 vec[i]; vec.at(i);
阅读全文
posted @ 2020-08-27 20:36 yunshangyue
阅读(79)
评论(0)
推荐(0)
字符串
摘要: 拼接 str1.append(str2)//简单拼接 str1.append(str2, 6,5)//str1后面拼接str2第六个字符开始的连续5个字符 str1.append(10, 'A')//将10个A拼接到str1后面 str1+"asdf";
阅读全文
posted @ 2020-08-27 19:35 yunshangyue
阅读(78)
评论(0)
推荐(0)
opencv单应矩阵
摘要: #include "opencv2/opencv.hpp" using namespace cv; using namespace std; int main( int argc, char** argv) { // Read source image. Mat im_src = imread("b
阅读全文
posted @ 2020-08-27 19:23 yunshangyue
阅读(547)
评论(0)
推荐(0)
opencv 单应矩阵
摘要: #!/usr/bin/env python import cv2 import numpy as np if __name__ == '__main__' : # Read source image. im_src = cv2.imread('book2.jpg') # Four corners o
阅读全文
posted @ 2020-08-27 19:22 yunshangyue
阅读(199)
评论(0)
推荐(0)
对极约束
摘要: 单应矩阵 是将一张照片映射到另一个平面。 对极约束是在立体的。3D的空间的约束
阅读全文
posted @ 2020-08-27 17:52 yunshangyue
阅读(215)
评论(0)
推荐(0)
opencv Mat 操作
摘要: Mat初始化 为空不赋值 cv::Mat skeleton3D(4, 17, CV_64F); 直接赋值: double a[] = {1,2,3,4}; Mat test(2,2,CV_64_F); cv::Mat mtest(3, 1, CV_64F, cv::Scalar::all(0));
阅读全文
posted @ 2020-08-27 16:10 yunshangyue
阅读(342)
评论(0)
推荐(0)
2020年8月26日
两个视角得到世界坐标系
摘要: #matr0:视角1的相机内参矩阵点乘旋转平移矩阵,形状(3,4) #matr1:视角2的相机内参矩阵点乘旋转平移矩阵,形状(3,4) #ske0:视角1中的所有的点,形状(2,N),第一行是所有点的x坐标,第二行是所有点的y坐标 points4D = cv2.triangulatePoints(m
阅读全文
posted @ 2020-08-26 18:32 yunshangyue
阅读(306)
评论(0)
推荐(0)
opencv storage 操作C++
摘要: 读取 #include #include using namespace std; using namespace cv; void main() { //FileStorage fs("caliResult.xml",FileStorage::READ); FileStorage fs; fs.o
阅读全文
posted @ 2020-08-26 17:40 yunshangyue
阅读(260)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
19
下一页