Update app.py
Browse files
app.py
CHANGED
@@ -126,6 +126,8 @@ def capture_image(pil_img):
|
|
126 |
# pil_img = Image.fromarray(frame)
|
127 |
image = pil_img.resize((640,640), Image.LANCZOS)
|
128 |
im0 = np.array(image)
|
|
|
|
|
129 |
|
130 |
|
131 |
im = letterbox(im0, 640, 32, auto=True)[0] # padded resize
|
|
|
126 |
# pil_img = Image.fromarray(frame)
|
127 |
image = pil_img.resize((640,640), Image.LANCZOS)
|
128 |
im0 = np.array(image)
|
129 |
+
annotated_img= im0
|
130 |
+
filled_text= "White blood cells are not presented in the image."
|
131 |
|
132 |
|
133 |
im = letterbox(im0, 640, 32, auto=True)[0] # padded resize
|