update
This commit is contained in:
@@ -56,10 +56,11 @@ See each module's own README for setup and usage details.
|
||||
cp config.example.json config.json
|
||||
# fill in ocr.api_key / ocr.base_url / ocr.model, epub.title / epub.author / ...
|
||||
|
||||
# 1a. OCR a light novel
|
||||
# 1a. OCR (or translate) a light novel
|
||||
cd ocr
|
||||
pip install openai pillow natsort tqdm
|
||||
python novel_ocr.py --input /path/to/scans --output ./out
|
||||
python novel_ocr.py --input /path/to/scans --output ./out --translate --target-lang Russian
|
||||
|
||||
# 1b. ...or OCR/translate manga instead
|
||||
python manga_ocr_llm.py --input /path/to/scans --output ./out
|
||||
|
||||
Reference in New Issue
Block a user