mmpose.apis.webcam.utils.get_eye_keypoint_ids¶
- mmpose.apis.webcam.utils.get_eye_keypoint_ids(model_cfg: mmcv.utils.config.Config) → Tuple[int, int][source]¶
A helper function to get the keypoint indices of left and right eyes from the model config.
- Parameters
model_cfg (Config) – mmpose model config
- Returns
The keypoint indices of left eye and right eye.
- Return type
tuple[int, int]