SHARE
TWEET

Untitled

a guest Jun 25th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ret_gt,frame_gt=cap_pixel_level_gt.read()
  2.     cp_frame_gt = deepcopy((frame_gt[:, :, 0] > 200).astype(int))
  3.  
  4.     numberOfPixelsBefore=np.count_nonzero(cp_frame_gt)
  5.      
  6. 0
  7. 0
  8. 0
  9. 0  
  10. 496
  11. 496
  12. 606
  13. 609
  14. 609
  15.      
  16. cv2.circle(frame_gt,(int(TrajData[ind][0][1]), int(TrajData[ind][0][2])), 4, (0, 0, 0), -1)
  17.  cp_frame_gt = deepcopy((frame_gt[:, :, 0] > 200).astype(int))
  18.      
  19. numberOfPixelsAfter=np.count_nonzero(cp_frame_gt)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top