Datasets:
image imagewidth (px) 1.19k 1.68k | objects dict |
|---|---|
{
"bbox": [
[
0.5,
0.49768999218940735,
0.9054629802703857,
0.928862988948822
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.429984986782074,
0.9054629802703857,
0.7934529781341553
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6313179731369019,
0.9054629802703857,
0.6212210059165955
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.48521798849105835,
0.9054629802703857,
0.903918981552124
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.14788199961185455,
0.9054629802703857,
0.22924600541591644
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7114350199699402,
0.9324259757995605,
0.45861101150512695
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.46449100971221924,
0.9324259757995605,
0.8349069952964783
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6963160037994385,
0.9324259757995605,
0.4518919885158539
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4880090057849884,
0.9324259757995605,
0.8819440007209778
]
],
"category": [
0
]
} | |
{
"bbox": [],
"category": []
} | |
{
"bbox": [
[
0.5,
0.5891510248184204,
0.9054629802703857,
0.5155069828033447
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6963160037994385,
0.9324259757995605,
0.47541001439094543
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4896889925003052,
0.9324259757995605,
0.8853039741516113
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.3872160017490387,
0.9324259757995605,
0.6803569793701172
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7080749869346619,
0.9324259757995605,
0.45861101150512695
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6354749798774719,
0.9054629802703857,
0.5820239782333374
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.49412599205970764,
0.9054629802703857,
0.9217360019683838
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.30289000272750854,
0.9054629802703857,
0.5392630100250244
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.709755003452301,
0.9324259757995605,
0.455251008272171
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4930489957332611,
0.9324259757995605,
0.8920239806175232
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.23098500072956085,
0.9324259757995605,
0.36789700388908386
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6979960203170776,
0.9324259757995605,
0.4720500111579895
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.12347199767827988,
0.9324259757995605,
0.15286999940872192
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7114350199699402,
0.9324259757995605,
0.4821299910545349
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4930489957332611,
0.9324259757995605,
0.8920239806175232
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.09659399837255478,
0.9324259757995605,
0.09911400079727173
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7030360102653503,
0.9324259757995605,
0.48548901081085205
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.2494640052318573,
0.9324259757995605,
0.40485501289367676
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6313179731369019,
0.9054629802703857,
0.6235970258712769
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.48640599846839905,
0.9054629802703857,
0.9062939882278442
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.2500329911708832,
0.9054629802703857,
0.4335480034351349
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.629535973072052,
0.9054629802703857,
0.6200339794158936
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.49768999218940735,
0.9054629802703857,
0.928862988948822
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.10571499913930893,
0.9054629802703857,
0.1449120044708252
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6979960203170776,
0.9324259757995605,
0.44181200861930847
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.44769200682640076,
0.9324259757995605,
0.8013100028038025
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6963160037994385,
0.9324259757995605,
0.4619710147380829
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.48632898926734924,
0.9324259757995605,
0.8785849809646606
]
],
"category": [
0
]
} | |
{
"bbox": [],
"category": []
} | |
{
"bbox": [
[
0.5,
0.4611310064792633,
0.9324259757995605,
0.8281880021095276
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6845570206642151,
0.9324259757995605,
0.47541001439094543
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.49136900901794434,
0.9324259757995605,
0.8886640071868896
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4577710032463074,
0.9324259757995605,
0.8214679956436157
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6979960203170776,
0.9324259757995605,
0.49220898747444153
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.48632898926734924,
0.9324259757995605,
0.8785849809646606
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4812900125980377,
0.9324259757995605,
0.8685050010681152
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.09659399837255478,
0.9324259757995605,
0.09911400079727173
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.5849930047988892,
0.9054629802703857,
0.49531400203704834
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6081560254096985,
0.9054629802703857,
0.5392630100250244
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6862369775772095,
0.9324259757995605,
0.44853198528289795
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.18394799530506134,
0.9324259757995605,
0.27382299304008484
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6437900066375732,
0.9054629802703857,
0.6247850060462952
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.3432750105857849,
0.9054629802703857,
0.6200339794158936
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6384450197219849,
0.9054629802703857,
0.5927140116691589
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6449779868125916,
0.9054629802703857,
0.6200339794158936
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.19836300611495972,
0.9054629802703857,
0.33020898699760437
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6348810195922852,
0.9054629802703857,
0.6164699792861938
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.48878100514411926,
0.9054629802703857,
0.911046028137207
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4697760045528412,
0.9054629802703857,
0.8730360269546509
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6414139866828918,
0.9054629802703857,
0.6437900066375732
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4869999885559082,
0.9054629802703857,
0.9074820280075073
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.23518499732017517,
0.9054629802703857,
0.40385299921035767
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6420080065727234,
0.9054629802703857,
0.5974649786949158
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.3486199975013733,
0.9054629802703857,
0.6307240128517151
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6979960203170776,
0.9324259757995605,
0.4619710147380829
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.44265198707580566,
0.9324259757995605,
0.7912300229072571
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6574490070343018,
0.9054629802703857,
0.611719012260437
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.2749769985675812,
0.9054629802703857,
0.4834359884262085
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7231940031051636,
0.9324259757995605,
0.45861101150512695
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.23602500557899475,
0.9324259757995605,
0.3779760003089905
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6795169711112976,
0.9324259757995605,
0.46869000792503357
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4090540111064911,
0.9324259757995605,
0.7240340113639832
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6402260065078735,
0.9054629802703857,
0.6509169936180115
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.49768999218940735,
0.9054629802703857,
0.928862988948822
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.22924600541591644,
0.9054629802703857,
0.3919749855995178
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6503229737281799,
0.9054629802703857,
0.6235970258712769
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.34268099069595337,
0.9054629802703857,
0.6188459992408752
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7131149768829346,
0.9324259757995605,
0.43173301219940186
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.08819399774074554,
0.9324259757995605,
0.08231499791145325
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7215149998664856,
0.9324259757995605,
0.4283730089664459
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4930489957332611,
0.9324259757995605,
0.8920239806175232
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.12347199767827988,
0.9324259757995605,
0.15286999940872192
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.5713340044021606,
0.9054629802703857,
0.5155069828033447
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.699675977230072,
0.9324259757995605,
0.478769987821579
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.49136900901794434,
0.9324259757995605,
0.8886640071868896
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.26794299483299255,
0.9324259757995605,
0.44181200861930847
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7248740196228027,
0.9324259757995605,
0.4182940125465393
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.412414014339447,
0.9324259757995605,
0.730754017829895
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7080749869346619,
0.9324259757995605,
0.42165300250053406
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.42081400752067566,
0.9324259757995605,
0.7475529909133911
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6556680202484131,
0.9054629802703857,
0.6129069924354553
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.4418630003929138,
0.9054629802703857,
0.817209005355835
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6431959867477417,
0.9054629802703857,
0.5974649786949158
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.3106110095977783,
0.9054629802703857,
0.5547040104866028
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.7265539765357971,
0.9324259757995605,
0.43173301219940186
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.3300989866256714,
0.9324259757995605,
0.5661240220069885
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6979960203170776,
0.9324259757995605,
0.47541001439094543
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.09659399837255478,
0.9324259757995605,
0.09911400079727173
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.6912760138511658,
0.9324259757995605,
0.4451720118522644
]
],
"category": [
0
]
} | |
{
"bbox": [
[
0.5,
0.49136900901794434,
0.9324259757995605,
0.8886640071868896
]
],
"category": [
0
]
} |
Synthetic Bank Statement Table Detection Dataset
A synthetically generated collection of bank statement images with pixel-perfect, automatically generated bounding box annotations for table detection.
π In one sentence: fake bank statements + auto-generated YOLO labels for table localization, designed for training document layout and table-detection models.
At a Glance
| Task | Object Detection β Table Detection |
| Format | PNG images + YOLO-format .txt labels |
| Classes | 1 (0 = Table) |
| Total images | 8475 |
| Splits | None yet β single unsplit set |
| Source | 100% synthetic, generated with Python + ReportLab |
| Real data? | β No real bank statements, customers, or financial records |
| License | MIT |
Why This Dataset Exists
Table detection is the first stage of many document AI pipelines. Before OCR, table structure recognition, or information extraction can begin, the document's table must first be accurately localized.
This dataset models clean, digitally-generated bank statement PDFs β the kind produced directly by a bank's own statement-generation system and downloaded as a native PDF (not a scanned paper document). Instead of manually drawing bounding boxes after generation, the table coordinates are captured directly from the ReportLab rendering engine as each document is created.
Because every annotation is produced during rendering, the resulting labels are pixel-perfect and free from manual annotation errors. The dataset is intended for pretraining, benchmarking, or augmenting table detection models before fine-tuning on real financial documents.
What's Inside
Each sample consists of:
- A synthetic bank statement image
- One YOLO annotation file
- A bounding box surrounding the complete transaction table
Layout diversity
The generator produces a wide variety of layouts, including:
- Portrait and landscape orientations
- Multiple banking templates
- Different table widths and positions
- Bordered, borderless, and zebra-striped tables
- Variable row counts
- Multi-page statements
- Randomized customer information and transaction histories
Folder Structure
table_detection/
βββ images/
β βββ anon_stmt_001_p1.png
β βββ anon_stmt_001_p2.png
β βββ anon_stmt_002_p1.png
β βββ ...
βββ labels/
βββ anon_stmt_001_p1.txt
βββ anon_stmt_001_p2.txt
βββ anon_stmt_002_p1.txt
βββ ...
Each image has a matching YOLO label file with the same base filename.
Filename convention: anon_stmt_<statement_id>_p<page_number>
anon_β synthetic/anonymized documentstmt_<statement_id>β unique statement identifierp<page_number>β page number
Multi-page statements are stored as separate image/label pairs.
Label Format
Standard YOLO object detection format:
class_id center_x center_y width height
class_id:0(Table)- Coordinates are normalized to the image width and height.
| Class ID | Label | Description |
|---|---|---|
0 |
Table | Bounding box surrounding the complete transaction table |
Data Example
The examples below show raw statement images and the contents of their matching YOLO label files.
| Image | Image |
|---|---|
| Label | Label |
|
|
Each image typically contains one bounding box representing the entire transaction table.
Load with the Hugging Face Hub
from huggingface_hub import snapshot_download
local_dir = snapshot_download(
repo_id="Panhapich/Panhapich/bank-statement-detection",
repo_type="dataset"
)
print(local_dir)
Train with Ultralytics YOLO
path: ./table_detection
train: images
val: images
nc: 1
names:
- table
from ultralytics import YOLO
model = YOLO("yolov8n.pt")
model.train(
data="data.yaml",
epochs=50,
imgsz=1024
)
Annotation Methodology
Every annotation is generated automatically during document creation:
- A synthetic bank statement is procedurally generated.
- ReportLab renders the transaction table.
- The exact table coordinates are captured during rendering.
- The coordinates are converted into normalized YOLO format and written to the matching label file.
Because annotations originate directly from the rendering engine, they provide pixel-perfect ground truth with zero manual labeling.
Compatible Models
- YOLOv5
- YOLOv8
- YOLOv9
- YOLOv10
- RT-DETR
- DETR
- Faster R-CNN
- Table Transformer (table localization stage)
- Other object detection architectures
Intended Applications
- Table Detection
- Document Layout Analysis
- Intelligent Document Processing (IDP)
- OCR preprocessing
- Financial document understanding
- Table extraction pipelines
- Document AI benchmarking
Limitations & Intended Use
- Models clean, digitally-generated bank statement PDFs only.
- Does not simulate scanned or photographed paper documents.
- Synthetic templates cannot fully represent the diversity of real bank statement layouts.
- Contains no real customer information or financial records.
- Single unsplit dataset.
Best used for: pretraining, benchmarking, or data augmentation before fine-tuning on real bank statement documents.
Dataset Origin
This dataset is entirely synthetic. Every document was procedurally generated using Python and ReportLab. No real bank statements, customer information, financial records, proprietary templates, or institution-specific branding are included.
Citation
@dataset{synthetic_bank_statement_table_detection,
title = {Synthetic Bank Statement Table Detection Dataset},
author = {Uk, Panhapich},
year = {2026},
note = {Synthetically generated for table detection research}
}
License
Released under the MIT License.
- Downloads last month
- 3,148

