Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ if submit:
|
|
| 35 |
model.conf = 0.5
|
| 36 |
license = DetectLicensePlate()
|
| 37 |
counter = dict()
|
| 38 |
-
frame = np.array(
|
| 39 |
try:
|
| 40 |
plate_img = alpr(frame,license)
|
| 41 |
#plate_img = cv2.resize(plate_img,(200,50))
|
|
|
|
| 35 |
model.conf = 0.5
|
| 36 |
license = DetectLicensePlate()
|
| 37 |
counter = dict()
|
| 38 |
+
frame = np.array(image)[...,::-1]
|
| 39 |
try:
|
| 40 |
plate_img = alpr(frame,license)
|
| 41 |
#plate_img = cv2.resize(plate_img,(200,50))
|