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
bf15ab59
Commit
bf15ab59
authored
Nov 21, 2021
by
dewmalFernando
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V1.28
parent
7239a3e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
abnormal_behavior_detection/HumanDetection/Human_Detection_Video.py
...ehavior_detection/HumanDetection/Human_Detection_Video.py
+1
-1
imageEnhancement/ContrastEdjustments.py
imageEnhancement/ContrastEdjustments.py
+1
-1
No files found.
abnormal_behavior_detection/HumanDetection/Human_Detection_Video.py
View file @
bf15ab59
...
...
@@ -48,7 +48,7 @@ def capture_humans(path):
while
True
:
ret
,
frame
=
cap
.
read
()
if
ret
!=
False
:
frame
=
imutils
.
resize
(
frame
,
width
=
6
00
)
frame
=
imutils
.
resize
(
frame
,
width
=
10
00
)
total_frames
=
total_frames
+
1
(
H
,
W
)
=
frame
.
shape
[:
2
]
...
...
imageEnhancement/ContrastEdjustments.py
View file @
bf15ab59
...
...
@@ -24,7 +24,7 @@ def adjustContrast(folder, rate):
l
,
a
,
b
=
cv2
.
split
(
lab
)
# -----Applying CLAHE to L-channel-------------------------------------------
clahe
=
cv2
.
createCLAHE
(
clipLimit
=
2.0
,
tileGridSize
=
(
1
,
1
))
clahe
=
cv2
.
createCLAHE
(
clipLimit
=
2
0
.0
,
tileGridSize
=
(
1
,
1
))
cl
=
clahe
.
apply
(
l
)
# -----Merge the CLAHE enhanced L-channel with the a and b channel-----------
...
...
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