How to Improve quality of OCR text in iphone - iphone

I am having an example of OCR from github. But quality of text is very low. How to improve text quality....please help me soon. Thanks in advance.

Will you be able to afford a commercial OCR engine on iPhone, such as ABBYY? Otherwise, server-side OCR is always an option if the user does not mind the delay. It has an added advantage that you can peek into your user's images - but tread carefully - don't break laws and make sure your user license conveys what you're going to do with those images.

Related

How to Translate Text of an Image in Real Time With iPhone Camera?

I am working on an app that needs to translate the text of an image in realtime with the iphone camera.Is there any way to implement it? any sdk or tutorial will be helpful.
My suggestion would be a combination of the following:
The open-source Tesseract OCR engine for getting the text from the image(Quite recent iOS wrapper here: https://github.com/ldiqual/tesseract-ios)
One of the translation services discussed in this question for translations: https://stackoverflow.com/questions/6151668/alternative-to-google-translate-api
E.g. a tutorial like this on how to get a real-time camera view with overlays: http://www.musicalgeometry.com/?p=1273
Please note that these are just ideas on how to do this with as fast progress as possible.
Some apps that offer real-time translations even try to find a suitable font and display the translated text at the exact same position as the original text was. I am afraid that this is not possible without investing lots of work and developing your own OCR engine.
Hope this helps.

Text to speech app size

Does using libraries like OpenEars will drastically enlarge my app size? Or I can just extract the text to speech stuff, and get away with it...Probably removing all those langs? I don't have any idea.
I checked and OpenEars sample app is 33MB - which is big!
So my question is - can I implement text to speech in my app without compromising the size so much? I mean I can live with 2-3 MBs but 30...
Thank you!
OpenEars developer here. Just follow the instructions here to reduce your final app size, there's no need to ship all the voices or any features of the framework that you aren't making use of. Depending on which voices you're using and which feature, you might see an app size increase of between 6 megs and ~20 unless you're using a large number of the available voices. The sample app uses all of the framework features and two voices, and supports a few iOS versions, so its binary size reflects that.
My guess is you can't, audio will take up a lot of space.
Removing unneeded language will free some space but 2-3 mb for all the audio guess that isen't really possible.

Tools for creating icons for iphone

What are some good tools for creating icons with specific size such as apps and loading screens for 3gs screen and the 4 retina screen? Is there a program where i take a picture and it scales it to specific sizes??
Thank you!!!!
A vector drawing tool like Inkscape or Illustrator is what you're looking for. These export to different bitmap sizes easily.
Alternatively, task a good artist with this :)
There are many apps out there that help you create icons, as well as some websites. I think your best bet is to look through the Mac App Store, which is where I've found some of the greatest apps to assist in my coding.
If you go into the App Store and choose 'Categories', then choose 'Developer,' it should bring up all the Developer apps. Some will apply to what you're working on, and some won't, but you will certainly find an icon generator. Rather than suggest a single one, it's probably best to look through the offerings there and figure out which one suits your tastes the best.
It's also nice to take a quick browse around there and see if there's anything else that could be helpful to you. I like to look around every few days/weeks, and see what my fellow coders have to offer :)
Adobe Photoshop / Illustrator <- Your best bet.
That being said, I initially misread your question and was going to tell you about http://glyphish.com/ which is also useful....

Is there any iphone Class that converts images to text format?

I want to develop an iPhone application that is going to convert some sort of images to text formats. I want to know that is there any built-in library for achieving this purpose?
I suppose you are asking about recognizing text from images (OCR) and not about something like encoding image file into base64
There's no build-in OCR libraries in iPhone.
Depending on your budget and what accuracy you trying to achieve, you can try
Commertical OCR - MSDK from ABBYY http://abbyy.com/mobileocr/iphone - high accuracy, customer support, etc. but costs money. Disclaimer: I work for ABBYY
Open Source OCR - Tesseract http://code.google.com/p/tesseract-ocr/ - completely free, but less accurate. This sample shows how to run it on iPhone: https://github.com/nolanbrown/Tesseract-iPhone-Demo
I have used tesseract. Its accuracy ranges from 0-100% depending upon various factors like how well the image is captured,fonts and color of the text etc.
But it can give you very good result if you have a very clear image with very clear text.

OCR for mobile photos

I'm thinking of developping a mobile OCR app to detect words from mobile pictures.
The purpose if only to detect what words are in the picture, the layout is not important.
Also it would be use on very short texts.
I'm currently thinking of adapting tesseract to iphone and android.
I wonder if anyone has had any related experience? What are the limits etc.
Thanks!
Google Goggles does that... It takes a snapshot, reduces the color depth, scans through various contrast ratios, and exposes letters/words. It then performs a google search on what it found.
checkout this article http://www.itwizard.ro/interfacing-cc-libraries-via-jni-example-tesseract-163.html and this example http://code.google.com/p/mezzofanti/
i run it on my G1 and it's OK for single words, but it is very slow if you have 2-3 lines.
maybe with new phones (dual-core ones) you might get several lines in some seconds