Python openCV 이미지,동영상 출력/대칭/회전/확대,축소/크기조절/자르기
076923.github.io/posts/ Posts | 076923 Posts about Category 076923.github.io -이미지 출력 import cv2 image = cv2.imread("Image/cat.jpg", cv2.IMREAD_ANYCOLOR) # imread("경로", mode) / 이미지를 불러와 변수에 저장 cv2.imshow("cat",image) # 윈도우 창에 이미지를 띄움 height, width ,channel = image.shape # 해당 이미지의 높이, 너비, 채널의 값을 확인 print(height,width, channel) # 유효 비트가 많을 수록 더 정밀 / 채널 3 = 다색 이미지, 채널 1 = 단색 이미지 #cv2.waitKey(time) /..
2020. 10. 22.