📄 Analyze PDF
Extract DocTags structure from the PDF page using AI-powered document analysis.
What this does:
- Converts the PDF page to an image
- Uses AI to identify document structure (headers, text, images, tables)
- Generates DocTags with precise coordinate information
- Saves the results to the
results/ folder
🎨 Visualize DocTags
Create a visual representation of the extracted DocTags with bounding boxes around detected elements.
Visualization Result
What this does:
- Reads the DocTags file from Step 1
- Overlays colored rectangles on the original PDF page
- Each element type gets a different color (headers, text, images, etc.)
- Saves the visualization as a PNG image