Content Extraction

The pdf-compare.py script extracts the text content from the pages of both PDF files provided when it is executed.

Light normalization is then applied to the content before comparing the reference document with its new version.

Difference Detection

Differences are displayed directly in the terminal as added and removed lines.

If no textual difference is detected, the tool simply indicates this instead of producing an unnecessary report.

Processing is performed locally, without sending files to a third-party service or using an external API, an approach consistent with data security principles.