The invention relates to the technical field of
engineering safety guarantee, and particularly discloses a
pipe gallery remnant real-time detection method and
system, and the method comprises the steps: obtaining a current frame and a background frame of a picture at a current moment, and judging whether the current frame of the picture is a motion frame or not through combining with a preset object
static displacement threshold value; if the current frame of the picture is a motion frame, a foreground object recognition image is obtained through a foreground object recognition network, and
time sequence behavior analysis of a foreground object is further introduced to achieve remnant object judgment. Therefore, the lightweight judgment of the motion frame is that a large number of unchanged frames are filtered out from a subsequent model, so that the real-time detection of the remnant on a common
server or
edge computing equipment becomes possible, the
time sequence behavior analysis of a foreground object is introduced, and the
motion history of the object is taken as a criterion; according to the method, the crossing from object identification to
object motion state understanding is realized, so that illegal missing objects are accurately identified, the
false alarm rate of monitoring is reduced, and it is ensured that the output final result is highly credible.