Metadata never fails a drop: deterministic title/author detection (metadata, first-page text, OCR of scanned first pages, file name), sources recorded in book.json; decrypt scratch copy before OCR
This commit is contained in:
@@ -51,6 +51,14 @@ ocr:
|
||||
language: eng
|
||||
min_chars_per_page: 10 # fewer characters than this = no text layer
|
||||
|
||||
meta:
|
||||
first_pages: 10 # title/author are looked for on the first pages (OCR only for pages with no text layer)
|
||||
|
||||
fetch: # a .url/.txt file in _incoming/ holding a link to a PDF
|
||||
max_mb: 300 # larger downloads are refused
|
||||
connect_timeout_s: 30
|
||||
max_time_s: 900 # a whole download may take this long
|
||||
|
||||
script:
|
||||
retail_sample_words: 400 # about 2.5 minutes at 155 words per minute (ACX asks for 1 to 5 minutes)
|
||||
chime_label: Chime
|
||||
|
||||
Reference in New Issue
Block a user