Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,9 +12,9 @@ from fast_alpr.default_ocr import OcrModel
|
|
| 12 |
# Default models
|
| 13 |
DETECTOR_MODELS = list(get_args(PlateDetectorModel))
|
| 14 |
OCR_MODELS = list(get_args(OcrModel))
|
| 15 |
-
# Put
|
| 16 |
-
OCR_MODELS.remove("
|
| 17 |
-
OCR_MODELS.insert(0, "
|
| 18 |
|
| 19 |
st.title("FastALPR Demo")
|
| 20 |
st.write("An automatic license plate recognition (ALPR) system with customizable detector and OCR models.")
|
|
|
|
| 12 |
# Default models
|
| 13 |
DETECTOR_MODELS = list(get_args(PlateDetectorModel))
|
| 14 |
OCR_MODELS = list(get_args(OcrModel))
|
| 15 |
+
# Put global OCR first
|
| 16 |
+
OCR_MODELS.remove("global-plates-mobile-vit-v2-model")
|
| 17 |
+
OCR_MODELS.insert(0, "global-plates-mobile-vit-v2-model")
|
| 18 |
|
| 19 |
st.title("FastALPR Demo")
|
| 20 |
st.write("An automatic license plate recognition (ALPR) system with customizable detector and OCR models.")
|