Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start :compiled with warnings #27

Open
sunnyzhong812 opened this issue Oct 21, 2020 · 7 comments
Open

npm start :compiled with warnings #27

sunnyzhong812 opened this issue Oct 21, 2020 · 7 comments

Comments

@sunnyzhong812
Copy link

OS Ubuntu 18.04

err1
err2

@filahf
Copy link

filahf commented Oct 21, 2020

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?

@sunnyzhong812
Copy link
Author

On localhost and else PC's web console is different, and what causes a blank screen?

err3

err4

@bourdakos1
Copy link
Member

Googling the error message, seems to be a permissions issue maybe? Does your device have a webcam?

@bourdakos1
Copy link
Member

This site seems to have some useful info on debugging the issue: https://blog.addpipe.com/common-getusermedia-errors/

@sunnyzhong812
Copy link
Author

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.

err5

@bourdakos1
Copy link
Member

Hmm no more webcam issue, not sure where to go from here...

@filahf
Copy link

filahf commented Oct 22, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants