Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-2-capstone-design2
/
2014104149
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Graduate
2020-11-23 09:14:29 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d745b29dcb03f680f73328549f3e17713e917584
d745b29d
1 parent
f5b6afe8
Opencv.js face detect
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
flask/templates/index.html
flask/templates/index.html
View file @
d745b29
...
...
@@ -50,7 +50,7 @@ function openCvReady() {
let
gray
=
new
cv
.
Mat
();
let
cap
=
new
cv
.
RectVector
();
let
classifier
=
new
cv
.
CascadeClassifier
();
classifier
.
load
(
{{
url_for
(
'static'
,
filename
=
'js/haarcascade_frontalface_default.xml'
)}}
)
classifier
.
load
(
"{{url_for('static', filename='js/haarcascade_frontalface_default.xml')}}"
)
const
FPS
=
30
;
function
processVideo
()
{
try
{
...
...
Please
register
or
login
to post a comment