A method and a system for training a model for detecting a Standard Operating Procedure (SOP) violation is disclosed. The method comprises receiving a media file from a user. The method further comprises annotating at least an object in the media file. The media file is augmented in runtime to obtain augmented data....