[Case study](https://georgios.stathmon.com/#projects)

# AI-Powered Automation Tools for Business Workflows at WinMedica

A document-review automation workflow for pharmaceutical labeling and artwork files, built to compare complex pages, surface text differences, and make review findings easier to inspect.

## What it does

The tool compares pharmaceutical labeling and artwork documents in a reviewer-friendly interface, pairing original pages with detected differences so teams can inspect wording, dosage values, warnings, formatting changes, and missing or added content in context.

## How it works

Under the hood, it combines document extraction, text matching, layout segmentation, and a custom rCNN region detector trained on synthetic layouts that follow the structure of real production files.

![WinMedica document comparison interface showing labeling and artwork highlights](https://georgios.stathmon.com/project-media/labart_example.png)

**Fig. 1**Reviewer interfaceLabeling and artwork pages compared side by side, with matched, changed, missing, and extra content highlighted.

## Highlights

- **Document Comparison**: Side-by-side review of labeling and artwork documents with matched highlights, changed values, missing phrases, and extra text surfaced visually.

- **Text Matching**: Robust phrase and token matching helps identify wording changes even when line breaks, spacing, or formatting differ between files.

- **Layout Segmentation**: Document regions are segmented before comparison, so the system can reason about panels, columns, headings, and artwork zones instead of treating each page as plain text.

- **Custom rCNN**: A custom region-CNN layout model is trained on synthetic document layouts designed to mirror the real production file distribution.

- **Workflow Impact**: The tool supports faster quality-control cycles by reducing repetitive manual checking and keeping differences auditable for regulated document workflows.
