Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ def predict_pipeline(image_file):
|
|
| 151 |
img = np.array(Image.open(image_file).convert('RGB'))
|
| 152 |
|
| 153 |
# OCR
|
| 154 |
-
result = ocr.ocr(img
|
| 155 |
|
| 156 |
# 1. Vẽ Visualization
|
| 157 |
vis_img = draw_results(img.copy(), result, FONT_PATH)
|
|
|
|
| 151 |
img = np.array(Image.open(image_file).convert('RGB'))
|
| 152 |
|
| 153 |
# OCR
|
| 154 |
+
result = ocr.ocr(img)
|
| 155 |
|
| 156 |
# 1. Vẽ Visualization
|
| 157 |
vis_img = draw_results(img.copy(), result, FONT_PATH)
|