The invention belongs to the technical field of intelligent traffic, particularly relates to a tunnel global tracking method based on an old camera re-
identification technology, and aims to accurately realize global tracking and trajectory generation of a tunnel traffic target in a low-cost manner. The method comprises the steps of receiving an RSTP
data stream,
processing the RSTP
data stream through a detection
algorithm to obtain a sensing result, and feeding back the sensing result to the
image tracking module. And
processing a
time sequence sensing result, adding vehicle speed information and a vehicle ID, and generating a tracking result including the vehicle ID, a target frame, a vehicle speed, a
vehicle type, a color, a
timestamp, a
base station number and a camera number. On the basis of vehicle pixel picture data, upstream sample
library candidates are matched for a
current point position sample
library target, if matching succeeds, the target inherits the global ID, if matching fails, the point position ID is reserved, and the target is output to a downstream point position and a
simulation platform after the sample
library is updated. And the trajectory generation post-
processing module constructs a target matching relationship between adjacent camera sections through a frame
insertion mode according to a feature re-identification result, and generates a tunnel global complete trajectory chain.