Commit 25f7d16b authored by Wanigasinghe N.T. | IT18229912's avatar Wanigasinghe N.T. | IT18229912

Merge branch 'feat/it18229912' into 'develop'

style: View for video emotion detection

See merge request !20
parents b22bc039 56bf4302
This diff is collapsed.
{% extends 'users/base.html' %}
{% load static %}
{% block content %}
<div class="container">
<div class="heading-text heading-section text-center py-3">
<h4>Emotions & body gestures - Video</h4>
<span class="lead">See what presently think about your presentation</span>
</div>
<hr/>
<div class="heading-text heading-line text-center mt-5">
<h4>Summery of emotions</h4>
</div>
<div class="row pb-5">
<div class="col-lg-3 text-center"> <span class="pie-chart" data-percent="10"> <span
class="percent"></span> </span>
<h4>Disgusted</h4>
<p>Lorem ipsum dolor sit amet, consecte adipiscing elit. Condimentum porttitor cursumus.</p>
</div>
<div class="col-lg-3 text-center">
<div class="pie-chart" data-percent="20" data-color="#EA4C89"> <span class="percent"></span>
</div>
<h4>Fearfull</h4>
<p>Lorem ipsum dolor sit amet, consecte adipiscing elit. Suspendisse condimentum cursumus.</p>
</div>
<div class="col-lg-3 text-center">
<div class="pie-chart" data-percent="95" data-color="#FF675B"> <span class="percent"></span>
</div>
<h4>Neutral</h4>
<p>Lorem ipsum dolor sit amet, consecte adipiscing elit. Suspendisse condimentum porttitor.</p>
</div>
<div class="col-lg-3 text-center">
<div class="pie-chart" data-percent="51" data-color="#FF9900"> <span class="percent"></span>
</div>
<h4>Suprised</h4>
<p>Lorem ipsum dolor sit amet, consecte adipiscing elit. Suspendisse condimentum porttitor
cursumus.</p>
</div>
</div>
<div class="heading-text heading-line text-center mt-5">
<h4>Usage of body gestures</h4>
</div>
<div class="d-flex justify-content-center mb-5">
<a class="btn btn-primary" href="{% url 'overallfeedback' %}" type="submit">View summery detail</a>
</div>
</div>
{% endblock content %}
......@@ -74,7 +74,7 @@
<h2>Detected emotions using video</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing tristique hendrerit laoreet. </p>
<div class="align-center">
<a class="btn btn-primary" href="">View more</a>
<a class="btn btn-primary" href="{% url 'emotionvideo' %}">View more</a>
</div>
</div>
</div>
......
......@@ -71,6 +71,11 @@
</div>
</div>
<!-- content to remove -->
<div class="d-flex justify-content-center my-5">
<a class="btn btn-primary" href="{% url 'emotionaudioprosody' %}" type="submit">Usage of Prosody</a>
</div>
<div class="container my-5">
{% if user.is_authenticated %}
......
......@@ -11,6 +11,7 @@ urlpatterns = [
path('feedback/', views.feedback, name='feedback'),
path('feedback/summery', views.overallfeedback, name='overallfeedback'),
path('feedback/emotion/audio', views.emotionaudio, name='emotionaudio'),
path('feedback/emotion/video', views.emotionvideo, name='emotionvideo'),
path('feedback/emotion/audio/prosody', views.emotionaudioprosody, name='emotionaudioprosody'),
path('login/', auth_view.LoginView.as_view(template_name='users/login.html'), name="login"),
path('logout/', auth_view.LogoutView.as_view(template_name='users/logout.html'), name="logout"),
......
......@@ -36,6 +36,9 @@ def emotionaudio(request):
return render(request, 'users/emotionaudio.html',{"all":all_video})
def emotionvideo(request):
return render(request, 'users/emotionvideo.html')
def emotionaudioprosody(request):
return render(request, 'users/prosody.html')
......
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