I am using Robert Theis' experimental app (namely, android-ocr) to achieve real-time OCR and translation (using Bing translator.)
In class CaptureActivity.java, in function handleOcrContinuousDecode (which is the function for real-time OCR), I have created a TranslateAsycnTask.java object which passes the translated-text to be displayed through the ViewFinderView.java like this:
The problem I'm getting is that after the first successful real-time translation, the result of the first translation is displayed for the next translation(s). The OCR performed is however, successful for all the next cases. Like this:
What's happening here is the OCR text is on the top left for "velocity"and the translated text "velocidad" is drawn over the original text. In case of "application", the OCR displayed is correct however the translation returned is of the previous case.
Kindly tell me what am I doing wrong or how or what should I do to solve this problem?
Thanks.