Skip to content
Liu-ShaokaiPublic

About

The official code for “BookNet: Book Image Rectification via Cross-Page Attention Network”, TMM.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

BookNet: Dual-Page Book Image Rectification
via Cross-Page Attention

arXiv HuggingFace Dataset HuggingFace Dataset License

Official implementation of Dual-Page Book Image Rectification via Cross-Page Attention (arXiv).

BookNet rectifies photographed dual-page book images by explicitly modeling the geometric correlation between the two facing pages with a cross-page attention mechanism. We also release Book3D, a large-scale synthetic training set of dual-page book distortions, and Book100, a real-world benchmark for evaluation.

🔥 Good news! Our work has been accepted by IEEE Transactions on Multimedia.

Model

The model is defined in BookNet.py in the root directory.

Datasets

Dataset Type Hugging Face Baidu Netdisk
Book3D Synthetic training set skliu520/Book3D Link (code: 5hcf)
Book100 Real-world benchmark skliu520/Book100 Link (code: jynf)

⚠️ Note. Book3D and Book100 are released for non-commercial scientific research purposes only. The book pages contained in these datasets may be subject to third-party copyright, and the datasets must not be used for any commercial purpose or redistributed for commercial use. By downloading them you agree to these terms.

Eval

Please refer to the evaluation code in the eval folder.

Citation

@article{liu2026booknet,
  title={BookNet: Book Image Rectification via Cross-Page Attention Network},
  author={Liu, Shaokai and Feng, Hao and Luan, Bozhi and Hou, Min and Deng, Jiajun and Zhou, Wengang},
  journal={arXiv preprint arXiv:2601.21938},
  year={2026}
}

License

The code in this repository is released under the MIT License. Note that the license covers the code only; the accompanying datasets (Book3D and Book100) are provided for non-commercial academic research use, as stated above.

Acknowledgement

The codes are largely based on DocUNet, DewarpNet, UVDoc and PaddleOCR-VL. Thanks for their wonderful works.

About

The official code for “BookNet: Book Image Rectification via Cross-Page Attention Network”, TMM.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages