Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-208
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-208
2021-208
Commits
e00595f2
Commit
e00595f2
authored
Nov 13, 2021
by
IT18109290_Fernando W.S.D
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'IT18109290_Dewmal' into 'master'
V1.24 See merge request
!97
parents
df781caf
7abffa34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
UI/app.js
UI/app.js
+5
-6
UI/css/alert.css
UI/css/alert.css
+7
-7
No files found.
UI/app.js
View file @
e00595f2
...
...
@@ -112,7 +112,7 @@ if(result != null){
//For Image enhancement
function
insertVideo
(
newVideo
)
{
displayAlert
(
"
Image enhancement stared
"
);
displayAlert
(
"
Image enhancement star
t
ed
"
);
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 star
ed
"
);
displayAlert
(
"
Abnormal behaviour
detection start
ed
"
);
startAbnormalBehaviourDetection
(
datas
)
VidData
=
null
})
}
})
.
catch
(
error
=>
console
.
log
(
'
error
'
))
}
...
...
@@ -163,7 +162,7 @@ function startAbnormalBehaviourDetection(id) {
.
then
(
data
=>
{
console
.
log
(
data
)
displayAlert
(
"
Abnormal behaviour
identifica
tion is successfully executed
"
);
displayAlert
(
"
Abnormal behaviour
detec
tion 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
"
);
})
}
...
...
UI/css/alert.css
View file @
e00595f2
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment