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)