CharDetNet: Lightweight Ancient Character Detection with Mixed Attention

Yucheng Song, Chuang Zhang, Ming Wu2025

Abstract

Ancient character detection plays a pivotal role in preserving historical scripts and advancing archaeological research. However, the unique characteristics of ancient texts—such as incomplete forms, fragmented strokes, and irregular backgrounds—make it challenging for conventional text detection methods to succeed. To address these challenges, we introduce CharDetNet, a lightweight and highly efficient model tailored for ancient character detection. Built upon the robust YOLO architecture, CharDetNet incorporates two key innovations: StrokeEnhance Attention (SE-ATT) and RegionFocus Attention (RF-ATT). The SE-ATT module refines the detection of subtle stroke details by leveraging high-frequency features, compensating for the damage or blending caused by ancient scanning techniques. Meanwhile, the RF-ATT module utilizes spatial context to suppress irrelevant background noise, focusing the model’s attention on the character regions. To further enhance performance under limited training data, we introduce ClusterRefine Score (CR-Score), a post-processing algorithm based on spectral clustering that boosts prediction recall. Extensive experiments on two challenging datasets—Chinese oracle bone script and Egyptian hieroglyphs—demonstrate that CharDetNet surpasses existing detection models, achieving a significant increase in AP by 9.8-12.5%. Our method sets a new standard in ancient character detection, offering both high accuracy and computational efficiency. The implementation will be available on GitHub.
BibTeX
@misc{song2025chardetnet,
  author = {Yucheng Song and Chuang Zhang and Ming Wu},
  title = {{CharDetNet: Lightweight Ancient Character Detection with Mixed Attention}},
  year = {2025},
  doi = {10.1109/ijcnn64981.2025.11228720},
}

Loading related content...

Figure