
Public Member Functions | |
| def | __init__ (self) |
| def | detect_bbox (self, input_image) |
| def | detect_hand (self, input_image, hands_rect) |
| def | hand_pose_estimate (self, bgr, header) |
| def | nmslocation (self, src, threshold) |
| def | pyramid_inference (self, input_image) |
| def | subscribe (self) |
| def | transform_net_input (self, tensor, src_img, hands_rect=None, tensor_idx=0) |
| def | unsubscribe (self) |
| def | visualize (self) |
Static Public Attributes | |
| list | CONNECTION_PAIR |
| dictionary | FINGERNAME2INDEX = {name: i for i, name in enumerate(INDEX2FINGERNAME)} |
| list | HAND_COLORS |
| list | INDEX2FINGERNAME |
| int | NUMBER_OF_FINGER_JOINT = 3 |
| int | NUMBER_OF_FINGERS = 5 |
Private Member Functions | |
| def | _cb (self, img_msg) |
| def | _cb_cam_info (self, msg) |
| def | _cb_with_depth (self, img_msg, depth_msg) |
| def | _cb_with_depth_info (self, img_msg, depth_msg, camera_info_msg) |
| def | _create_2d_hand_pose_array_msgs (self, hands_points, hands_point_scores, hands_score, header) |
| def | _draw_joints (self, frame, hands_points, hands_rect) |
| def | _get_srhand_pretrained_model (self) |
| def | _hand_pose_estimate_torch_backend (self, frame, header) |
| def | _load_model (self) |
| def | _load_torch_model (self) |
Definition at line 55 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.__init__ | ( | self | ) |
Definition at line 115 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 317 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 233 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 239 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 244 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 337 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 378 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 175 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 366 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 147 of file hand_pose_estimation_2d.py.
|
private |
Definition at line 153 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.detect_bbox | ( | self, | |
| input_image | |||
| ) |
Definition at line 453 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.detect_hand | ( | self, | |
| input_image, | |||
| hands_rect | |||
| ) |
Definition at line 522 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.hand_pose_estimate | ( | self, | |
| bgr, | |||
| header | |||
| ) |
Definition at line 361 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.nmslocation | ( | self, | |
| src, | |||
| threshold | |||
| ) |
Definition at line 411 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.pyramid_inference | ( | self, | |
| input_image | |||
| ) |
Definition at line 571 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.subscribe | ( | self | ) |
Definition at line 189 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.transform_net_input | ( | self, | |
| tensor, | |||
| src_img, | |||
hands_rect = None, |
|||
tensor_idx = 0 |
|||
| ) |
Definition at line 418 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.unsubscribe | ( | self | ) |
Definition at line 226 of file hand_pose_estimation_2d.py.
| def node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.visualize | ( | self | ) |
Definition at line 144 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.backend |
Definition at line 117 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.bridge |
Definition at line 141 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.camera_info_msg |
Definition at line 219 of file hand_pose_estimation_2d.py.
|
static |
Definition at line 109 of file hand_pose_estimation_2d.py.
|
static |
Definition at line 106 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.gpu |
Definition at line 118 of file hand_pose_estimation_2d.py.
|
static |
Definition at line 57 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.hand_pose_2d_pub |
Definition at line 137 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.hand_pose_pub |
Definition at line 133 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.image_pub |
Definition at line 131 of file hand_pose_estimation_2d.py.
|
static |
Definition at line 82 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.label_bbox_min |
Definition at line 122 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.label_hand_min |
Definition at line 123 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.missing_point |
Definition at line 125 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.model |
Definition at line 164 of file hand_pose_estimation_2d.py.
|
static |
Definition at line 108 of file hand_pose_estimation_2d.py.
|
static |
Definition at line 107 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.skeleton_pub |
Definition at line 139 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.sub_info |
Definition at line 206 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.subs |
Definition at line 196 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.TRAIN_IMAGE_HEIGHT |
Definition at line 120 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.TRAIN_IMAGE_WIDTH |
Definition at line 121 of file hand_pose_estimation_2d.py.
| node_scripts.hand_pose_estimation_2d.HandPoseEstimation2D.with_depth |
Definition at line 135 of file hand_pose_estimation_2d.py.