Microsoft recently announced that their OCR Library for Windows Runtime has been released as a NuGet package. This library enables you to add text reading capabilities to your Windows Phone 8/8.1 and Windows 8.1 Store apps.
A superb example of this great library can be seen in the Microsoft Translator apps where images are OCRd and the extracted text is then translated to the selected language.
I tested it with a newspaper in English and since I know Hindi I can say that this works perfectly !
Isn't that awesome !
Supported Languages
There are 21 supported languages. Based on recognition accuracy and performance, supported languages are divided into three groups:
OCR Limitations
Download the source code Happy Coding !
A superb example of this great library can be seen in the Microsoft Translator apps where images are OCRd and the extracted text is then translated to the selected language.
I tested it with a newspaper in English and since I know Hindi I can say that this works perfectly !
Isn't that awesome !
Supported Languages
There are 21 supported languages. Based on recognition accuracy and performance, supported languages are divided into three groups:
- Excellent: Czech, Danish, Dutch, English, Finnish, French, German, Hungarian, Italian, Norwegian, Polish, Portuguese, Spanish and Swedish.
- Very good: Chinese Simplified, Greek, Japanese, Russian and Turkish.
- Good: Chinese Traditional and Korean.
OCR Limitations
- Image dimension should be >= 40*40 pixels and <= 2600*2600 pixels
- Image text lines must have written in same orientations and same directions.Fortunately OCR can able to correct rotation up to ±40 degrees.
- Blurry images
- Handwritten or cursive text
- Artistic font styles
- Small text size (less than 15 pixels for Western languages, or less than 20 pixels for East Asian languages)
- Complex backgrounds
- Shadows or glare over text
- Perspective distortion
- Oversized or dropped capital letters at the beginnings of words
- Subscript, superscript, or strikethrough text
Code:
4.Display the recognized text Code: