journal article·2025-07-20Open access

Task-Driven Real-World Super-Resolution of Document Scans

Maciej Zyrek, Tomasz Tarasiewicz, Jakub Sadel, Aleksandra Krzywon, Michal Kawulok

Applied Sciences· Volume 15· Issue 14

Abstract

Single-image super-resolution refers to the reconstruction of a high-resolution image from a single low-resolution observation. Although recent deep learning-based methods have demonstrated notable success on simulated datasets—with low-resolution images obtained by degrading and downsampling high-resolution ones—they frequently fail to generalize to real-world settings, such as document scans, which are affected by complex degradations and semantic variability. In this study, we introduce a task-driven, multi-task learning framework for training a super-resolution network specifically optimized for optical character recognition tasks. We propose to incorporate auxiliary loss functions derived from high-level vision tasks, including text detection using the connectionist text proposal network (CTPN), text recognition via a convolutional recurrent neural network (CRNN), keypoints localization using Key.Net, and hue consistency. To balance these diverse objectives, we employ a dynamic weight averaging (DWA) mechanism, which adaptively adjusts the relative importance of each loss term based on its convergence behavior. Experimental evaluation demonstrates that the proposed approach improves text detection, measured with intersection over union, by 1.09% for simulated and 1.94% for real-world datasets containing scanned documents, while preserving overall image fidelity. These improvements are statistically significant as confirmed by the Kruskal–Wallis H test and the post hoc Dunn test with Benjamini–Hochberg p-value correction. Our findings highlight the value of multi-objective optimization in super-resolution models for bridging the gap between simulated training regimes and practical deployment in real-world scenarios.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Image Processing Techniques · Advanced Vision and Imaging · Image Processing Techniques and Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Algorithmics and Software, Silesian University of Technology, 44-100 Gliwice, Poland

Department of Biostatistics and Bioinformatics, Maria Sklodowska-Curie National Research Institute of Oncology, Gliwice Branch, 44-102 Gliwice, Poland

Funding

National Science Centre, Poland · SUT funds through the Rector’s Research and Development

References (53)

