This commit is contained in:
JonatanRek
2024-10-05 21:40:15 +02:00
parent bd6cb64117
commit 6d27f51c7c
+1
View File
@@ -16,6 +16,7 @@ while True:
r = requests.get('{}/anonymize'.format(root_api_url))
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')
response = r.json()
print(str(r.text))
for detection in response:
img_path = "{}{}".format(base_path, detection['source_image_path'])