Test
This commit is contained in:
1 parent
bd6cb64117
commit
6d27f51c7c
1 file changed
+1
@@ -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'])
|
||||
|
||||
Reference in new issue
Block a user