Issue
https://github.com/ITCoders/Human-detection-and-Tracking/blob/master/main.py This is the code I obtained for the human detection. I'm using anaconda navigator(jupyter notebook). How can I use argument parser in this? How can I give the video path -v ? Can anyone please say me a solution for this? As the running of the program is done by clicking on the run button or by giving shift+Enter. I need to do human detection. I'm a beginner to python and opencv. So please do help.
Solution
What you are asking seems similar to: Passing command line arguments to argv in jupyter/ipython notebook
There are two different methods mentioned in the post that were helpful. That said, I would suggest using command line tools and a Python IDE for writing scripts to run machine learning models. IPython may be helpful for visualization, fast debugging or running pre-trained models on commonly available datasets.
Answered By - pragmaticprog
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.