Graduate

Update flask

......@@ -36,7 +36,7 @@ function detect_face(img)
ctx.src = img;
let src = cv.imread(canvas);
let dst = new cv.Mat(video.height, video.width, cv.CV_8UC4);
let dst = new cv.Mat(src.cols, src.rows, cv.CV_8UC4);
let gray = new cv.Mat();
src.copyTo(dst);
cv.cvtColor(dst, gray, cv.COLOR_RGBA2GRAY, 0);
......