01 2021 档案

摘要:glass_img = cv2.imread(glass_dir + glass_img_name) test_img = cv2.imread(test_dir + test_img_name) all_w = max(test_img.shape[1], glass_img.shape[1])* 阅读全文
posted @ 2021-01-15 16:31 皮卡皮卡妞 阅读(113) 评论(0) 推荐(0) 编辑
摘要:import cv2 import os for fi in os.listdir('./CCimage/'): I=cv2.imread('./CCimage/'+fi) cv2.imwrite('./CCimage/'+fi.split('.')[0]+'.png',I) os.remove(' 阅读全文
posted @ 2021-01-11 15:58 皮卡皮卡妞 阅读(130) 评论(0) 推荐(0) 编辑
摘要:import os import shutil ''' num=0 for fi in os.listdir('./train_A/'): shutil.copy('./train_A/'+fi,'./all/'+str(num)+'_'+fi) shutil.copy('./train_B/'+' 阅读全文
posted @ 2021-01-07 15:21 皮卡皮卡妞 阅读(42) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- """ Created on Sun Sep 13 21:35:34 2020 @author: ydc """ import re import requests from urllib import error from bs4 import Be 阅读全文
posted @ 2021-01-07 14:52 皮卡皮卡妞 编辑

点击右上角即可分享
微信分享提示