hm line 6 in worker.js, file is not required but something doesn't compile when you change it

This commit is contained in:
ajuvercr 2018-10-31 15:46:06 +01:00
parent f2942269d2
commit d843e577bd

View file

@ -3,6 +3,8 @@ var face_cascade, eye_cascade;
function loadFaceDetectTrainingSet() { function loadFaceDetectTrainingSet() {
if (face_cascade == undefined) { if (face_cascade == undefined) {
face_cascade = new cv.CascadeClassifier(); face_cascade = new cv.CascadeClassifier();
let load = face_cascade.load('../../test/data/haarcascade_frontalface_default.xml');
// console.log('load face detection training data', load);
} }
} }