'**SUMMARY**
Retrieve the value of a given property, wrapper for cv.GetCaptureProperty
.. Warning::
For most web cameras only the width and height properties are supported. Support
for all of the other parameters varies by camera and operating system.
**PARAMETERS**
* *prop* - The property to retrive.
**RETURNS**
The specified property. If it can\'t be found the method returns False.
**EXAMPLE**
>>> cam = Camera()
>>> prop = cam.getProperty("width")'

def getProperty(self, prop):

    if self.pygame_camera:
        if (prop.lower() == 'width'):
            return self.capture.get_size()[0]
        elif (prop.lower() == 'height'):
            return self.capture.get_size()[1]
        else:
            return False
    if (prop in self.prop_map):
        return cv.GetCaptureProperty(self.capture, self.prop_map[prop])
    return False
