#AZURE – #VisionAPI, add a frame for each detected text #OCR

Hello

 

In the post yesterday I shared an example to show how to recognize text in pictures. The OCR API returns a collection of regions where the text is recognized.

If we go through each region can recognize points to create a frame, and inside it is the recognized text.

Clipboard02

If we put together the facial recognition with text, we have a collection of Frames to add the image with different recognized elements.

Clipboard02

Finally, an example with a meme and the great Ron Burgundy

Clipboard04

With the following results

Language: en
Orientation: Up
Text Angle: 0
Region

BoundingBox: 25,8,489,396
Rectangle:
Left 25, Top 8,
Height 396, Width 489

Lines
I’M NOT ANTI-SOCIAL
I’M SELECTIVELY SOCIAL
THERE’S A DIFFERENCE.

The source code is avilable in GitHub https://github.com/elbruno/ProjectOxford

Greetings @ Madrid !

El Bruno

References

Advertisements

5 thoughts on “#AZURE – #VisionAPI, add a frame for each detected text #OCR

  1. hello! Unfortunately, the github project is not available now. Could you please share code via E-mail. Thanks

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s