diff --git a/maix/version.py b/maix/version.py index a1afd6ee..8a90a155 100644 --- a/maix/version.py +++ b/maix/version.py @@ -3,6 +3,6 @@ version_major = 4 version_minor = 4 -version_patch = 10 +version_patch = 11 __version__ = "{}.{}.{}".format(version_major, version_minor, version_patch) diff --git a/projects/app_face_recognizer/main.py b/projects/app_face_recognizer/main.py index 1000c047..325fb9f0 100644 --- a/projects/app_face_recognizer/main.py +++ b/projects/app_face_recognizer/main.py @@ -5,6 +5,7 @@ learn_id = 0 def main(disp): + global pressed_flag, learn_id recognizer = nn.FaceRecognizer(detect_model="/root/models/retinaface.mud", feature_model = "/root/models/face_feature.mud") # if os.path.exists("/root/faces.bin"):