Wednesday, 15 May 2013

OpenCV in python. Getting webcam stream works, but error message is printed -



OpenCV in python. Getting webcam stream works, but error message is printed -

i writing in need webcam stream , face detection on it. works fine, error message printed in terminal, despite of me using cv.capturefromcam(-1) detects photographic camera connected machine. tried using cv2 instead of cv, , same error:

vidioc_querymenu: invalid argument vidioc_querymenu: invalid argument vidioc_querymenu: invalid argument vidioc_querymenu: invalid argument vidioc_querymenu: invalid argument vidioc_querymenu: invalid argument vidioc_querymenu: invalid argument

note code running cv.capturefromcam(-1).oh , using python 2.7.

import cv cv.capturefromcam(-1)

can tell me how prepare this? thanks.

i ran same error messages. in case not fatal indication python using v4l2 probe parameters happen invalid photographic camera / os combination.

in case

>>> cap = cv2.videocapture(0) vidioc_querymenu: invalid argument vidioc_querymenu: invalid argument vidioc_querymenu: invalid argument ...

but

ret, frame = cap.read()

gives ret=true , numby image frame.

in case video photographic camera logitech, inc. hd webcam c910. , running angstrom on beagleboneblack.

python opencv webcam

No comments:

Post a Comment