A Private Web-Based Pipeline for Converting Images and PDF Pages into Editable PowerPoint Shapes

Authors

  • Huaxin Zheng Wenzhou Polytechnic, WenZhou, China Author

DOI:

https://doi.org/10.63313/JCSFT.9084

Keywords:

Document Image Analysis, Editable Presentation, Optical Character Recognition, Shape Reconstruction, PowerPoint Automation, Private Deployment

Abstract

Rasterized slide images and PDF pages are easy to distribute but difficult to reuse because text, layout objects, borders, and background regions are flattened into pixels. This paper presents a private web-based pipeline that converts images and PDF pages into editable PowerPoint files. The proposed system emphasizes local deployment, backend-centered image analysis, optical character recognition, text-region removal, geometric shape reconstruction, an intermediate Shape JSON representation, and .pptx export. The method first normalizes input pages, detects text regions, estimates background colors, extracts primary layout shapes through color clustering and contour analysis, and then reconstructs editable PowerPoint shapes with fill colors, borders, layer order, and placeholder text fields. A lightweight browser interface supports upload, preview, basic shape correction, and re-export, while computation remains on the local server. The current prototype completes the core conversion loop from raster input to editable PowerPoint output and provides a foundation for improved text removal, manual correction, batch PDF processing, and reusable private templates. The study demonstrates a practical engineering approach for transforming static visual documents into reusable presentation assets without relying on public cloud processing.

References

[1] Bradski, G. (2000) The OpenCV Library. Dr. Dobb’s Journal of Software Tools.

[2] Suzuki, S. and Abe, K. (1985) Topological Structural Analysis of Digitized Binary Images by Border Following. Computer Vision, Graphics, and Image Processing, 30, 32-46.

[3] Smith, R. (2007) An Overview of the Tesseract OCR Engine. Proceedings of the Ninth International Conference on Document Analysis and Recognition, Curitiba, 23-26 September 2007, 629-633. https://doi.org/10.1109/ICDAR.2007.4376991

[4] Du, Y. et al. (2020) PP-OCR: A Practical Ultra Lightweight OCR System. arXiv preprint, arXiv:2009.09941.

[5] Artifex Software, Inc. (2024) PyMuPDF Documentation. https://pymupdf.readthedocs.io/.

[6] python-pptx Contributors (2024) python-pptx Documentation. https://python-pptx.readthedocs.io/.

[7] Ramírez, S. (2024) FastAPI Documentation. https://fastapi.tiangolo.com/.

Downloads

Published

2026-06-10

Issue

Section

Articles

How to Cite

A Private Web-Based Pipeline for Converting Images and PDF Pages into Editable PowerPoint Shapes. (2026). Journal of Computer Science and Frontier Technologies, 3(3), 28–36. https://doi.org/10.63313/JCSFT.9084