Implementation:Open compass VLMEvalKit OceanOCRBench
Appearance
| Field | Value |
|---|---|
| source | VLMEvalKit |
| domain | Vision, Benchmarking, OCR, Text Extraction |
Overview
Benchmark dataset implementation for OceanOCRBench evaluation in VLMEvalKit.
Description
OceanOCRBench inherits from ImageBaseDataset and implements the OceanOCR benchmark for comprehensive text extraction evaluation. The TYPE field is set to 'QA'. It uses a system prompt instructing models to pull all textual information from images.
Usage
Registered in vlmeval/dataset/__init__.py and invoked through build_dataset() by benchmark name.
Code Reference
- Source:
vlmeval/dataset/oceanocr.py, Lines: L1-232 - Import:
from vlmeval.dataset.oceanocr import OceanOCRBench
Signature:
class OceanOCRBench(ImageBaseDataset):
TYPE = 'QA'
DATASET_URL = {...}
DATASET_MD5 = {...}
...
I/O Contract
| Direction | Description |
|---|---|
| Inputs | TSV dataset file with image/video paths and questions |
| Outputs | Evaluation results DataFrame with scores per category |
Usage Examples
from vlmeval.dataset import build_dataset
dataset = build_dataset('OceanOCRBench')
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment