Giter VIP home page Giter VIP logo

ros_openpose_gossip's Introduction

ros_openpose_gossip

1. Description

This package gives information on people based on openpose messages

openpose_gossip gives informations on people sorted from left to right such as :

- id                # num of the person in the image (from left to right)
- posture           # Possible values: "Standing" "Sitting" "Lying" "Undefined"
- handPosture       # Values : "Undefined" "Call" "Pointing Left" "Crossed" "Pointing Right" 
- boundingBox       # coordinates of a person bounding box
- shirtRect         # coordinates of shirt rectangle sample 
- trouserRect       # coordinates of trouser rectangle sample
- distanceEval      # Distance evaluation in meters from 2D informations (see 5.  Calibration)

This program was done for the pepper robot (front camera) with some specifications :

  • /!\ posture needs camera to be parallel to the ground
  • /!\ distanceEval needs a calibration from csv files (see 5. Calibration)

2. Authors

  • Raphaël LEBER

3. Dependencies

openpose
ros_openpose (fork)

4. Quick start

4.1 Launch the openpose service

   roslaunch openpose_ros_node serviceReadyTest.launch

4.2 Run the Gossip service

   rosrun ros_openpose_gossip_node OpenPoseGossip_node.py

4.3 You can try the Gossip service with one of the following test or do your own call :

   roslaunch ros_openpose_gossip_examples test_on_pepper.launch
   roslaunch ros_openpose_gossip_examples test_on_webcam.launch
   roslaunch ros_openpose_gossip_examples test_with_file.launch

5. Calibration

If you use this package with another camera than the front camera of the pepper, you will need to do a calibration. It consists of recording the limbs length of an "average" person at a known distance, in a standing position, maximizing (with a natural front pose) each limbs length. Function SaveLimbsProfil can be used but is not implemented in a calibration program (TODO).
The algorithm will then compare the longest limb (which means with the highest 2D components) with the limb in one of the CSV file (explanation simplified).

ros_openpose_gossip's People

Contributors

m0rph03nix avatar jacques-saraydaryan avatar

Watchers

Fabrice Jumel 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.