Commit ce42a417 by vincent

fixed webcam example

parent 3e1ad1e0
...@@ -184,7 +184,9 @@ ...@@ -184,7 +184,9 @@
? drawLandmarks ? drawLandmarks
: drawDetections : drawDetections
drawFunction(videoEl, $('#overlay').get(0), result || [], withBoxes) if (result) {
drawFunction(videoEl, $('#overlay').get(0), [result], withBoxes)
}
setTimeout(() => onPlay()) setTimeout(() => onPlay())
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment