Text-background decomposition for thai text localization and recognition in natural scenes