Commit 7abffa34 authored by dewmalFernando's avatar dewmalFernando

V1.24

parent c1f24771
...@@ -112,7 +112,7 @@ if(result != null){ ...@@ -112,7 +112,7 @@ if(result != null){
//For Image enhancement //For Image enhancement
function insertVideo(newVideo) { function insertVideo(newVideo) {
displayAlert("Image enhancement stared"); displayAlert("Image enhancement started");
fetch('http://127.0.0.1:5000/StartImageEnhance', { fetch('http://127.0.0.1:5000/StartImageEnhance', {
method: 'POST', method: 'POST',
headers: { headers: {
...@@ -130,13 +130,12 @@ function insertVideo(newVideo) { ...@@ -130,13 +130,12 @@ function insertVideo(newVideo) {
displayAlert("Image enhancement is successfully executed"); displayAlert("Image enhancement is successfully executed");
const nextBen1 = document.getElementById('next1') const nextBen1 = document.getElementById('next1')
nextBen1.addEventListener("click", () => { nextBen1.addEventListener("click", () => {
displayAlert("Abnormal behaviour identification stared"); displayAlert("Abnormal behaviour detection started");
startAbnormalBehaviourDetection(datas) startAbnormalBehaviourDetection(datas)
VidData = null VidData = null
}) })
} }
}) })
.catch(error => console.log('error')) .catch(error => console.log('error'))
} }
...@@ -163,7 +162,7 @@ function startAbnormalBehaviourDetection(id) { ...@@ -163,7 +162,7 @@ function startAbnormalBehaviourDetection(id) {
.then(data => { .then(data => {
console.log(data) console.log(data)
displayAlert("Abnormal behaviour identification is successfully executed"); displayAlert("Abnormal behaviour detection is successfully executed");
if (data != null) { if (data != null) {
const nextBen2 = document.getElementById('next2') const nextBen2 = document.getElementById('next2')
nextBen2.addEventListener("click", () => { nextBen2.addEventListener("click", () => {
...@@ -187,7 +186,7 @@ function startFaceRecognition() { ...@@ -187,7 +186,7 @@ function startFaceRecognition() {
.then(list => { .then(list => {
console.log(list) console.log(list)
// 'E:\\BACKBONE\\face_detection_recognition\\output\\Output_Video.avi' // 'E:\\BACKBONE\\face_detection_recognition\\output\\Output_Video.avi'
displayAlert("Face recognition is successfully executed"); displayAlert("Face recognition & identification is successfully executed");
if (list != null ) { if (list != null ) {
const nextBen3 = document.getElementById('next3') const nextBen3 = document.getElementById('next3')
nextBen3.addEventListener("click", () => { nextBen3.addEventListener("click", () => {
...@@ -221,7 +220,7 @@ function StartFigureRecognition() { ...@@ -221,7 +220,7 @@ function StartFigureRecognition() {
.then(figData => { .then(figData => {
console.log(figData) console.log(figData)
}) })
displayAlert("Figure recognition is successfully executed"); displayAlert("Figure recognition & identification is successfully executed");
}) })
} }
......
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
.alert{ .alert{
z-index: 1; z-index: 1;
background: #ffdb9b; background: #244975;
padding: 20px 40px; padding: 20px 40px;
min-width: 420px; min-width: 420px;
position: absolute; position: absolute;
right: 0; right: 0;
top: 10px; top: 10px;
border-radius: 4px; border-radius: 4px;
border-left: 8px solid #ffa502; border-left: 8px solid #244975;
overflow: hidden; overflow: hidden;
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
...@@ -58,28 +58,28 @@ ...@@ -58,28 +58,28 @@
left: 20px; left: 20px;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
color: #ce8500; color: #99c4f7;
font-size: 30px; font-size: 30px;
} }
.alert .msg{ .alert .msg{
padding: 0 20px; padding: 0 20px;
font-size: 18px; font-size: 18px;
color: #ce8500; color: #99c4f7;
} }
.alert .close-btn{ .alert .close-btn{
position: absolute; position: absolute;
right: 0px; right: 0px;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
background: #ffd080; background: #23354a;
padding: 20px 18px; padding: 20px 18px;
cursor: pointer; cursor: pointer;
} }
.alert .close-btn:hover{ .alert .close-btn:hover{
background: #ffc766; background: #1e3045;
} }
.alert .close-btn .fas{ .alert .close-btn .fas{
color: #ce8500; color: #5379a6;
font-size: 22px; font-size: 22px;
line-height: 40px; line-height: 40px;
} }
\ No newline at end of file
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