参考:https://blog.csdn.net/hust_bochu_xuchao/article/details/78819280
注意:添加OpenCV-contrib后,生成失败。目前不添加进来