From 2eb155413b3408cc95894df4923432c3ef3e5e05 Mon Sep 17 00:00:00 2001 From: zeke-chin Date: Mon, 3 Apr 2023 17:28:48 +0800 Subject: [PATCH] fix typed_dict --- compreface/common/typed_dict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compreface/common/typed_dict.py b/compreface/common/typed_dict.py index 161562c..a5c2761 100644 --- a/compreface/common/typed_dict.py +++ b/compreface/common/typed_dict.py @@ -56,7 +56,7 @@ def check_fields_by_name(name: str, value: Any): if row == ',': pass if row.find('age') == -1 and row.find('calculator') == -1 and row.find('gender') == -1 \ - and row.find('landmarks') == -1 and row.find('mask') == -1: + and row.find('landmarks') == -1 and row.find('mask') == -1 and row.find('pose') == -1: raise IncorrectFieldException( "face_plugins must be only contains calculator,age,gender,landmarks,mask. " "Incorrect value {}".format(row))