A method comprising: detecting, by a computer system, from an input image, a graphic user interface screen image depicting a GUI screen of a GUI; detecting, by the computer system, a first region of the GUI screen image that includes a first text content item; determining, by the computer system, a location of the first region within the GUI screen image; replacing, by the computer system, the first text content item in the first region with a placeholder that does not include text content; detecting, by the computer system, a first user interface component located in a second region of the GUI screen image, wherein the second region includes the first region with the placeholder that replaces the first text content item; determining, by the computer system, a location of the first UI component within the GUI screen image; extracting, from the GUI screen image containing the placeholder, a sub-image within the second region, the sub-image containing the first UI component; determining, by the computer system using a machine learning-based classifier, a UI component type for the first UI component, wherein the machine learning-based classifier is trained using training data comprising a plurality of training images, each training image in the plurality of training images comprising a UI component, the training data further comprising, for each training image, information identifying a UI component type for the UI component in the training image, and wherein the determining comprises classifying the sub-image using the machine learning-based classifier; generating, by the computer system, a GUI model that is usable for generating code for implementing the GUI, the GUI model comprising the first text content item, the location of the first region, information indicative of the UI component type determined for the first UI component and the location of the first UI component within the GUI screen image; and generating one or more implementations of the GUI based upon the GUI model. detecting, by a computer system, from an input image, a graphic user interface screen image depicting a GUI screen of a GUI; detecting, by the computer system, a first region of the GUI screen image that includes a first text content item; determining, by the computer system, a location of the first region within the GUI screen image; replacing, by the computer system, the first text content item in the first region with a placeholder that does not include text content; detecting, by the computer system, a first user interface component located in a second region of the GUI screen image, wherein the second region includes the first region with the placeholder that replaces the first text content item; determining, by the computer system, a location of the first UI component within the GUI screen image; extracting, from the GUI screen image containing the placeholder, a sub-image within the second region, the sub-image containing the first UI component; determining, by the computer system using a machine learning-based classifier, a UI component type for the first UI component, wherein the machine learning-based classifier is trained using training data comprising a plurality of training images, each training image in the plurality of training images comprising a UI component, the training data further comprising, for each training image, information identifying a UI component type for the UI component in the training image, and wherein the determining comprises classifying the sub-image using the machine learning-based classifier; generating, by the computer system, a GUI model that is usable for generating code for implementing the GUI, the GUI model comprising the first text content item, the location of the first region, information indicative of the UI component type determined for the first UI component and the location of the first UI component within the GUI screen image; and generating one or more implementations of the GUI based upon the GUI model.