Test
This commit is contained in:
@@ -15,8 +15,8 @@ print(str(root_api_url))
|
||||
while True:
|
||||
r = requests.get('{}/anonymize'.format(root_api_url))
|
||||
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')
|
||||
print(r.text)
|
||||
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