A method, device, system and storage medium for detecting leftover items

By using background models and feature point matching technology in the detection of leftover items, the problems of missed detection and false detection in the existing technology are solved, and the accuracy of detection is improved, especially under changes in weather and lighting.

CN111914670BActive Publication Date: 2024-10-15ZHEJIANG DAHUA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010650659.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-08
Publication Date
2024-10-15
Estimated Expiration
2040-07-08

AI Technical Summary

Technical Problem

Existing methods for detecting leftover items have problems of missed detection and false detection. Especially when weather and lighting changes, it is difficult to effectively detect leftover items.

Method used

Establish a background model by obtaining the background frame image, extract the first feature point of the motion area in the detection image and the second feature point of the overlapping area in the previous frame image, perform matching, and determine whether the ratio of the number of matching feature points is less than the preset value. If it is smaller than the area, it will be judged as a suspicious area and the background will be updated to determine whether there are any leftover items.

Benefits of technology

It effectively avoids false detections caused by changes in weather and lighting, improves the accuracy of detection of leftover items, and reduces the occurrence of missed detections and false detections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111914670B_ABST
    Figure CN111914670B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, system and storage medium for detecting leftover items, which are used to avoid misdetection of leftover items due to weather and lighting changes. A method for detecting leftover items provided by an embodiment of the present application includes: establishing a background model; obtaining a motion area in a detection image, and extracting a first feature point in the motion area; obtaining a previous frame image of the detection image, and extracting a second feature point in an area overlapping with the motion area in the previous frame image; matching the first feature point and the second feature point, and determining the number of matching feature points in the first feature point and the second feature point; judging whether the ratio of the number of matching feature points to the number of the first feature point or the second feature point is less than a first preset value; when the ratio of the number of matching feature points to the number of the first feature point or the second feature point is less than a first preset value, treating the motion area as a first suspicious area, and judging whether the first suspicious area includes leftover items.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method, device, system and storage medium for detecting left-behind objects. Background Art

[0002] With urbanization, population distribution tends to be denser, and public safety has gradually become the focus of national governments. In many countries and regions, terrorists leave unknown dangerous items in stations, subways and other places to create terrorist incidents. Although stations, subways and other places are equipped with explosion-proof and anti-terrorism devices, how to effectively detect unknown items left behind and report them in time has become a major problem in effectively solving possible hidden dangers.

[0003] In recent years, network cameras have been deployed on a large scale, security facilities have been continuously improved, and the functions of intelligent monitoring systems have been gradually expanded; the detection of left-behind items has become a basic requirement for camera monitoring in public places; the detection of left-behind items is not only important in places with dense and mobile crowds such as stations and subways, but also in areas such as blocked corridors and fire escape occupancy detection; currently, there are mainly two types of methods for the detection of left-behind items: the first type uses a training-based method to train and detect various types of targets that may be left behind, and this method has obvious defects of missed detection; the second type uses background modeling and background updating methods to distinguish through target pixel values ​​and different color space features, and this type of method is easily affected by factors such as weather and light changes.

[0004] In summary, the existing methods for detecting left-behind objects have the problem of missed detection or false detection. Summary of the invention

[0005] The embodiments of the present application provide a method, device, system and storage medium for detecting left-behind items, so as to avoid misdetection of left-behind items due to changes in weather or lighting.

[0006] The present invention provides a method for detecting a left-behind object, the method comprising:

[0007] Acquire a background frame image, and establish a background model according to the background frame image;

[0008] Acquire a motion region in the detection image according to the background model, and extract a first feature point in the motion region;

[0009] Acquire a previous frame image of the detection image, and extract a second feature point in an area of ​​the previous frame image that overlaps with the motion area;

[0010] Matching the first feature point with the second feature point, and determining the number of matching feature points between the first feature point and the second feature point;

[0011] Determine whether the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than a first preset value;

[0012] When the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is smaller than a first preset value, the motion area is taken as a first suspicious area, and it is determined whether the first suspicious area includes any leftover items.

[0013] Optionally, extracting a first feature point in the motion area specifically includes:

