The invention provides a
data set forming method for target detection. The
data set forming method comprises four main steps of building a
background image library and a three-dimensional model
library, estimating three-dimensional attitude information of a to-be-detected target, reconstructing a scene, projecting the target, rendering data and generating labels. In the
background image library establishment stage, internal and external parameters and illumination information of a camera are collected. When three-dimensional attitude
estimation is carried out, prediction is carried out by using background images, camera parameters, target position coordinates and
point cloud data. And then reconstructing a scene in three-
dimensional modeling software, and projecting a target. And finally, rendering the scene, and generating a
data set and a
label. According to the method, three-
dimensional modeling software is used for synthesizing data, and the three-dimensional attitude in the scene is estimated, so that the problems of low authenticity of synthesized data, high
label cost, difficulty in obtaining real data of a specific scene and the like are solved, the accuracy and stability of target detection are greatly improved, the
label cost is reduced, the specific scene can be simulated, and the target detection efficiency is improved. The problem of
data acquisition is solved.