Flame data generation method and terminal
A data generation and flame technology, applied in the field of image processing, can solve the problems of inability to obtain training data, lack of data, and uneven number of flames, so as to solve the problem of insufficient data sample size and increase sample data.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] Please refer to figure 1 , Figure 3-Figure 6 , a flame data generation method of the present embodiment, comprising:
[0072] S01. Obtain a first flame training sample set, where the first flame training sample set includes flame mask annotations;
[0073] In this embodiment, the first flame training sample set is 100 flame training samples;
[0074] S02. Using the first flame training sample set labeled with the flame mask to train the UNet neural network to obtain a preset flame segmentation network;
[0075] Specifically, use 100 flame training samples with a flame mask (mask label) to train the UNet neural network to obtain a preset flame segmentation network that can segment a flame image from an image with flames;
[0076] S1. Obtain a training sample set and a preset background image;
[0077] Wherein, the training sample set includes a second flame training sample set and a background training sample set;
[0078] In this embodiment, the second flame train...
Embodiment 2
[0093] Please refer to figure 2 , a flame data generating terminal of this embodiment, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the first embodiment when executing the computer program. Each step in the flame data generation method.
[0094] In summary, a flame data generation method and terminal provided by the present invention obtain a training sample set and a preset background image; use the training sample set to train a flame generation network to obtain a trained flame generation network; according to The flame will only appear on the ground and buildings in the lower part of the background image, but not in the sky. Randomly crop an image block of a random size from the preset area of the preset background image to obtain the target image block ; using the trained flame generation network to randomly generate flames for the target image block in a preset background image ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


