From c5bce291786209dc0002e67769e9eba0b007fb66 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Sat, 5 Oct 2024 22:42:39 +0200 Subject: [PATCH] Fix --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 0b578d0..623c9e0 100644 --- a/app.py +++ b/app.py @@ -65,7 +65,8 @@ try: data = { "id": detection['id'], - "source_image_path": new_img_path.replace(base_path,"") + "source_image_path": new_img_path.replace(base_path,""), + "face_found": len(faces), } response = requests.post('{}/anonymize'.format(root_api_url), json=data) print(str(detection['id']) + " Anonymized" , flush=True)