A method for generating one or more clothing patterns of a safety vest to be used for a human-like figure, the method comprising the steps of: (a) if at least one image of the human-like figure is acquired, a clothing-pattern generating device performing a process of generating at least one specific clothing pattern having an initial value, and a process of inputting the specific clothing pattern and the image of the human-like figure into a clothing composition network, to thereby allow the clothing composition network to combine the specific clothing pattern with a clothing of the human-like figure on the image of the human-like figure, and thus to generate at least one composite image corresponding to the image of the human-like figure; (b) the clothing-pattern generating device performing a process of inputting the composite image into an image transforming network, to thereby allow the image transforming network to generate at least one transformed image by transforming a surrounding environment on the composite image, and a process of inputting the transformed image into an object detector, to thereby allow the object detector to output detection information on the human-like figure representing the human-like figure detected in the transformed image; and (c) the clothing-pattern generating device performing a process of instructing a 1-st loss layer to calculate one or more losses of the object detector by referring to the detection information on the human-like figure and at least one ground truth, GT, corresponding to the image of the human-like figure, and a process of updating the initial value of the at least one specific clothing pattern by using the one or more losses such that the one or more losses are minimized. (a) if at least one image of the human-like figure is acquired, a clothing-pattern generating device performing a process of generating at least one specific clothing pattern having an initial value, and a process of inputting the specific clothing pattern and the image of the human-like figure into a clothing composition network, to thereby allow the clothing composition network to combine the specific clothing pattern with a clothing of the human-like figure on the image of the human-like figure, and thus to generate at least one composite image corresponding to the image of the human-like figure; (b) the clothing-pattern generating device performing a process of inputting the composite image into an image transforming network, to thereby allow the image transforming network to generate at least one transformed image by transforming a surrounding environment on the composite image, and a process of inputting the transformed image into an object detector, to thereby allow the object detector to output detection information on the human-like figure representing the human-like figure detected in the transformed image; and (c) the clothing-pattern generating device performing a process of instructing a 1-st loss layer to calculate one or more losses of the object detector by referring to the detection information on the human-like figure and at least one ground truth, GT, corresponding to the image of the human-like figure, and a process of updating the initial value of the at least one specific clothing pattern by using the one or more losses such that the one or more losses are minimized.