Thanks folks to all who have taken the time to respond.
This is what I am trying to do now, I upscale the image then feed it to the ocr and then run it against a dictionary of words I have, if it does not match, I iteratively upscale and feed it to the ocr. I cannot upscale it very big as there are 3 problems.
1. The text I am trying to seek gets very blurred and ocr will fail
2. I run out of memory upscaling.(I have the heap size increased to the max).
3. This process is time consuming
My upscale multiple(by how many pixels i upscale the entire image) is also set based on the max dimension of the original image(i,e if vertical dimension is more then vertical pixels become my max dimension, likewise with horizontal, eg height is 29 and width 67, max dimension=67).
if (maxDimension <100)
scaledMultiple=10;
else if (maxDimension >100 && maxDimension<1000)
scaledMultiple=50;
else if (maxDimension > 1000)
scaledMultiple=100;
This works for most of the images I have currently, but fails for a few. I will attach the failing ones(needs to read VIP1200 in VIP1200R.png and VIP1200R_cropped). Appreciate it if any of you could tell me, how I can get this to work. Also if there is another way to go about this, as my images are varying in size drastically(ofcourse I ahve put across the suggestion of cropping the model number within a text box, as Allistair has suggested and they are mulling over it(so I guess the idea is not well received)).
I do maintain the aspect ratio of the original image when I upscale....so the ovalizing the text is not done, may be should try that ? Also I am now converting jpg to png files, do you know which format works the best ? Thanks
Appreciate it.