This paper presents a reverse engineering approach to convert distributed graphical user interfaces (GUIs) into class diagrams using pattern recognition techniques and optical character recognition (OCR). It captures GUI images from multiple client computers, extracts attributes and functions, and processes this information into temporary tables, which are then normalized to eliminate redundancies before generating a unified class diagram. The proposed method aims to enhance software re-engineering practices by providing a systematic way to analyze and represent existing systems more effectively.