人脸检测&五官定位模型介绍
人脸检测&五官定位模型。输出与开放视觉平台人脸检测与五官定位 API一致。
参数介绍
模型使用方式和使用范围
本模型可以检测输入图片中人脸的位置,105关键点,人脸pose和质量分。
代码范例
推理
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())
评论