Open vik-timmersion opened 5 years ago
I tried Browser Examples for web face detection. The face bounding box remains while there is no face anymore.
It draws the previous detection.
That's because the canvas is not cleared due to the early return statement in the main loop of the examples. You can simply clear the canvas by updating it's dimensions like: canvas.width = width
canvas.width = width
I tried Browser Examples for web face detection. The face bounding box remains while there is no face anymore.
It draws the previous detection.