Git Product home page Git Product logo

chinesetrafficpolicepose's Introduction

ChineseTrafficPolicePose is a network that classify 8 kinds of Chinese traffic police commanding poses by analyzing visual information.

ChineseTrafficPolicePose 是一个仅依靠视觉信息区分8种**交警指挥手势的网络

Paper Available Online 19 October 2019

https://doi.org/10.1016/j.neucom.2019.07.103

Police Gesture Dataset

We publish the Police Gesture Dataset, which contains the videos of Chinese traffic police commanding gestures, and ground truth gesture labels for each video frame.

Police Gesture Dataset Download link: Google Drive

Police Gesture Recognizer

Notice: This gif is outdated. current version support prediction for FULL BODY, include legs. Check the videos in our dataset for examples of supported videos.

Watch Videos:

Environment

  • Only support Python3
  • Use Tensorflow with GPU support

Training

  • Download keypoint dataset from AI Challenger (~20GB).
  • Rename the downloaded 4 folders to "train", "test_a", "test_b", "val".
  • Extract downloaded dataset to parameters.TRAIN_FOLDER. You may change the content of this parameter according to your path.
  • Run python3 PAF_train.py to train the keypoint network.
  • Download our Traffic Police Gesture dataset (~2GB) according to Dataset section.
  • Extract .csv files to dataset/csv_train and dataset/csv_test.
  • Extract .mp4 files to dataset/policepose_video.
  • Run python3 PAF_detect.py dataset/policepose_video -a to parse videos to skeletal data.
  • Run python3 rnn_train.py to train LSTM using labels from dataset/csv_train and skeletal data from ./dataset/gen/rnn_saved_joints.
  • Run python3 rnn_detect.py -p to predict test videos using name list from dataset/csv_test and skeletal data from ./dataset/gen/rnn_saved_joints.
  • Run Python3 rnn_detect.py -e to print Edit Distance of predicted labels with ground truth labels from dataset/csv_test.

chinesetrafficpolicepose's People

Contributors

acraclobitt avatar zc402 avatar

Watchers

James Cloos 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.