Advertisement
Guest User

Untitled

a guest
Nov 14th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement