Coder Social home page Coder Social logo

sudilhasitha / human-pose-estimation-opencv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quanhua92/human-pose-estimation-opencv

0.0 0.0 0.0 6.97 MB

Perform Human Pose Estimation in OpenCV Using OpenPose MobileNet

License: Apache License 2.0

Python 100.00%

human-pose-estimation-opencv's Introduction

human-pose-estimation-opencv

Perform Human Pose Estimation in OpenCV Using OpenPose MobileNet

OpenCV Using OpenPose MobileNet

How to use

  • Test with webcam
python openpose.py
  • Test with image
python openpose.py --input image.jpg
  • Use --thr to increase confidence threshold
python openpose.py --input image.jpg --thr 0.5

Notes:

  • I modified the OpenCV DNN Example to use the Tensorflow MobileNet Model, which is provided by ildoonet/tf-pose-estimation, instead of Caffe Model from CMU OpenPose. The original openpose.py from OpenCV example only uses Caffe Model which is more than 200MB while the Mobilenet is only 7MB.
  • Basically, we need to change the cv.dnn.blobFromImage and use out = out[:, :19, :, :] to get only the first 19 rows in the out variable.

human-pose-estimation-opencv's People

Contributors

quanhua92 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.