Folio Kestrel
Back to search

Reader guide

Search for a printed name, label or number and jump to its location in the scan. The two-page river register opens with both occurrences of “Alder” highlighted on their respective pages.

Search the scan

The sample includes its word index. When you search a file from your device for the first time, the app loads the English recognizer. You can also download the sample PDF.

  1. Choose Open PDF to select a file from your device, or keep the sample. If you saved a .folio.jsonl index, you can select the PDF and index together. The reader checks the PDF's fingerprint and sets Pages to indexed when the pair opens. Page numbers count from the first sheet, including covers.
  2. Enter a complete printed word, a number or two consecutive words. Capitalization and punctuation at either end are ignored. For a hyphenated word on one line, include the internal hyphen. Enter all, one page number, or a range such as 1,3–8. Documents longer than 20 pages start with pages 1–20 selected.
  3. Choose Find. Select a result to see the marked word and the print around it. Choose Full page to locate that detail on the sheet. The selected match has an amber outline. Other matches on that page have green outlines. Choose Save detail PNG to download the selected match and the print around it. The image includes the document name, query, physical PDF page, match number and OCR source. Its outline leaves the printed letters visible.

Try River station in the sample. A phrase match highlights both words together. The reader checks adjacent OCR words in left-to-right order on the same line. Large gaps, line breaks, or a misread word can prevent a match. Try the more distinctive word on its own if needed. If No. 1 misses a catalogue label, try No.1. Some OCR indexes store the label and its digits as a single word.

In the sample, select the second “Alder” result to compare the station’s reading on the following day. To search the same pages for another station, change the word and run the search again. Completed pages can answer another query immediately.

To find a word across several books, search their saved indexes together and export the matching lines and page numbers. Search several book indexes.

Find a number split by OCR

Enter a decimal such as 24.22. Select Include possible split decimals and run the search. A result marked Joined OCR fragments shows both pieces as the recognizer read them. Select the result and check the whole printed value, including digits just outside the highlighted box. In one survey table, the suggested 12.89 highlighted only the end of the printed 252.89. CSV exports mark these rows as image-ocr-joined and preserve the two original spellings.

Try the Lake Cochituate table from the 1903 USGS report. Open the downloaded page and search for 24.22 with the option selected. On the page, look under 1888 in the rainfall column. Download the one-page table · Original report, printed page 89

An amber box around 24.22 under the 1888 heading in the Lake Cochituate table.
The joined result on printed page 89.

Search a book using archive OCR

For an example, download Calahan’s 1894 plumbing catalogue and its search index. Catalogue PDF (8.9 MB) · Archive search index (222 KB)

  1. Choose Open PDF and select both downloads together. If your device selects one file at a time, open the PDF first and choose Search index → Load index for the second file.
  2. Enter Address, set Pages to 24 and choose Find. Select the result to see the printed word.
  3. Switch Search source to Image OCR on this device to read the page images. On page 25 this source finds WATER-CLOSET. You can switch back to the archive words at any time.

Archive indexes store words and rectangles supplied with an Internet Archive edition. Saving an archive index preserves its source. CSV rows from it carry the source archive-djvu. To prepare an index for another book, use the Python converter included in the offline download. Converter instructions

Read and save the results

Each result gives the physical page number, its match number on that page and the line of text recognized by OCR. In tables a single cell may be the entire recognized line. Save highlighted PDF downloads a copy containing a highlight for each current match. Open a highlight in a PDF viewer to see the OCR reading and context. Search results from completed pages can be saved after stopping. For signed or encrypted documents, use the CSV export. Save CSV downloads one row per match with the original query, recognized spelling and word rectangle. The coordinates run from 0 to 1 across the displayed page, measured from its top left.

CINCINNATI above to SANDUSKY in a train timetable, with the source page in the caption.
The saved detail from the December 1851 American Railway Guide includes the destination on the line below the match. Open the original page.

Stop keeps results from completed pages. Run the search on the same range to continue. To keep completed pages after reloading the tab, save the search index. The search reads the page image even if the PDF already has a selectable text layer.

Resume a book later

Under Search index, choose Save index. The downloaded .folio.jsonl file contains recognized text and word locations for every completed page, including pages with zero words. A stopped search can save its progress. If the PDF requires a password, the exported index still contains readable plain text.

Next time, open the same PDF and choose Load index. The reader checks the PDF contents, so you can rename the file. Edited copies need their own index. Loading adds missing pages and keeps completed pages already in the tab.

Enter indexed under Pages to search the available pages immediately. Select a larger range to read the remaining pages, then save the expanded index. The PDF still supplies the images shown in the preview.

When a word is missing

The English OCR can misread digits, merge words or skip decorative and sideways labels. A word split between two lines can also be missed. A zero count means the recognizer returned no matching token on the searched pages. Use the page controls to inspect a likely location yourself. Try the spelling used in the edition. For example, page 15 of the Chicago House Wrecking catalogue prints Pittsburg in a description of a sale. View the catalogue page.

On a small set of historical catalogue scans, the browser search located the marked occurrence for 23 of 26 held-out queries and 34 of 42 validation queries. For one illustrated “PATENTED” label it returned the word elsewhere on the sheet. The study measures location on a selected set of readable words. Evaluation details

Your document

Your browser downloads the app, sample and OCR software from the Space. The selected PDF, password, recognized words and search terms are processed in this tab. Search sends no document bytes to a server. Save the CSV before changing documents if you want to keep the coordinates.

Use the reader offline

Extract the offline ZIP, open a terminal in its folio-find folder and run python -m http.server 8000 --bind 127.0.0.1. Visit http://127.0.0.1:8000/ to search your PDFs with the bundled English recognizer. Download offline ZIP

Source and licenses

Folio Find and its fictional river register are available under Apache 2.0. The app uses PDF.js for rendering, PDF-lib for saving highlights, Tesseract.js for OCR and English weights from tessdata_fast. Barlow and Instrument Serif use the SIL Open Font License. For bundled versions, license texts and local launch instructions, see the Space repository.