Views
No views yet
yolov8_doc_elements.pt1from ultralytics import YOLO
2
3# Load the model
4model = YOLO("yolov8_doc_elements.pt")
5
6# Run detection on an image
7results = model("path_to_document_image.jpg")
8
9# Display results
10results.show()