3D-ResNet-ONNX-for-Activity-Recognition

Installation

pip3 install onnxruntime ,if have CPU 
pip3 install onnxruntime-gpu ,if have GPU 
pip3 install opencv-python
pip3 install numpy

Model

kinetics_moment_resnet_18.onnx
kinetics_moment_resnet_34.onnx

How to run

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