Show source-provided references
1. Guo, H., Dai, T., Zhu, M., Meng, G., Chen, B., Wang, Z., and Xia, S.T. (November, January 29). One-stage low-resolution text recognition with high-resolution knowledge transfer. Proceedings of the 31st ACM International Conference on Multimedia, Ottawa, ON, Canada.
2. A review of single image super-resolution reconstruction based on deep learning10.1007/s11042-023-17660-4 ↗
3. Deep Learning for Image Super-Resolution: A Survey10.1109/TPAMI.2020.2982166 ↗
4. Image super-resolution: The techniques, applications, and future10.1016/j.sigpro.2016.05.002 ↗
5. Permutation Invariance and Uncertainty in Multitemporal Image Super-Resolution10.1109/TGRS.2021.3130673 ↗
6. Dong, C., Loy, C.C., He, K., and Tang, X. (2014, January 6–12). Learning a deep convolutional network for image super-resolution. Proceedings of the IEEE/CVF European Conference on Computer Vision (ECCV), Zurich, Switzerland.10.1007/978-3-319-10593-2_13 ↗
7. Dong, C., Loy, C.C., and Tang, X. (2016, January 11–14). Accelerating the super-resolution convolutional neural network. Proceedings of the IEEE/CVF European Conference on Computer Vision (ECCV), Amsterdam, The Netherlands.10.1007/978-3-319-46475-6_25 ↗
8. Kim, J., Kwon Lee, J., and Mu Lee, K. (2016, January 27–30). Accurate image super-resolution using very deep convolutional networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.182 ↗
9. Ledig, C., Theis, L., Huszár, F., Caballero, J., Cunningham, A., Acosta, A., Aitken, A., Tejani, A., Totz, J., and Wang, Z. (2017, January 21–26). Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.19 ↗
10. Cai, J., Zeng, H., Yong, H., Cao, Z., and Zhang, L. (November, January 27). Toward real-world single image super-resolution: A new benchmark and a new model. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.
11. Real-world single image super-resolution: A brief review10.1016/j.inffus.2021.09.005 ↗
12. Hyperspectral image super-resolution: Task-based evaluation10.1109/JSTARS.2024.3475644 ↗
13. Tian, Z., Huang, W., He, T., He, P., and Qiao, Y. (2016, January 11–14). Detecting text in natural image with connectionist text proposal network. Proceedings of the IEEE/CVF European Conference on Computer Vision (ECCV), Amsterdam, The Netherlands.10.1007/978-3-319-46484-8_4 ↗
14. Liu, Y., Wang, Y., and Shi, H. (2023). A convolutional recurrent neural-network-based machine learning for scene text recognition application. Symmetry, 15.10.3390/sym15040849 ↗
15. An end-to-end trainable neural network for image-based sequence recognition and its application to scene text recognition10.1109/TPAMI.2016.2646371 ↗
16. Barroso-Laguna, A., Riba, E., Ponsa, D., and Mikolajczyk, K. (November, January 27). Key.Net: Keypoint Detection by Handcrafted and Learned CNN Filters. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.
17. Liu, S., Johns, E., and Davison, A.J. (2019, January 15–20). End-to-end multi-task learning with attention. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00197 ↗
18. Dong, C., Zhu, X., Deng, Y., Loy, C.C., and Qiao, Y. (2015). Boosting optical character recognition: A super-resolution approach. arXiv.
19. Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv.
20. Lim, B., Son, S., Kim, H., Nah, S., and Mu Lee, K. (2017, January 21–26). Enhanced deep residual networks for single image super-resolution. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, Honolulu, HI, USA.10.1109/CVPRW.2017.151 ↗
21. Zhang, Y., Tian, Y., Kong, Y., Zhong, B., and Fu, Y. (2018, January 18–23). Residual dense network for image super-resolution. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.10.1109/CVPR.2018.00262 ↗
22. Blau, Y., and Michaeli, T. (2018, January 18–23). The perception-distortion tradeoff. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.10.1109/CVPR.2018.00652 ↗
23. Liang, J., Cao, J., Sun, G., Zhang, K., Van Gool, L., and Timofte, R. (2021, January 10–17). SwinIR: Image restoration using swin transformer. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada.10.1109/ICCVW54120.2021.00210 ↗
24. Ayazoglu, M. (2021, January 20–25). Extremely lightweight quantization robust real-time single-image super resolution for mobile devices. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.10.1109/CVPRW53098.2021.00280 ↗
25. Lu, Z., Li, J., Liu, H., Huang, C., Zhang, L., and Zeng, T. (2022, January 18–24). Transformer for single image super-resolution. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPRW56347.2022.00061 ↗
26. Wan, C., Yu, H., Li, Z., Chen, Y., Zou, Y., Liu, Y., Yin, X., and Zuo, K. (2024, January 16–22). Swift parameter-free attention network for efficient super-resolution. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPRW63382.2024.00628 ↗
27. Xie, C., Zhang, X., Li, L., Meng, H., Zhang, T., Li, T., and Zhao, X. (2023, January 17–24). Large kernel distillation network for efficient single image super-resolution. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada.10.1109/CVPRW59228.2023.00135 ↗
28. Wang, W., Xie, E., Sun, P., Wang, W., Tian, L., Shen, C., and Luo, P. (2019). TextSR: Content-aware text super-resolution guided by recognition. arXiv.
29. Honda, K., Fujita, H., and Kurematsu, M. (2022, January 19–22). Improvement of Text Image Super-Resolution Benefiting Multi-task Learning. Proceedings of the International Conference on Industrial, Engineering and Other Applications of Applied Intelligent Systems, Kitakyushu, Japan.10.1007/978-3-031-08530-7_23 ↗
30. Gomez, R., Shi, B., Gomez, L., Numann, L., Veit, A., Matas, J., Belongie, S., and Karatzas, D. (2017, January 9–15). ICDAR2017 robust reading challenge on COCO-text. Proceedings of the IAPR International Conference on Document Analysis and Recognition (ICDAR), Kyoto, Japan.10.1109/ICDAR.2017.234 ↗
31. Haris, M., Shakhnarovich, G., and Ukita, N. (2021, January 8–12). Task-driven super resolution: Object detection in low-resolution images. Proceedings of the International Conference on Neural Information Processing (ICONIP), Sanur, Bali, Indonesia.10.1007/978-3-030-92307-5_45 ↗
32. Semantically accurate super-resolution generative adversarial networks10.1016/j.cviu.2022.103464 ↗
33. Benefiting from multitask learning to improve single image super-resolution10.1016/j.neucom.2019.07.107 ↗
34. Madi, B., Alaasam, R., and El-Sana, J. (2022, January 4–7). Text Edges Guided Network for Historical Document Super Resolution. Proceedings of the International Conference on Frontiers in Handwriting Recognition, Hyderabad, India.10.1007/978-3-031-21648-0_2 ↗
35. Zyrek, M., and Kawulok, M. (2024, January 8–11). Task-driven single-image super-resolution reconstruction of document scans. Proceedings of the 19th Conference on Computer Science and Intelligence Systems (FedCSIS), Belgrade, Serbia.10.15439/2024F7855 ↗
36. Multi-task learning for dense prediction tasks: A survey
37. Chen, Z., Badrinarayanan, V., Lee, C.Y., and Rabinovich, A. (2018, January 10–15). GradNorm: Gradient normalization for adaptive loss balancing in deep multitask networks. Proceedings of the International Conference on Machine Learning (ICML), Stockholm, Sweden.
38. Kendall, A., Gal, Y., and Cipolla, R. (2018, January 18–23). Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.
39. Guo, M., Haque, A., Huang, D.A., Yeung, S., and Li, F.-F. (2018, January 8–14). Dynamic task prioritization for multitask learning. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01270-0_17 ↗
40. Tan, C., Cheng, S., and Wang, L. (2022). Efficient Image Super-Resolution via Self-Calibrated Feature Fuse. Sensors, 22.10.3390/s22010329 ↗
41. A light weight convolutional neural network for single image super-resolution10.1016/j.procs.2020.04.015 ↗
42. Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., and Li, F.-F. (2009, January 20–25). ImageNet: A large-scale hierarchical image database. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Miami, Florida.10.1109/CVPR.2009.5206848 ↗
43. Liu, Z., Li, L., Wu, Y., and Zhang, C. (2019). Facial Expression Restoration Based on Improved Graph Convolutional Networks. arXiv.10.1007/978-3-030-37734-2_43 ↗
44. Shermeyer, J., and Van Etten, A. (2019, January 16–17). The effects of super-resolution on object detection performance in satellite imagery. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, Long Beach, CA, USA.10.1109/CVPRW.2019.00184 ↗
45. Correia, P.H.B., and Rivera, G.A.R. (2018). Evaluation of OCR free software applied to old books. Rev. Trab. Iniciação Científica UNICAMP, 26.10.20396/revpibic2620181132 ↗
46. Image quality assessment: From error visibility to structural similarity10.1109/TIP.2003.819861 ↗
47. Zhang, R., Isola, P., Efros, A.A., Shechtman, E., and Wang, O. (2018, January 18–23). The Unreasonable Effectiveness of Deep Features as a Perceptual Metric. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.10.1109/CVPR.2018.00068 ↗
48. Lugmayr, A., Danelljan, M., Timofte, R., Kim, K.-w., Kim, Y., Lee, J.-y., Li, Z., Pan, J., Shim, D., and Song, K.-U. (2022, January 18–24). NTIRE 2022 challenge on learning the super-resolution space. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPRW56347.2022.00094 ↗
49. Evaluating super-resolution reconstruction of satellite images10.1016/j.actaastro.2018.07.035 ↗
50. Robust structural similarity index measure for images with non-Gaussian distortions10.1016/j.patrec.2022.09.011 ↗
51. Limitation and challenges of image quality measurement
52. Document image quality assessment: A survey10.1145/3606692 ↗
53. A graph attention network for real-world multi-image super-resolution10.1016/j.inffus.2025.103325 ↗