Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Videocapture.get() not working

I am using logitech quickcam pro and trying to get/change camera properties.(I tried v4l2 and it works but i can't change the things i want using that). Here is my code:

import cv2

import time

import os

vidcap=cv2.VideoCapture(0)

success,image = vidcap.read()

count = 0

success = True

a=10000

debug=0

print vidcap.get(0)

This is the error i get:

HIGHGUI ERROR: V4L2: Unable to get property <unknown property="" string="">(0) - Invalid argument -1.0