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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:Python 100.0%