에러/python
resize 에러
PEKAH
2020. 11. 29. 02:27
에러 : ValueError: Input images must have the same dimensions
해결 :
shape로 resize 시 3개의 인자를 받아야 하는데 H, W 두 개만 받아 발생
(H, W) --> (H, W, d)
(H, W, d) = imageA.shape
imageB = cv2.resize(imageB, (H, W))