Spaces:
Running
Running
GitHub Actions
commited on
Commit
·
ec2167e
1
Parent(s):
4ce55ad
Auto-deploy from GitHub
Browse files
detect.py
CHANGED
|
@@ -15,7 +15,6 @@ class DengueDetector:
|
|
| 15 |
return score
|
| 16 |
|
| 17 |
def detect_image(self, image_bytes):
|
| 18 |
-
# Carregar imagem da memória
|
| 19 |
img = Image.open(BytesIO(image_bytes)).convert("RGB")
|
| 20 |
img_np = np.array(img)
|
| 21 |
height, width = img_np.shape[:2]
|
|
|
|
| 15 |
return score
|
| 16 |
|
| 17 |
def detect_image(self, image_bytes):
|
|
|
|
| 18 |
img = Image.open(BytesIO(image_bytes)).convert("RGB")
|
| 19 |
img_np = np.array(img)
|
| 20 |
height, width = img_np.shape[:2]
|