Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColorPicker.py Question #8

Open
10UAikawa opened this issue Sep 25, 2020 · 1 comment
Open

ColorPicker.py Question #8

10UAikawa opened this issue Sep 25, 2020 · 1 comment

Comments

@10UAikawa
Copy link

From project 1 you use the Colorpicker.py to get the right values you need. when running the Code I get a problem with it at:

[ WARN:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-2b5g8ysb\opencv\modules\videoio\src\cap_msmf.cpp (435) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
Traceback (most recent call last):
imgHsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
cv2.error: OpenCV(4.4.0)

Im using python 3.7.6 and I have cv2 imported

@RaghavKaushal03
Copy link

try changing the 6th line cap = cv2.VideoCapture(1) to cap = cv2.VideoCapture(0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants