|
The first step is to convert the CCTV recording file into the AVI video format.
The converted AVI video was divided into JPG images. A dataset was constructed with 5,000 normal data, composed of JPG images generated through segmentation, and 5,000 abnormal data generated by using the normal data.
Abnormal data was created in the form of drooping eaves in the normal state by using the action function of the Adobe Photoshop program.
A total of 10 displacement scenarios were conceived by configuring one displacement scenario for each one of the 10 target parts to generate abnormal data.
For data learning and verification, the ratios of the Train set, Validation set, and Test set were set to 50%, 25%, and 25%, respectively.
Figure 2 is a schematic diagram of the process of building an image dataset.
|