The invention discloses a road side camera three-dimensional target detection method and
system based on ground constraint, and the method employs the
advantage of a
fixed position of a road side camera, carries out the off-
line fitting of a ground equation, employs the ground equation as prior
semantic information, carries out the two-dimensional target detection in an image
visual angle, guarantees the
recall rate of a target, and improves the detection precision. A
view angle conversion module based on ground constraint is used to improve the detection precision; specifically, image data are input into a roadside
monocular three-dimensional target detection model, a two-dimensional
backbone network is used for extracting image features, and a two-dimensional target
detector is used for carrying out two-dimensional target detection to obtain a two-dimensional target detection frame; performing depth
estimation by using a DepthNet network, and projecting image features by using an LSS mode to obtain BEV features of a scene; and projecting the two-dimensional target frame to a BEV space by using a ground equation obtained offline,
cutting BEV features of the scene as a proposal frame for three-dimensional target detection, obtaining RoI features with the same shape to predict information of a three-dimensional target, and performing NMS
processing to obtain a final three-dimensional target detection result.