Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,8 @@ from paddleocr import PaddleOCR
|
|
| 8 |
segmentation_model = YOLO('plate_segment_best.pt')
|
| 9 |
|
| 10 |
# Initialize PaddleOCR
|
| 11 |
-
ocr = PaddleOCR(use_angle_cls=
|
|
|
|
| 12 |
|
| 13 |
# Example FRSC database (you can replace this with an actual database later)
|
| 14 |
vehicle_info_db = {
|
|
|
|
| 8 |
segmentation_model = YOLO('plate_segment_best.pt')
|
| 9 |
|
| 10 |
# Initialize PaddleOCR
|
| 11 |
+
ocr = PaddleOCR(use_angle_cls=False, lang='en', use_gpu=False)
|
| 12 |
+
|
| 13 |
|
| 14 |
# Example FRSC database (you can replace this with an actual database later)
|
| 15 |
vehicle_info_db = {
|