Giter VIP home page Giter VIP logo

openpose-detect-hands-with-heatmap's Introduction

OpenPose Detect Hands with Heatmap

frame heatmap motion

Source from 요룰레히 9_21- HEYYEYAAEYAAAEYAEYAA (What's Up)

This is a simply application for using OpenPose model for detecting hands and showing the heatmap.

Model

You can get the pre-trained model from Hugging Face.

Download it into ./model.

https://huggingface.co/NatLee/openpose-keras-model

git clone --depth=1 [email protected]:NatLee/openpose-keras-model ./model/
model
└── weights.h5

Usage

Tested on x86/64 CPU, Intel 12th-i5 with 16 GB RAM.

  1. Prepare the model from #Model.

  2. Prepare your video in ./data named test.mp4. The directory will like below:

    .
    ├── data
    │   ├── README.md
    │   └── test.mp4 <--- Your video
    ├── doc
    │   ├── heatmap-motion.gif
    │   ├── heatmap.png
    │   └── original-frame.png
    ├── docker-compose.yml
    ├── Dockerfile
    ├── LICENSE
    ├── model
    │   └── weights.h5 <--- The model
    ├── README.md
    ├── requirements.txt
    └── src
        ├── convert-png-to-gif.py
        ├── docker-entrypoint.sh
        ├── main.py
        ├── openpose
        │   ├── __init__.py
        │   ├── model.py
        │   ├── OpenposeModel.py
        │   ├── prediction.py
        │   └── util.py
        └── utils
            ├── draw_heat.py
            ├── FPS.py
            ├── heatmapper
            │   ├── assets
            │   │   ├── 450pxdot.png
            │   │   ├── default.png
            │   │   └── reveal.png
            │   ├── heatmapper.py
            │   └── __init__.py
            ├── __init__.py
            └── ROIs.py
    
    8 directories, 28 files
    
  3. Just run docker command with the following:

    docker-compose build && docker-compose up

    The result will be generated in the folder ./tmp.

Contributor

Nat Lee
Nat Lee

Reference

LICENSE

AFLv3

openpose-detect-hands-with-heatmap's People

Contributors

natlee avatar

Stargazers

 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.