Datasets:
scanned_docs_loc
Raw scanned and photographed document page images collected by the ElliotVL DataEngine as an OCR / document-understanding image pool. 395,013 images, 1.04 TB.
- Library of Congress β page images of digitized books, manuscripts, maps and newspapers via the loc.gov API. Source: https://www.loc.gov/apis/json-and-yaml/
| config | source | images | shards | size |
|---|---|---|---|---|
books |
loc_books |
117,663 | 0-123 of 124 | 0.13 TB |
manuscripts |
loc_manuscripts |
83,194 | 0-63 of 64 | 0.07 TB |
maps |
loc_maps |
105,865 | 0-336 of 337 | 0.36 TB |
newspapers |
loc_newspapers |
88,291 | 0-444 of 445 | 0.48 TB |
What this is, and what it is not
- Unlabeled. There is no OCR text, caption or QA. Each row is one page image plus its provenance; labels are meant to be produced downstream.
- Original bytes. Every image is stored exactly as downloaded (JPEG, JPEG 2000, TIFF, GIF), not resized or re-encoded. Pages are large: census frames are typically ~7096Γ5472, Internet Archive pages ~4000Γ6000. Decode JPEG 2000 with a Pillow built against OpenJPEG.
- Deduplication is exact by downloaded file / zip member within a source.
image_sha256is the hash of the stored bytes, so exact duplicates across sources can be removed by joining on it. Near-duplicates (the same page scanned twice) are not removed.
Schema
imageβ HFImage();pathis the original file nameimage_sha256β SHA-256 of the stored image bytessource_idβ collection lane, e.g.nara_catalog,loc_maps,ia_german_modernitem_id/item_urlβ the record or book the page belongs to (NARA catalog id, LOC item, Internet Archive identifier)image_urlβ the URL the image was downloaded from (empty for pages taken out of an IA archive)titleβ record / book title when the source provides onepage_indexβ 0-based page position inside an Internet Archive item, else emptywidth,height,image_format,file_name
Parquet shards are ~1 GB with ~32 MB row groups, 1000 shards per subfolder.
How this was made
Code and design notes: Elliot-Data/elliotvl-data-pipeline. Start with
DataEngine/docs/scanned_doc_pipeline.md (download lanes, resumable state, IA page manifests), the
run log DataEngine/reports/scanned_doc_download_run_20260702.md, and for this Hub layout
DataEngine/scripts/pool_publish/scanned_docs_to_hub.py / scanned_docs_publish.py.
Rights
Library of Congress. Rights vary by item. Many digitized Library of Congress collections state no known restrictions on publication, but not all do. Check the item at item_url.
Access is gated with manual approval.
- Downloads last month
- 2,459