Flame sample generation method based on controllable diffusion model
Патент · CN B
Полный текст
The invention discloses a flame sample generation method based on a controllable diffusion model, which comprises the steps of obtaining an image with flames, marking the positions of the flames by utilizing a rectangular target frame, obtaining text description of each image by utilizing a description generation model, obtaining a newly generated flame image by utilizing the controllable diffusion flame image generation model and a Canni edge detection operator, marking the newly generated flame image by utilizing a flame target detection network based on deep learning to obtain a flame image with marks, correcting the positions of the rectangular target frame by utilizing marking software, realizing that a large number of flame samples which are complex and various and accord with actual flame scenes are generated by utilizing a small number of flame images, and forming a data set. The invention can relieve the situation that flame samples are difficult to collect and the sample size is small in a real scene. The invention has wide flexibility and application range, and can generate flame samples in specific scenes according to the requirements of users.