I am working on OCR using opencv and now I am currently able to detect individual character by drawing a rectangle around them .Now I am not sure how to proceed to convert the image into textfile containing all the characters in the image. please help.Coding language-c++