Last active
August 10, 2018 01:48
-
-
Save lachlanagnew/ee15aa83b25b026505c17fc0bb2d9b5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import cv2 | |
cap = cv2.VideoCapture(0) | |
_, img = cap.read() | |
#Convert BGR colour space that the camera picks up to HSV | |
hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment