SkillAgentSearch skills...

Libfacerec

Face Recognition Library for OpenCV.

Install / Use

/learn @bytefish/Libfacerec
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Description

libfacerec is a library for face recognition in OpenCV. It has been merged into OpenCV 2.4 (contrib module) and both implementations are synchronized. So if you are in (a recent) OpenCV 2.4: There is no need to compile libfacerec yourself, you have everything to get started. Note: Make sure to work on a recent OpenCV revision, if you want to be compatible with the very latest libfacerec version.

<table> <tr> <td><img src="https://github.com/bytefish/libfacerec/raw/master/doc/source/img/eigenfaces_opencv.png" width="200"></td> <td><img src="https://github.com/bytefish/libfacerec/raw/master/doc/source/img/fisherface_reconstruction_opencv.png" width="200"></td> <td><img src="https://github.com/bytefish/libfacerec/raw/master/doc/source/img/tutorial/facerec_video/facerec_video.png" width="200"></td> </tr> </table>

The library comes with an extensive documentation, which can be found at

The documentation includes:

There are no additional dependencies to build the library. The Eigenfaces, Fisherfaces method and Local Binary Patterns Histograms (LBPH) are implemented and most parts of the library are covered by unit tests. As of OpenCV 2.4+ this library has been merged into the OpenCV contrib module, so if you are using OpenCV 2.4+ you can start right away.

Again note: This library is included in the contrib module of OpenCV.

Issues and Feature Requests

This project is now open for bug reports and feature requests.

Building the library with Microsoft Visual Studio 2008/2010

If you have problems with building libfacerec with Microsoft Visual Studio 2008/2010, then please read my blog post at:

This is based on version 0.04 of the libfacerec, available here:

Literature

  • Eigenfaces (Turk, M., and Pentland, A. "Eigenfaces for recognition.". Journal of Cognitive Neuroscience 3 (1991), 71–86.)
  • Fisherfaces (Belhumeur, P. N., Hespanha, J., and Kriegman, D. "Eigenfaces vs. Fisherfaces: Recognition using class specific linear projection.". IEEE Transactions on Pattern Analysis and Machine Intelligence 19, 7 (1997), 711–720.)
  • Local Binary Patterns Histograms (Ahonen, T., Hadid, A., and Pietikainen, M. "Face Recognition with Local Binary Patterns.". Computer Vision - ECCV 2004 (2004), 469–481.)
View on GitHub
GitHub Stars350
CategoryDevelopment
Updated15d ago
Forks172

Languages

C++

Security Score

85/100

Audited on Mar 21, 2026

No findings