SHARE
TWEET

Untitled

a guest Nov 14th, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import cv2
  2. import numpy as np
  3.  
  4. cap = cv2.VideoCapture(0)
  5.  
  6. # hunting
  7. lowerThreshold = np.array([0, 0, 0])
  8. upperThreshold = np.array([255, 255, 255])
  9.  
  10. ret, frame = cap.read()
  11.  
  12. dst = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV)
  13.  
  14. # dst = cv2.inRange(frame, lowerThreshold, upperThreshold)
RAW Paste Data
Top