[0014] Extracting scale-invariant feature transformation feature points in the motion area as the first feature points;

[0015] Extracting a second feature point in an area in the previous frame image that overlaps with the motion area specifically includes:

[0016] Scale-invariant feature transformation feature points are extracted from the overlapping areas as the second feature points.

[0017] Optionally, matching the first feature point with the second feature point specifically includes:

[0018] Calculating the Euclidean distance between the first feature point and the second feature point;

[0019] The first feature point and the second feature point whose Euclidean distance is less than a second preset value are used as matching feature points.

[0020] Optionally, determining whether the first suspicious area includes any leftover items specifically includes:

[0021] Determine a pedestrian area in the detection image;

[0022] Obtaining an intersection area between the pedestrian area and the first suspicious area;

[0023] Determining whether a ratio of the intersection area to the first suspicious area is greater than or equal to a third preset value;

[0024] When the ratio of the intersection area to the first suspicious area is greater than or equal to the third preset value, performing background update on the first suspicious area;

[0025] When the ratio of the intersection area to the first suspicious area is less than a third preset value, taking the intersection area as a second suspicious area;

[0026] determining whether the number of frames in which the second suspicious area exists is greater than a fourth preset value;

[0027] When the number of frames existing in the second suspicious area is less than or equal to a fourth preset value, performing background updating on the first suspicious area;

[0028] When the number of frames in which the second suspicious area exists is greater than a fourth preset value, it is determined that the second suspicious area includes a leftover object.

[0029] Optionally, determining a pedestrian area in the detected image specifically includes:

[0030] The detection image is detected using a pre-trained pedestrian model to determine a pedestrian area in the detection image.

[0031] Optionally, establishing a background model according to the background frame image specifically includes:

[0032] A background model is established according to the background frame image using a single Gaussian background modeling method.

[0033] Optionally, the method further comprises:

[0034] When the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is greater than or equal to a first preset value, the motion region is updated.

[0035] An embodiment of the present application provides a device for detecting leftover items, the device comprising:

[0036] A background modeling module is used to obtain a background frame image and establish a background model according to the background frame image;

[0037] A feature point extraction module, used for acquiring a motion area in the detection image according to the background model and extracting a first feature point in the motion area, and for acquiring a previous frame image of the detection image and extracting a second feature point in an area in the previous frame image that overlaps with the motion area;

[0038] A feature point matching module, used for matching the first feature point with the second feature point, and determining the number of matching feature points between the first feature point and the second feature point;

[0039] A judgment module is provided for judging whether the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than a first preset value. When the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than the first preset value, the motion area is regarded as a first suspicious area, and judging whether the first suspicious area includes any leftover items.

[0040] An embodiment of the present application provides a system for detecting leftover items, the system comprising:

[0041] A memory for storing program instructions;

[0042] The processor is used to call the program instructions stored in the memory and execute the steps included in the left-behind item detection method provided in the embodiment of the present application according to the obtained program instructions.

[0043] An embodiment of the present application provides a storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the steps included in the method for detecting left-behind items provided in the embodiment of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 A schematic diagram of a method for detecting leftover items provided in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of another method for detecting leftover items provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of a device for detecting leftover items provided in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of a system for detecting left-behind items provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The present application embodiment provides a method for detecting leftover items, such as Figure 1 As shown, the method includes:

[0050] S101, obtaining a background frame image, and establishing a background model for the background frame image;

[0051] S102, acquiring a motion region in the detection image according to the background model, and extracting a first feature point in the motion region;

[0052] S103, acquiring a previous frame image of the detection image, and extracting a second feature point in an area of ​​the previous frame image that overlaps with the motion area;

[0053] S104, matching the first feature point with the second feature point, and determining the number of matching feature points between the first feature point and the second feature point;

[0054] S105, determining whether the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than a first preset value;

[0055] S106. When the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than a first preset value, the motion area is taken as a first suspicious area, and it is determined whether the first suspicious area includes any leftover items.

[0056] The method for detecting left-behind items provided in the embodiment of the present application respectively extracts the first feature point and the second feature point for the moving area in the detection image and the area overlapping with the moving area in the previous frame image, matches the first feature point and the second feature point, and determines the number of matched feature points in the first feature point and the second feature point. Only when the ratio of the number of matched feature points to the number of the first feature points or the second feature points is less than a first preset value, the moving area is regarded as the first suspicious area, and it is determined whether the moving area includes left-behind items. This can effectively avoid false detection of left-behind items due to weather and lighting changes, and improve the accuracy of left-behind item detection.

[0057] Optionally, the method further comprises:

[0058] When the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is greater than or equal to a first preset value, the motion region is updated.

[0059] That is, when the ratio of the number of matching feature points to the number of the first feature points or the second feature points is greater than or equal to a first preset value, the motion area is considered to be a normal area where no leftover objects exist, and the background of the motion area can be updated.

[0060] In a specific implementation, the first preset value may be selected according to actual needs, and the first preset value may be 0.6, for example.

[0061] In a specific implementation, optionally, step S101 establishes a background model according to the background frame image, specifically including:

[0062] A background model is established according to the background frame image using a single Gaussian background modeling method.

[0063] Optionally, in step S102, extracting a first feature point in the motion area specifically includes:

[0064] Extracting scale-invariant feature transform (SIFT) feature points in the motion area as the first feature points;

[0065] In step S103, extracting a second feature point in the area of ​​the previous frame image that overlaps with the motion area specifically includes:

[0066] SIFT feature points are extracted from the overlapping areas as the second feature points.

[0067] That is, the method for detecting left-behind items provided in the embodiment of the present application adopts the SIFT algorithm to extract feature points in the motion area of ​​the detection image and the area overlapping with the motion area in the previous frame image.

[0068] In the specific implementation, the SIFT algorithm is used to find extreme points in the scale space and extract their position, scale, and direction information. The feature points extracted by the SIFT algorithm have good stability and invariance, can adapt to changes in rotation, scale scaling, and brightness, and can be unaffected by changes in perspective, affine transformation, and noise to a certain extent. This can effectively avoid mistakenly judging moving areas as suspicious areas due to changes in weather and lighting, avoid misdetection of leftover items, and improve the accuracy of leftover item detection.

[0069] In a specific implementation, the first feature point and the second feature point obtained by using the SIFT algorithm are feature points having a 128-dimensional feature vector.

[0070] Optionally, in step S104, matching the first feature point with the second feature point specifically includes:

[0071] Calculating the Euclidean distance between the first feature point and the second feature point;

[0072] The first feature point and the second feature point whose Euclidean distance is less than a second preset value are used as matching feature points.

[0073] The smaller the Euclidean distance between the first feature point and the second feature point is, the higher the matching degree is. In a specific implementation, the second preset value may be, for example,

[0074] Optionally, in step S106, determining whether the first suspicious area includes any leftover items specifically includes:

[0075] Determine a pedestrian area in the detection image;

[0076] Obtaining an intersection area between the pedestrian area and the first suspicious area;

[0077] Determining whether a ratio of the intersection area to the first suspicious area is greater than or equal to a third preset value;

[0078] When the ratio of the intersection area to the first suspicious area is greater than or equal to the third preset value, performing background update on the first suspicious area;

[0079] When the ratio of the intersection area to the first suspicious area is less than a third preset value, taking the intersection area as a second suspicious area;

[0080] determining whether the number of frames in which the second suspicious area exists is greater than a fourth preset value;

[0081] When the number of frames existing in the second suspicious area is less than or equal to a fourth preset value, performing background updating on the first suspicious area;

[0082] When the number of frames in which the second suspicious area exists is greater than a fourth preset value, it is determined that the second suspicious area includes a leftover object.

[0083] The method for detecting left-behind items provided in the embodiment of the present application detects the pedestrian area and compares the pedestrian area with the first suspicious area, which can avoid misjudging the pedestrian area as a left-behind item area, further avoid misdetection of left-behind items, and improve detection accuracy.

[0084] In specific implementation, the third preset value and the fourth preset value can be selected according to actual needs. The third preset value can be, for example, 0.2. The fourth preset value can be, for example, 25.

[0085] Optionally, determining a pedestrian area in the detected image specifically includes:

[0086] The detection image is detected using a pre-trained pedestrian model to determine a pedestrian area in the detection image.

[0087] In specific implementation, the pre-obtained pedestrian images of monitoring scenes such as stations and subways can be used to train with a deep learning network to obtain a pre-trained pedestrian model. The deep learning network can be used for training, for example, to mark pedestrians in pedestrian graphics with rectangles, and the marked data can be trained with 40 convolution layers and 5 downsampling layers.

[0088] Next, taking the need to detect pedestrian areas as an example, the method for detecting left-behind items provided in the embodiment of the present application is illustrated. Figure 2 As shown, the method for detecting leftover items includes the following steps:

[0089] S201, obtaining a background frame image, and establishing a background model according to the background frame image;

[0090] S202, obtaining a motion region in the detection image, and extracting SIFT feature points in the motion region as first feature points;

[0091] S203, obtaining a previous frame image of the detection image, and extracting SIFT feature points in the area of ​​the previous frame image that overlaps with the motion area as second feature points;

[0092] S204, matching the first feature point with the second feature point;

[0093] S205, determining whether the ratio of the number of matching feature points to the number of first feature points or second feature points is less than a first preset value; if yes, executing step 207, otherwise executing step 206;

[0094] S206, updating the background model of the motion area;

[0095] S207, taking the motion area as the first suspicious area;

[0096] S208, determining a pedestrian area in the detection image;

[0097] S209, obtaining an intersection area between the pedestrian area and the first suspicious area;

[0098] S210, determining whether the ratio of the intersection area to the first suspicious area is greater than or equal to a third preset value; if yes, executing step S211, otherwise executing step 206;

[0099] S211, taking the intersection area as the second suspicious area;

[0100] S212, determining whether the number of frames in the second suspicious area is greater than a fourth preset value; if yes, executing step S213, otherwise executing step 206;

[0101] S213: Determine whether the second suspicious area includes leftover items.

[0102] Based on the same inventive concept, the present application also provides a device for detecting leftover items. Figure 3 As shown, the left-behind object detection device comprises:

[0103] A background modeling module 301 is used to obtain a background frame image and establish a background model according to the background frame image;

[0104] A feature point extraction module 302 is used to obtain a motion area in the detection image according to the background model and extract a first feature point in the motion area, and to obtain a previous frame image of the detection image and extract a second feature point in an area in the previous frame image that overlaps with the motion area;

[0105] A feature point matching module 303 is used to match the first feature point with the second feature point, and determine the number of matching feature points between the first feature point and the second feature point;

[0106] The judgment module 304 judges whether the ratio of the number of matching feature points to the number of the first feature points or the second feature points is less than a first preset value. When the ratio of the number of matching feature points to the number of the first feature points or the second feature points is less than the first preset value, the motion area is taken as a first suspicious area, and it is judged whether the first suspicious area includes any leftover items.

[0107] Optionally, the judgment module is further used to: when the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is greater than or equal to a first preset value, update the motion area.

[0108] Optionally, the background modeling module is specifically used for:

[0109] A background model is established according to the background frame image using a single Gaussian background modeling method.

[0110] Optionally, the feature point extraction module is used to extract the first feature point in the motion area, specifically including:

[0111] Extracting SIFT feature points in the motion area as the first feature points;

[0112] The feature point extraction module is used to extract a second feature point in the area overlapping with the motion area in the previous frame image, and specifically includes:

[0113] SIFT feature points are extracted from the overlapping areas as the second feature points.

[0114] Optionally, the feature point matching module is used to match the first feature point with the second feature point, specifically comprising: calculating the Euclidean distance between the first feature point and the second feature point;

[0115] The first feature point and the second feature point whose Euclidean distance is less than a second preset value are used as matching feature points.

[0116] Optionally, the left-behind object detection device further includes:

