Created
April 23, 2020 14:59
-
-
Save rajan9519/375f340d70dc3153eb945f200786c9da 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 cv2 | |
| import numpy as np | |
| cap = cv2.VideoCapture(0) | |
| ret,frame = cap.read() | |
| # HSV color space | |
| frame = cv2.cvtColor(frame,cv2.COLOR_BGR2HSV) | |
| cv2.imshow('image',frame) | |
| cv2.waitKey(0) | |
| cv2.destroyAllWindows() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment