Building OpenCV on Mac OS Sierra

Building OpenCV on Mac OS Sierra

I struggled to build OpenCV on Mac OS Sierra because a package called QTKit has been deprecated since 10.9. Apparently the solution was to use AVFoundation (which I discovered while looking at the OpenCV repo). Here is the solution to building OpenCV without any issues. Building the static libraries