This script takes care of splitting an input pdf file into parts, performing OCR on the parts and assembling the individual recognized pdf files back into one searchable file.
Relies on Mac OS X "mdls" tool and a python script that's specific to OS X to reassemble.