Skip to content

Vision OCR 1.15.0 — more of each scanned page is selectable, columns copy in order, and files come out smaller

Choose a tag to compare

@charlesapetersen charlesapetersen released this 29 Sep 21:02
· 236 commits to main since this release

More of each scanned page can be selected. A block of text missed beside a column that was read is now recognised. Lines that recognition had fused into one garbled line come out as the real lines, and lines that stopped partway across the page are whole. Footnotes in small type and table columns that were skipped on the first read are read again and can be found. Scans cut into narrow strips under a vendor's header, as ProQuest newspaper pages are, are now recognised, and newspaper pages pasted up from strips are read one strip at a time at the strips' own resolution (C33, C51, C43, C39).

A drag down a column stays in that column. On pages set in two or three columns a selection runs down one column before moving to the next, lines read straight across the columns are split, words broken at the end of a column join up with the right half, and a headline or byline keeps its own height and width. Text printed sideways can be selected along its printed line. Copying no longer repeats the tail of a word hyphenated at a line end. On scans of two-page spreads the selectable text sits on its words again (C34, C40, C52, C36, C44, C42).

Numbers and typewritten pages read better. Each line of a page rebuilt in black and white is also read from the grey scan and the better reading is kept. Numbers in scanned tables that were garbled ("ถ.120") come out right, and two table cells read as one are split. Such pages take up to twice as long to recognise (C50).

Colour and type quality. Red headings on scanned text pages keep their colour. Light coloured type on a page rebuilt in black and white, such as a pink notice, now comes out black and can be selected and searched. Text on colour pages is dark and solid again, which was a regression in 1.14.0, and it is sharp in Preview (C32, C49, C31, C38).

Smaller files. Scans that already arrive as black-and-white JBIG2, including JSTOR and NBER downloads and ProQuest theses, keep their own compression. On 51 test documents the output went from 258.8 MB to 197.5 MB. Scanned pages whose own images are already smaller than the app's rebuild, such as ProQuest's layered pages and Internet Archive book scans, keep those images, so ProQuest pages that came out 1.5 to 2.2 times their original size now come out at about the original's size. Scans that carry an outline and a born-digital cover page are no longer several times larger than they need to be, and every searchable copy is written more compactly (C37, C47, C35).

The searchable copy keeps more of the original. It keeps the printed page numbers, so Preview's page field and Go To Page use them, and it keeps the title and author. When highlights, underlines and notes are not carried over, the result now says how many were left and of which kinds (C48, C45).

Fewer crashes and less noise. English pages no longer carry stray Arabic letters that recognition read from smudges. On one newspaper page such a line made Preview crash when a click landed at the end of a cartoon's signature (C46).

The full list is in CHANGELOG.md.