add docstring

This commit is contained in:
2019-08-04 22:18:49 +02:00
parent 98b9985b17
commit 3d24fdf5d0
+4 -2
View File
@@ -38,7 +38,9 @@ def detector(image):
return result
def argsParser():
def args_parser():
''' images, videos, remote or a local camera feed allowed
verbose for added debugging'''
ap = argparse.ArgumentParser()
ap.add_argument("-i", "--image", default=None,
help="path to image test file directory")
@@ -167,7 +169,7 @@ def detectPeople(args):
def main():
args = argsParser()
args = args_parser()
detectPeople(args)