Commit 7abffa34 authored by dewmalFernando's avatar dewmalFernando

V1.24

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