从图片中检测并裁剪人脸?
我正在实习开发人脸识别系统。我现在正在用Java开发这个项目。我正在使用 OpenCV 库,但它在检测人脸时似乎无法正常工作。
我现在从桌面捕获图像并将其存储在硬盘上。
我现在想要的只是检测该图像中的脸部(不是识别)。我只需要检测那张脸并裁剪它。
请帮我解决一下。如果有人有用于检测图像中人脸的特定 Java 代码,请也将其发送给我。72236
I am working on a Face Recognition system for my internship. I am developing the project in Java right now. I am using OpenCV library, but it does not seem to work correctly in detecting faces.
I am at a point, where I capture image from the desktop and store it on the hard drive.
All I want now is to detect a face in that image (NOT IDENTIFY). I just need to detect that face and crop it.
Please help me with it. If anyone has specific code in Java to detect faces in a images, please send me that too.72236
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此库已内置人脸检测功能。您最好使用它。
This library already has face detection built in. You'd probably be better off using it.