Fixed the following:
* Unused global var `objects_and_peoples` (`__main.py__`) * Random `print` (`__main.py__`) * Unescaped backslash (`utils.py`)
This commit is contained in:
parent
c7d488d993
commit
37d39d434f
|
@ -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
|
||||||
|
|
|
@ -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 (
|
||||||
|
|
Loading…
Reference in New Issue