The invention relates to the technical field of
ecological monitoring and
computer vision, and particularly discloses a large-scale bird
flock automatic labeling
synthetic data generation method and
system. The technical problem to be solved is to overcome the defects that in the prior art, the acquisition cost of large-scale bird
flock counting task
annotation data is high, the quality is difficult to guarantee, and the authenticity and scale of
synthetic data are limited. According to the technical scheme, the method comprises the following steps: based on acquired real small-scale bird
flock three-dimensional trajectory data, performing group scale expansion by using a collective motion model such as an inertial spin model, and generating a large-scale bird flock three-dimensional motion trajectory; a pre-established three-dimensional bird model and a flight
animation are endowed with the motion trail, rendering is performed in a virtual rendering engine, and an initial synthetic image and a corresponding pixel-level precise labeling
mask including a binary
mask of the whole bird flock and an instance segmentation
mask of each individual are generated; and performing visual reality enhancement
processing on the initial synthetic image, migrating the real bird texture to the synthetic bird through style migration, and fusing the mask and the real
background image to generate a final synthetic image with high reality, and strictly maintaining the integrity of the annotated mask at the same time. The method is mainly used for automatically generating precisely labeled and highly realistic large-scale bird flock images, provides efficient data support for bird flock automatic counting model training, and can be applied to
ecological monitoring and protection.