Open sunnyzhong812 opened 4 years ago
Nevermind the warnings in the terminal. Those functions can be used as props for ObjectDetectionVideo and therefore replacing the original render function.
What errors are you receiving in your web console?
On localhost and else PC's web console is different, and what causes a blank screen?
Googling the error message, seems to be a permissions issue maybe? Does your device have a webcam?
This site seems to have some useful info on debugging the issue: https://blog.addpipe.com/common-getusermedia-errors/
Googling the error message, seems to be a permissions issue maybe? Does your device have a webcam?
Okay, I connect my webcam and allow . It's blank screen, too.
Hmm no more webcam issue, not sure where to go from here...
I would recommend to make sure that Firefox is up to date and that your vm is set up correctly.
A work around is to install ngrok and tunnel the dev server to a https endpoint. https is required for enabling camera permissions on the web, that's why it wont work on the host
OS Ubuntu 18.04