real_time_video_action_recognition icon indicating copy to clipboard operation
real_time_video_action_recognition copied to clipboard

tensorflow real time video action recognition based on C3D https://arxiv.org/abs/1412.0767

real time action recognition

example

In Cpu;

If run GPU there is no delay.

the video cann't show here, the below are some capture images.

prepare

  • tensorflow 1.2+
  • opencv3.x
  • pillow
  • scipy
  • python3+

run

python real_time_c3d.py

Two test video provided in directory test_video/. Video can be merged here free.

This code can be run directly use cpu, but it will cause delay.With gpu, it will run real-time recognition very well.

trained model

Dropbox:c3d_pretrained_model

Baiduyun: 链接:https://pan.baidu.com/s/1IRVhEQSvz7OlZUi5iPcEgQ 密码:z1k2

download this model and load it directly.

Others

This demo's pretrained model is based on C3D-tensorflow;

If you want the Pytorch version or R3D/I3D etc, please tell me and I will update this code.