diff --git a/python-package/insightface/app/face_analysis.py b/python-package/insightface/app/face_analysis.py index ade49f9..a9112b1 100644 --- a/python-package/insightface/app/face_analysis.py +++ b/python-package/insightface/app/face_analysis.py @@ -55,10 +55,10 @@ class FaceAnalysis: else: model.prepare(ctx_id) - def get(self, img, max_num=0, metric='default'): + def get(self, img, max_num=0, det_metric='default'): bboxes, kpss = self.det_model.detect(img, max_num=max_num, - metric=metric) + metric=det_metric) if bboxes.shape[0] == 0: return [] ret = []