Search code examples
image-processingwebcamface-recognitionjava

How to do facial recognition from a live webcam in Java?


I am guessing I need 2 things:

  1. A library to capture video from a webcam (that library should also show a live preview applet)
  2. A library to actually do facial recognition (by facial recognition I mean not only find the region where a face is but also match or register against database of existing faces e.g. the Faces feature of iPhoto)

I am clueless where to start or which libraries to use - I found libraries that do either 1) or 2) but not sure how to interface them or if there are ones that just work out of the box and do both or should I roll something of my own??


Solution

  • I managed to create a stand alone Java Face detection package: https://github.com/pathikrit/JFaceRecog