Implementation:Open compass VLMEvalKit OmniDocBench Utils
| Field | Value |
|---|---|
| source | VLMEvalKit |
| domain | Vision, Benchmarking, Document Understanding, Utilities |
Overview
Utility module providing comprehensive helper functions for the OmniDocBench document understanding benchmark evaluation in VLMEvalKit.
Description
This utility file does not define a dataset class. It is the largest utility module in the OmniDocBench package at 1916 lines, providing extensive helper functions for document parsing evaluation including text normalization, table structure comparison, formula matching, layout analysis, and result aggregation. It supports the full end-to-end evaluation pipeline for document understanding tasks.
Usage
Imported by vlmeval/dataset/OmniDocBench/omnidocbench.py and related modules to support OmniDocBench evaluation.
Code Reference
- Source:
vlmeval/dataset/OmniDocBench/utils.py, Lines: L1-1916 - Import:
from vlmeval.dataset.OmniDocBench.utils import *
I/O Contract
| Direction | Description |
|---|---|
| Inputs | Document prediction strings, ground-truth annotations, evaluation configurations |
| Outputs | Processed text, comparison results, normalized evaluation data |