You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
usage: real_time_object_detection.py
[-h] -p PROTOTXT -m MODEL
[-c PROBABILITY]
real_time_object_detection.py: error:
the following arguments are required:
-p/--prototxt, -m/--model
the arguments:
construct the argument parser and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("-p", "--prototxt", required = True, help = "path to Caffe 'deploy' prototxt file")
ap.add_argument("-m", "--model", required = True, help = "path to Caffe pre-trained model")
ap.add_argument("-c", "--probability", type = float, default = 0.2, help = "minimum probability to filter weak detections")
args = vars(ap.parse_args())
i wanna ask for this error, what should i do??
usage: real_time_object_detection.py
[-h] -p PROTOTXT -m MODEL
[-c PROBABILITY]
real_time_object_detection.py: error:
the following arguments are required:
-p/--prototxt, -m/--model
the arguments:
construct the argument parser and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("-p", "--prototxt", required = True, help = "path to Caffe 'deploy' prototxt file")
ap.add_argument("-m", "--model", required = True, help = "path to Caffe pre-trained model")
ap.add_argument("-c", "--probability", type = float, default = 0.2, help = "minimum probability to filter weak detections")
args = vars(ap.parse_args())