Skip to content

Firstly, Maximally Stable Extremal Regions(MSER) is used to find the text regions. By this the regions which does not contain text are also highlighted. It can be removed by geometric properties(eccentricity, euler number, extent, solidity) or stroke width variation. The values of geometric properties needs to be changed for different images. Th…

Notifications You must be signed in to change notification settings

patelherat/Automatically-detect-and-recognize-text-in-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Automatically-detect-and-recognize-text-in-images MATLAB demo

Firstly, Maximally Stable Extremal Regions(MSER) is used to find the text regions. By this the regions which does not contain text are also highlighted. It can be removed by geometric properties(eccentricity, euler number, extent, solidity) or stroke width variation. The values of geometric properties needs to be changed for different images. Then bounding box is drawn for every character. A chain of overlapping bounding boxes indicates a word. Afterwards, the whole text region will be represented by bounding box. The detected text will then be recognized by using OCR function.

Step 1:- Detect text regions using MSER

a

Step 2:- Remove non-text regions using geometric properties

b

Step 3:- Remove non-text regions based on stroke width variation

c

d

Step 4:- Merge text regions

e

Step 5:- Recognize detected text using OCR

f

About

Firstly, Maximally Stable Extremal Regions(MSER) is used to find the text regions. By this the regions which does not contain text are also highlighted. It can be removed by geometric properties(eccentricity, euler number, extent, solidity) or stroke width variation. The values of geometric properties needs to be changed for different images. Th…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages