-
Notifications
You must be signed in to change notification settings - Fork 16
/
layout_detection.yaml
54 lines (54 loc) · 1.67 KB
/
layout_detection.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
detection_eval: # layout
metrics:
- COCODet
dataset:
dataset_name: detection_dataset_simple_format
ground_truth:
data_path: ./demo_data/omnidocbench_demo/OmniDocBench_demo.json
prediction:
data_path: ./demo_data/detection/prediction.json
# filter:
# data_source: exam_paper
categories:
eval_cat:
block_level:
- title # Title
- text # Text
- abandon # Includes headers, footers, page numbers, and page annotations
- figure # Image
- figure_caption # Image caption
- table # Table
- table_caption # Table caption
- table_footnote # Table footnote
- isolate_formula # Display formula
- formula_caption # Display formula label
span_level:
- inline_formula # inline formula
gt_cat_mapping:
figure_footnote: figure_footnote
figure_caption: figure_caption
page_number: abandon
header: abandon
page_footnote: abandon
table_footnote: table_footnote
code_txt: figure
equation_caption: formula_caption
equation_isolated: isolate_formula
table: table
refernece: text
table_caption: table_caption
figure: figure
title: title
text_block: text
footer: abandon
pred_cat_mapping:
title : title
plain text: text
abandon: abandon
figure: figure
figure_caption: figure_caption
table: table
table_caption: table_caption
table_footnote: table_footnote
isolate_formula: isolate_formula
formula_caption: formula_caption