g
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
SimpleCV:1> cam = Camera() SimpleCV:2> cam.getAllProperties() HIGHGUI ERROR: V4L2: Unable to get property Saturation(9963778) - Invalid argument HIGHGUI ERROR: V4L2: Unable to get property Gain(9963795) - Invalid argument HIGHGUI ERROR: V4L: Gain control in V4L is not supported HIGHGUI ERROR: V4L2: Unable to get property Exposure(9963793) - Invalid argument HIGHGUI ERROR: V4L: Exposure control in V4L is not supported HIGHGUI ERROR: V4L2: Unable to get property Hue(9963779) - Invalid argument HIGHGUI ERROR: V4L2: Unable to get property Contrast(9963777) - Invalid argument SimpleCV:2: {'brightness': 0.5, 'contrast': 0.0, 'exposure': -1.0, 'gain': -1.0, 'height': 480.0, 'hue': 0.0, 'saturation': 0.0, 'width': 640.0} # sounds like only 'brightness', 'height', 'width' return ok, others is not support. SimpleCV:3> cam.getProperty("width") SimpleCV:3: 640.0 SimpleCV:5> cam.getProperty("height") SimpleCV:5: 480.0 |
getAllProperties()