Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def classify_image(input_image):
|
|
37 |
|
38 |
# Adicionar o r贸tulo da previs茫o na imagem
|
39 |
font = cv2.FONT_HERSHEY_SIMPLEX
|
40 |
-
text = f'
|
41 |
text_size = cv2.getTextSize(text, font, 0.5, 1)[0]
|
42 |
text_x = (input_image_bgr.shape[1] - text_size[0]) // 2
|
43 |
text_y = input_image_bgr.shape[0] - 10
|
|
|
37 |
|
38 |
# Adicionar o r贸tulo da previs茫o na imagem
|
39 |
font = cv2.FONT_HERSHEY_SIMPLEX
|
40 |
+
text = f'Previsao: {predicted_class_label}'
|
41 |
text_size = cv2.getTextSize(text, font, 0.5, 1)[0]
|
42 |
text_x = (input_image_bgr.shape[1] - text_size[0]) // 2
|
43 |
text_y = input_image_bgr.shape[0] - 10
|