Fix
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user