This commit is contained in:
JonatanRek
2024-10-05 22:42:39 +02:00
parent f87f5d0a77
commit c5bce29178
+2 -1
View File
@@ -65,7 +65,8 @@ try:
data = { data = {
"id": detection['id'], "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) response = requests.post('{}/anonymize'.format(root_api_url), json=data)
print(str(detection['id']) + " Anonymized" , flush=True) print(str(detection['id']) + " Anonymized" , flush=True)