Downloads · 30 days
930
32% of all-time downloads
mermermer/figpanel-yolov12
figpanel-yolov12 is a object detection model from mermermer. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as agpl-3.0.
YOLOv12 model for detecting sub-panels and caption labels in scientific figures.
Downloads · 30 days
930
32% of all-time downloads
All-time downloads
2.9K
Public
Repo size
18.9 MB
Likes
1
Public
Click a slice to open those files.
.pt18.9 MB · 100%
From the Hugging Face model README
YOLOv12 model for detecting sub-panels and caption labels in scientific figures.
Built by Plottie — the scientific plot discovery platform.
This model detects two classes of objects in composite scientific figures:
| Class | Description |
|---|---|
subplot | Individual plot/panel region within a composite figure |
caption | Single-character label (a, b, c...) identifying each panel |
The model was trained on 5,000+ annotated figures from open-access scientific journals spanning biology, medicine, physics, and engineering.
| Property | Value |
|---|---|
| Architecture | YOLOv12 |
| Input | Any image (PNG, JPEG, etc.) |
| Model Size | ~18 MB |
| Classes | 2 (subplot, caption) |
| Framework | Ultralytics |
![]() | ![]() | ![]() |
Blue boxes = detected subplots, Green boxes = detected captions. Images from open-access papers (CC BY 4.0).
Install the Python package:
pip install figpanel
import figpanel
# Detect subplots and captions
results = figpanel.detect("figure.png")
# {'subplots': [(x1,y1,x2,y2,conf), ...], 'captions': [...]}
# Visualize detections
figpanel.visualize("figure.png", save="annotated.png")
For the full pipeline (detect + OCR + match + crop):
pip install figpanel[full]
panels = figpanel.extract("figure.png", "output/")
for panel in panels:
print(f"Panel {panel.label}: confidence={panel.confidence:.2f}")
The model weights are downloaded automatically on first use via huggingface_hub.
The model was trained on a custom dataset of 5,000+ annotated composite figures collected from open-access scientific publications (CC BY 4.0). Annotations include bounding boxes for subplot regions and single-character caption labels. The dataset covers diverse figure layouts across multiple scientific disciplines.
Plottie is the scientific plot discovery platform. We help researchers explore, collect, and find inspiration from high-quality scientific plots across open-access literature.
@software{figpanel,
title = {figpanel: Scientific Figure Panel Detector},
author = {Plottie},
url = {https://github.com/Plottie/figpanel},
version = {0.1.0},
year = {2026},
note = {Built by Plottie (https://plottie.art)}
}
AGPL-3.0 — inherited from Ultralytics. Academic and research use is unaffected.