Created
February 28, 2020 10:38
-
-
Save rocioDEV/fb2f3fa0c982730a3880f0e98508efd8 to your computer and use it in GitHub Desktop.
ml5-featureExtractor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const featureExtractor = ml5.featureExtractor('MobileNet', () => { | |
classifier = featureExtractor.classification( | |
document.querySelector('video'), | |
() => { | |
console.log("Video ready!") | |
} | |
) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment