Shortcuts

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][源代码]

A helper function to get the keypoint indices of left and right eyes from the model config.

参数

model_cfg (Config) – mmpose model config

返回

The keypoint indices of left eye and right eye.

返回类型

tuple[int, int]