CNN based Cuneiform Sign Detection Learned from Annotated 3D Renderings and Mapped Photographs with Illumination Augmentation

Ernst Stötzner, Timo Homburg, Hubert MaraWorkshops @ ICCV 2023 · DOI

Abstract

Cuneiform is one of the world's earliest writing systems, yet its three-dimensional nature makes automated detection in 2D photographs challenging due to varying illumination. This paper introduces a CNN-based sign detection framework that utilizes 3D renderings to enhance model robustness. By employing Illumination Augmentation (IA) and Multi-Scale Integral Invariant (MSII) filtering, the model learns geometric features that generalize across different visual representations. Our results show that 3D-informed training significantly improves localization precision (IoU), outperforming existing 2D benchmarks.

Introduction

The study of ancient cuneiform tablets is often hindered by the script's reliance on shadow and light for legibility. In standard 2D photography, a sign's appearance can change drastically depending on the light source's direction. To address the scarcity of annotated data and the representation gap between 3D scans and 2D images, this research proposes a method to "teach" models the underlying geometry of cuneiform wedges using high-fidelity 3D data.

Methodology

The authors implement a sign detection pipeline based on the RepPoints detector with a ResNet18 backbone. RepPoints is particularly effective for cuneiform as it models objects through a set of representative points rather than rigid bounding boxes, accommodating the irregular shapes of wedge clusters.

Illumination Augmentation (IA)

To simulate the variability of real-world lighting, the researchers developed a virtual orbiting light source. Tablets are rendered with light coming from eight different azimuthal angles (every 45°). This augmentation strategy forces the CNN to recognize signs based on their physical structure rather than transient shadow patterns.

Virtual orbiting light source used for Illumination Augmentation (IA) at 45° azimuthal steps.

Curvature-Based Filtering

Beyond standard shading, the team utilized Multi-Scale Integral Invariant (MSII) filtering. This technique generates high-contrast images based on surface curvature, effectively "flattening" the 3D information into a 2D map that highlights the depth of the wedges regardless of external lighting conditions.

Datasets and Training

The study utilizes the HeiCuBeDa and MaiCuBeDa datasets, comprising approximately 500 tablets and over 21,000 sign annotations. A key contribution is the development of an annotation mapping tool that transfers manual labels from 3D renderings to 2D photographs, significantly expanding the training set.

Results and Discussion

The proposed models were evaluated using Average Precision (AP) at various Intersection-over-Union (IoU) thresholds.

  • Precision Gains: The model achieved an AP@75 of 0.437 on 3D renderings, more than doubling the performance of previous 2D-only models like DeepScribe (AP@75 = 0.21).
  • Robustness: The "Complete with IA" model, which integrates all rendering types and illumination augmentation, reached an AP@50 of 0.636 on mixed datasets.
  • Localization Accuracy: Illumination augmentation provided a 20% boost in AP@90, indicating that multi-angle training leads to much tighter and more accurate bounding box predictions.
Cuneiform sign detection results on standard photographs using the proposed model.

Conclusion

This research demonstrates that 3D geometry is a powerful "teacher" for computer vision tasks in archaeology. By using curvature-based renderings and virtual lighting, models can achieve high-precision sign localization that remains robust across different photographic conditions. Future work will focus on expanding the dataset to more languages and moving from detection to full automated transcription (OCR).

Summary updated

BibTeX
@inproceedings{stotzner2023cnn,
  author = {Ernst Stötzner and Timo Homburg and Hubert Mara},
  title = {{CNN based Cuneiform Sign Detection Learned from Annotated 3D Renderings and Mapped Photographs with Illumination Augmentation}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
  doi = {10.1109/iccvw60793.2023.00183},
}
Figure