add docstring
This commit is contained in:
parent
98b9985b17
commit
3d24fdf5d0
@ -38,7 +38,9 @@ def detector(image):
|
|||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def argsParser():
|
def args_parser():
|
||||||
|
''' images, videos, remote or a local camera feed allowed
|
||||||
|
verbose for added debugging'''
|
||||||
ap = argparse.ArgumentParser()
|
ap = argparse.ArgumentParser()
|
||||||
ap.add_argument("-i", "--image", default=None,
|
ap.add_argument("-i", "--image", default=None,
|
||||||
help="path to image test file directory")
|
help="path to image test file directory")
|
||||||
@ -167,7 +169,7 @@ def detectPeople(args):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
args = argsParser()
|
args = args_parser()
|
||||||
detectPeople(args)
|
detectPeople(args)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user