Instructions to use Technocrat-ai/table-detection-agdsa-yolo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Technocrat-ai/table-detection-agdsa-yolo with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("Technocrat-ai/table-detection-agdsa-yolo", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
AGDSA Table Detection (YOLO, fine-tuned)
A YOLO object-detection model fine-tuned to detect table regions in scanned/rendered pages of financial report PDFs (customer-specific fine-tune, not a general-purpose table detector).
Usage
from ultralytics import YOLO
model = YOLO("best.pt")
results = model.predict(image, imgsz=640, conf=0.3)
Detects a single class: table, as a bounding box in pixel coordinates.
Comparison vs. a general-purpose table-detection model
The examples below run this AGDSA-tuned YOLO detector (left) side by side with a general-purpose table-detection model (right, trained on PubTables-1M) on pages from public Australian government financial reports β documents outside the AGDSA customer data this model was fine-tuned on. Across these examples the fine-tuned detector matches or outperforms the general model on both detection recall and false-positive rate:
- ASIC Annual Report 2024β25, page 6 β a real table is present; the AGDSA-tuned model detects it, the general model misses it (false negative).
- Office of Hydrogen Power SA, financial statements, page 19 β a real table is present; the AGDSA-tuned model detects it, the general model misses it (false negative).
- Office of Hydrogen Power SA, financial statements, page 16 β this page has no table (plain text policy notes); the AGDSA-tuned model correctly reports none, but the general model incorrectly detects one (false positive).
- Downloads last month
- -


