justadudewhohacks / face-recognition.js

Simple Node.js package for robust face detection and face recognition. JavaScript and TypeScript API.
MIT License
1.92k stars 278 forks source link

Change facedetection model? #134

Closed berrg closed 6 years ago

berrg commented 6 years ago

Is it possible to change the detection model to the faster Hog model in dlib?

In need a faster detection and is willing to scarifies some of the accuracy. See also this post which compares different models. https://www.learnopencv.com/face-detection-opencv-dlib-and-deep-learning-c-python/

Do you have an example for using dnn in opencv?

justadudewhohacks commented 6 years ago

The hog face detector is also available:

const detector = new fr.FrontalFaceDetector()

berrg commented 6 years ago

Thanks for your your help. This did increase the speed :-)