Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,8 +4,8 @@ import cv2
|
|
| 4 |
import numpy as np
|
| 5 |
import base64
|
| 6 |
|
| 7 |
-
# 加载 YOLOv8 模型
|
| 8 |
-
model = YOLO(/
|
| 9 |
|
| 10 |
def detect_license_plate(image):
|
| 11 |
if image is None:
|
|
|
|
| 4 |
import numpy as np
|
| 5 |
import base64
|
| 6 |
|
| 7 |
+
# 加载 YOLOv8 模型
|
| 8 |
+
model = YOLO(https://huggingface.co/Koushim/yolov8-license-plate-detection/blob/main/best.pt)
|
| 9 |
|
| 10 |
def detect_license_plate(image):
|
| 11 |
if image is None:
|