![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
nealys
这个作者很懒,什么都没留下…
展开
-
检查json的脚本
# -*- coding: utf-8 -*import cv2import os#dir = r"F:\wenjian\trainingData_3.3\VideoData"dir = r"./20200320_非机动车雨篷/白天"for eachPic in os.listdir(dir): if eachPic.split('.')[-1] == 'jpg': vPath = dir + "/" + eachPic + '.json' #print(vPath.原创 2021-07-06 11:19:20 · 147 阅读 · 0 评论 -
统计数据的脚本
import codecsimport numpy as npimport pandas as pdimport matplotlib.pyplot as plt# import seaborn as sns # from pandas_profiling import ProfileReport#from numpy import *import operatorfrom os import listdirdef readTXT(path): #print(path) .原创 2021-07-05 11:39:28 · 366 阅读 · 0 评论 -
视频抽帧脚本
# -*- coding: utf-8 -*import cv2import os#dir = r"F:\wenjian\trainingData_3.3\VideoData"dir = r"./20191009_非机动车雨篷视频"for eachVid in os.listdir(dir): vPath = dir + "/" + eachVid #vPath = r"./20191009_非机动车雨篷视频/@20190811194708_20190811194715_6735..原创 2021-07-05 11:37:46 · 300 阅读 · 0 评论