Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -42,4 +42,4 @@ class EndpointHandler():
|
|
| 42 |
y2 = min(y2 + offset, H)
|
| 43 |
new_image = img[y1:y2, x1:x2]
|
| 44 |
# Return the annotated original image with the square cropped
|
| 45 |
-
return annotated, new_image
|
|
|
|
| 42 |
y2 = min(y2 + offset, H)
|
| 43 |
new_image = img[y1:y2, x1:x2]
|
| 44 |
# Return the annotated original image with the square cropped
|
| 45 |
+
return annotated.tolist(), new_image.tolist()
|