diff --git a/content/assets/scripts/halloween/worker.js b/content/assets/scripts/halloween/worker.js index a180aaf..25c12b6 100644 --- a/content/assets/scripts/halloween/worker.js +++ b/content/assets/scripts/halloween/worker.js @@ -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); } }