参考: 1、http://www.cnblogs.com/objectDetect/p/5947169.html 2、https://blog.csdn.net/gzq0723/article/details/53138430