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
c9168114
Commit
c9168114
authored
Oct 12, 2021
by
dewmalFernando
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V1.19
parent
371c8b16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
abnormal_behavior_detection/ScriptsOrder/Scripts_Order.py
abnormal_behavior_detection/ScriptsOrder/Scripts_Order.py
+9
-0
app.py
app.py
+1
-2
No files found.
abnormal_behavior_detection/ScriptsOrder/Scripts_Order.py
View file @
c9168114
...
...
@@ -4,6 +4,15 @@ from abnormal_behavior_detection.WeaponDetection import Weapon_Detection
from
abnormal_behavior_detection.HumanDetection
import
Human_Detection_Video
def
data
(
path
):
file
=
path
.
split
(
"
\\
"
)[
2
]
if
file
==
"Enhanced_Video.avi"
:
path
=
"E:
\\
BACKBONE
\\
image_enhancement
\\
EnhancedVideos
\\
EnhancedVideo1
\\
"
+
file
elif
file
==
"Input.mp4"
:
path
=
"E:
\\
BACKBONE
\\
videos
\\
"
+
file
print
(
"path ->"
+
path
)
Human_Detection_Video
.
capture_humans
(
path
)
...
...
app.py
View file @
c9168114
...
...
@@ -169,8 +169,7 @@ def startAbnormalBehaviourDetection():
# Human_Detection_Video.capture_humans('C:/Users/Givindu/Desktop/New folder/'+path[2])
print
(
"app -> "
+
path
)
AbDetection
=
Scripts_Order
.
data
(
"E:
\\
BACKBONE
\\
image_enhancement
\\
EnhancedVideos
\\
EnhancedVideo1
\\
"
+
path
.
split
(
"
\\
"
)[
2
])
AbDetection
=
Scripts_Order
.
data
(
path
)
return
jsonify
(
AbDetection
)
...
...
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