Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D Class Reference
Inheritance diagram for node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def check_wh
def hand_estimate
def pose_estimate
def subscribe
def unsubscribe
def visualize

Public Attributes

 backend
 camera_info_msg
 gpu
 hand_gaussian_kernel
 hand_gaussian_ksize
 hand_gaussian_sigma
 hand_net
 hand_thre1
 hand_thre2
 hand_width_offset
 height
 image_pub
 pad_value
 pose_2d_pub
 pose_net
 pose_pub
 scales
 stride
 sub_info
 subs
 thre1
 thre2
 use_hand
 width
 with_depth

Static Public Attributes

list hand_sequence
list index2handname = ["RHand{}".format(i) for i in range(21)]
list index2limbname
list limb_length_hand_ratio
list limb_sequence
list map_idx

Private Member Functions

def _cb
def _cb_cam_info
def _cb_with_depth
def _cb_with_depth_info
def _create_2d_people_pose_array_msgs
def _crop_square_image
def _draw_joints
def _extract_joint_position
def _get_hand_roi_width
def _hand_estimate_chainer_backend
def _hand_estimate_chainer_backend_each
def _load_chainer_model
def _load_model
def _pose_estimate_chainer_backend

Detailed Description

Definition at line 63 of file people_pose_estimation_2d.py.


Constructor & Destructor Documentation

Definition at line 111 of file people_pose_estimation_2d.py.


Member Function Documentation

Definition at line 296 of file people_pose_estimation_2d.py.

Definition at line 230 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D._cb_with_depth (   self,
  img_msg,
  depth_msg 
) [private]

Definition at line 236 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D._cb_with_depth_info (   self,
  img_msg,
  depth_msg,
  camera_info_msg 
) [private]

Definition at line 241 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D._create_2d_people_pose_array_msgs (   self,
  people_joint_positions,
  header 
) [private]

Definition at line 316 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D._crop_square_image (   self,
  img,
  cx,
  cy,
  width 
) [private]

Definition at line 774 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D._draw_joints (   self,
  img,
  people_joint_positions,
  all_peaks 
) [private]

Definition at line 589 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D._extract_joint_position (   self,
  joint_cands_indices,
  candidate 
) [private]

Definition at line 568 of file people_pose_estimation_2d.py.

Definition at line 786 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D._hand_estimate_chainer_backend (   self,
  bgr,
  people_joint_positions 
) [private]

Definition at line 671 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D._hand_estimate_chainer_backend_each (   self,
  hand_bgr,
  cx,
  cy,
  left_hand 
) [private]

Definition at line 720 of file people_pose_estimation_2d.py.

Definition at line 156 of file people_pose_estimation_2d.py.

Definition at line 150 of file people_pose_estimation_2d.py.

Definition at line 336 of file people_pose_estimation_2d.py.

Definition at line 140 of file people_pose_estimation_2d.py.

def node_scripts.people_pose_estimation_2d.PeoplePoseEstimation2D.hand_estimate (   self,
  bgr,
  people_joint_positions 
)

Definition at line 666 of file people_pose_estimation_2d.py.

Definition at line 331 of file people_pose_estimation_2d.py.

Definition at line 186 of file people_pose_estimation_2d.py.

Definition at line 223 of file people_pose_estimation_2d.py.

Definition at line 147 of file people_pose_estimation_2d.py.


Member Data Documentation

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 186 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 156 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 156 of file people_pose_estimation_2d.py.

Initial value:
[[0, 1],   [1, 2],   [2, 3],   [3, 4],
                     [0, 5],   [5, 6],   [6, 7],   [7, 8],
                     [0, 9],   [9, 10],  [10, 11], [11, 12],
                     [0, 13],  [13, 14], [14, 15], [15, 16],
                     [0, 17],  [17, 18], [18, 19], [19, 20],]

Definition at line 82 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

list node_scripts::people_pose_estimation_2d.PeoplePoseEstimation2D::index2handname = ["RHand{}".format(i) for i in range(21)] [static]

Definition at line 108 of file people_pose_estimation_2d.py.

Initial value:
["Nose",
                      "Neck",
                      "RShoulder",
                      "RElbow",
                      "RWrist",
                      "LShoulder",
                      "LElbow",
                      "LWrist",
                      "RHip",
                      "RKnee",
                      "RAnkle",
                      "LHip",
                      "LKnee",
                      "LAnkle",
                      "REye",
                      "LEye",
                      "REar",
                      "LEar",
                      "Bkg"]

Definition at line 88 of file people_pose_estimation_2d.py.

Initial value:
[ 0.6,  0.2,  0.2, 0.85, 0.85,
                               0.6,  0.6, 0.93, 0.65, 0.95,
                              0.65,  2.2,  1.7,  1.7,  2.2,
                               1.7,  1.7, 0.25, 0.25]

Definition at line 77 of file people_pose_estimation_2d.py.

Initial value:
[[ 2,  1], [ 1, 16], [ 1, 15], [ 6, 18], [ 3, 17],
                     [ 2,  3], [ 2,  6], [ 3,  4], [ 4,  5], [ 6,  7],
                     [ 7,  8], [ 2,  9], [ 9, 10], [10, 11], [ 2, 12],
                     [12, 13], [13, 14], [15, 17], [16, 18]]

Definition at line 67 of file people_pose_estimation_2d.py.

Initial value:
[[47, 48], [49, 50], [51, 52], [37, 38], [45, 46],
               [31, 32], [39, 40], [33, 34], [35, 36], [41, 42],
               [43, 44], [19, 20], [21, 22], [23, 24], [25, 26],
               [27, 28], [29, 30], [53, 54], [55, 56]]

Definition at line 72 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 156 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 186 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.

Definition at line 111 of file people_pose_estimation_2d.py.


The documentation for this class was generated from the following file:


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Tue Jul 2 2019 19:41:08