mirror of
https://github.com/bendtherules/pytry.git
synced 2026-08-18 13:53:01 +00:00
All the previous files
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import cv2
|
||||
# read image
|
||||
im = cv2.imread("Photo0094.jpg")
|
||||
h,w = im.shape[:2]
|
||||
print h,w
|
||||
# save image
|
||||
cv2.imwrite("result.png",im)
|
||||
Reference in New Issue
Block a user