Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ if submit:
|
|
| 32 |
image = load_image(image_file)
|
| 33 |
model = torch.hub.load('ultralytics/yolov5', 'custom', path='yoloocr_best.pt')
|
| 34 |
model.cpu()
|
| 35 |
-
model.conf = 0.
|
| 36 |
license = DetectLicensePlate()
|
| 37 |
counter = dict()
|
| 38 |
frame = np.array(image)[...,::-1]
|
|
|
|
| 32 |
image = load_image(image_file)
|
| 33 |
model = torch.hub.load('ultralytics/yolov5', 'custom', path='yoloocr_best.pt')
|
| 34 |
model.cpu()
|
| 35 |
+
model.conf = 0.5
|
| 36 |
license = DetectLicensePlate()
|
| 37 |
counter = dict()
|
| 38 |
frame = np.array(image)[...,::-1]
|