稀奇古怪的练手代码
白茯苓
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python实现在图片中标出点的位置
import cv2 img = cv2.imread("E:/data/cut/text/1.jpg") height, width, bands = img.shape #获取图片信息 color=(0,0,255) # circle(图片,中心点(x, y), 半径长度, 颜色,圆边厚度) cv2.circle(img,(48,240),30,color,3) cv2.circle(img,(195,371),30,color,3) cv2.imwrite("result.png",img) c.原创 2021-07-05 14:20:00 · 5625 阅读 · 1 评论 -
python实现json格式转voc数据集格式
首先来了解一下voc数据集格式: <annotation> <folder>VOC2007</folder> #图片来源 <filename>000001.jpg</filename> #图片名称 <source> #图片来源相关信息(不重要) <database>The VOC2007 Database</database> <annotation原创 2021-07-05 14:07:42 · 1973 阅读 · 0 评论
分享