integrate offline dictionary & paint text in image