随笔 - 1759  文章 - 0  评论 - 109  阅读 - 430万
12 2018 档案
schema
摘要:链接:https://www.zhihu.com/question/21167385/answer/214543406 什么是 XML Schema? XML Schema 的作用是定义 XML 文档的合法构建模块,类似 DTD。 XML Schema 的作用: 定义可出现在文档中的元素 定义可出现 阅读全文
posted @ 2018-12-28 20:24 一杯明月 阅读(555) 评论(0) 推荐(0) 编辑
opendrive
摘要:来源:http://opendrive.org/docs/VIRES_ODR_OCRG.pdf OpenDRIVE® is the leading open format and de-facto standard for the description of road networks in dr 阅读全文
posted @ 2018-12-28 20:23 一杯明月 阅读(4254) 评论(0) 推荐(0) 编辑
PyQt5豆瓣镜像下快速安装
摘要:直接pip安装,慢到你怀疑人生。豆瓣镜像安装,嗯,不能更爽。 pip install PyQt5 -i https://pypi.douban.com/simple 谢谢:https://blog.csdn.net/jxwzh/article/details/79119870 阅读全文
posted @ 2018-12-28 14:36 一杯明月 阅读(4462) 评论(0) 推荐(0) 编辑
C++配置Opencv
摘要:https://blog.csdn.net/qq_17550379/article/details/78201442 阅读全文
posted @ 2018-12-28 11:27 一杯明月 阅读(1452) 评论(0) 推荐(0) 编辑
python_opencv库的学习
摘要:一、以灰度图的形式加载彩色图像。 https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_gui/py_image_display/py_image_display.html 警告:即便路径错误,也不会抛出错误,只会返回None。 二、显示一个图像。 阅读全文
posted @ 2018-12-27 14:52 一杯明月 阅读(700) 评论(0) 推荐(0) 编辑
python中用opencv读取并显示图片
摘要:一、读取并显示图片: 二、显示单通道图像 https://blog.csdn.net/jdzwanghao/article/details/80526235 [1]、读取与显示图片。 1、用opencv读取并显示图片: 2、用PLT库读取并显示图片: 阅读全文
posted @ 2018-12-27 09:37 一杯明月 阅读(3400) 评论(0) 推荐(0) 编辑
python无法安装cv2的解决办法
摘要:问题:在windows命令窗口输入pip install cv2后出现:Could not find a version that satisfies the requirement cv2... 解决办法:换成以下命令: pip3 install opencv-python答案地址:https:/ 阅读全文
posted @ 2018-12-26 20:45 一杯明月 阅读(7123) 评论(0) 推荐(0) 编辑
论文《Lanelets: Efficient Map Representation for Autonomous Driving》的解读
摘要:第四部分 LANELETS 的说明 A. 存储格式和编辑工具 我们采用OSM格式代表lanelets和其他提到的数据结构,OSM格式主要使用了节点,路线和关系。OSM定义一个XML基础文件格式用来存储和地图数据交换。OSM以10的负7次方的精度保存位置数据,在赤道处的精度大约是1cm. 这种地图格式 阅读全文
posted @ 2018-12-19 11:03 一杯明月 阅读(487) 评论(0) 推荐(0) 编辑
python循环次数的使用
摘要:a=[str(i) for i in range(88888,88912)] b=[str(i) for i in range(77777,77785)] def f(a,b,k=0,m=0): n=0 g = [] while n<4: j = 0 for i in a[k:]: while j < 1:... 阅读全文
posted @ 2018-12-13 16:43 一杯明月 阅读(3285) 评论(0) 推荐(0) 编辑
python的tkinter对话框
摘要:运行结果: 阅读全文
posted @ 2018-12-13 15:28 一杯明月 阅读(1189) 评论(0) 推荐(0) 编辑
利用枚举找到列表中重复元素的索引
摘要:运行结果: ['2', '5', '6', '11', '2', '535', '2', '2'][0, 4, 6, 7] 枚举: (0, 'a')(1, 'b')(2, 'c') 运行结果: 0 a1 b2 c 阅读全文
posted @ 2018-12-10 19:55 一杯明月 阅读(962) 评论(0) 推荐(0) 编辑
cad绘图顺序的快捷键
摘要:DR 阅读全文
posted @ 2018-12-09 15:43 一杯明月 阅读(2649) 评论(0) 推荐(0) 编辑
python读取文件后切片
摘要:from itertools import islice with open(“1.txt") as f: for a in islice(f,0,2): print(a) 阅读全文
posted @ 2018-12-07 16:57 一杯明月 阅读(2121) 评论(0) 推荐(0) 编辑
python操作cad
摘要:运行结果: Hello, Autocad from PythonDrawing2.dwg 上面这个例子不可以运行,因为没有初始化点的坐标。 运行结果: C:\Users\Qin\AppData\Local\Programs\Python\Python36\python.exe D:/statisti 阅读全文
posted @ 2018-12-07 10:09 一杯明月 阅读(10179) 评论(0) 推荐(0) 编辑
pycharm解决Inconsistent indentation:mix of tabs and spaces
摘要: 阅读全文
posted @ 2018-12-07 09:41 一杯明月 阅读(1442) 评论(0) 推荐(0) 编辑
python当前工作文件夹中创建空的.txt文件
摘要:import os def new_txt(): a1='实线' b = os.getcwd() + '\\fazhandadao_test_txt\\' if not os.path.exists(b): os.makedirs(b) for file in range(1000,1020): open(b+a1+str(fi... 阅读全文
posted @ 2018-12-06 19:31 一杯明月 阅读(10876) 评论(0) 推荐(0) 编辑
函数指针
摘要:通过函数指针调用函数: 把一个函数赋值给函数指针: 链接:https ://zhuanlan.zhihu.com/p/37306637 阅读全文
posted @ 2018-12-05 16:32 一杯明月 阅读(143) 评论(0) 推荐(0) 编辑
matlab的数组
摘要:1.定义:同一类型的元素的集合。 2.生成:用[]创建,元素之间用逗号或者空格隔开。 第一例: >>a=[1,2,3,4] a = 1 2 3 4 注意,取矩阵的某几列,是这样a(:,2:3),即a后面是小括号,不是中括号。 第二例: >> b=1:5 b = 1 2 3 4 5 第三例,生成0矩阵 阅读全文
posted @ 2018-12-04 14:41 一杯明月 阅读(2031) 评论(0) 推荐(0) 编辑
matlab的调试
摘要:MATLAB(1)——基本调试方法(Debug) 链接:http://www.cnblogs.com/xingshansi/articles/6477185.html 前言 之前经常用MATLAB,却不小心停留在了舒适区,连基本的调试方法都没有掌握。本文主要是对MATLAB程序调试中的一般方法进行总 阅读全文
posted @ 2018-12-04 10:40 一杯明月 阅读(2410) 评论(0) 推荐(0) 编辑
matlab plot()函数及设置线型和颜色
摘要:是个画图函数: 语法: figure(1000);hold on;plot(x,y,'b.','markersize',20);axis equal; 其中,x和y是某两个长度相同的列向量。比如:x=[1;2;3;4];y=[1;2;3;4]; 线型和颜色: 线型 说明 标记符 说明 颜色 说明 - 阅读全文
posted @ 2018-12-04 10:24 一杯明月 阅读(4942) 评论(0) 推荐(0) 编辑
对C++指针的一个比喻
摘要:假如你身在上海,你的电脑出了一点问题,你解决不了,这时你想起了你的远在北京的朋友小D,此时小D打开了他的心爱的笔记本。。。 c++中函数的参数传指针就像你用teamviewer与你的朋友小D建立连接,你朋友用鼠标远程操控你的电脑。而修电脑的过程你可以在你的电脑上看到。 传值就相当于你把你的电脑出现的 阅读全文
posted @ 2018-12-03 15:23 一杯明月 阅读(330) 评论(0) 推荐(0) 编辑
matlab保存txt文件
摘要:参考1: save roadsurfacepointcloud.xyz -ascii roaddata2 %保存路面点云文件 roaddata2是变量。 参考2: 将数据写入文本文件 - MATLAB & Simulink - MathWorks 中国 阅读全文
posted @ 2018-12-03 15:01 一杯明月 阅读(2071) 评论(0) 推荐(0) 编辑
matlab高亮显示选中的变量
摘要:第一步:点preference. 第二步: 阅读全文
posted @ 2018-12-03 11:20 一杯明月 阅读(3869) 评论(0) 推荐(0) 编辑
matlab打开文件对话框
摘要:1. [filename, pathname, filterindex] = uigetfile({'*.las', '点云文件 (*.las)'; '*.xyz', '点云文件 (*.xyz)'; '*.*', 'All Files (*.*)'},... '请选择点云文件:','F:\123\L 阅读全文
posted @ 2018-12-03 11:12 一杯明月 阅读(1922) 评论(0) 推荐(0) 编辑
matlab字符串链接的三种方式
摘要:1.fprintf()函数: 运行结果: I love you,ChinaI love you,China*****123 2.strcat()函数: 运行结果:I love you, China ! 3.[] 运行结果: I love you, China ! 总结:第三种方法更简洁! 阅读全文
posted @ 2018-12-02 19:58 一杯明月 阅读(482) 评论(0) 推荐(0) 编辑
matlab添加当前文件夹到函数搜索目录
摘要:pwd表示当前路径 addpath(genpath(pwd)) 将当前文件夹下的所有子文件夹都包括进调用函数的目录 p = genpath(folderName) 返回一个包含路径名称的字符向量,该路径名称中包含 folderName 以及 folderName 下的多级子文件夹。 注:在做第1步之 阅读全文
posted @ 2018-12-02 19:22 一杯明月 阅读(2873) 评论(0) 推荐(0) 编辑
python的readline读空行
摘要:在文件中,如果遇到一个空白行,readline()并不会返回一个空串,因为每一行的末尾还有一个或多个分隔符,因此“空白行”至少会有一个换行符或者系统使用的其他符号。只有当真的读到文件末尾时,才会读到空串""。 阅读全文
posted @ 2018-12-02 14:02 一杯明月 阅读(2238) 评论(0) 推荐(1) 编辑
python处理txt文件的一种情况
摘要:在txt文本中,以换行符作为标记分段处理txt文件中的内容的方法: with open(path, 'r', encoding='utf-8') as f: for line in f: if line!='\n': print(line,end='') else: break 阅读全文
posted @ 2018-12-01 22:08 一杯明月 阅读(377) 评论(0) 推荐(0) 编辑
python的join()函数
摘要:def join(self, iterable): # real signature unknown; restored from __doc__ """ S.join(iterable) -> str Return a string which is the concatenation of th 阅读全文
posted @ 2018-12-01 21:06 一杯明月 阅读(1325) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示