{
  "licence": "https://creativecommons.org/licenses/by/4.0/",
  "credit": "Saulius Beconis, sbeconis.com",
  "page": "https://sbeconis.com/lab/ocr-shootout/",
  "url": "https://sbeconis.com/lab/ocr-shootout/ocr-2026-10-08.json",
  "note": "Measurements and text are CC BY 4.0. Source data and quoted excerpts keep their own licences: see \"attribution\".",
  "lab": "LAB/011",
  "title": "Local OCR on scans and photos, Lithuanian vs English",
  "date": "2026-10-08",
  "method": {
    "pages": "60 page pairs from Belebele passages (CC BY-SA 4.0), identical content in Lithuanian and English, rendered in 4 fonts and 4 conditions; 480 pages",
    "conditions": "clean (300 dpi); scan (200 dpi, skew ≤0.8°, blur, noise, JPEG 70); poor (150 dpi, skew ≤1.8°, more blur, JPEG 45); phone (~120 dpi, skew ≤3°, blur, a hard-edged shadow, JPEG 35; added after the Tesseract pilot showed 'poor' was too easy, before any vision model ran)",
    "tools": "Tesseract 5 (tessdata_best lit/eng, --psm 3); Qwen3-VL-8B and olmOCR-2-7B as Q4_K_M GGUF in llama.cpp, image longest side 1288 px, greedy",
    "scoring": "NFC, markdown and front matter stripped, quotes/dashes unified, whitespace collapsed; CER by Levenshtein; diacritic errors by edit alignment",
    "bench": "olmOCR-bench (ODC-BY): first page of 248 PDFs, 200 dpi, official scorer (allenai/olmocr)"
  },
  "environment": {
    "gpu": "RTX 4070 12 GB",
    "cpu": "i5-13400F"
  },
  "tables": {
    "cer_lt": {
      "caption": "Character error rate (%), Lithuanian pages. Lower is better. Same passages and same image degradation in both languages.",
      "columns": [
        {
          "key": "clean",
          "label": "clean, 300 dpi",
          "decimals": 2
        },
        {
          "key": "scan",
          "label": "office scan, 200 dpi",
          "decimals": 2
        },
        {
          "key": "poor",
          "label": "poor scan, 150 dpi",
          "decimals": 2
        },
        {
          "key": "phone",
          "label": "phone photo with shadow",
          "decimals": 2
        }
      ],
      "rows": [
        {
          "label": "Tesseract 5, right language pack",
          "cells": {
            "clean": 0.08,
            "scan": 0.19,
            "poor": 2.81,
            "phone": 81.78
          }
        },
        {
          "label": "Tesseract 5, English pack only",
          "cells": {
            "clean": 6.73,
            "scan": 6.74,
            "poor": 9.46,
            "phone": 84.62
          }
        },
        {
          "label": "Qwen3-VL-8B (vision LLM)",
          "cells": {
            "clean": 0.42,
            "scan": 0.4,
            "poor": 0.45,
            "phone": 0.62
          }
        },
        {
          "label": "olmOCR-2-7B (OCR-tuned vision LLM)",
          "cells": {
            "clean": 0.48,
            "scan": 0.49,
            "poor": 0.45,
            "phone": 1.94
          }
        }
      ]
    },
    "cer_en": {
      "caption": "Character error rate (%), English pages. Lower is better. Same passages and same image degradation in both languages.",
      "columns": [
        {
          "key": "clean",
          "label": "clean, 300 dpi",
          "decimals": 2
        },
        {
          "key": "scan",
          "label": "office scan, 200 dpi",
          "decimals": 2
        },
        {
          "key": "poor",
          "label": "poor scan, 150 dpi",
          "decimals": 2
        },
        {
          "key": "phone",
          "label": "phone photo with shadow",
          "decimals": 2
        }
      ],
      "rows": [
        {
          "label": "Tesseract 5, right language pack",
          "cells": {
            "clean": 0.09,
            "scan": 0.1,
            "poor": 3.54,
            "phone": 75.78
          }
        },
        {
          "label": "Tesseract 5, English pack only",
          "cells": {
            "clean": 0.09,
            "scan": 0.1,
            "poor": 3.54,
            "phone": 75.78
          }
        },
        {
          "label": "Qwen3-VL-8B (vision LLM)",
          "cells": {
            "clean": 0.03,
            "scan": 0.02,
            "poor": 0.02,
            "phone": 0.12
          }
        },
        {
          "label": "olmOCR-2-7B (OCR-tuned vision LLM)",
          "cells": {
            "clean": 0.04,
            "scan": 0.06,
            "poor": 0.09,
            "phone": 0.17
          }
        }
      ]
    },
    "diacritics": {
      "caption": "Lithuanian letters with diacritics (ą č ę ė į š ų ū ž) read wrongly (%).",
      "columns": [
        {
          "key": "clean",
          "label": "clean, 300 dpi",
          "decimals": 1
        },
        {
          "key": "scan",
          "label": "office scan, 200 dpi",
          "decimals": 1
        },
        {
          "key": "poor",
          "label": "poor scan, 150 dpi",
          "decimals": 1
        },
        {
          "key": "phone",
          "label": "phone photo with shadow",
          "decimals": 1
        }
      ],
      "rows": [
        {
          "label": "Tesseract 5, right language pack",
          "cells": {
            "clean": 0,
            "scan": 0.15,
            "poor": 2.68,
            "phone": 82.31
          }
        },
        {
          "label": "Tesseract 5, English pack only",
          "cells": {
            "clean": 100,
            "scan": 100,
            "poor": 100,
            "phone": 100
          }
        },
        {
          "label": "Qwen3-VL-8B (vision LLM)",
          "cells": {
            "clean": 1.65,
            "scan": 1.63,
            "poor": 1.84,
            "phone": 1.86
          }
        },
        {
          "label": "olmOCR-2-7B (OCR-tuned vision LLM)",
          "cells": {
            "clean": 2.58,
            "scan": 2.7,
            "poor": 2.24,
            "phone": 6.1
          }
        }
      ]
    },
    "speed": {
      "caption": "Speed and energy on one RTX 4070 (vision LLMs) or 4 CPU threads (Tesseract), one page at a time.",
      "columns": [
        {
          "key": "ppm",
          "label": "Pages per minute",
          "decimals": 1
        },
        {
          "key": "lt",
          "label": "Seconds per LT page",
          "decimals": 1
        },
        {
          "key": "en",
          "label": "Seconds per EN page",
          "decimals": 1
        },
        {
          "key": "kwh",
          "label": "GPU kWh per 1,000 pages",
          "decimals": 2
        },
        {
          "key": "eur",
          "label": "€ per 1,000 pages at €0.20/kWh",
          "suffix": "",
          "decimals": 2
        }
      ],
      "rows": [
        {
          "label": "Tesseract 5, right language pack",
          "cells": {
            "ppm": 57.05,
            "lt": 1.2,
            "en": 0.9,
            "kwh": null,
            "eur": null
          }
        },
        {
          "label": "Tesseract 5, English pack only",
          "cells": {
            "ppm": 66.78,
            "lt": 0.9,
            "en": 0.9,
            "kwh": null,
            "eur": null
          }
        },
        {
          "label": "Qwen3-VL-8B (vision LLM)",
          "cells": {
            "ppm": 9.11,
            "lt": 8.5,
            "en": 4.7,
            "kwh": 0.349,
            "eur": 0.07
          }
        },
        {
          "label": "olmOCR-2-7B (OCR-tuned vision LLM)",
          "cells": {
            "ppm": 9.38,
            "lt": 8.1,
            "en": 4.7,
            "kwh": 0.343,
            "eur": 0.07
          }
        }
      ],
      "note": "Energy is GPU power only (nvidia-smi); the electricity price is an assumption"
    },
    "olmocr_bench": {
      "caption": "olmOCR-bench subset (248 English PDFs: old scans, tables, multi-column, headers/footers), official scorer: unit tests passed (%).",
      "columns": [
        {
          "key": "all",
          "label": "All",
          "decimals": 1
        },
        {
          "key": "headers_footers",
          "label": "headers footers",
          "decimals": 1
        },
        {
          "key": "multi_column",
          "label": "multi column",
          "decimals": 1
        },
        {
          "key": "old_scans",
          "label": "old scans",
          "decimals": 1
        },
        {
          "key": "tables",
          "label": "tables",
          "decimals": 1
        }
      ],
      "rows": [
        {
          "label": "Tesseract 5, right language pack",
          "cells": {
            "all": 41.8,
            "headers_footers": 36.4,
            "multi_column": 60,
            "old_scans": 20.2,
            "tables": 0
          }
        },
        {
          "label": "Qwen3-VL-8B (vision LLM)",
          "cells": {
            "all": 54.8,
            "headers_footers": 38.3,
            "multi_column": 78.9,
            "old_scans": 40.1,
            "tables": 17.6
          }
        },
        {
          "label": "olmOCR-2-7B (OCR-tuned vision LLM)",
          "cells": {
            "all": 81.7,
            "headers_footers": 94.8,
            "multi_column": 85.9,
            "old_scans": 46.2,
            "tables": 82.1
          }
        }
      ],
      "note": "Subset and our image rendering, so not directly comparable with the published leaderboard"
    }
  },
  "charts": {
    "phone": {
      "title": "Lithuanian phone photos: character error rate",
      "meta": "Lower is better · % of characters wrong",
      "max": 100,
      "suffix": "%",
      "decimals": 1,
      "groups": [
        {
          "bars": [
            {
              "label": "Tesseract 5, right language pack",
              "value": 81.78,
              "highlight": false
            },
            {
              "label": "Tesseract 5, English pack only",
              "value": 84.62,
              "highlight": false
            },
            {
              "label": "Qwen3-VL-8B (vision LLM)",
              "value": 0.62,
              "highlight": true
            },
            {
              "label": "olmOCR-2-7B (OCR-tuned vision LLM)",
              "value": 1.94,
              "highlight": false
            }
          ]
        }
      ]
    }
  },
  "attribution": "Belebele (Meta AI, CC BY-SA 4.0); olmOCR-bench (Allen Institute for AI, ODC-BY).",
  "compares": {
    "phone": {
      "title": "Lithuanian character errors, clean page → phone photo",
      "meta": "Character error rate · lower is better",
      "fromLabel": "Clean page",
      "toLabel": "Phone photo",
      "min": 0,
      "max": 100,
      "decimals": 2,
      "suffix": "%",
      "better": "lower",
      "rows": [
        {
          "label": "Tesseract 5, right language pack",
          "from": 0.08,
          "to": 81.78,
          "highlight": false
        },
        {
          "label": "Tesseract 5, English pack only",
          "from": 6.73,
          "to": 84.62,
          "highlight": false
        },
        {
          "label": "Qwen3-VL-8B",
          "from": 0.42,
          "to": 0.62,
          "highlight": true
        },
        {
          "label": "olmOCR-2-7B",
          "from": 0.48,
          "to": 1.94,
          "highlight": false
        }
      ]
    }
  }
}
