Giter Club home page Giter Club logo

actiondetection's Introduction

Introduction

基于 MMDetectionSlowFast 的动作时空定位,可以灵活选用 MMDetection 中任意检测模型进行动作时空定位。


Installation

先安装 MMDetection

然后安装 python 包

pip install opencv-python decord pytorchvideo ipdb

Getting Started

可以轻松的选用多种检测模型(参考 MMDetection 模型库) 作为检测器进行动作时空定位

使用 Deformable DETR (ICLR'2021)

export CUDA_VISIBLE_DEVICES=0
python action_det.py --video demo/run_the_city.mp4  --imsize 224 \
--config configs/deformable_detr/deformable_detr_twostage_refine_r50_16x2_50e_coco.py \
--checkpoint weights/deformable_detr_twostage_refine_r50_16x2_50e_coco_20210419_220613-9d28ab72.pth \
--out demo/run_the_city_demo.mp4

使用 YOLOX (CVPR'2021)

export CUDA_VISIBLE_DEVICES=0
python action_det.py --video demo/run_the_city.mp4  --imsize 224 \
--config configs/yolox/yolox_x_8x8_300e_coco.py \
--checkpoint weights/yolox_x_8x8_300e_coco_20211126_140254-1ef88d67.pth \
--out demo/run_the_city_demo.mp4

and more ...

More Results


References

Thanks for these wonderful works:

[1] mmdetection

[2] yolo_slowfast

[3] ZQPei/deepsort

[4] FAIR/PytorchVideo

[5] AVA: A Video Dataset of Spatio-temporally Localized Atomic Visual Actions. paper

[6] SlowFast Networks for Video Recognition. paper

actiondetection's People

Contributors

yzfly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.