User:Inductiveload/Scripts/Pagewise DJVU OCR extractor

This script creates a text file for each page of a DJVU.

Parameters:


 * -i is the input DJVU file
 * -o is the output directory
 * -p is the number of pages (the script will do the first "p" pages)
 * -d is and optional debug flag

Example
pagewise-ocr.py -i "C:\Documents and Settings\Me\My Documents\input.djvu" -p 100 -o "C:\Documents and Settings\John\My Documents\inputOCR"