SHDocs: A dataset, benchmark, and method to efficiently generate high-quality, real-world specular highlight data with near-perfect alignment

Jovin Leong, Koa Di, Benjamin Cham, Shaun Heng
2/3/2026

No official code found. Best implementation: JovinLeong/SHDocs (10 stars, MIT, last commit 2025-09-27).

Abstract

A frequent problem in vision-based reasoning tasks such as object detection and optical character recognition (OCR) is the persistence of specular highlights. Spec-ular highlights appear as bright spots of glare that occur due to the concentrated reflection of light; these spots manifest as image artifacts which occlude computer vision models and are challenging to reconstruct. Despite this, specular highlight removal receives relatively little attention due to the difficulty of acquiring high-quality, real-world data. We introduce a method to generate specular highlight data with near-perfect alignment and present SHDocs—a dataset of specular highlights on document images created using our method. Through our benchmark, we demonstrate that our dataset enables us to surpass the performance of state-of-the-art specular highlight removal models and downstream OCR tasks. We release our dataset, code, and methods publicly to motivate further exploration of image enhancement for practical computer vision challenges. 1

DOISemantic Scholar

Code Implementations(1)

JovinLeong/SHDocsCommunity61%
MIT

Official repository for SHDocs: A dataset, benchmark, and method to efficiently generate high-quality, real-world specular highlight data with near-perfect alignment.

101Python, Jupyter NotebookJun 3, 20241 years agoMIT
computer-visionimage-enhancementpolarizationspecular-highlight-detectionspecular-removal+1 more

Similar Papers

Cite this paper

@article{leong2026shdocs,
  title  = {SHDocs: A dataset, benchmark, and method to efficiently generate high-quality, real-world specular highlight data with near-perfect alignment},
  author = {Jovin Leong and Koa Di and Benjamin Cham and Shaun Heng},
  year   = {2026},
  doi    = {10.52202/079017-3072},
  url    = {https://doi.org/10.52202/079017-3072},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/38fe11839b738789ce6a82273663097d378e30c2.svg)](https://codeofpaper.com/paper/38fe11839b738789ce6a82273663097d378e30c2)

Discussion