1. 安装编译opencv
https://blog.csdn.net/lijiang1991/article/details/50756065
/Users/yuhua.cheng/Opt/opencv-3.1.0/modules/videoio/src/cap_qtkit.mm:46:9: fatal error:
'QTKit/QTKit.h' file not found
#import <QTKit/QTKit.h>
^~~~~~~~~~~~~~~
https://github.com/Homebrew/homebrew-science/issues/4303
https://www.pyimagesearch.com/2015/06/29/install-opencv-3-0-and-python-3-4-on-osx/
最后完全按照这个教程成功编译安装
https://www.pyimagesearch.com/2016/12/05/macos-install-opencv-3-and-python-3-5/