maps / image.py
vishnuraggav's picture
first commit
ce847a6
raw
history blame contribute delete
No virus
127 Bytes
import cv2
path = '2000.jpg'
img = cv2.imread(path)
half = img.shape[1] // 2
img = img[:, :half, :]
cv2.imwrite('4.jpg', img)