Test
This commit is contained in:
@@ -16,6 +16,7 @@ while True:
|
|||||||
r = requests.get('{}/anonymize'.format(root_api_url))
|
r = requests.get('{}/anonymize'.format(root_api_url))
|
||||||
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')
|
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')
|
||||||
response = r.json()
|
response = r.json()
|
||||||
|
print(str(r.text))
|
||||||
|
|
||||||
for detection in response:
|
for detection in response:
|
||||||
img_path = "{}{}".format(base_path, detection['source_image_path'])
|
img_path = "{}{}".format(base_path, detection['source_image_path'])
|
||||||
|
|||||||
Reference in New Issue
Block a user