摘要: 本文主要内容:伴随矩阵法矩阵求逆 一、原理/知识点 $$ A^{-1}=\frac{1}{|A|}A^{*} $$ |A|为矩阵A的行列式。若|A|=0,则矩阵A为奇异矩阵 (Singular Matrix),不存在逆矩阵。 A为矩阵A的伴随矩阵: $$ A^{}= \left( \begin{ar 阅读全文
posted @ 2022-11-13 09:22 达可奈特 阅读(1989) 评论(2) 推荐(0) 编辑
摘要: 本博客的主要内容:理解 PNP 问题,及利用已知三维结构与图像的对应关系,求解摄像机/相机的三维运动/位姿。 阅读全文
posted @ 2022-11-10 21:32 达可奈特 阅读(1233) 评论(0) 推荐(0) 编辑
摘要: 本篇博客的主要内容:如何描述一个刚体 (rigid) 在三维空间中的运动,重点关注旋转 (Rotation); 理解三维空间中刚体运动的描述方式:旋转矩阵 (Rotation Matrix)、变换矩阵 (Transformation Matrix)、四元数 (Quaternion)和欧拉角(Euler angle) 阅读全文
posted @ 2022-11-09 07:55 达可奈特 阅读(152) 评论(0) 推荐(0) 编辑
摘要: COLMAP实现不同复杂度的不同相机模型。如果没有先验已知的内参,通常最好使用最简单的相机模型,它足够复杂来建模畸变效应: 相机模型 SIMPLE_PINHOLE和PINHOLE: Use these camera models, if your images are undistorted a p 阅读全文
posted @ 2022-11-08 23:10 达可奈特 阅读(782) 评论(0) 推荐(0) 编辑
摘要: VSCode快捷键 命令 快捷键 Undo (撤销) Ctrl+z Redo (恢复) Ctrl+y JetBrains系列 PyCharm/CLion 查找与替换快捷键 注意输入法 Pycharm使用技巧:Split Vertically/Horizontally(垂直/水平拆分窗口) https 阅读全文
posted @ 2022-11-06 11:24 达可奈特 阅读(28) 评论(0) 推荐(0) 编辑
摘要: Python import cv2 video = cv2.VideoCapture(video_path) width = int(video.get(cv2.CAP_PROP_FRAME_WIDTH)) height = int(video.get(cv2.CAP_PROP_FRAME_HEIG 阅读全文
posted @ 2022-10-07 14:28 达可奈特 阅读(91) 评论(0) 推荐(0) 编辑
摘要: Windows系统安装ffmpeg 下载ffmpeg 配置环境变量 需注意:下载时要下载full版本的压缩包 最后需要添加环境变量:D:\Softwares\ffmpeg-5.1.1-full_build\bin 开始 ffmpeg -version 查看FFmpeg是否正确安装 ffmpeg -f 阅读全文
posted @ 2022-09-18 17:48 达可奈特 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 一、OpenCV图像读取 import cv2 image = cv2.imread(image_path) # BGR # print(image.shape) # [H, W, C] cv2.imshow("window1", image) cv2.waitKey(0) opencv-pytho 阅读全文
posted @ 2022-09-13 20:56 达可奈特 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 一、Python读写txt文件 1.1 python读取txt文件 in_text_file = "xxx.txt" with open(in_text_file) as f: lines = f.readlines() lines = [line.strip() for line in lines 阅读全文
posted @ 2022-09-03 15:22 达可奈特 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Python自带os.path库相关函数 一、判断文件/路径是否存在 os.path.isfile() os.path.isdir() os.path.exists() 可缩写为:import os.path as osp 返回值:True/False 二、创建文件夹 os.makedirs() i 阅读全文
posted @ 2022-09-03 15:18 达可奈特 阅读(17) 评论(0) 推荐(0) 编辑