Java中的人脸识别
有人能给我推荐一个 Java 开源人脸识别框架吗?
Can any one suggest me an open source face recognition framework in Java?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有人能给我推荐一个 Java 开源人脸识别框架吗?
Can any one suggest me an open source face recognition framework in Java?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
您可以尝试一些开源人脸识别 Java 系统,但不要期望太多,因为我正在寻找相同的东西,但我仍在寻找更好的选择!
请注意,在图像中找到任何人脸称为“人脸检测”,跟踪任何人脸称为“人脸跟踪”,确定检测到的人脸的身份称为“人脸识别”。我告诉你这一点是因为你可能必须使用不同的软件和算法来完成每一项! Paul的回答告诉你,OpenCV可以轻松地进行人脸检测(Haar Cascade Detector),但不能轻松地进行人脸识别(实际上它确实有办法进行特征脸识别),听起来你需要人脸识别,所以OpenCV不是由于您使用的是 Java,因此不一定是您的最佳选择。
您可以尝试使用 Java 进行人脸检测和人脸识别的 FAINT,但它几乎没有文档记录。还有“http://darnok.org/programming/face-recognition/”,但我似乎无法从中得到好的结果。还有“http://uni.johnsto.co.uk/faces/”人脸识别,以及用于人脸识别/检测的“Neuroph”。
如果您找到好的解决方案,请通过“[电子邮件受保护]告诉我”
祝你好运!
舍文·艾玛米
There are a few open-source Face Recognition Java systems you can try, but don't expect much, because I am looking for the same thing but I'm still looking for a better option!
Note that finding any face within in image is called "Face Detection", following any face is called "Face Tracking", and determining the identity of a detected face is called "Face Recognition". I'm telling you this because you probably have to use different software and algorithms to do each one! The answer by Paul tells you that OpenCV can do Face Detection easily (Haar Cascade Detector), but not Face Recognition as easily (actually it does have a way to do Eigenface Recognition), which it sounds like you need Face Recognition, so OpenCV isn't necessarily your best option since you are using Java.
You can try FAINT which does both Face Detection and Face Recognition in Java, but it is pretty much undocumented. There is also "http://darnok.org/programming/face-recognition/", but I can't seem to get good results out of it. There is also "http://uni.johnsto.co.uk/faces/" for Face Recognition, and "Neuroph" for Face Recognition / Detection.
If you find a good solution, please tell me at "[email protected]"
Good Luck!
Shervin Emami
查看 OpenCV。 Viola 和 Viola 提供的一种记录完善且广受好评的人脸检测技术。 Jones 已被实施,称为 Haar 级联。
完整的教程 - 从培训到实验 - 可在此处获取。请注意,您实际上并不需要进行培训;您只需进行培训即可。 OpenCV 捆绑了多个功能级联,其中包括一些用于面部检测的功能。
Check out OpenCV. A well-documented and acclaimed face detection technique by Viola & Jones has been implemented, known as Haar cascade.
A complete tutorial -- from training to experimentation -- is available here. Note that you don't actually need to do training; OpenCV comes bundled with several feature cascades, including a few for face detection.
准确的人脸识别是一项可以分为几个步骤的任务:
这可以通过多个库来完成,但需要 OpenCV 和 Caffe 的 bytedeco 包装器以及 ND4j 等库用于矩阵比较。
OpenCV 具有用于面部检测的 HAAR 级联,并且可以使用 flandmark 进行面部点识别。这将允许您执行步骤 1-3。
面部描述符发现可以使用 Caffe 的 bytedeco 包装器和 VGG 面部描述符库 (http://www.robots.ox.ac.uk/~vgg/software/vgg_face/ )
最后,Nd4j 可用于比较图像。如果您有足够的按个人分类的图像,也许您可以使用库中的神经网络进行分类。
Accurate face recognition is a task that can be broken into several steps:
This can be done with several libraries but requires bytedeco wrappers for OpenCV and Caffe as well as a library such as ND4j for matrix comparison.
OpenCV has HAAR cascades for face detection and can use flandmark for facial point recognition. This will allow you to perform steps 1-3.
Facial descriptor discovery can be done using the bytedeco wrapper for Caffe and VGG Face Descriptor library (http://www.robots.ox.ac.uk/~vgg/software/vgg_face/)
Finally, Nd4j can be used for comparing images. If you have enough images classified by individual, perhaps you can use a neural network from the library for classification.