爽歪歪666
不以物喜,不以己悲,努力才是永恒的主题。
摘要: 1 def divide_image(path,g_path1,g_path0): 2 img_lst = os.listdir(path) 3 for i in img_lst: 4 print('类别1,类别0') 5 img = cv2.imread(os.path.join(path,i)) 6 """ 7 cv2.namedWindow参数(‘窗口标题’,默认参数) 8 cv2.WIND 阅读全文
posted @ 2019-08-20 19:22 爽歪歪666 阅读(1122) 评论(0) 推荐(0) 编辑
摘要: 1 def fun_ndarray(): 2 a = [[1,2,7], 3 [-6,-2,-3], 4 [-4,-8,-55] 5 ] 6 b = [3,5,6] 7 a = np.array(a) 8 b = np.array(b) 9 a_b_column = np.column_stack( 阅读全文
posted @ 2019-08-20 09:05 爽歪歪666 阅读(5455) 评论(0) 推荐(0) 编辑