andikarachman / Pedestrian-Detection

Pedestrian detection with Python and OpenCV
MIT License
1 stars 1 forks source link

help #1

Open aldiak opened 4 years ago

aldiak commented 4 years ago

Hi, I try to run this code but I am getting this error: usage: pedestrian-detection.py [-h] -i INPUT -o OUTPUT pedestrian-detection.py: error: the following arguments are required: -i/--input, -o/--output

I am not well familiar with python arg so I download a video and give that path to the input but still the same error.

ScriptexTab commented 4 years ago

How did you run the file. This is the format for running python files in the command line: python \path\pedestrian-detection.py -i \path\video.mp4 -o \path\output.mp4

So if you're inside the same directory, it should be something like: python pedestian-detection.py -i video.mp4 -o output.mp4

Both of these are required by the program.

aldiak commented 4 years ago

Thanks for your reply I have already solve it.

Le mercredi 29 juillet 2020, ScriptexTab notifications@github.com a écrit :

How did you run the file. This is the format for running python files in the command line: python \path\pedestrian-detection.py -i \path\video.mp4 -o \path\output.mp4

So if you're inside the same directory, it should be something like: python pedestian-detection.py -i video.mp4 -o output.mp4

Both of these are required by the program.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andikarachman/Pedestrian-Detection/issues/1#issuecomment-665723909, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFOVODTCHHB5V33QGKQVJIDR6A34JANCNFSM4N6EAH7A .