[0117] A pedestrian detection module, used to determine a pedestrian area in the detection image, and obtain an intersection area between the pedestrian area and the first suspicious area;

[0118] The judgment module is also used to:

[0119] Determining whether a ratio of the intersection area to the first suspicious area is greater than or equal to a third preset value;

[0120] When the ratio of the intersection area to the first suspicious area is greater than or equal to the third preset value, performing background update on the first suspicious area;

[0121] When the ratio of the intersection area to the first suspicious area is less than a third preset value, taking the intersection area as a second suspicious area;

[0122] determining whether the number of frames in which the second suspicious area exists is greater than a fourth preset value;

[0123] When the number of frames existing in the second suspicious area is less than or equal to a fourth preset value, performing background updating on the first suspicious area;

[0124] When the number of frames in which the second suspicious area exists is greater than a fourth preset value, it is determined that the second suspicious area includes a leftover object.

[0125] Optionally, the pedestrian detection module is specifically used for:

[0126] The detection image is detected using a pre-trained pedestrian model to determine a pedestrian area in the detection image.

[0127] Based on the same inventive concept, the present application also provides a system for detecting leftover items. Figure 4 As shown, the left-behind object detection system comprises:

[0128] A memory for storing program instructions;

[0129] The processor is used to call the program instructions stored in the memory and execute the steps included in the left-behind item detection method provided in the embodiment of the present application according to the obtained program instructions.

[0130] In specific implementation, Figure 4 As shown, the left-behind object detection system provided in the embodiment of the present application may include, for example, at least one processor 402, and a memory 401 connected to the at least one processor 402. The specific connection medium between the processor 402 and the memory 401 is not limited in the embodiment of the present application. Figure 4 For example, the processor 402 and the memory 401 are connected via a bus 400. Figure 4 The bus 400 is represented by a bold line, and the connection between other components is only for schematic illustration and is not limited thereto. The bus 400 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0131] In the left-behind item detection system provided in the embodiment of the present application, the memory 401 stores instructions that can be executed by at least one processor 402. The at least one processor 402 can execute the steps included in the left-behind item detection method provided in the embodiment of the present application by calling the instructions stored in the memory 401.

[0132] Among them, the processor 402 is the control center of the left-behind item detection system, and various interfaces and lines can be used to connect the various parts of the entire left-behind item detection system, and various functions of the left-behind item detection system can be realized by executing instructions stored in the memory 401. Optionally, the processor 402 may include one or more processing units, and the processor 402 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 402. In some embodiments, the processor 402 and the memory 401 can be implemented on the same chip, and in some embodiments, they can also be implemented separately on independent chips.

[0133] Memory 401, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. Memory 401 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), programmable read-only memory (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic storage, disk, optical disk, etc. Memory 401 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 401 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0134] Processor 402 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and may implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method for detecting a leftover object disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0135] By designing and programming the processor 402, the code corresponding to the left-behind object detection method introduced in the aforementioned embodiment can be solidified into the chip, so that the chip can execute the steps of the aforementioned left-behind object detection method during operation. How to design and program the processor 402 is a technology well known to those skilled in the art and will not be repeated here.

[0136] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the steps included in the method for detecting leftover items provided in the embodiment of the present application.

[0137] To sum up, the left-behind item detection method, left-behind item detection device, left-behind item detection system and storage medium provided in the embodiments of the present application respectively extract the first feature point and the second feature point for the moving area in the detection image and the area overlapping with the moving area in the previous frame image, and match the first feature point and the second feature point to determine the number of matched feature points in the first feature point and the second feature point. Only when the ratio of the number of matched feature points to the number of the first feature point or the second feature point is less than a first preset value, the moving area is regarded as the first suspicious area, and it is determined whether the moving area includes left-behind items. This can effectively avoid the misdetection of left-behind items due to weather and lighting changes, and improve the accuracy of left-behind item detection.

