摘要
OpenCV是一个用C++语言编写的计算机视觉库,在Java程序中可以通过JavaCV来访问OpenCV。本文介绍了一个基于JavaCV的人脸识别程序,该程序事先要对人脸识别器进行训练,之后就可以根据输入的人脸照片识别出相应的身份。
OpenCV is a computer vision library written in C ++ language. It is accessible to Java programs via JavaCV. The paper introduces a face recognition program based on JavaCV. The program needs to train a face recognizer beforehand, and after that, it could recognize the corresponding identity in terms of an inputted face photo.
引文
[1] 360百科.人脸识别[EB/OL]. https://baike. so. com/doc/5431092-5669384. html.
[2]毛星云,冷雪飞,王碧辉等. OpenCV3编程入门[M].电子工业出版社, 2015.
[3]开源中国. Java视觉处理库Java CV[EB/OL]. https://www.oschina. net/p/javacv.