add OCR engine init/end api