pip3 install onnxruntime ,if have CPU
pip3 install onnxruntime-gpu ,if have GPU
pip3 install opencv-python
pip3 install numpy
kinetics_moment_resnet_18.onnx
kinetics_moment_resnet_34.onnx
Run the script this way:
# Video
python3 run.py /path/to/input_video /path/to/output_video_saved
# Webcam
python3 run.py webcam /path/to/output_video_saved