Ⅰ. 컴퓨터 비전 기초 (4. 영상의 생성, 복사, 추출)
4-(1) 영상 생성 영상 데이터는 Numpy의 array로 표현되므로 array를 생성하는 것과 동일합니다. Import Library import cv2 import numpy as np from google.colab.patches import cv2_imshow 필요한 라이브러리들을 불러옵니다. Create Numpy Array img1 = np.empty((480, 640), dtype=np.uint8) img2 = np.zeros((480, 640, 3), dtype=np.uint8) img3 = np.ones((480, 640), dtype=np.uint8) * 100 img4 = np.full((480, 640, 3), (0, 255, 255), dtype=np.uint8) img1 : 모..
더보기