The invention discloses a dual-
machine target positioning method based on semantic prior and spatial intersection constraint. The method comprises the following steps: 1, acquiring images of a camera 1 and a camera 2, and determining the spatial orientation of a camera coordinate
system relative to a reference world coordinate
system; step 2, obtaining a target normalized coordinate under a coordinate
system of the camera 1; step 3, obtaining a target normalized coordinate under a coordinate system of the camera 2; 4, converting the normalized coordinates of the target into geometric rays in a three-dimensional space; 5, constructing an optimization function with the
minimum distance sum of squares; step 6, performing semantic-level foreground and background division on the
image content through a YOLOv5 network, and constructing a three-dimensional space feature point
library of a semantic background; and 7, performing single-view semantic neighborhood retrieval and depth compensation by using the three-dimensional space feature point
library of the semantic background constructed in the step 6, and realizing target three-dimensional positioning in a high-altitude long-distance complex scene. According to the invention, the detection robustness and the positioning precision of the high-altitude long-distance target in the environment are improved.