笔记
QFJIZHI
自动驾驶,人工智能
展开
-
opencv python 常用功能
转换为动图import imageioimport osimport numpy as npdef compose_gif(): cwd = os.getcwd() img_paths = [] for img_path in os.listdir(cwd): if img_path.endswith(".png"): img_paths.append(img_path) # 按照名字排序 img_paths.sor原创 2021-05-28 09:34:53 · 292 阅读 · 1 评论 -
tensorflow 安装问题FutureWarning: Conversion of the second argument of issubdtype from
cmd窗口运行一下命令,将numpy库降低版本:pip install numpy==1.13.3原创 2018-05-09 22:37:20 · 438 阅读 · 0 评论 -
python 三种方法引用路径
1. 使用 `\` 转义,写法为 `\\`。如: 'c:\\users\\xxx.txt'2. 字符串前加r强制不转义: r'c:\users\xxx.txt'3. 直接使用`/`: 'c:/users/xxx.txt'另外,一般引用路径还会使用路径拼接,分割等函数,例如:import ospath = os.path.join(os.getcwd(),'xxx....原创 2018-08-21 10:20:04 · 4053 阅读 · 0 评论 -
单目相机标定(分别利用ROS和Matlab)
1. ROS中相机标定1.1 开始之前做以下准备:* 一个已知维度的棋盘,下载链接>注意:8*6 的棋盘代表8*6个节点,也就是说9*7个黑白方块* 5m*5m 的光线充足的区域* 可以通过 `ROS` 发布图像的相机1.2 编译 获得依赖项并编译驱动rosdep install camera_calibration列出topics,rostopic li...原创 2018-09-03 10:49:02 · 1596 阅读 · 1 评论