摘要: 参考博客:https://blog.csdn.net/qq_41672428/article/details/107451834 xml文件格式如下所示: <annotation verified="no"> <folder>JPG</folder> <filename>driving_0</fil 阅读全文
posted @ 2020-08-20 12:47 cfancy 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 使用labelimg 或者 labelme 此项目使用的是 labelimg 打标签 阅读全文
posted @ 2020-08-19 19:58 cfancy 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1、调用API 2、使用SDK 需要安装 pycocotools包 【pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI】 关于矩形坐标 x1 * 图片宽度 = 检测框的左上角的横坐标 阅读全文
posted @ 2020-07-14 06:56 cfancy 阅读(642) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://blog.csdn.net/qq_35328403/article/details/105352525 1、修改图片格式,并重命名图片名称 1 import os 2 3 4 class BatchRename(): #定义一个重命名的类 5 def __init__(se 阅读全文
posted @ 2020-07-14 06:54 cfancy 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://blog.csdn.net/qq_38497266/article/details/103245478 将视频处理为指定帧数之间的图片,并保存指定文件夹 1 import cv2 2 3 4 def video2frame(videos_path, frames_save_ 阅读全文
posted @ 2020-07-14 06:49 cfancy 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 三个点:“...”,在矩阵里是这样的:a[...,0]就等于a[:,:,:,0] 对于X[:,0]; 是取二维数组中第一维的所有数据 对于X[:,1] 是取二维数组中第二维的所有数据 对于X[:,m:n] 是取二维数组中第m维到第n-1维的所有数据 对于X[:,:,0] 是取三维矩阵中第一维的所有数 阅读全文
posted @ 2020-06-30 11:00 cfancy 阅读(83) 评论(0) 推荐(0) 编辑
摘要: # for Ubuntu step 1. 安装相关依赖 sudo apt-get install build-essential cmake sudo apt-get install libgtk-3-dev sudo apt-get install libboost-all-dev step 2. 阅读全文
posted @ 2020-06-08 07:30 cfancy 阅读(198) 评论(0) 推荐(0) 编辑
摘要: keras官网:https://keras.io/api/models/ 参考:https://www.cnblogs.com/zb-ml/p/12704637.html http://www.manongjc.com/article/92196.html 创建keras 模型有三种方法:Seque 阅读全文
posted @ 2020-05-31 19:14 cfancy 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 经典论文:Gradient-Based Learning Applied to Document Recognition 参考博文:https://blog.csdn.net/weixin_44344462/article/details/89212507 构建LeNet-5模型 #定义LeNet5 阅读全文
posted @ 2020-05-31 17:16 cfancy 阅读(664) 评论(0) 推荐(0) 编辑
摘要: 代码参考:https://aistudio.baidu.com/aistudio/projectdetail/467668 https://www.cnblogs.com/feifeifeisir/p/10627474.html 本次爬虫主要是通过正则表达式获取想要的信息,以表格的形式存储 参考代码 阅读全文
posted @ 2020-05-12 18:18 cfancy 阅读(272) 评论(0) 推荐(0) 编辑