From c3b11d14e65ce8d37aef9d80046a19f1d9733f3e Mon Sep 17 00:00:00 2001 From: boltgolt Date: Mon, 22 Jun 2020 18:49:04 +0200 Subject: [PATCH] Gotta fix those typos --- src/config.ini | 2 +- src/snapshot.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.ini b/src/config.ini index 7ff7695..4b694bf 100644 --- a/src/config.ini +++ b/src/config.ini @@ -79,7 +79,7 @@ exposure = -1 # Snapshots are saved to the "snapshots" folder capture_failed = true -# Do the same as the option above but for successful attemtps +# Do the same as the option above but for successful attempts capture_successful = true [debug] diff --git a/src/snapshot.py b/src/snapshot.py index a2d8d8c..c853ffa 100644 --- a/src/snapshot.py +++ b/src/snapshot.py @@ -1,4 +1,4 @@ -# Create and save snapshots of auth attemtps +# Create and save snapshots of auth attempts # Import modules import cv2 @@ -16,7 +16,7 @@ def generate(frames, text_lines): # Get the path to the containing folder abpath = os.path.dirname(os.path.abspath(__file__)) - # Get frame dimentions + # Get frame dimensions frame_height, frame_width, cc = frames[0].shape # Spread the given frames out horizontally snap = np.concatenate(frames, axis=1)