Detection of text region in scene imagery, real life image or Web pages