Skip to content

Odin: Pose estimation-based tracking and counting of people in videos

License

Notifications You must be signed in to change notification settings

ticlazau/people-counting-pose

 
 

Repository files navigation

Odin

Pose estimation-based tracking and counting of people in videos

Demo

Demo on YouTube
Paper Abstract

Usage

Install Docker and Kitematic

Pull docker image

$ docker pull jgravity/tensorflow-opencv:odin
$ docker run -it --name odin jgravity/tensorflow-opencv:odin bin/bash

Use nvidia-docker instead of docker to use GPU

Download/Install code

# git clone https://github.com/PJunhyuk/people-counting-pose
# cd people-counting-pose
# chmod u+x ./compile.sh && ./compile.sh && cd models/coco && chmod u+x download_models_wget.sh && ./download_models_wget.sh && cd -

Download sample videos in testset

# cd testset && chmod u+x ./download_testset_wget.sh && ./download_testset_wget.sh && cd -

Just get pose of people

# python video_pose.py -f '{video_file_name}'

Qualified supporting video type: mov, mp4

Tracking people

# python video_tracking.py -f '{video_file_name}'

Qualified supporting video type: mov, mp4

Arguments

-f, --videoFile = Path to Video File
-w, --videoWidth = Width of Output Video
-o, --videoType = Extension of Output Video

Dependencies

Use Docker jgravity/tensorflow-opencv,

or install

  • python 3.5.3
  • opencv 3.1.0
  • jupyter 4.2.1
  • git 2.1.4
  • tensorflow 1.3.0
  • pip packages
    • scipy 0.19.1
    • scikit-image 0.13.1
    • matplotlib 2.0.2
    • pyYAML 3.12
    • easydict 1.7
    • Cython 0.27.1
    • munkres 1.0.12
    • moviepy 0.2.3.2
    • dlib 19.7.0
    • imageio 2.1.2

Reference

Test dataset

Citation

@inproceedings{insafutdinov2017cvpr,
    title = {ArtTrack: Articulated Multi-person Tracking in the Wild},
    booktitle = {CVPR'17},
    url = {http://arxiv.org/abs/1612.01465},
    author = {Eldar Insafutdinov and Mykhaylo Andriluka and Leonid Pishchulin and Siyu Tang and Evgeny Levinkov and Bjoern Andres and Bernt Schiele}
}

@article{insafutdinov2016eccv,
    title = {DeeperCut: A Deeper, Stronger, and Faster Multi-Person Pose Estimation Model},
    booktitle = {ECCV'16},
    url = {http://arxiv.org/abs/1605.03170},
    author = {Eldar Insafutdinov and Leonid Pishchulin and Bjoern Andres and Mykhaylo Andriluka and Bernt Schiele}
}

Code

pose-tensorflow - Human Pose estimation with TensorFlow framework
object-tracker - Object Tracker written in Python using dlib and OpenCV

About

Odin: Pose estimation-based tracking and counting of people in videos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 83.1%
  • Python 15.9%
  • Other 1.0%