From d843e577bd281655938e3e982823a80cf2839845 Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Wed, 31 Oct 2018 15:46:06 +0100 Subject: [PATCH] hm line 6 in worker.js, file is not required but something doesn't compile when you change it --- content/assets/scripts/halloween/worker.js | 2 ++ 1 file changed, 2 insertions(+) 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); } }