Itseez/opencv — pull request #449 by boukevanderbijl (2013-02-07 20:02:59+00:00)
Title: Make Python module's cv.QueryFrame release the GIL

Hi,

many functions in the Python module currently keep the GIL locked whilst performing heavy calculations, including QueryFrame which doesn't calulcate anything but it blocks while waiting until it can take a picture.

I modified the opencv Python module to make sure that cv.QueryFrame releases the GIL so other threads can run while the camera is being queried.