[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0139] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0142] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for detecting leftover items, characterized in that: The method includes: Acquire a background frame image, and establish a background model according to the background frame image; Acquire a motion region in the detection image according to the background model, and extract a first feature point in the motion region; Acquire a previous frame image of the detection image, and extract a second feature point in an area of ​​the previous frame image that overlaps with the motion area; Matching the first feature point with the second feature point, and determining the number of matching feature points between the first feature point and the second feature point; Determine whether the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than a first preset value; When the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is greater than or equal to a first preset value, updating the motion area; When the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than a first preset value, the motion area is taken as a first suspicious area, and it is determined whether the first suspicious area includes a leftover object; The step of determining whether the first suspicious area includes any leftover items specifically includes: Determine a pedestrian area in the detection image; Obtaining an intersection area between the pedestrian area and the first suspicious area; Determining whether a ratio of the intersection area to the first suspicious area is greater than or equal to a third preset value; When the ratio of the intersection area to the first suspicious area is greater than or equal to the third preset value, performing background update on the first suspicious area; When the ratio of the intersection area to the first suspicious area is less than a third preset value, taking the intersection area as a second suspicious area; determining whether the number of frames in which the second suspicious area exists is greater than a fourth preset value; When the number of frames existing in the second suspicious area is less than or equal to a fourth preset value, performing background updating on the first suspicious area; When the number of frames in which the second suspicious area exists is greater than a fourth preset value, it is determined that the second suspicious area includes a leftover object.

2. The method according to claim 1, characterized in that Extracting a first feature point in the motion area specifically includes: Extracting scale-invariant feature transformation feature points in the motion area as the first feature points; Extracting a second feature point in an area in the previous frame image that overlaps with the motion area specifically includes: Scale-invariant feature transformation feature points are extracted from the overlapping areas as the second feature points.

3. The method according to claim 2, characterized in that Matching the first feature point with the second feature point specifically includes: Calculating the Euclidean distance between the first feature point and the second feature point; The first feature point and the second feature point whose Euclidean distance is less than a second preset value are used as matching feature points.

4. The method according to claim 1, characterized in that: Determining a pedestrian area in the detection image specifically includes: The detection image is detected using a pre-trained pedestrian model to determine a pedestrian area in the detection image.

5. The method according to claim 1, characterized in that Establishing a background model according to the background frame image specifically includes: A background model is established according to the background frame image using a single Gaussian background modeling method.

6. A device for detecting leftover items, characterized in that: The left-behind object detection device comprises: A background modeling module is used to obtain a background frame image and establish a background model according to the background frame image; A feature point extraction module, used for acquiring a motion area in the detection image according to the background model and extracting a first feature point in the motion area, and for acquiring a previous frame image of the detection image and extracting a second feature point in an area in the previous frame image that overlaps with the motion area; A feature point matching module, used for matching the first feature point with the second feature point, and determining the number of matching feature points between the first feature point and the second feature point; A judgment module, judging whether the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than a first preset value, and when the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is greater than or equal to the first preset value, updating the motion area; when the ratio of the number of the matching feature points to the number of the first feature points or the second feature points is less than the first preset value, taking the motion area as a first suspicious area, and judging whether the first suspicious area includes a leftover item; The step of determining whether the first suspicious area includes any leftover items specifically includes: Determine a pedestrian area in the detection image; Obtaining an intersection area between the pedestrian area and the first suspicious area; Determining whether a ratio of the intersection area to the first suspicious area is greater than or equal to a third preset value; When the ratio of the intersection area to the first suspicious area is greater than or equal to the third preset value, performing background update on the first suspicious area; When the ratio of the intersection area to the first suspicious area is less than a third preset value, taking the intersection area as a second suspicious area; determining whether the number of frames in which the second suspicious area exists is greater than a fourth preset value; When the number of frames existing in the second suspicious area is less than or equal to a fourth preset value, performing background updating on the first suspicious area; When the number of frames in which the second suspicious area exists is greater than a fourth preset value, it is determined that the second suspicious area includes a leftover object.

7. A system for detecting leftover items, characterized in that: The left-behind object detection system comprises: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps included in the method according to any one of claims 1 to 5 according to the obtained program instructions.

8. A storage medium, characterized in that: The storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the steps included in the method according to any one of claims 1 to 5.