Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | List of all members
node_scripts.people_mask_publisher.PeopleMaskPublisher Class Reference
Inheritance diagram for node_scripts.people_mask_publisher.PeopleMaskPublisher:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def subscribe (self)
 
def unsubscribe (self)
 

Public Attributes

 arms_score_threshold
 
 debug_pub
 
 face_ratio
 
 face_shoulder_ratio
 
 face_width_margin_ratio
 
 hand_ratio
 
 hand_width_ratio
 
 limb_part
 
 person_indices
 
 pub
 
 subs
 

Static Public Attributes

list limb_names
 

Private Member Functions

def _cb (self, img_msg, people_pose_array_msg)
 
def _create_hand_mask (self, people_pose, img, arm=['R', 'L'])
 
def _create_nose_mask (self, people_pose, img)
 

Detailed Description

Definition at line 15 of file people_mask_publisher.py.

Constructor & Destructor Documentation

◆ __init__()

def node_scripts.people_mask_publisher.PeopleMaskPublisher.__init__ (   self)

Definition at line 38 of file people_mask_publisher.py.

Member Function Documentation

◆ _cb()

def node_scripts.people_mask_publisher.PeopleMaskPublisher._cb (   self,
  img_msg,
  people_pose_array_msg 
)
private

Definition at line 75 of file people_mask_publisher.py.

◆ _create_hand_mask()

def node_scripts.people_mask_publisher.PeopleMaskPublisher._create_hand_mask (   self,
  people_pose,
  img,
  arm = ['R', 'L'] 
)
private

Definition at line 106 of file people_mask_publisher.py.

◆ _create_nose_mask()

def node_scripts.people_mask_publisher.PeopleMaskPublisher._create_nose_mask (   self,
  people_pose,
  img 
)
private

Definition at line 157 of file people_mask_publisher.py.

◆ subscribe()

def node_scripts.people_mask_publisher.PeopleMaskPublisher.subscribe (   self)

Definition at line 55 of file people_mask_publisher.py.

◆ unsubscribe()

def node_scripts.people_mask_publisher.PeopleMaskPublisher.unsubscribe (   self)

Definition at line 71 of file people_mask_publisher.py.

Member Data Documentation

◆ arms_score_threshold

node_scripts.people_mask_publisher.PeopleMaskPublisher.arms_score_threshold

Definition at line 44 of file people_mask_publisher.py.

◆ debug_pub

node_scripts.people_mask_publisher.PeopleMaskPublisher.debug_pub

Definition at line 53 of file people_mask_publisher.py.

◆ face_ratio

node_scripts.people_mask_publisher.PeopleMaskPublisher.face_ratio

Definition at line 48 of file people_mask_publisher.py.

◆ face_shoulder_ratio

node_scripts.people_mask_publisher.PeopleMaskPublisher.face_shoulder_ratio

Definition at line 49 of file people_mask_publisher.py.

◆ face_width_margin_ratio

node_scripts.people_mask_publisher.PeopleMaskPublisher.face_width_margin_ratio

Definition at line 50 of file people_mask_publisher.py.

◆ hand_ratio

node_scripts.people_mask_publisher.PeopleMaskPublisher.hand_ratio

Definition at line 46 of file people_mask_publisher.py.

◆ hand_width_ratio

node_scripts.people_mask_publisher.PeopleMaskPublisher.hand_width_ratio

Definition at line 47 of file people_mask_publisher.py.

◆ limb_names

list node_scripts.people_mask_publisher.PeopleMaskPublisher.limb_names
static
Initial value:
= ["Nose",
"Neck",
"RShoulder",
"RElbow",
"RWrist",
"LShoulder",
"LElbow",
"LWrist",
"RHip",
"RKnee",
"RAnkle",
"LHip",
"LKnee",
"LAnkle",
"REye",
"LEye",
"REar",
"LEar",
'RHand',
'LHand']

Definition at line 17 of file people_mask_publisher.py.

◆ limb_part

node_scripts.people_mask_publisher.PeopleMaskPublisher.limb_part

Definition at line 41 of file people_mask_publisher.py.

◆ person_indices

node_scripts.people_mask_publisher.PeopleMaskPublisher.person_indices

Definition at line 40 of file people_mask_publisher.py.

◆ pub

node_scripts.people_mask_publisher.PeopleMaskPublisher.pub

Definition at line 52 of file people_mask_publisher.py.

◆ subs

node_scripts.people_mask_publisher.PeopleMaskPublisher.subs

Definition at line 61 of file people_mask_publisher.py.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Fri May 16 2025 03:11:18