Some final touches

This commit is contained in:
boltgolt 2018-02-20 23:11:37 +01:00
parent dd7c7ed4dc
commit 6b13f157c3
4 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
# Marks this folder as importable

View file

@ -113,6 +113,7 @@ if len(enc) > 1:
print("Multiple faces detected, aborting") print("Multiple faces detected, aborting")
sys.exit() sys.exit()
# Totally clean array that can be exported as JSON
clean_enc = [] clean_enc = []
# Copy the values into a clean array so we can export it as JSON later on # Copy the values into a clean array so we can export it as JSON later on

View file

@ -10,6 +10,7 @@ Commands:
add Add a new face model for the current user add Add a new face model for the current user
remove [id] Remove a specific model remove [id] Remove a specific model
clear Remove all face models for the current user clear Remove all face models for the current user
test Test the camera and recognition methods
For support please visit For support please visit
https://github.com/Boltgolt/howdy\ https://github.com/Boltgolt/howdy\

View file

@ -79,6 +79,7 @@ max_height = int(config.get("video", "max_height"))
# Start the read loop # Start the read loop
frames = 0 frames = 0
while True: while True:
# Increment the frame count every loop
frames += 1 frames += 1
# Grab a single frame of video # Grab a single frame of video