Open AhmedSamara opened 8 years ago
cam.get(3)
and cam.get(4)
showed a resolution of 640x480.
We tried changing it to the proper resolution using cam.set(3), cam.set(4)
f 1280x720, but that also didn't fix it. We got a new error though:
HIGHGUI ERROR: V4L: Propery <unknown property string>(100) not supported by device
select timeout
Solved this by setting the resolution with
cam.set(3,1280)
cam.set(4,720)
This no longer works.
Trying these isntructions:
http://dumb-looks-free.blogspot.com/2014/05/beaglebone-black-bbb-with-logitech-c270.html
But couldn't find repo qv412
.
Well, it still doesn't work. Even simply running:
import cv2
cam = cv2.VideoCapture(0)
#cam.set(3,600)
#cam.set(4,400)
ret, frame = cam.read()
print "X: ", cam.get(3)
print "Y: ", cam.get(4)
(We tried setting the resolution manually for every setting we Gives the 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
X: 640.0
Y: 480.0
give the select timeout error.
@BrettGoldbach is working on this with me.
@dfarrell07 @mynameis7 @kvijay1995
Do any of you have any ideas on what could be wrong?
It works using a logitech c920, which is an HD camera that we can't use for our project.
We plugged the beaglebone into an HDMI port so we could view the output of the openCV frames, and they're not working.
We can view the output on
mplayer
, so the webcam has drivers installed and everything and works, but openCV can't take pictures. We also previously tested OpenCV and proved that it worked on the BBB, so this is a new problem. Possibly related to #450Whenever we run qr_feed.py (or anything that takes pictures with OpenCV) we get this error: