generation of ocr-data