justadudewhohacks/opencv4nodejs

There is no way to update the model LBPHFaceRecognizer

Open

#351 opened on Jul 8, 2018

View on GitHub
 (4 comments) (1 reaction) (0 assignees)C++ (830 forks)github user discovery
good first issuehelp wanted

Repository metrics

Stars
 (5,046 stars)
PR merge metrics
 (PR metrics pending)

Description

Hey. I do not have static photos, I want to train the model dynamically. So I need a method update. In the original opencv_contrib, this method is present: https://github.com/kyamagu/mexopencv/blob/master/opencv_contrib/%2Bcv/LBPHFaceRecognizer.m#L306

const lbph = new cv.LBPHFaceRecognizer()
lbph.update([resizeFaceImage], [0])

TypeError: lbph.update is not a function

Contributor guide