geeklink-ocr-benchmark
收藏资源简介:
GeekLink OCR Benchmark 是一个专为评估视频字幕 OCR 模型性能而设计的基准数据集,由 GeekLink 发布。该数据集包含 1140 张从真实电影片段中提取的字幕图像,覆盖英语、西班牙语、日语、韩语、中文和希腊语 6 种语言。每张图像均带有精确的 ground truth 文本,确保评估的准确性,且图像本身不涉及隐私或版权风险。数据集特别针对视频字幕 OCR 的典型挑战构建,如低对比度背景、胶片颗粒、小文本以及约 19% 的样本中存在的重叠水印干扰线,以测试模型能否正确隔离字幕区域而非输出所有检测到的文本区域。数据来源为三部公共领域或开放许可的电影(《将军号》、《诺斯费拉图》和旧金山旅行片),字幕文本改写自公共领域文学作品(如福尔摩斯、德古拉等),并翻译成其他语言。数据集包含 manifest.csv/manifest.jsonl 文件,每行包含 id、video_id、lang、image、ground_truth 和 has_watermark 字段,以及 images 文件夹中的渲染帧(全帧,未裁剪)。评估指标为字符错误率(CER)和词错误率(WER),并提供基线结果(包括 PaddleOCR、EasyOCR、Tesseract 和 GeekLink 引擎的原始输出)。该数据集适用于研究视频字幕 OCR 的检测与识别能力,特别是水印干扰下的鲁棒性评估。
GeekLink OCR Benchmark is a benchmark dataset designed for evaluating the performance of video subtitle OCR models, released by GeekLink. It contains 1,140 subtitle images extracted from real movie clips, covering six languages: English, Spanish, Japanese, Korean, Chinese, and Greek. Each image is annotated with precise ground truth text to ensure evaluation accuracy, and the images themselves pose no privacy or copyright risks. The dataset is specifically constructed to address typical challenges in video subtitle OCR, such as low-contrast backgrounds, film grain, small text, and overlapping watermark interference lines present in about 19% of the samples, to test whether the model can correctly isolate subtitle regions rather than outputting all detected text regions. The data sources are three public domain or openly licensed films (The General, Nosferatu, and a San Francisco travelogue), with subtitle texts rewritten from public domain literary works (e.g., Sherlock Holmes, Dracula) and translated into other languages. The dataset includes a manifest.csv/manifest.jsonl file, where each row contains fields such as id, video_id, lang, image, ground_truth, and has_watermark, along with an images folder containing rendered frames (full frames, uncropped). Evaluation metrics are Character Error Rate (CER) and Word Error Rate (WER), with baseline results provided (including raw outputs from PaddleOCR, EasyOCR, Tesseract, and GeekLink engines). This dataset is suitable for research on detection and recognition capabilities of video subtitle OCR, especially robustness evaluation under watermark interference.
GeekLink OCR Benchmark 数据集概述
数据集简介
GeekLink OCR Benchmark 是一个用于**视频内嵌字幕 OCR(光学字符识别)**的公开基准测试数据集,由 GeekLink 团队发布。该数据集包含 1,140 张字幕图像,覆盖 6 种语言,图像基于真实电影画面渲染,具有精确的已知真实标注(ground truth)。
核心特点
- 目标场景:专门针对视频字幕 OCR 的难点设计,包括低对比度背景、胶片颗粒、繁忙场景中的小文字,以及约 19% 样本中包含的第二条重叠字幕/水印线干扰。
- 数据来源:图像取自三部公共领域或开放许可的电影(《The General》1926、《Nosferatu》1922、以及 1955 年旧金山 Cinemascope 旅行片),字幕文本改编自公共领域文学作品的短对话行,不涉及真实用户数据,无隐私和版权风险。
- 数据修正:2026-08-21 曾修正过数据,修复了 437 个样本(38%)中文本超出视频帧导致的渲染截断问题,并将样本从 600 扩展至 1,140。
数据构成
| 语言 | 样本数 |
|---|---|
| 英语 (en) | 191 |
| 西班牙语 (es) | 191 |
| 日语 (ja) | 191 |
| 韩语 (ko) | 191 |
| 中文 (zh) | 188 |
| 希腊语 (el) | 188 |
| 总计 | 1140 |
约 19%(213/1140)的样本包含合成的动态水印/制作名单行,用于测试检测隔离能力。
文件结构与评估方法
data/manifest.csv/data/manifest.jsonl:样本清单(含 id、video_id、lang、image、ground_truth、has_watermark)data/images/:渲染的完整帧图像baselines/:GeekLink 自家 OCR 引擎原始输出(ONNX/CPU 和 CoreML 两个版本)external_baselines/:PaddleOCR(3 种 PP-OCRv6 尺寸)、EasyOCR、Tesseract 的原始输出- 评估指标:CER(字符错误率)和 WER(词错误率),按语言和是否含水印分别统计
- 评估脚本:
python3 eval/eval.py --pred <prediction_file>
基线性能
- 整体最佳:PP-OCRv6 medium 的 CER 为 0.5966,但与 small(0.5989)无显著差异,而 small 速度快 3.7 倍(381ms vs 1399ms)。
- 最快速度:GeekLink 的 CoreML 路径在 Apple Silicon 上达 97.3ms/图,且 CER 为 0.6093。
- 关键发现:所有引擎在水印样本上的准确率损失约 2.6-2.9 倍(CER 从约 0.45 增至 1.27-1.30),水印干扰是所有通用 OCR 引擎的共同盲点。
- CJK 说明:日/韩/中文的 WER 可能超过 1.0,因无空格分词边界,CER 是跨语言更可靠的指标。
许可信息
- 代码(
eval/):MIT 许可证 - 数据(
data/):见 LICENSE-DATA 文件,字幕文本为原创,三部电影中两部为公共领域,一部为 CC BY-SA 3.0(需注明出处)




