<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[When unpaper fails to deskew a document, what do you do?]]></title><description><![CDATA[<p dir="auto">When a scanned document is slightly rotated anti-clockwise, this causes a problem for OCR because the 2nd half of every line appears before the 1st half of every line. The incorrect order is a disaster for language translations.</p>
<p dir="auto">The FOSS tool to deskew is <code>unpaper</code>. But it often fails to deskew. There are <code>--pre-rotate</code> and <code>--post-rotate</code> options which you might expect to give some manual control, but strangely you can only rotate by 90°. The <code>unpaper</code> options are not well explained.</p>
<p dir="auto">What are folks doing in this situation?</p>
<p dir="auto">I recall from ~20 years ago Windows paperless tools had a deskewing function that was manual. You draw a line under a line of text on the page and that input is used for rotation. It was limited to PDFs but at least it worked. Is there anything like that in the free world?</p>
]]></description><link>https://forum.ieu.app/topic/f34d6265-e1c4-483a-b192-bb9f3ab25d75/when-unpaper-fails-to-deskew-a-document-what-do-you-do</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 01:59:12 GMT</lastBuildDate><atom:link href="https://forum.ieu.app/topic/f34d6265-e1c4-483a-b192-bb9f3ab25d75.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Aug 2026 13:42:38 GMT</pubDate><ttl>60</ttl></channel></rss>