This is a simple inference script for pytorch object detection models.
python pytorch_video.py -i video.mp4
You can look at the full set of commands like this:
python pytorch_video.py -h or --help
https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html