diff --git a/bob/bio/face/database/sample_loaders.py b/bob/bio/face/database/sample_loaders.py index bc6b553f231239c7f3685e0395c356928c18dfe3..4148f87a62a41315c249e53911c20362d5e6717d 100644 --- a/bob/bio/face/database/sample_loaders.py +++ b/bob/bio/face/database/sample_loaders.py @@ -34,12 +34,12 @@ class EyesAnnotations(TransformerMixin, BaseEstimator): for x in X: eyes = { "leye": ( - float(find_attribute(x, "leye_x")), float(find_attribute(x, "leye_y")), + float(find_attribute(x, "leye_x")), ), "reye": ( - float(find_attribute(x, "reye_x")), float(find_attribute(x, "reye_y")), + float(find_attribute(x, "reye_x")), ), } @@ -69,12 +69,12 @@ class MultiposeAnnotations(TransformerMixin, BaseEstimator): # Normal profile annotations = { "leye": ( - float(find_attribute(x, "leye_x")), float(find_attribute(x, "leye_y")), + float(find_attribute(x, "leye_x")), ), "reye": ( - float(find_attribute(x, "reye_x")), float(find_attribute(x, "reye_y")), + float(find_attribute(x, "reye_x")), ), } elif ( @@ -83,12 +83,12 @@ class MultiposeAnnotations(TransformerMixin, BaseEstimator): # Left profile annotations = { "leye": ( - float(find_attribute(x, "leye_x")), float(find_attribute(x, "leye_y")), + float(find_attribute(x, "leye_x")), ), "mouth": ( - float(find_attribute(x, "mouthl_x")), float(find_attribute(x, "mouthl_y")), + float(find_attribute(x, "mouthl_x")), ), } elif ( @@ -97,12 +97,12 @@ class MultiposeAnnotations(TransformerMixin, BaseEstimator): # Right profile annotations = { "reye": ( - float(find_attribute(x, "reye_x")), float(find_attribute(x, "reye_y")), + float(find_attribute(x, "reye_x")), ), "mouth": ( - float(find_attribute(x, "mouthr_x")), float(find_attribute(x, "mouthr_y")), + float(find_attribute(x, "mouthr_x")), ), } else: