diff --git a/cli/__init__.py b/cli/__init__.py index e69de29..6a31920 100644 --- a/cli/__init__.py +++ b/cli/__init__.py @@ -0,0 +1 @@ +# Marks this folder as importable diff --git a/cli/add.py b/cli/add.py index 8aefd33..427ce4d 100644 --- a/cli/add.py +++ b/cli/add.py @@ -113,6 +113,7 @@ if len(enc) > 1: print("Multiple faces detected, aborting") sys.exit() +# Totally clean array that can be exported as JSON clean_enc = [] # Copy the values into a clean array so we can export it as JSON later on diff --git a/cli/help.py b/cli/help.py index 2b09848..2bbd879 100644 --- a/cli/help.py +++ b/cli/help.py @@ -10,6 +10,7 @@ Commands: add Add a new face model for the current user remove [id] Remove a specific model clear Remove all face models for the current user + test Test the camera and recognition methods For support please visit https://github.com/Boltgolt/howdy\ diff --git a/compare.py b/compare.py index 540314b..db1dde9 100644 --- a/compare.py +++ b/compare.py @@ -79,6 +79,7 @@ max_height = int(config.get("video", "max_height")) # Start the read loop frames = 0 while True: + # Increment the frame count every loop frames += 1 # Grab a single frame of video