dynamic in ocr