Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - import cv2
- img = cv2.imread('/media/quazi/DATADRIVE1/data/MOT16/train/MOT16-02/img1/000001.jpg')
- print (img.shape)
- height, width = img.shape[:2]
- res = cv2.resize(img,(int(width/10), int(height/10)))
- print (res.shape)
                    Add Comment                
                
                        Please, Sign In to add comment                    
                 
                    