Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cv2
- import numpy as np
- cap = cv2.VideoCapture(0)
- # hunting
- lowerThreshold = np.array([0, 0, 0])
- upperThreshold = np.array([255, 255, 255])
- ret, frame = cap.read()
- dst = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV)
- # dst = cv2.inRange(frame, lowerThreshold, upperThreshold)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement