Commit 8c5ce574 authored by NaweenTharuka's avatar NaweenTharuka

feat: Updated Video emotion views

parent b2a014bc
...@@ -10,13 +10,13 @@ cascPath = "F:\\CDAP-PRESENTLY\\21_22-j-02\\Presently\\presently\\users\\models\ ...@@ -10,13 +10,13 @@ cascPath = "F:\\CDAP-PRESENTLY\\21_22-j-02\\Presently\\presently\\users\\models\
def _get_labels(): def _get_labels():
return { return {
0: "angry", 0: "Angry",
1: "disgust", 1: "Disgust",
2: "fear", 2: "Fear",
3: "happy", 3: "Happy",
4: "sad", 4: "Sad",
5: "surprise", 5: "Surprise",
6: "neutral", 6: "Neutral",
} }
def tosquare(bbox): def tosquare(bbox):
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="col-lg-3 text-center"> <span class="pie-chart" data-percent="{{ value }}"> <span <div class="col-lg-3 text-center"> <span class="pie-chart" data-percent="{{ value }}"> <span
class="percent"></span> </span> class="percent"></span> </span>
<h4>{{ key }}</h4> <h4>{{ key }}</h4>
<p>{{ value }}</p> <p>percent: {{ value }}</p>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment