aboutsummaryrefslogtreecommitdiff
path: root/src/VHSVideo.py
diff options
context:
space:
mode:
authordeepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>2020-07-07 15:01:22 +0000
committerGitHub <noreply@github.com>2020-07-07 15:01:22 +0000
commitbce0d339aca6cdd61079cccf629ce225b3debf01 (patch)
treede4dda2ced71951997aaed86c6b1f8d3589101de /src/VHSVideo.py
parent2979cbce0ce5d0d0c2450ae92304c56eb9f4e55b (diff)
Remove unused variables
Diffstat (limited to 'src/VHSVideo.py')
-rw-r--r--src/VHSVideo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VHSVideo.py b/src/VHSVideo.py
index 9de2d66..7e23ad0 100644
--- a/src/VHSVideo.py
+++ b/src/VHSVideo.py
@@ -65,7 +65,7 @@ def generateVideo(outfile, path, infile):
for i in range(len(files)):
filename = path + str(files[i])
img = cv2.imread(filename)
- height, width, layers = img.shape
+ height, width, _ = img.shape
size = (width, height)
frame_array.append(img)
out = cv2.VideoWriter(outfile, cv2.VideoWriter_fourcc(*"MP4V"), fps, size)