Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -50,7 +50,7 @@ function openCvReady() { | ... | @@ -50,7 +50,7 @@ function openCvReady() { |
50 | let gray = new cv.Mat(); | 50 | let gray = new cv.Mat(); |
51 | let cap = new cv.RectVector(); | 51 | let cap = new cv.RectVector(); |
52 | let classifier = new cv.CascadeClassifier(); | 52 | let classifier = new cv.CascadeClassifier(); |
53 | - classifier.load({{url_for('static', filename='js/haarcascade_frontalface_default.xml')}}) | 53 | + classifier.load("{{url_for('static', filename='js/haarcascade_frontalface_default.xml')}}") |
54 | const FPS = 30; | 54 | const FPS = 30; |
55 | function processVideo() { | 55 | function processVideo() { |
56 | try { | 56 | try { | ... | ... |
-
Please register or login to post a comment