Python Script: Image to Visio Flowcharts

via Freelancer ·

Budget / Salary₹600–1,500
TypeFreelance project
LocationRemote
Posted39 minutes ago
I have a folder full of PNG / JPEG screenshots of simple flowcharts and I need a Python script that will turn each image into a fully editable Visio (.vsdx) file. The end result I’m after is a Visio drawing where the arrows, “process” rectangles, “decision” diamonds, start / end ovals and any other common flow-chart symbols are real Visio shapes with proper connectors, not a flat picture. Wherever the original image contains text inside a shape, that text must be copied into the matching Visio shape automatically so I can open the file in Visio and start rearranging or styling it right away.

Core workflow I envision:
• The script runs locally (Windows 10/11), pointed at a single image or an entire folder.
• It detects the usual flowchart shapes, their positions and connections, recreates them in Visio using python-com or any reliable Visio API wrapper, and assigns detected text to each shape.
• Output is a clean .vsdx file with the same layout and connectors as the source image.

I’m happy for you to choose the best libraries—OpenCV or similar for image analysis, pytesseract or another OCR engine for text, and pywin32/Visio Interop for file creation—as long as the final script is self-contained, well-commented and easy for me to run from the command line.

Deliverables that will let me sign off:
1. Python source code (.py) and any helper files.
2. A brief README explaining dependencies, setup, and usage.
3. One converted sample image of mine that opens in Visio with editable shapes, connectors and text.

If you’ve tackled image-to-diagram conversion before, especially with Visio automation, that will be a big plus. Let me know any clarifying questions and your estimated turnaround time so we can get started.
python software architecture cartography & maps ocr geospatial image processing opencv image analysis
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.