Commit 8f721536 authored by NaweenTharuka's avatar NaweenTharuka

feat: Update prosody view

parent e0116331
......@@ -22,7 +22,7 @@ import numpy as np
"""Upload the video to the Google colab and get the path of the video and xml file"""
location_videofile = "F:\\CDAP-PRESENTLY\\21_22-j-02\\Presently\\presently\\media\\video\\22\\testvideo.mp4"
location_videofile = "F:\\CDAP-PRESENTLY\\21_22-j-02\\Presently\\presently\\media\\video\\22\\testvideo_UbZvefG.mp4"
cascPath = "F:\\CDAP-PRESENTLY\\21_22-j-02\\Presently\\presently\\users\\models\\abc.xml"
"""Get labels to each emotion"""
......
......@@ -3,9 +3,129 @@
{% block content %}
<div class="container">
<div class="heading-text heading-section text-center py-3">
<h4>Emotion & prosody detection - Audio</h4>
<span class="lead">See what presently think about your presentation</span>
<div class="heading-text heading-section text-center pt-3">
<h4>Prosody Detail View - Audio</h4>
</div>
<div class="line"></div>
<div class="d-flex">
<div class="col-6">
<div class="toggle accordion accordion-shadow">
<div class="ac-item">
<h5 class="ac-title"><i class="fa fa-rocket"></i>Before you get started</h5>
<div class="ac-content">
<p>A wonderful serenity has taken possession of my entire soul, like these sweet
mornings of spring which I enjoy with my whole heart.</p>
<p>I am alone, and feel the charm of existence in this spot, which was created for
the bliss of souls like mine. I am so happy, my dear friend, so absorbed in the
exquisite sense of mere tranquil existence, that I neglect my talents. I should
be incapable of drawing a single stroke at the present moment; and yet I feel
that I never was a greater artist than now. </p>
</div>
</div>
<div class="ac-item">
<h5 class="ac-title"><i class="fa fa-heart"></i> Layout and design options</h5>
<div class="ac-content">
<p>When, while the lovely valley teems with vapour around me, and the meridian sun
strikes the upper surface of the impenetrable foliage of my trees, and but a few
stray gleams steal into the inner sanctuary.</p>
<p>I throw myself down among the tall grass by the trickling stream; and, as I lie
close to the earth, a thousand unknown plants are noticed by me</p>
</div>
</div>
<div class="ac-item">
<h5 class="ac-title"><i class="icon-shopping-cart"></i> Compatibility with premium plugins</h5>
<div class="ac-content">
<p>As it floats around us in an eternity of bliss; and then, my friend, when
darkness overspreads my eyes, and heaven and earth seem to dwell in my soul and
absorb its power, like the form of a beloved mistress</p>
<p>I often think with longing, Oh, would I could describe these conceptions, could
impress upon paper all that is living so full and warm within me, that it might
be the mirror of my soul, as my soul is the mirror of the infinite God! O my
friend — but it is too much for my strength — I sink under the weight of the
splendour of these visions!”</p>
</div>
</div>
<div class="ac-item">
<h5 class="ac-title"><i class="icon-shopping-cart"></i> Compatibility with premium plugins</h5>
<div class="ac-content">
<p>As it floats around us in an eternity of bliss; and then, my friend, when
darkness overspreads my eyes, and heaven and earth seem to dwell in my soul and
absorb its power, like the form of a beloved mistress</p>
<p>I often think with longing, Oh, would I could describe these conceptions, could
impress upon paper all that is living so full and warm within me, that it might
be the mirror of my soul, as my soul is the mirror of the infinite God! O my
friend — but it is too much for my strength — I sink under the weight of the
splendour of these visions!”</p>
</div>
</div>
<div class="ac-item">
<h5 class="ac-title"><i class="icon-shopping-cart"></i> Compatibility with premium plugins</h5>
<div class="ac-content">
<p>As it floats around us in an eternity of bliss; and then, my friend, when
darkness overspreads my eyes, and heaven and earth seem to dwell in my soul and
absorb its power, like the form of a beloved mistress</p>
<p>I often think with longing, Oh, would I could describe these conceptions, could
impress upon paper all that is living so full and warm within me, that it might
be the mirror of my soul, as my soul is the mirror of the infinite God! O my
friend — but it is too much for my strength — I sink under the weight of the
splendour of these visions!”</p>
</div>
</div>
<div class="ac-item">
<h5 class="ac-title"><i class="icon-shopping-cart"></i> Compatibility with premium plugins</h5>
<div class="ac-content">
<p>As it floats around us in an eternity of bliss; and then, my friend, when
darkness overspreads my eyes, and heaven and earth seem to dwell in my soul and
absorb its power, like the form of a beloved mistress</p>
<p>I often think with longing, Oh, would I could describe these conceptions, could
impress upon paper all that is living so full and warm within me, that it might
be the mirror of my soul, as my soul is the mirror of the infinite God! O my
friend — but it is too much for my strength — I sink under the weight of the
splendour of these visions!”</p>
</div>
</div>
</div>
</div>
<div class="col-6">
<div class="text-center">
<h2 class="font-weight-light">Compared to native speech, here are the prosodic features of your speech:<br /><b>
<span class="text-rotator">
Average syll pause duration,
No. long pause,
Speaking time,
AveNo. of words in minutes,
Articulation rate,
No. words in minutes,
Formants index,
f0_index,
f0_quantile_25_index,
f0_quantile_50_index,
f0_quantile_75_index,
f0_std,
f0_max,
f0_min,
No. detected vowel,
perc%. correct vowel,
(f2/f1) mean,
No. of pauses,
Intonation index,
(voiced syll count)/(no of pause),
TOEFL Scale Score,
Score Shannon index,
Speaking rate,
</span></b>
</h2>
<p>And any text can be animated simply by changing an effect name, more info in Documentation!</p>
</div>
<div class="d-flex">
<div class="col-4">
<img src="{% static 'users/images/profile.png' %}" class="img-fluid rounded-circle mx-5" alt="">
</div>
<div>
<!-- <h1>Paper Reading</h1> -->
</div>
</div>
</div>
</div>
</div>
{% endblock content %}
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