08 2021 档案
摘要:function interpretation cv.imread() open image cv.imwrite() save image img.shape cv.imshow(window_name, image) cv.waitKey(0) waits until a key is pres
阅读全文
摘要:1. cv2.blur 均值滤波 3*3的filter_core [[1/9, 1/9, 1/9], [1/9, 1/9, 1/9], [1/9, 1/9, 1/9]] 很容易看出是对感受野全部元素取均值 2.cv.GaussianBlur 高斯滤波 3*3的filter_core [[1 / 16
阅读全文
摘要:function interpretation pd.Series(list of values) creste a list with default integer index, you can access value by using s[index] pd.read_csv("name o
阅读全文
摘要:funciton interpretation np.array() np.arange(start, end, step) np.linspace(start, end, count) from start to end, equal margin np.copy() np.hstack(tupl
阅读全文
摘要:os.mkdir() os.remove() os.walk() os.path.isfile() os.path.isdir() os.path.join() open("filename", "a") #append
阅读全文
摘要:round(float,num) #舍入,num为保留的小数位数 int(a, base=2) #二进制字符串转int byteobject.decode() #字节码转str print(sep=“,”/ end = “") delattr(object, attrName) #删除对象的属性 "
阅读全文
摘要:function interpretation json.dumps() 将python对象编码成Json字符串 json.loads() 将Json字符串解码成python对象 json.dump() 将python中的对象转化成json储存到文件中 json.load() 将文件中的json的格
阅读全文

浙公网安备 33010602011771号