摘要: import os import pickle def compare_results_by_filename(file1, file2, threshold): # 加载两个pickle文件 with open(file1, 'rb') as f: results1 = pickle.load(f 阅读全文
posted @ 2024-06-21 00:36 Ding-yixia 阅读(43) 评论(0) 推荐(0)
摘要: import os import pickle from PIL import Image import math def extract_black_pixels_in_fans(image_paths, angle, num_fans, threshold=10): results = {} f 阅读全文
posted @ 2024-06-21 00:30 Ding-yixia 阅读(28) 评论(0) 推荐(0)