摘要: 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) 编辑