Guest User

Untitled

a guest
May 25th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import cv2
  2.  
  3. img = cv2.imread('/media/quazi/DATADRIVE1/data/MOT16/train/MOT16-02/img1/000001.jpg')
  4. print (img.shape)
  5. height, width = img.shape[:2]
  6. res = cv2.resize(img,(int(width/10), int(height/10)))
  7. print (res.shape)
Add Comment
Please, Sign In to add comment