diff --git a/application/__init__.py b/application/__init__.py index 2711775..3ca835a 100644 --- a/application/__init__.py +++ b/application/__init__.py @@ -6,11 +6,12 @@ from io import BytesIO from ultralytics import YOLO import easyocr -# ANPR shiz -car_model = YOLO("yolov8n.pt") -plate_model = YOLO("license_plate_detector.pt") -ocr_reader = easyocr.Reader(["nl"]) +# ANPR +if True: + car_model = YOLO("yolov8n.pt") + plate_model = YOLO("license_plate_detector.pt") + ocr_reader = easyocr.Reader(["nl"]) # from authlib.integrations.flask_client import OAuth diff --git a/application/dashboard/templates/add.html b/application/dashboard/templates/add.html index 8dcd3c4..95451dd 100644 --- a/application/dashboard/templates/add.html +++ b/application/dashboard/templates/add.html @@ -47,6 +47,15 @@
| Time | -Numberplate | +Time | +Numberplate | Gate Status | ++ | {% endfor %} diff --git a/application/dashboard/templates/edit.html b/application/dashboard/templates/edit.html deleted file mode 100644 index 1e0a040..0000000 --- a/application/dashboard/templates/edit.html +++ /dev/null @@ -1,110 +0,0 @@ -{%extends 'base.html' %} -{% block content %} - -
|---|