Skip to content

Instantly share code, notes, and snippets.

@vsanse
Last active August 13, 2017 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsanse/cf9fb9b8cb8822c3db0c8a0c01314e13 to your computer and use it in GitHub Desktop.
Save vsanse/cf9fb9b8cb8822c3db0c8a0c01314e13 to your computer and use it in GitHub Desktop.
img = cv2.imread("test.jpg")
cv2.imshow("Orignal", img)
corner = img[0:200, 0:200]
cv2.imshow("Extracted", corner)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment