A computer-implemented method for generating human machine interface, HMI, graphics associated with an industrial automation system implementing machine learning, the method being performed by a graphic object detection model , the method comprising: receiving (S402) a migrated HMI graphics , wherein said migrated HMI graphics being obtained from a legacy HMI graphics and wherein said migrated HMI graphics comprises at least one industrial object ; identifying (S404) at least one missing industrial object in said migrated HMI graphics using a historical HMI labelled dataset of the at least one industrial object , wherein the at least one industrial object comprises a graphical object and a data object; correcting (S406) the migrated HMI graphics to include said at least one missing industrial object; generating (S408) a corrected HMI graphics comprising said at least one missing industrial object; and transmitting (S410) a notification indicating the corrected HMI graphics to a computing device; wherein the identifying (S404) and correcting (S406) further comprise: identifying presence of placeholder in the migrated HMI graphics ; using the placeholder to identify a location of the at least one missing industrial object in the migrated HMI graphics ; utilizing 1-to-1 mapping of the at least one industrial object and its location and the historical HMI labelled dataset to identify a correct industrial object to be placed in the migrated HMI graphics ; and replacing the placeholder with a correct industrial object. receiving (S402) a migrated HMI graphics , wherein said migrated HMI graphics being obtained from a legacy HMI graphics and wherein said migrated HMI graphics comprises at least one industrial object ; identifying (S404) at least one missing industrial object in said migrated HMI graphics using a historical HMI labelled dataset of the at least one industrial object , wherein the at least one industrial object comprises a graphical object and a data object; correcting (S406) the migrated HMI graphics to include said at least one missing industrial object; generating (S408) a corrected HMI graphics comprising said at least one missing industrial object; and transmitting (S410) a notification indicating the corrected HMI graphics to a computing device; wherein the identifying (S404) and correcting (S406) further comprise: identifying presence of placeholder in the migrated HMI graphics ; using the placeholder to identify a location of the at least one missing industrial object in the migrated HMI graphics ; utilizing 1-to-1 mapping of the at least one industrial object and its location and the historical HMI labelled dataset to identify a correct industrial object to be placed in the migrated HMI graphics ; and replacing the placeholder with a correct industrial object. identifying presence of placeholder in the migrated HMI graphics ; using the placeholder to identify a location of the at least one missing industrial object in the migrated HMI graphics ; utilizing 1-to-1 mapping of the at least one industrial object and its location and the historical HMI labelled dataset to identify a correct industrial object to be placed in the migrated HMI graphics ; and replacing the placeholder with a correct industrial object. <EOS>