(434, 650, 4)
(3, 434, 650, 4)
ValueError: the input array must have size 3 along `channel_axis`, got (3, 434, 650, 4)
(434, 650)
(3, 434, 650)
ValueError: the input array must have size 3 along `channel_axis`, got (3, 434, 650)
[AVFoundation indev @ 0x7fb9a7412500] [0] iShowU Audio Capture
[AVFoundation indev @ 0x7fb9a7412500] [1] Background Music (UI Sounds)
[AVFoundation indev @ 0x7fb9a7412500] [2] NoMachine Audio Adapter
[AVFoundation indev @ 0x7fb9a7412500] [3] Built-in Microphone
[AVFoundation indev @ 0x7fb9a7412500] [4] NoMachine Microphone Adapter
[AVFoundation indev @ 0x7fb9a7412500] [5] Soundflower (64ch)
[AVFoundation indev @ 0x7fb9a7412500] [6] Soundflower (2ch)
[AVFoundation indev @ 0x7fb9a7412500] [7] Background Music
не является ли он решением для мак? Если да, то какой лучше выбрать? number = open("number.csv", "r")
for b in number:
before = cv2.imread((sys.argv[1]), str(b)+ '.png')
after = cv2.imread((sys.argv[2]), str(b)+ '.png')
before = cv2.imread((sys.argv[1]), str(b)+ '.png')
TypeError: Argument 'flags' is required to be an integer
def getFolderPath():
folder_selected = filedialog.askdirectory()
folderPath.set(folder_selected)
def getFolderPath2():
folder_selected2 = filedialog.askdirectory()
folderPath2.set(folder_selected2)
def getPath():
folder = folderPath.get()
folder2 = folderPath2.get()
print("Reference folder", folder)
print("Existing folder", folder2)
Так выглядят пути к папкам, внутри которых лежат файлы
table_number = open("numbers.csv", "r")
Так выглядит база с номерами