09 2020 档案
摘要:from PIL import Imagefrom PIL import ImageFile #代码五分钟,解决报错两小时(这两句不能丢)ImageFile.LOAD_TRUNCATED_IMAGES = True #import osdef get_size(path): name_list=os
阅读全文
摘要:(资源与代码同目录下即可不报错)# import cv2# import numpy# import shutil# import os# import time# from multiprocessing import Process# class MyProcess(Process):# def
阅读全文
摘要:pip config set global .index-url https://mirrors.aliyun.com/pypi/simple/ pip config set global .index-url https://pypi.tuna.tsinghua.edu.cn/simple pip
阅读全文
摘要:import cv2import numpycap=cv2.VideoCapture(0)#参数可改成视频路径while True: ret,frame=cap.read() print(ret,frame) cv2.imshow('frame',frame) if cv2.waitKey(1) a
阅读全文

浙公网安备 33010602011771号