Publication:

The Old Bailey, U.S. Reports, and OCR: Benchmarking AWS, Azure, and GCP on 360,000 Page Images

Loading...
Thumbnail Image

Files

UGHETTA-WILLIAM-THESIS.pdf (8.62 MB)

Date

2021-08-17

Journal Title

Journal ISSN

Volume Title

Publisher

Research Projects

Organizational Units

Journal Issue

Access Restrictions

Abstract

Court records spanning the entire eighteenth and nineteenth centuries present a compelling benchmark for leading Optical Character Recognition (OCR) cloud providers on historical, English-language documents. The Proceedings of the Old Bailey is a corpus of over 180,000 pages of court records and last words published in England from 1674 to 1913. The U.S. Reports, selected volumes 1 through 241, is a collection of over 180,000 pages from The United States Supreme Court and predecessor courts ranging from 1754 to 1915. The Old Bailey is uniquely suited for benchmarking OCR, since all 180,000 images have been transcribed by humans. The U.S. Reports will be useful as a relative measure of similarity between the providers, instead of an absolute comparison to human performance. Although these two datasets largely span the same period, there are significant differences in their layout, printing, preservation, scanning, and even digital formats. The goal of this thesis is to benchmark three leading cloud OCR services on the 360,000 historical documents from the Old Bailey and U.S. Reports datasets and to automate an explorative visualization of the results. The three OCR services are: Amazon Web Services’s Textract (AWS); Microsoft Azure’s Cognitive Services OCR (Azure); and Google Cloud Platform’s Vision (GCP). This represents the second time, approximately nine months apart, that the Old Bailey has been benchmarked on AWS, Azure, and GCP, and the first time for the U.S. Reports, volumes 1 through 241. We found that AWS had the lowest median Character Error Rate (CER) across both the Old Bailey and the U.S. Reports and that GCP had the lowest median round trip time of less than one second for both datasets. Towards the end, we added three more providers to our benchmark in order to evaluate Microsoft’s latest OCR service in addition to two free solutions. We also automated the process of visualizing the results with the tigerocr tool. Specifically, the tigerocr explore command takes a PDF, converts it to images, executes OCR on each image, and arranges the resulting metrics in a website Explorer in order to view the results, potentially of massive scale, all on one single dashboard.

Description

Type of resource

Princeton University Senior Theses

Keywords

Location

Citation