DEV Community

ClippingPress
ClippingPress

Posted on

Why PDF layout segmentation isn’t OCR

Print PDFs are awkward to ingest. A newspaper page is not a Word file: several articles share a sheet, a story jumps to page 8, a photo caption belongs to one piece and not the next, and a slab of the page is an advertisement.

A common shortcut is to run OCR and store “the text of the page.” That is useful for search-inside-a-page. It is the wrong unit of work if you need articles.

What OCR actually gives you

OCR (optical character recognition) turns pixels into characters. On a born-digital PDF it may only be extracting already-embedded text. Either way, the usual output is a single stream, or a bag of text boxes: one wall of text for the page, as ClippingPress puts it.

That stream does not tell you:

  • where one article ends and the next begins
  • which headline, kicker, subheadline and byline go with which body
  • which caption belongs to which photograph
  • that a story continues on another page
  • that a block is an ad and should be skipped
  • the section, page number, or share of the page that a clipping occupied

If you build media monitoring, a publisher archive, or a research corpus on top of that stream, you spend the next step doing layout work — by hand, or with a second system.

What layout segmentation is for

Layout segmentation starts from the page as a layout. The job is to group the right regions into a single article and to give that article a boundary: start, end, headline, body in reading order, optional jump to a later page, associated captions, and a cut-out of the clipping as printed.

ClippingPress, which is the system this article is describing, states the distinction explicitly in its FAQ: OCR turns a page into one wall of text; it “understands the layout: where each article starts and ends, which headline, photo and caption belong to it, and what is an ad.” The result is “separate, labelled articles, not a page of text.”

On its developers page the unit of output is one object per article. The documented fields include:

  • issue metadata (title, date, edition, page, section)
  • headline, subheadline, byline
  • language
  • full text in reading order, including jumps
  • captions
  • layout (a bounding box, the page the story continues on, share of the page)
  • a cutout image of the article as printed
  • an AI summary and entities (people, organisations, locations, topics)
  • media data (reach, adjusted reach, circulation, copies sold, readership, ad rate, AVE, GRP, OTS, with a currency)

Those last two blocks are product features on top of segmentation. The segmentation step is what makes them attach to an article rather than to a page.

Why this matters in a pipeline

If your buyers are media-monitoring firms, publishers, archives or research teams — the audiences listed on the ClippingPress site — they already think in articles, not in pages. Their keyword routing, their ALTO/METS archives, their morning-issue packs, and their agents all want one record per story.

The same site describes delivery as a REST API, a webhook when an issue is finished, or a drop via SFTP or object storage, as JSON, XML or METS/ALTO. The documented API base is https://api.clippingpress.com/v1/, with POST /v1/issues, GET /v1/issues/:id/articles, and GET /v1/articles/:id. An MCP server is mentioned for Claude, ChatGPT and other agents; a public MCP URL is not listed on the site at the time of writing.

Claims to read as vendor claims

ClippingPress also publishes product claims that this article will not try to re-prove: up to ten times faster than the process it replaces, 99.999% accuracy, a public starting price from €0.10 per processed page, 100 pages free, processing in the EU on Google Cloud, and a 60 pages-per-minute throughput figure. Those are statements on clippingpress.com. If you evaluate the product, test them on your own issues; the site invites exactly that.

A short rule of thumb

If you only need words on a page, OCR (or PDF text extraction) may be enough. If you need the article — its boundaries, its typography hierarchy, its caption, its jump, its cutout, and metadata that hangs off that object — you need layout segmentation. The two jobs are easy to confuse because both start with a PDF. They do not return the same thing.


Published by the ClippingPress team. Try it on your own PDFs at clippingpress.com — the first 100 pages are free.

Top comments (0)