Shortcuts

mmpose.apis.webcam.utils.get_face_keypoint_ids

mmpose.apis.webcam.utils.get_face_keypoint_ids(model_cfg: mmcv.utils.config.Config)List[source]

A helper function to get the keypoint indices of the face from the model config.

Parameters

model_cfg (Config) – pose model config.

Returns

face keypoint indices. The length depends on the dataset.

Return type

list[int]