ml5-library icon indicating copy to clipboard operation
ml5-library copied to clipboard

TinyFaceDetector option name mismatch

Open toptensoftware opened this issue 3 years ago • 0 comments

At this line, ml5 is setting an option named minConfidence on the TinyFaceDetector.

https://github.com/ml5js/ml5-library/blob/c3123cac0b1dfa0ed8e3e2588e8dea72ccd05aa8/src/FaceApi/index.js#L116

But according to this it should be setting scoreThreshold instead.

Also, why not add the ability to set the inputSize option too?

toptensoftware avatar Dec 20 '22 00:12 toptensoftware