add ocr processor structure, threading all