Code Monkey home page Code Monkey logo

hpe_ros_package's Introduction

hpe_ros_package

ROS package for human pose estimation with Microsoft SimpleBaselines algorithm.

Input to the network should be cropped image of a person (detected person).

You need to download weights for COCO or MPII dataset from following link.

You need usb-cam ROS package for testing it on your PC with webcam.

Starting procedure

Launch your cam, in this case web-cam:

roslaunch usb_cam usb_cam-test.launch 

After downloading weights to /home/developer/catkin_ws/src/hpe_ros_package/src/lib/models you can run your HPE inference with following:

roslaunch hpe webcam_inference.launch

HMI starting procedure

Starting procedure for HMI is to setup ROS_MASTER_URI and ROS_IP to the values of host PC to enable streaming to AR glasses. After that we can run following script:

roslaunch hpe hmi_integration.launch 

It's not neccessary to setup ROS_MASTER_URI script anymore because currently stream is being sent using RTSP protocol.

Transport Server -> Client

Current transport from server to client currently takes:

If we do not compress image.

average rate: 9.519
	min: 0.041s max: 0.244s std dev: 0.02216s window: 2050

While on raspberry we have subscription frequency 2.5 Hz.

After using image compression with image_transport I get same values.

Launch for using compressed is:

 rosrun image_transport republish raw in:=stickman_cont_area out:=stickman_compressed

Current implementation status

Currently it's possible to use human pose estimation for generating references for UAV.

Now we have attitude zone control which sends commands to UAV in joy msg type. It's possible to easily implement position control also.

Neural networks for HPE

Available neural networks for HPE which are similar to SimpleBaselines are:

TODO High priority:

  • Check launch files / Add depth and control types arguments
  • Add calibration and dynamic control to arguments in launch files
  • Finish depth control (pitch/depth control)
  • Try HRNet --> TBD (not neccesary for now)
  • [

TODO Low priority:

  • Try 3d pose estimation
  • Add simple object detection (darknet_ros) for better hpe
  • Implement correct post processing as stated here

hpe_ros_package's People

Contributors

fzoric8 avatar de4d56 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.