Commit c8017960 authored by IT18109290_Fernando W.S.D's avatar IT18109290_Fernando W.S.D

Merge branch 'IT18109290_Dewmal' into 'master'

V1.28

See merge request !103
parents 7239a3e0 bf15ab59
......@@ -48,7 +48,7 @@ def capture_humans(path):
while True:
ret, frame = cap.read()
if ret != False:
frame = imutils.resize(frame, width=600)
frame = imutils.resize(frame, width=1000)
total_frames = total_frames + 1
(H, W) = frame.shape[:2]
......
......@@ -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=20.0, tileGridSize=(1, 1))
cl = clahe.apply(l)
# -----Merge the CLAHE enhanced L-channel with the a and b channel-----------
......
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