hm line 6 in worker.js, file is not required but something doesn't compile when you change it
This commit is contained in:
parent
f2942269d2
commit
d843e577bd
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ var face_cascade, eye_cascade;
|
|||
function loadFaceDetectTrainingSet() {
|
||||
if (face_cascade == undefined) {
|
||||
face_cascade = new cv.CascadeClassifier();
|
||||
let load = face_cascade.load('../../test/data/haarcascade_frontalface_default.xml');
|
||||
// console.log('load face detection training data', load);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue