gocr_endCharacter() may or may not automatically call charRecognizer. Set a flag to do it.
How to save boxes? In a linked list in the gocrBlock structure? Otherwise, it's reponsability of the user?