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

fix #4 display error message when there's no webcam #7

Merged
merged 3 commits into from
Apr 1, 2020

Conversation

wenbozzz
Copy link
Collaborator

@wenbozzz wenbozzz commented Apr 1, 2020

fix #4 display an error message when cannot access the webcam
p1

catch exception from detector.load() when there's no webcam access
instead of using navigator.mediaDevices
@wenbozzz wenbozzz requested a review from stevenguh April 1, 2020 00:32
@stevenguh stevenguh merged commit 1d3281e into master Apr 1, 2020
@stevenguh
Copy link
Member

Actually this is better than the approach I was thinking.

@stevenguh stevenguh deleted the bugfix/fix-inf-loading-no-camera branch April 1, 2020 00:50
@stevenguh stevenguh mentioned this pull request Apr 9, 2020
5 tasks
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

Successfully merging this pull request may close these issues.

Stuck in loading if the computer don't have a camera
2 participants