Browse Source

add docstring

master
Lennart Heimbs 2 years ago
parent
commit
3d24fdf5d0
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      camera/counter_people.py

+ 4
- 2
camera/counter_people.py 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)



Loading…
Cancel
Save