YOLO-ACD: Robust Lightweight Detector for Ancient Character Detection
Abstract
Ancient character detection serves an important role in paleographic studies and archaeological work. Unlike modern characters or text, ancient character renders common text detection algorithms inapplicable due to its complex arrangement patterns and highly variable backgrounds. Current methods commonly adopt general object detection models, which often struggle with the unique challenges of ancient characters. In this paper, we propose a lightweight ancient character detection method based on YOLO detector called YOLO-ACD. Starting from an efficient YOLO structure, to address the defects and adhesion due to coarse scanning or rubbing of the characters, we propose a novel high-frequency channel attention (HFCA) module to guide model for precise saliency extraction of strokes. To eliminate the interference of noisy backgrounds on the character area, we integrate a context-aware spatial attention (CASA) module. Furthermore, in order to overcome the limitations posed by limited training samples, we propose the incorporation of spectral clustering results as extra confidence scores, with the objective of enhancing the recall rate of the predictions. Extensive experiments on two ancient character datasets, including Chinese oracle bone script and Egyptian hieroglyphs, demonstrate that our method outperforms both mainstream and similar approaches. Compared to baseline model, the mAP is improved by 9.8-12.5%. The code of the proposed method will be available at GitHub.
References
- D. Chapinal-Heras and C. D´ıaz-Sanchez, “A review of ai applications in human sciences research,” Digital Applications in Archaeology and Cultural Heritage, p. e00288, 2023.
- S. M. Griffin, “Epigraphy and paleography: bringing records from the distant past to the present,” International Journal on Digital Libraries, vol. 24, no. 2, pp. 77–85, 2023.
- M. Tenzer, G. Pistilli, A. Bransden, and A. Shenfield, “Debating ai in archaeology: applications, implications, and ethical considerations,” Internet Archaeology, no. 67, 2024.
- X. Zhu, S. Lyu, X. Wang, and Q. Zhao, “Tph-yolov5: Improved yolov5 based on transformer prediction head for object detection on dronecaptured scenarios,” in Proceedings of the IEEE/CVF international conference on computer vision, 2021, pp. 2778–2788.
- M. Yan, S. Wang, and Z. Lu, “Improving end-to-end object detection by enhanced attention,” in 2024 International Joint Conference on Neural Networks (IJCNN). IEEE, 2024, pp. 1–8.
- S. Ren, K. He, R. Girshick, and J. Sun, “Faster r-cnn: Towards real-time object detection with region proposal networks,” IEEE transactions on pattern analysis and machine intelligence, vol. 39, no. 6, pp. 1137–1149, 2016.
- Z. Cai and N. Vasconcelos, “Cascade r-cnn: Delving into high quality object detection,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 6154–6162.
- J. Redmon, “You only look once: Unified, real-time object detection,” in Proceedings of the IEEE conference on computer vision and pattern recognition,2016.
- W. Liu, D. Anguelov, D. Erhan, C. Szegedy, S. Reed, C.-Y. Fu, and A. C. Berg, “Ssd: Single shot multibox detector,” in Computer Vision–ECCV 2016: 14th European Conference, Amsterdam, The Netherlands,October 11–14, 2016, Proceedings, Part I 14. Springer, 2016, pp. 21–37.
- C. Li, L. Li, H. Jiang, K. Weng, Y. Geng, L. Li, Z. Ke, Q. Li, M. Cheng, W. Nie et al., “Yolov6: A single-stage object detection framework for industrial applications,” arXiv preprint arXiv:2209.02976, 2022.
- C.-Y. Wang, A. Bochkovskiy, and H.-Y. M. Liao, “Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2023, pp. 7464–7475.
- G. Jocher, J. Qiu, and A. Chaurasia, “Ultralytics YOLO,” Jan. 2023. [Online]. Available: https://github.com/ultralytics/ultralytics
- Y. Baek, B. Lee, D. Han, S. Yun, and H. Lee, “Character region awareness for text detection,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2019, pp. 9365–9374.
- K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” arXiv preprint arXiv:1409.1556, 2014.
- N. Wang, Q. Sun, Q. Jiao, and J. Ma, “Oracle bone inscriptions detection in rubbings based on deep learning,” in 2020 IEEE 9th Joint International Information Technology and Artificial Intelligence Conference (ITAIC), vol. 9. IEEE, 2020, pp. 1671–1674.
- A. Bochkovskiy, C.-Y. Wang, and H.-Y. M. Liao, “Yolov4: Optimal speed and accuracy of object detection,” arXiv preprint arXiv:2004.10934, 2020.
- Y. Li, H. Chen, W. Zhang, and W. Sun, “Lightweight oracle bone character detection algorithm based on improved yolov7-tiny,” in 2024 IEEE International Conference on Mechatronics and Automation (ICMA). IEEE, 2024, pp. 485–490.
- P. Zhao and Y. Liu, “Oracle bone inscriptions detection based on standard evaluation metric,” in 2022 International Conference on Image Processing, Computer Vision and Machine Learning (ICICML). IEEE, 2022, pp. 49–55.
- M. Contributors, “MMYOLO: OpenMMLab YOLO series toolbox and benchmark,” https://github.com/open-mmlab/mmyolo, 2022.
- J. Hu, L. Shen, and G. Sun, “Squeeze-and-excitation networks,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 7132–7141.
- X. Wang, R. Girshick, A. Gupta, and K. He, “Non-local neural networks,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 7794–7803.
- S. Woo, J. Park, J.-Y. Lee, and I. S. Kweon, “Cbam: Convolutional block attention module,” in Proceedings of the European conference on computer vision (ECCV), 2018, pp. 3–19.
- H. Tang, X. Liu, K. Han, X. Xie, X. Chen, H. Qian, Y. Liu, S. Sun, and N. Bai, “Spatial context-aware self-attention model for multi-organ segmentation,” in Proceedings of the IEEE/CVF winter conference on applications of computer vision, 2021, pp. 939–949.
- J. Zhang, J. Ren, Q. Zhang, J. Liu, and X. Jiang, “Spatial context-aware object-attentional network for multi-label image classification,” IEEE Transactions on Image Processing, vol. 32, pp. 3000–3012, 2023.
- U. Von Luxburg, “A tutorial on spectral clustering,” Statistics and computing, vol. 17, pp. 395–416, 2007.
- guangdong, “Trr dataset,” https://universe.roboflow.com/guangdong/trrnq2vd , apr 2024, visited on 2024-12-22. [Online]. Available:
- https://universe.roboflow.com/guangdong/trr-nq2vd image segmentation task, “segmentation dataset,” https://universe.roboflow.com/image-segmentation-task/segmentation cpobd , apr 2023, visited on 2024-12-22. [Online]. Available: https://universe.roboflow.com/image-segmentation-task/segmentation cpobd
- A. Wang, H. Chen, L. Liu, K. Chen, Z. Lin, J. Han, and G. Ding, “Yolov10: Real-time end-to-end object detection,” arXiv preprint arXiv:2405.14458, 2024.
- MMDetection Contributors, “OpenMMLab Detection Toolbox and Benchmark,” Aug. 2018. [Online]. Available: https://github.com/openmmlab/mmdetection
- Z. Ge, “Yolox: Exceeding yolo series in 2021,” arXiv preprint arXiv:2107.08430, 2021.
- K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 770–778.