Added some functions to prepare for OCR parallelism
Merge pull request #3 from ellisong/master

Added some functions to prepare for OCR parallelism