Machine Learning Resources & OpenCV - papito/altitude GitHub Wiki

Mostly Java/Scala OpenCV resources but there are some tutorials for other languages/frameworks, if they do a good job explaining things.

Reading material

What is the best face detector model?

Description of the three available face recognizers in OpenCV. (Not SFace).

How LBPH recognition works

Face recognition with OpenCV

Setup

FIRST OF ALL - here is a crash course for how OpenCV, JavaCV, JavaCPP dependencies are related, and how to build it for each platform.

Face detection

DeepNet

Haar Cascade (do not use, for reference only)

RetinaFace

Supposed to be THE best open-source model.

Output is here - particularly the 10x landmark matrix that we MIGHT be able to use with SFACE align and crop.

https://docs.openvino.ai/archive/2021.3/omz_models_model_retinaface_resnet50.html

Original question and code is here: https://stackoverflow.com/questions/76497427/javacv-dnn-retinaface-model-how-to-get-the-face-and-landmark-information

Caffemodel: https://github.com/cholihao/Retinaface-caffe/tree/master/caffemodel

Face recognition

All-together tutorials

Similarity search

Object detection / other