Graduate

Update flask

......@@ -29,8 +29,9 @@ function activate()
function detect_face()
{
let classifier = new cv.CascadeClassifier();
let imgElement = document.getElementById('imagefile');
classifier.load('haarcascade_frontalface_default.xml');
let src = cv.imread('imagefile');
let src = cv.imread(imgElement);
let dst = new cv.Mat(video.height, video.width, cv.CV_8UC4);
let gray = new cv.Mat();
src.copyTo(dst);
......