Я пытаюсь преобразовать многомерный массив в двумерный массив
#python #arrays #image-processing #conv-neural-network Вопрос: Это мой код: segmented_characters = [cv2.imread(file) for file in glob.glob('extracted_images/*.png')] segmented_characters = np.array(segmented_characters) gray_segmented_characters = [cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) for image in segmented_characters] gray_segmented_characters = np.array(gray_segmented_characters) gray_segmented_characters…