Skip to content

Instantly share code, notes, and snippets.

@bourdakos1
Last active December 8, 2018 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bourdakos1/d28e28ece917b1107e75f9211127cf68 to your computer and use it in GitHub Desktop.
Save bourdakos1/d28e28ece917b1107e75f9211127cf68 to your computer and use it in GitHub Desktop.
function detectFrame() {
model.detect(video).then(predictions => {
renderOurPredictions(predictions)
requestAnimationFrame(detectFrame)
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment