Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
21_22-J-02
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
21_22-J-02
21_22-J-02
Commits
8c5ce574
Commit
8c5ce574
authored
Apr 15, 2022
by
NaweenTharuka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Updated Video emotion views
parent
b2a014bc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
Presently/presently/users/__pycache__/emotiondetectionvideo.cpython-39.pyc
...ly/users/__pycache__/emotiondetectionvideo.cpython-39.pyc
+0
-0
Presently/presently/users/emotiondetectionvideo.py
Presently/presently/users/emotiondetectionvideo.py
+7
-7
Presently/presently/users/templates/users/emotionvideo.html
Presently/presently/users/templates/users/emotionvideo.html
+1
-1
No files found.
Presently/presently/users/__pycache__/emotiondetectionvideo.cpython-39.pyc
View file @
8c5ce574
No preview for this file type
Presently/presently/users/emotiondetectionvideo.py
View file @
8c5ce574
...
...
@@ -10,13 +10,13 @@ cascPath = "F:\\CDAP-PRESENTLY\\21_22-j-02\\Presently\\presently\\users\\models\
def
_get_labels
():
return
{
0
:
"
a
ngry"
,
1
:
"
d
isgust"
,
2
:
"
f
ear"
,
3
:
"
h
appy"
,
4
:
"
s
ad"
,
5
:
"
s
urprise"
,
6
:
"
n
eutral"
,
0
:
"
A
ngry"
,
1
:
"
D
isgust"
,
2
:
"
F
ear"
,
3
:
"
H
appy"
,
4
:
"
S
ad"
,
5
:
"
S
urprise"
,
6
:
"
N
eutral"
,
}
def
tosquare
(
bbox
):
...
...
Presently/presently/users/templates/users/emotionvideo.html
View file @
8c5ce574
...
...
@@ -17,7 +17,7 @@
<div
class=
"col-lg-3 text-center"
>
<span
class=
"pie-chart"
data-percent=
"{{ value }}"
>
<span
class=
"percent"
></span>
</span>
<h4>
{{ key }}
</h4>
<p>
{{ value }}
</p>
<p>
percent:
{{ value }}
</p>
</div>
{% endfor %}
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment