Skip to main content
← Back to Gallery

Workflow Details

📄

Images from Document

Extract embedded photos from scanned documents. For .docx files, extracts embedded images directly via python-docx. For .doc/.docm files, first converts the document to PDF via LibreOffice in headless mode. Converts each PDF page to a raster image, detects photo regions via contour analysis, OCRs the caption area below each photo, and saves cropped images as JPEGs with EXIF metadata containing the caption. Typical input: scanned property documentation with inline photographs (e.g. "Documentazione Fotografica" from Italian real-estate dossiers).

extraction Version 1.0.0 1 Steps

Workflow Information

Workflow ID
images_from_document_v1
Version
1.0.0
Category
extraction
Total Steps
1

Workflow Steps

Extract Images
python

Recent Execution Results

Loading...

Loading recent results...