FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fixed navigator.mediaDevices.getUserMedia and one other bug in face-api.js by bhaveshlohana · Pull Request #35 · WebDevSimplified/Face-Detection-JavaScript · GitHub

Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .js  (2) .json  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
7 changes: 7 additions & 0 deletions .vscode/settings.json
This file contains hidden or 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"workbench.colorCustomizations": {
"activityBar.background": "#07351D",
"titleBar.activeBackground": "#0A4A29",
"titleBar.activeForeground": "#F1FDF7"
}
}
2 changes: 1 addition & 1 deletion face-api.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion script.js
This file contains hidden or 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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Promise.all([
]).then(startVideo)

function startVideo() {
navigator.getUserMedia(
navigator.mediaDevices.getUserMedia(
{ video: {} },
stream => video.srcObject = stream,
err => console.error(err)
Expand Down

Back | FazBrowse Home | New Git URL