A method and system for associating people with packages
By storing the security check point image information in the database and using the X-ray inspection machine's shooting time point to find the corresponding image, the problem of low efficiency of person-package correlation in the subway security inspection system is solved, and efficient system operation and accurate contraband identification are achieved.
Patent Information
- Application Number
- CN202111501198.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-09
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-12-09
AI Technical Summary
The existing subway security inspection system is inefficient in correlating people and bags. Image recognition technology takes up a lot of system resources, resulting in low baggage search efficiency and accuracy. In addition, abnormal data entry efficiency is low, which can easily lead to missed detections and false detections.
By storing the image information sent by the security checkpoint in the form of time periods in the database, and using the shooting time points of the X-ray inspection machine to find the corresponding passenger image information, it can reduce the use of image detection and face recognition technology and achieve person-package association.
It saves system storage space and resources, improves security inspection efficiency, detects and traces contraband in a timely manner, and reduces missed detection and false detection rates.
Smart Images

Figure CN114187612B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of security inspection, and in particular to a method and system for associating a person with a bag. Background Art
[0002] With the continuous development of science and technology, subways have become an increasingly common means of travel. With the increase in passenger flow, passengers carry a variety of personal belongings, which has brought a series of new problems to subway security checks: image reverse checking is difficult. The purpose of subway security checks is mainly to prevent passengers from bringing dangerous goods such as guns, explosives, controlled knives, flammable and explosive items, poisons, and radioactive items on board. Due to the lack of correspondence between passengers and their carry-on luggage, once a missed inspection occurs, it takes a lot of time to check according to monitoring and X-ray images, making the efficiency and accuracy of luggage search very low; carry-on luggage is easy to lose. Due to the messy placement of passengers' luggage during the security check, personal belongings are often lost or swapped, especially when the appearance of luggage of similar passengers is very similar, it is easy to take the wrong luggage; abnormal data entry efficiency is low. In order to speed up the rapid security check process of passengers and reduce the waiting time for passengers to check in line, it is necessary to manually bind and enter abnormal security inspection images and passenger information for dangerous goods, resulting in low entry speed and high error rate. The existing human-package association technology mainly uses image recognition technology. By obtaining the package shape image taken by the X-ray inspection machine and the package shape image information taken by the security checkpoint camera for comparative analysis, and combining it with face recognition technology, human-package association can quickly identify high-risk targets and achieve human-package association. This method requires a lot of image information and greatly occupies system resources. Summary of the invention
[0003] The purpose of the present invention is to provide a method and system for associating people with bags, which stores image information sent from security checkpoints in a database in the form of time periods, and searches for passenger image information corresponding to the shooting time point in the database by obtaining the shooting time point of the package image information sent from the X-ray inspection machine, i.e., "person-bag", so as to solve the problem that the existing security check person-bag association solution needs to obtain the pictures of passengers and their bags and the images taken by the X-ray inspection machine for image recognition, i.e., "person-bag-bag", which greatly occupies system resources and reduces the security check efficiency.
[0004] A person-package association method includes a monitoring terminal used in a security inspection system, including:
[0005] S1, continuously receiving the image information of the security checkpoint area sent by the security checkpoint camera, and storing it in the database according to the time period;
[0006] S2, receiving the X-ray image of the parcel from the X-ray baggage inspection machine, and extracting the shooting time of the X-ray image of the parcel, which is recorded as time point t2;
[0007] S3, performing calculations based on the time point t2 and the optional time interval x to obtain the time period (t2-x, t2);
[0008] S4, retrieve the database corresponding to the time point t2 (t1, t n ) time period, the image information of (t1,t n ) The time period is the time period including the time point t2;
[0009] S5. Get (t1, t n ) time axis of the image information within the time period, intercepting the image information within the time period (t2-x, t2), the image information being the final person-package associated image information;
[0010] S6. Binding the package data with the person-package association image information.
[0011] Furthermore, the step image information is a video or a picture.
[0012] Furthermore, if the image information is a video, step S5 is to obtain (t1, t n ) time period, intercept the video corresponding to the time period (t2-x, t2) on the timeline, and obtain x*f1 image frames by parsing the video in the time period (t2-x, t2), where f1 is the video frame rate, perform image detection on each image frame to obtain a set of image frames containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated picture.
[0013] Furthermore, if the image information is a picture, step S5 is to obtain (t1, t n ) time period, intercept the pictures corresponding to the time period (t2-x, t2) on the time axis, obtain x*f2 pictures, where f2 is the sampling frequency of the pictures, perform image detection on each picture, obtain a set of images containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated picture.
[0014] Furthermore, the security checkpoint camera is a gate camera and / or an X-ray baggage inspection machine camera.
[0015] Furthermore, the optional time interval x<t n -t1.
[0016] Furthermore, the image detection is based on the principle of machine learning to obtain photos containing people, which specifically includes the following steps:
[0017] Input the image to be recognized into the model;
[0018] A result of whether there is a person in the photo is obtained from the model, wherein the model is obtained by machine learning training using multiple sets of data, and the multiple sets of data include a first category of data and a second category of data, and each set of data in the first category of data includes: photos including people and labels indicating that the photos include people; each set of data in the second category of data includes: photos not including people and labels indicating that the photos do not include people.
[0019] Furthermore, the image information of the security checkpoint area includes facial identification, positioning information and visual identification of movement trajectories of the passengers and packages in the set monitoring area.
[0020] Furthermore, the monitoring terminal records and refreshes multiple passenger and package identification information records in the current security inspection scene in real time, and displays a list of alarm messages on the display.
[0021] A person-package association system, comprising:
[0022] one or more memories,
[0023] one or more processors,
[0024] A plurality of modules are stored in a memory and executed by a processor, the modules comprising:
[0025] The security checkpoint receiving module is used to continuously receive the image information of the security checkpoint area sent by the cameras around the security checkpoint, and store it in the database according to the time period;
[0026] An X-ray inspection machine receiving module is used to receive the package data sent by the X-ray baggage inspection machine and mark the time point t2 of the package data;
[0027] The time period calculation module is used to calculate the time point t2 of the package data and the internal optional time interval x to obtain the (t2-x, t2) time period;
[0028] The image information retrieval module is used to retrieve the image information corresponding to the time point t2 in the database (t1, t n ) time period, the image information of (t1,t n ) time period is the time period including time point t2;
[0029] The associated image module is used to obtain (t1,t n ) time axis of the image information within the time period, intercepting the image information within the time period (t2-x, t2), the image information being the final person-package associated image information;
[0030] The person-package association binding module is used to perform person-package association binding on the package data and the person-package association image information.
[0031] Furthermore, the associated image module is used to determine the image information:
[0032] If the image information is a video, step S5 is to obtain (t1, t n ) time period, intercepting the video corresponding to the time period (t2-x, t2) on the timeline, parsing the video in the time period (t2-x, t2) to obtain x*f1 picture frames, where f1 is the video frame rate, performing image detection on each image frame to obtain a set of image frames containing people, and randomly extracting a picture from the set of image frames containing people as the final person-package associated image information;
[0033] If the image information is a picture, step S5 is to obtain t1-t n The time axis of the pictures within the time period is used to intercept the pictures corresponding to the time period (t2-x, t2) on the time axis to obtain x*f2 pictures, where f2 is the sampling frequency of the pictures. Image detection is performed on each picture to obtain a set of images containing people, and a picture is randomly selected from the set of image frames containing people as the final person package associated image information.
[0034] The existing person-bag association comparison technology is to first number the security inspection basket and security inspection tray with X-ray development materials; when the passenger puts the carry-on luggage into the security inspection basket or security inspection tray, the passenger information is obtained and the basket and tray numbers are extracted through the camera, and the numbers are bound to the passenger information; when the passenger's luggage passes through the security inspection machine, the number information is extracted from the security inspection machine image, and the passenger information is matched according to the number information, thereby realizing the correspondence between the passenger and his / her carry-on luggage, and realizing the rapid and accurate processing and recording of abnormal luggage data. Passengers can quickly find their corresponding luggage according to the number information, and the safety of passenger luggage is further guaranteed by adding a transparent cover above the security inspection basket. The disadvantages are as follows: the security basket is only suitable for small parcels. It is not only difficult to place large parcels such as suitcases, but also cumbersome and heavy to retrieve and transfer. Secondly, the passenger information is bound to the external basket number rather than a specific piece of luggage inside, and there is no one-to-one correspondence between luggage and passengers. If a piece of luggage in the basket is replaced, missed or lost, not only will the corresponding information be incorrect, but it will also be difficult to trace later. Thirdly, the security basket needs to be operated for recycling, and its purchase, use, maintenance and other management costs are high, which increases operating costs. Fourthly, passengers need to place their luggage in the security basket one by one, and the security inspection efficiency is also low.
[0035] The existing person-package association comparison technology 2 is to first obtain the collective association data of the video of the passenger placing the package on the conveyor belt, the passenger's facial image, the package appearance image and the package X-ray image. When there are prohibited items in the package, the pre-recorded facial image of the passenger holding it can be quickly retrieved, which solves the problem that once the passenger finds that dangerous goods have been detected in the traditional security inspection process, he will abandon the package and leave or refuse to admit that the package is his / hers, resulting in difficulty in tracing. However, this technology needs to first obtain the first image data containing both the passenger and the package, and then obtain the second image data of the package appearance and the package X-ray, and then perform image processing and recognition technology on the first image data and the second image data, and perform face recognition technology on the first image data. A large amount of image data and processing will seriously occupy system memory and operating resources.
[0036] The present invention proposes a person-package association system, which proposes to store passenger image information sent from security checkpoints in a database in the form of time periods, obtain the shooting time point of package image information sent from an X-ray inspection machine, obtain time period data through time calculation, and search the database for passenger image information corresponding to the time period. It does not require a large amount of image detection technology and face recognition technology, so as to obtain person-package association pictures, save system storage space, and improve the system operation speed.
[0037] The present invention has the beneficial effects:
[0038] 1. Obtain passenger image information from the security checkpoint and package image information from the X-ray inspection machine, obtain the corresponding time period or time point by analyzing the image information, and intercept the person-package association picture by calculating and processing the time, thereby reducing a large number of image detection technologies and face recognition technologies, thereby obtaining the person-package association picture, saving system storage space and improving the system operation speed;
[0039] 2. During security checks, when prohibited items are detected, passenger information can be retrieved in a timely manner, solving the problem of difficulty in timely discovery and subsequent tracing when passengers abandon their packages, refuse to acknowledge them, evade inspection, are missed, or take the wrong or missed packages. This is very worthy of promotion. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic diagram of a method for associating a person with a package according to the present invention;
[0041] Figure 2 A schematic diagram of a human-package association system of the present invention;
[0042] Figure 3 A schematic diagram of the time when the image information of the present invention is a picture;
[0043] Figure 4A schematic diagram of the time when the image information of the present invention is a video;
[0044] Figure 5 It is a working schematic diagram of the X-ray inspection machine of the present invention; DETAILED DESCRIPTION
[0045] The present invention will be further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0046] In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "longitudinal", "lateral", "horizontal", "inside", "outside", "front", "back", "top", "bottom" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, or are the directions or positional relationships in which the inventive product is usually placed when used. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present invention.
[0047] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "disposed", "opened", "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0048] Example 1
[0049] The purpose of this embodiment is to provide a method for associating a person with a bag based on a gate camera and an X-ray baggage inspection machine camera, including:
[0050] S1, continuously receiving the image information of the security checkpoint area sent by the gate camera and the X-ray baggage inspection machine camera, and storing it in the database according to the time period;
[0051] S2, receiving the X-ray image of the parcel from the X-ray baggage inspection machine, and extracting the shooting time of the X-ray image of the parcel, which is recorded as time point t2;
[0052] S3, performing calculations based on the time point t2 and the optional time interval x to obtain the time period (t2-x, t2);
[0053] S4, retrieve the database corresponding to the time point t2 (t1, t n ) time period, the image information of (t1,t n) time period is a time period including time point t2, and the optional time interval x<t n -t1;
[0054] S5, get (t1,t n ) time axis of the image information within the time period, intercepting the image information within the time period (t2-x, t2), the image information being the final person-package associated image information;
[0055] S6. Binding the package data with the person-package association image information.
[0056] If the image information is a video, step S5 is to obtain (t1, t n ) time period, intercept the video corresponding to the time period (t2-x, t2) on the timeline, and obtain x*f1 image frames by parsing the video in the time period (t2-x, t2), where f1 is the video frame rate, perform image detection on each image frame to obtain a set of image frames containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated picture.
[0057] If the image information is a picture, step S5 is to obtain (t1, t n ) time period, intercept the pictures corresponding to the time period (t2-x, t2) on the time axis, obtain x*f2 pictures, where f2 is the sampling frequency of the pictures, perform image detection on each picture, obtain a set of images containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated picture.
[0058] Example 2
[0059] The purpose of this embodiment is to provide a method for associating a person with a bag based on an X-ray baggage inspection machine camera, including:
[0060] S1, continuously receiving the image information of the security checkpoint area sent by the X-ray baggage inspection machine camera, and storing it in the database according to time periods;
[0061] S2, receiving the X-ray image of the parcel from the X-ray baggage inspection machine, and extracting the shooting time of the X-ray image of the parcel, which is recorded as time point t2;
[0062] S3, performing calculations based on the time point t2 and the optional time interval x to obtain the time period (t2-x, t2);
[0063] S4, retrieve the database corresponding to the time point t2 (t1, t n ) time period, the image information of (t1,t n ) time period is a time period including time point t2, and the optional time interval x<tn -t1;
[0064] S5, get (t1,t n ) time axis of the image information within the time period, intercepting the image information within the time period (t2-x, t2), the image information being the final person-package associated image information;
[0065] S6. Binding the package data with the person-package association image information.
[0066] If the image information is a video, step S5 is to obtain (t1, t n ) time period, intercept the video corresponding to the time period (t2-x, t2) on the timeline, and obtain x*f1 image frames by parsing the video in the time period (t2-x, t2), where f1 is the video frame rate, perform image detection on each image frame to obtain a set of image frames containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated picture.
[0067] If the image information is a picture, step S5 is to obtain (t1, t n ) time period, intercept the pictures corresponding to the time period (t2-x, t2) on the time axis, obtain x*f2 pictures, where f2 is the sampling frequency of the pictures, perform image detection on each picture, obtain a set of images containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated picture.
[0068] Example 3
[0069] The purpose of this embodiment is to provide a method for associating a person with a bag based on a gate camera, including:
[0070] S1, continuously receiving the image information of the security checkpoint area sent by the gate camera, and storing it in the database according to the time period;
[0071] S2, receiving the X-ray image of the parcel from the X-ray baggage inspection machine, and extracting the shooting time of the X-ray image of the parcel, which is recorded as time point t2;
[0072] S3, performing calculations based on the time point t2 and the optional time interval x to obtain the time period (t2-x, t2);
[0073] S4, retrieve the database corresponding to the time point t2 (t1, t n ) time period, the image information of (t1,t n ) time period is a time period including time point t2, and the optional time interval x<t n -t1;
[0074] S5. Get (t1, t n ) time axis of the image information within the time period, intercepting the image information within the time period (t2-x, t2), the image information being the final person-package associated image information;
[0075] S6. Binding the package data with the person-package association image information.
[0076] If the image information is a video, step S5 is to obtain (t1, t n ) time period, intercept the video corresponding to the time period (t2-x, t2) on the timeline, and obtain x*f1 image frames by parsing the video in the time period (t2-x, t2), where f1 is the video frame rate, perform image detection on each image frame to obtain a set of image frames containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated picture.
[0077] If the image information is a picture, step S5 is to obtain (t1, t n ) time period, intercept the pictures corresponding to the time period (t2-x, t2) on the time axis, obtain x*f2 pictures, where f2 is the sampling frequency of the pictures, perform image detection on each picture, obtain a set of images containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated picture.
[0078] After analyzing Embodiment 1, Embodiment 2, and Embodiment 3, and comparing them with the existing security inspection system, it is not difficult to find that the camera of the X-ray baggage inspection machine in the existing security inspection system facing the passenger's face does not have the ability to simultaneously capture the passenger and package information. Therefore, Embodiment 1 and Embodiment 2 require the hardware circuit transformation and software upgrade matching of the X-ray baggage inspection machine in the existing security inspection system, and the security inspection system transformation in the whole country or even a larger range. The implementation of these two technical solutions requires a lot of manpower and material resources. Embodiment 3 can achieve the same person-package association effect without hardware circuit transformation, so Embodiment 3 is the optimal solution.
[0079] In Embodiment 1, Embodiment 2, and Embodiment 3, it is necessary to calculate the time point t2 and the optional time interval x to obtain the time period (t2-x, t2), and retrieve the time period (t1, t2) corresponding to the time point t2 in the database. n ) time period, the image information of (t1,t n ) time period is the time period including time point t2. To ensure that the time period (t2-x, t2) is included in (t1, t n ) time period, the optional time interval x must be less than t n -t1.
[0080] The optional time interval x is analyzed. Taking the 6550BI X-ray inspection machine, which is the most common medium-sized security inspection machine in Chengdu Metro, as an example, the security inspection machine crawler runs at a speed of 0.2 m / s. The package size is calculated based on a backpack of 0.4 m. The package starts scanning when it reaches the central axis of the X-ray inspection machine. It takes 2 seconds to complete the scanning of the package and output the image. The total length from the central axis of the X-ray inspection machine (the position where the X-ray starts scanning) to the end of the crawler at the package outlet of the security inspection machine is 1.010 m. The total length of the package from the central axis of the X-ray inspection machine to the end of the crawler at the package outlet = 1.010 m / 0.2 m / s = 5.05 seconds. Therefore, the time mark in the package information sent by the X-ray inspection machine is the shooting time. According to the time the package is in the X-ray inspection machine, when the optional time interval x is set to a value of 2S-3S, it can be determined that the picture taken by the gate 2S-3S before the shooting time point t2 is the corresponding passenger picture information of the package, thereby realizing the association between people and packages.
[0081] The centralized image judgment process for security inspection is as follows:
[0082] 1. The passenger places the baggage into the X-ray machine.
[0083] 2. The X-ray machine outputs the wrapped X-ray machine image.
[0084] 3. The intelligent analyzer inputs the X-ray machine image / original image and outputs the intelligent identification result of contraband. Among them, the guns / liquids in the cup in the intelligent identification result are directly sent to the monitoring terminal. All other packages (including those with identified and unidentified contraband) are transferred to the centralized image judgment terminal for manual judgment.
[0085] 4. The judges use the centralized image judging terminal to determine the prohibited items, and the recognition results of the intelligent analyzer are only used as auxiliary reference for the judges.
[0086] 5. The picture of the parcel containing prohibited items is sent to the monitoring terminal, and the package opener / post-transmitter will open the package for review and record the disposal results.
[0087] 6. The results of unpacking, review and disposal are uploaded to the security inspection and supervision platform.
[0088] Real-time Example 4
[0089] The purpose of this embodiment 4 is to provide a system for associating a person with a package, the system comprising:
[0090] one or more memories,
[0091] one or more processors,
[0092] Multiple modules, the modules are stored in the memory and executed by the processor, the multiple modules include a person-package association module and an alarm message sorting module, the person-package association module includes:
[0093] The security checkpoint receiving module is used to continuously receive the image information of the security checkpoint area sent by the cameras around the security checkpoint, and store it in the database according to the time period;
[0094] An X-ray inspection machine receiving module is used to receive the package data sent by the X-ray baggage inspection machine and mark the time point t2 of the package data;
[0095] The time period calculation module is used to calculate the time point t2 of the package data and the internal optional time interval x to obtain the (t2-x, t2) time period;
[0096] The image information retrieval module is used to retrieve the image information corresponding to the time point t2 in the database (t1, t n ) time period, the image information of (t1,t n ) The time period is the time period including the time point t2;
[0097] The associated image module is used to obtain (t1,t n ) time axis of the image information within the time period, intercepting the image information within the time period (t2-x, t2), the image information being the final person-package associated image information;
[0098] The person-package association binding module is used to perform person-package association binding on the package data and the person-package association image information.
[0099] Furthermore, the associated image module is also used to determine the image information:
[0100] If the image information is a video, step S5 is to obtain (t1, t n ) time period, intercepting the video corresponding to the time period (t2-x, t2) on the timeline, parsing the video in the time period (t2-x, t2) to obtain x*f1 picture frames, where f1 is the video frame rate, performing image detection on each image frame to obtain a set of image frames containing people, and randomly extracting a picture from the set of image frames containing people as the final person-package associated image information;
[0101] If the image information is a picture, step S5 is to obtain t1-t n The time axis of the pictures within the time period is used to intercept the pictures corresponding to the time period (t2-x, t2) on the time axis to obtain x*f2 pictures, where f2 is the sampling frequency of the pictures. Image detection is performed on each picture to obtain a set of images containing people, and a picture is randomly selected from the set of image frames containing people as the final person package associated image information.
[0102] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. According to the technical essence of the present invention, within the spirit and principles of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.
Claims
1. A method for associating a person with a package, characterized in that: Monitoring terminals used in security inspection systems include: S1, continuously receiving the image information of the security checkpoint area sent by the security checkpoint camera, and storing it in the database according to the time period; S2, receiving an X-ray image of the parcel from the X-ray baggage inspection machine, and extracting the shooting time of the X-ray image of the parcel, which is recorded as time point t2; S3, performing calculations based on the time point t2 and the optional time interval x to obtain the time period (t2-x, t2); S4, retrieve the database corresponding to the time point t2 (t1, t n ) time period, the image information of (t1,t n ) time period is the time period including time point t2; S5, get (t1,t n ) time axis of the image information within the time period, intercepting the image information within the time period (t2-x, t2), wherein the image information is the final person-package associated image information; the image information is a video or a picture; If the image information is a video, step S5 is to obtain (t1, t n ) time period, intercepting the video corresponding to the time period (t2-x, t2) on the timeline, parsing the video in the time period (t2-x, t2) to obtain x*f1 picture frames, where f1 is the video frame rate, performing image detection on each picture frame to obtain a set of image frames containing people, and randomly extracting a picture from the set of image frames containing people as the final person-package associated image information; S6. Binding the X-ray image of the package to the person-package association image information.
2. A method for associating a person with a package according to claim 1, characterized in that: If the image information is a picture, step S5 is to obtain (t1, t n ) time period, intercept the pictures corresponding to the time period (t2-x, t2) on the time axis, obtain x*f2 pictures, where f2 is the sampling frequency of the pictures, perform image detection on each picture, obtain a set of images containing people, and randomly extract a picture from the set of image frames containing people as the final person package associated image information.
3. The method for associating a person with a package according to claim 1, characterized in that: The security checkpoint camera is a gate camera and / or an X-ray baggage inspection machine camera.
4. A method for associating a person with a package according to claim 3, characterized in that: The optional time interval x<t n -t1.
5. The method for associating a person with a package according to claim 2, characterized in that: The image detection is based on the principle of machine learning to obtain photos containing people, which specifically includes the following steps: Input the image to be recognized into the model; Obtaining from the model whether there is a person in the photo, wherein the model is obtained by machine learning training using multiple sets of data, the multiple sets of data include first-category data and second-category data, and each set of data in the first-category data includes: a photo including a person and a label indicating that the photo includes a person; Each set of data in the second category includes: a photo that does not include a person and a label indicating that the photo does not include a person.
6. The method for associating a person with a package according to claim 1, characterized in that: The monitoring terminal records and refreshes the identification information records of multiple passengers and packages in the current security inspection scene in real time, and displays a list of warning messages on the display.
7. A person-package association system, characterized in that: include: one or more memories, one or more processors, A plurality of modules are stored in a memory and executed by a processor, the modules comprising: The security checkpoint receiving module is used to continuously receive the image information of the security checkpoint area sent by the cameras around the security checkpoint, and store it in the database according to the time period; An X-ray inspection machine receiving module is used to receive the X-ray image of the package sent by the X-ray baggage inspection machine and mark the time point t2 of the X-ray image of the package; A time period calculation module, used to calculate the time point t2 of the wrapped X-ray image and the optional internal time interval x to obtain the time period (t2-x, t2); The image information retrieval module is used to retrieve the image information corresponding to the time point t2 in the database (t1, t n ) time period, the image information of (t1,t n ) time period is the time period including time point t2; The associated image module is used to obtain (t1,t n ) time axis of the image information within the time period, intercepting the image information within the time period (t2-x, t2), the image information being the final person-package associated image information; The associated image module is used to determine the image information: If the image information is a video, then obtain (t1,t n ) time period, intercepting the video corresponding to the time period (t2-x, t2) on the timeline, parsing the video in the time period (tx2-, t2) to obtain x*f1 picture frames, where f1 is the video frame rate, performing image detection on each image frame to obtain a set of image frames containing people, and randomly extracting a picture from the set of image frames containing people as the final person-package associated image information; If the image information is a picture, then obtain (t1,t n ) time period, intercept the pictures corresponding to the time period (t2-x, t2) on the time axis, obtain x*f2 pictures, where f2 is the sampling frequency of the pictures, perform image detection on each picture, obtain a set of images containing people, and randomly extract a picture from the set of image frames containing people as the final person-package associated image information; The person-package association binding module is used to associate and bind the package X-ray image with the person-package association image information.
