Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def prediction(image):
|
|
43 |
h = np.median(ht)
|
44 |
|
45 |
# Second Model Prediction
|
46 |
-
result2 = model2.predict(source=img_lp, conf=0.
|
47 |
boxes_ocr = result2[0].boxes
|
48 |
data2 = boxes_ocr.data
|
49 |
|
|
|
43 |
h = np.median(ht)
|
44 |
|
45 |
# Second Model Prediction
|
46 |
+
result2 = model2.predict(source=img_lp, conf=0.25)
|
47 |
boxes_ocr = result2[0].boxes
|
48 |
data2 = boxes_ocr.data
|
49 |
|