Homebrew/homebrew-science — pull request #413 by Sitin (2013-10-26 19:11:58+00:00)
Title: Fix iSight camera capture for OpenCV 2.4.6.1.

In OpenCV 2.4.6.1 some webcams (including iSight) fails to capture frames unless magic with cv2.namedWindow and cv2.waitKey applied.
Fortunately the guys from MacPorts faced with the same problem and found the solution earlier: https://trac.macports.org/browser/trunk/dports/graphics/opencv/files/patch-issue-3156.diff.
I created independent diff at https://gist.github.com/Sitin/7172726.