1. A method for detecting a window in a display, comprising: determining, by a processor, a color scheme of windows for an operating system using the window; creating, by the processor, predefined features associated with a set of corner pixels for the color scheme that is deployed on the operating system, wherein the predefined features are represented as a triplet of a Haar-like feature comprising a type of feature, a color channel and a region defined by a left coordinate, a top coordinate, a right coordinate and a bottom coordinate; scanning, by the processor, all pixels of each frame of a plurality of frames that is displayed via a sliding window that comprises a subset of pixels of the all pixels of the frame; extracting, by the processor, the Haar-like feature of each pixel within the sliding window; applying, by the processor, an Adaptive Boosting classification to select and combine a plurality of triplets associated with the Haar-like feature of a subset of potential pixels comprising the each pixel within the sliding window that have features that match the pre-defined features to generate a decision function that identifies corner pixels; and detecting, by the processor, the window based on the corner pixels and additional pixels within a boundary defined by the corner pixels.