Fixed the following:

* Unused global var `objects_and_peoples` (`__main.py__`)
* Random `print` (`__main.py__`)
* Unescaped backslash (`utils.py`)
This commit is contained in:
slashtechno 2024-02-16 13:05:27 -06:00
parent c7d488d993
commit 37d39d434f
Signed by: slashtechno
GPG Key ID: 8EC1D9D9286C2B17
2 changed files with 1 additions and 4 deletions

View File

@ -16,7 +16,6 @@ args = None
def main(): def main():
global objects_and_peoples
global args global args
args = argparser.parse_args() args = argparser.parse_args()
@ -100,8 +99,6 @@ def main():
] ]
) )
print(pretty_table) print(pretty_table)
print
print("Beginning video capture...") print("Beginning video capture...")
while True: while True:
# Grab a single frame of video # Grab a single frame of video

View File

@ -283,7 +283,7 @@ def recognize_face(
) )
""" """
Example dataframe, for reference 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: except ValueError as e:
if ( if (