mmpose.apis.webcam.utils.get_hand_keypoint_ids¶
- mmpose.apis.webcam.utils.get_hand_keypoint_ids(model_cfg: mmcv.utils.config.Config) → List[int][source]¶
A helper function to get the keypoint indices of left and right hand from the model config.
- Parameters
model_cfg (Config) – pose model config.
- Returns
hand keypoint indices. The length depends on the dataset.
- Return type
list[int]