Downloads · 30 days
84
25% of all-time downloads
ambrosfitz/19c-newspaper-column-yolo
19c-newspaper-column-yolo is a object detection model from ambrosfitz. Use it when you need objects located in an image. It is set up for ultralytics.
This repository contains a YOLO detector fine-tuned to detect and segment columns in 19th-century American newspaper pages.
Downloads · 30 days
84
25% of all-time downloads
All-time downloads
330
Public
Repo size
14.5 MB
Likes
0
Public
Click a slice to open those files.
.jpg8.7 MB · 58%
From the Hugging Face model README
This repository contains a YOLO detector fine-tuned to detect and segment columns in 19th-century American newspaper pages.
Extracting individual columns is a critical pre-processing step for historical OCR pipelines. Slicing long columns into smaller, overlapping horizontal strips resolves the text-hallucination/repetition issues that modern Vision-Language Models (like Gemma 2B/27B) encounter on full-page layouts.
The model was trained on annotated historical newspaper pages. You can view the training metrics, curves, and validation performance directly below:
results.png)Shows training/validation loss decay and precision/recall improvements over epochs:

Displays normalized classification performance:

Compare the validation batch labels (ground truth annotations) with the actual predictions generated by the trained model:
Ground Truth Labels (val_batch0_labels.jpg) | Model Predictions (val_batch0_pred.jpg) |
|---|---|
![]() | ![]() |
You can easily download and run this model in Python using the ultralytics package.
pip install ultralytics huggingface_hub
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
# 1. Download the weights from Hugging Face
model_path = hf_hub_download(repo_id="ambrosfitz/19c-newspaper-column-yolo", filename="best.pt")
# 2. Load the model
model = YOLO(model_path)
# 3. Perform detection on a newspaper page image
results = model("path_to_newspaper_page.jpg")
# 4. Display or save the segmented columns
results[0].show()
# results[0].save(filename="output.jpg")