开发者

Face recognition with JavaCV

开发者 https://www.devze.com 2023-04-03 03:37 出处:网络
Has someone successfully implemented the face recognition (thus not face detection!) with JavaCV? If yes, can you share your implementa开发者_开发问答tion ideas / source codes?

Has someone successfully implemented the face recognition (thus not face detection!) with JavaCV? If yes, can you share your implementa开发者_开发问答tion ideas / source codes? Thanks.


I ported an OpenCV face recognition example to Java using JavaCV: check here


I don't know the answer but here's a tip:

Remember your "haarcascade_frontalface_alt.xml" must be in the 'src' Folder

This might help you : cvHaarDetectObjects


There are some examples on opencv installation folder as well and there are lot of examples on face detecting on the internet these are some of them try to go through this links hop you get some idea about it.

  • First
  • Second


I know this is probably well too late, but I figured, just in case anyone else was still wondering I have developed/am still developing a face recognition app on android using JavaCV. It was for a uni project, and it can be found on my git-hub here:

I have adapted Stephen Reeds class that he mentioned in his comment to work through Android frames. It is a quite rough around the edges, nowhere near finished, and the facial recognition can only be seen through the log cat as it hasn't got an overlay on top of the camera preview yet. But it works.

Hope that helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消