A Lightweight Text Recognition Algorithm for GUI Interface
Graphical User Interface(GUI)has become an essential way for users to interact with software.As the scale and complexity of software increase,the cost of testing also rises.Text control recognition methods based on OCR algorithms have attracted increasing attention.For example,Sikuli uses OCR technology to match the text of window widget,enabling the localization of window widget based on image matching on the screen.Currently,OCR engines are widely used.However,OCR algorithms often run slowly,and they may cost several seconds to recognize text on the GUI screen.The paper introduces a lightweight text recognition algorithm to accelerate the text recognition process of OCR.Experiments show that on the Rico data set,this algorithm reduces the average time for OCR-based text recognition by 84%.