justadudewhohacks/opencv4nodejs

There is no way to update the model LBPHFaceRecognizer

Aperta

#351 aperta il 8 lug 2018

 (4 commenti) (1 reazione) (0 assegnatari)C++ (830 fork)github user discovery
good first issuehelp wanted

Metriche repository

Star
 (5046 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor