---
title: cv_face_detection_landmark
canonical_url: "https://www.modelscope.cn/models/iic/cv_face_detection_landmark"
md_url: "https://www.modelscope.cn/models/iic/cv_face_detection_landmark.md"
repository: iic/cv_face_detection_landmark
chinese_name: "人脸检测与五官定位"
last_updated: 2023-09-27
license: "Apache License 2.0"
library_name:
  - onnx
  - pytorch
frameworks:
  - pytorch
downloads: 2719
stars: 18
---

# cv_face_detection_landmark

> cv_face_detection_landmark - iic 在 ModelScope 开源的模型。人脸检测&五官定位模型，可检测输入图片中人脸的位置，105关键点，人脸pose和质量分。

iic/cv_face_detection_landmark 是 ModelScope 魔搭社区上的机器学习模型，采用 Apache License 2.0 许可。

- **Repository**: iic/cv_face_detection_landmark
- **License**: Apache License 2.0
- **Downloads**: 2719
- **Stars**: 18
- **Last updated**: 2023-09-27

Source: https://www.modelscope.cn/models/iic/cv_face_detection_landmark

---

# 人脸检测&五官定位模型介绍
人脸检测&五官定位模型。输出与开放视觉平台[人脸检测与五官定位](https://vision.aliyun.com/experience/detail?tagName=facebody&children=DetectFace&spm=a2cio.27993362) API一致。

## 参数介绍

![模型输出信息](resources/intro_1.jpg)
![模型输出信息](resources/intro_2.jpg)

## 模型使用方式和使用范围
本模型可以检测输入图片中人脸的位置，105关键点，人脸pose和质量分。

### 代码范例
#### 推理
```python
from modelscope.models import Model
from modelscope.pipelines import pipeline
input = "https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/mog_face_detection.jpg"
inference = pipeline('face_det_lmk', model='damo/cv_face_detection_landmark', model_revision='v1.0.2')
output = inference(input)
print(output.keys())
```
