From 37d39d434f90b444e2f83261f48f2011abe6c0d5 Mon Sep 17 00:00:00 2001 From: slashtechno <77907286+slashtechno@users.noreply.github.com> Date: Fri, 16 Feb 2024 13:05:27 -0600 Subject: [PATCH] Fixed the following: * Unused global var `objects_and_peoples` (`__main.py__`) * Random `print` (`__main.py__`) * Unescaped backslash (`utils.py`) --- wyzely_detect/__main__.py | 3 --- wyzely_detect/utils/utils.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/wyzely_detect/__main__.py b/wyzely_detect/__main__.py index 22afc0e..2512386 100644 --- a/wyzely_detect/__main__.py +++ b/wyzely_detect/__main__.py @@ -16,7 +16,6 @@ args = None def main(): - global objects_and_peoples global args args = argparser.parse_args() @@ -100,8 +99,6 @@ def main(): ] ) print(pretty_table) - - print print("Beginning video capture...") while True: # Grab a single frame of video diff --git a/wyzely_detect/utils/utils.py b/wyzely_detect/utils/utils.py index c13c01f..de4503c 100644 --- a/wyzely_detect/utils/utils.py +++ b/wyzely_detect/utils/utils.py @@ -283,7 +283,7 @@ def recognize_face( ) """ Example dataframe, for reference - identity (path to image) | source_x | source_y | source_w | source_h | VGG-Face_cosine (pretty much the confidence \_('_')_/) + identity (path to image) | source_x | source_y | source_w | source_h | VGG-Face_cosine (pretty much the confidence \\_('_')_/) """ except ValueError as e: if (