justadudewhohacks / justadudewhohacks/opencv4nodejs

There is no way to update the model LBPHFaceRecognizer

Open
#351 4 comments 1 reaction 0 assignees View on GitHub
good first issue help wanted
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

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

Open the contributing guide

Research direction

Start at the LBPHFaceRecognizer binding and compare its exposed methods with the OpenCV contrib LBPHFaceRecognizer.m reference linked in the issue. Verify that the JavaScript example can call update with images and labels, and add or run coverage for that call if the repository has a matching test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript, nodejs
Domain
api, computer-vision
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.