Graduate

Opencv.js face detect

......@@ -50,7 +50,7 @@ function openCvReady() {
let gray = new cv.Mat();
let cap = new cv.RectVector();
let classifier = new cv.CascadeClassifier();
classifier.load({{url_for('static', filename='js/haarcascade_frontalface_default.xml')}})
classifier.load("{{url_for('static', filename='js/haarcascade_frontalface_default.xml')}}")
const FPS = 30;
function processVideo() {
try {
......