Java中的人脸识别

发布于 2024-08-09 04:14:52 字数 32 浏览 4 评论 0原文

有人能给我推荐一个 Java 开源人脸识别框架吗?

Can any one suggest me an open source face recognition framework in Java?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

简单爱 2024-08-16 04:14:52

您可以尝试一些开源人脸识别 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

べ繥欢鉨o。 2024-08-16 04:14:52

查看 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.

不再让梦枯萎 2024-08-16 04:14:52

准确的人脸识别是一项可以分为几个步骤的任务:

  1. 人脸检测
  2. 面部标志点发现
  3. 使用标志点进行旋转、裁剪、对齐和缩放
  4. 面部描述符点发现(这些不是人类可读的)
  5. 与已知面部进行比较以找到最接近的面部match

这可以通过多个库来完成,但需要 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:

  1. Face detection
  2. Facial landmark point discovery
  3. Rotation, cropping, alignment, and scaling using your landmarks
  4. Facial descriptor point discovery (these are not human readable)
  5. Comparison to known faces to find the closest match

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文