WO2022257892A1 - Information association method and apparatus, security inspection device, and storage medium - Google Patents

Information association method and apparatus, security inspection device, and storage medium Download PDF

Info

Publication number
WO2022257892A1
WO2022257892A1 PCT/CN2022/097192 CN2022097192W WO2022257892A1 WO 2022257892 A1 WO2022257892 A1 WO 2022257892A1 CN 2022097192 W CN2022097192 W CN 2022097192W WO 2022257892 A1 WO2022257892 A1 WO 2022257892A1
Authority
WO
WIPO (PCT)
Prior art keywords
package
detected
security inspection
image
target
Prior art date
Application number
PCT/CN2022/097192
Other languages
French (fr)
Chinese (zh)
Inventor
唐政
张俊力
高其涛
Original Assignee
杭州海康威视数字技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2022257892A1 publication Critical patent/WO2022257892A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V11/00Prospecting or detecting by methods combining techniques covered by two or more of main groups G01V1/00 - G01V9/00
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10116X-ray image

Definitions

  • the present application relates to the technical field of the Internet, in particular to an information association method, device, security inspection equipment and storage medium.
  • the detection of the package information on the transmission belt and the personnel monitoring process are independent of each other, which makes the correlation between the detected package information and the monitored personnel information poor. Therefore, when it is detected that the package contains abnormal items, it is necessary to manually determine the target person associated with the abnormal package. For example, when a package is detected to contain prohibited items, the inspectors will determine the owner of the package through manual association, that is, the above-mentioned target person, thereby reducing the potential safety hazard caused by the target person bringing the prohibited items onto the plane or train . However, for scenes with a large flow of people or a more complex environment, the time required for manual association and the difficulty of association will be greatly increased, which will seriously affect the efficiency and accuracy of information association.
  • the purpose of the embodiments of the present application is to provide an information association method, device, security inspection equipment, and storage medium, so as to improve the efficiency and accuracy of information association.
  • the specific technical scheme is as follows:
  • An embodiment of the present application provides an information association method, which is applied to security inspection equipment, and the method includes:
  • the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device determine the target X-ray image collected by the security inspection device including the package to be detected;
  • a corresponding relationship between the package to be detected, the target person, and the target X-ray image is established.
  • the conveyor belt of the security inspection equipment includes a pressure sensor
  • the step of acquiring the monitoring image at the entrance of the security inspection equipment includes:
  • the monitoring image at the entrance of the security inspection device collected at the current moment is acquired.
  • the step of determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs includes:
  • the person closest to the package to be detected in the monitoring image is determined as the target person to whom the package to be detected belongs.
  • Steps for X-ray images including:
  • the conveyor belt of the security inspection equipment includes a pressure sensor
  • the method also includes:
  • the position of the pressure signal detected by the pressure sensor is determined as the placement position of the package to be detected on the conveyor belt.
  • the method before determining the target X-ray image collected by the security inspection device including the package to be detected from the X-ray images collected by the security inspection device within the time range, the method further includes:
  • the step of determining, from the X-ray images collected by the security inspection equipment within the time range, the target X-ray images collected by the security inspection equipment that include the package to be detected includes:
  • the first package feature is matched with the second package feature of the package in each X-ray image to obtain a target X-ray image collected by the security inspection device including the package to be detected.
  • the package features include multi-dimensional features
  • the collected target X-ray image includes the package to be detected.
  • the package features include one or more of package weight, package size and package shape.
  • the step of establishing the corresponding relationship between the package to be detected, the target person and the target X-ray image includes:
  • the method also includes:
  • an alarm message is output based on the correspondence between the package to be detected, the person of the target, and the X-ray image of the target.
  • the embodiment of the present application also provides an information association device, which is applied to security inspection equipment, and the device includes:
  • the first acquisition module is used to acquire the monitoring image at the entrance of the security inspection equipment
  • a first determining module configured to determine the package to be detected in the surveillance image and the target person to whom the package to be detected belongs
  • the second determining module is configured to determine the information collected by the security inspection equipment including the package to be detected according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device.
  • An establishment module configured to establish correspondence between the package to be detected, the target person, and the target X-ray image.
  • the embodiment of the present application also provides a security inspection device, which includes a camera, a conveyor belt, an image analysis module, an X-ray detection module, and an information association module;
  • the conveyor belt includes a pressure sensor:
  • the camera is used to acquire the monitoring image at the entrance of the security inspection equipment collected at the current moment when the pressure sensor detects that there is a package placed on the conveyor belt;
  • the conveyor belt is used for conveying parcels
  • the image analysis module is used to acquire the monitoring image; determine the package to be detected in the monitoring image;
  • the X-ray detection module is configured to collect an X-ray image of the package when the package on the conveyor belt is transported to the detection area, and perform abnormal detection on the package based on the X-ray image;
  • the information association module is configured to determine the target person to whom the package to be detected belongs in the monitoring image; according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the detection area of the security inspection device Determine the location of the target X-ray image collected by the security inspection equipment including the package to be detected; establish a corresponding relationship between the package to be detected, the target person, and the target X-ray image.
  • the security inspection device also includes a pressure analysis module, a face capture module, an information storage module and an information display module;
  • the pressure analysis module is configured to obtain the pressure signal generated by the pressure sensor when the package to be detected is placed on the conveyor belt, and determine the pressure sensor pressure signal according to the preset correspondence between the pressure signal and the pressure value.
  • the pressure value corresponding to the generated pressure signal is used as the package weight of the package to be detected;
  • the face capture module is used to capture the face of the person at the entrance of the security inspection device when the pressure sensor detects that a package is placed on the conveyor belt;
  • the information storage module is used to store the corresponding relationship between the package to be detected, the target person and the target X-ray image;
  • the information display module is configured to output an alarm based on the correspondence between the package to be detected, the target person, and the target X-ray image when detecting that the package in the target X-ray image contains abnormal items information.
  • the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the information association methods described above are implemented.
  • the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any one of the information association methods described above.
  • the information association method, device, security inspection equipment, and storage medium provided in the embodiments of the present application can determine the target person to whom the package to be inspected in the surveillance image belongs to by obtaining the monitoring image at the entrance of the security inspection equipment, that is, determine the person who is associated with the package to be inspected. target personnel.
  • the target X-ray image collected by the security inspection device including the package to be detected can be determined, that is, it can be determined that the package to be detected is associated with X-ray image of the target.
  • the association of packages, personnel and X-ray images is realized, which makes the modification cost of security inspection equipment lower .
  • the target personnel only need to place the package on the conveyor belt, and the security inspection equipment can automatically associate the package, personnel and X-ray images, that is, complete the information association process without the personnel being aware of it. This does not affect the personnel security screening process.
  • FIG. 1 is a schematic flow chart of the first information association method provided by the embodiment of the present application.
  • Fig. 2 is a schematic structural diagram of the first type of security inspection equipment provided by the embodiment of the present application.
  • Fig. 3 is a second structural schematic diagram of the security inspection equipment provided by the embodiment of the present application.
  • FIG. 4 is a schematic diagram of the third structure of the security inspection equipment provided by the embodiment of the present application.
  • Fig. 5 is a second schematic flow chart of the information association method provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of the transmission of the package to be detected provided by the embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a third information association method provided by the embodiment of the present application.
  • FIG. 8 is a schematic diagram of a pressure analysis module provided in an embodiment of the present application.
  • FIG. 9 is a schematic flow chart of an abnormality warning method provided by an embodiment of the present application.
  • FIG. 10 is a signaling diagram of the information association process provided by the embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an information association module provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an information association device provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of a fourth structure of the security inspection device provided by the embodiment of the present application.
  • FIG. 1 is a schematic flow chart of the first information association method provided by the embodiment of the present application.
  • the method is applied to the above-mentioned security inspection equipment, and specifically includes the following steps.
  • Step S101 acquiring the monitoring image at the entrance of the security inspection equipment.
  • Step S102 determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs.
  • Step S103 according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, determine the target X-ray image collected by the security inspection device including the package to be detected.
  • Step S104 establishing a correspondence between the package to be detected, the target person, and the X-ray image of the target.
  • the above-mentioned security inspection equipment may be a security inspection machine, wherein the security inspection machine may also be called a security inspection instrument, a security X-ray machine, a luggage security inspection machine, a channel-type X-ray machine, and the like.
  • the security inspection machine is an electronic device that sends the package into the X-ray inspection channel (that is, the detection area) by means of a conveyor belt, thereby completing the detection of the items in the package.
  • no specific limitation is imposed on the above-mentioned security inspection equipment.
  • FIG. 2 is a schematic structural diagram of the first type of security inspection equipment provided by the embodiment of the present application.
  • the aforementioned security inspection equipment may at least include a transmission belt, a pressure sensor, a binocular camera, an image analysis module, an X-ray detection module and an information correlation module.
  • the above-mentioned conveyor belt is not shown in the security inspection device shown in FIG. 2 .
  • the above-mentioned pressure sensors are distributed on the above-mentioned conveyor belt.
  • the binocular camera, image analysis module, X-ray detection module and information correlation module shown in Figure 2 can be distributed on the same hardware entity, such as the security inspection machine mentioned above.
  • the cameras in the above-mentioned security inspection equipment are binocular cameras. Since the above-mentioned security inspection equipment is obtained after minor modification on the basis of related security inspection equipment, for example, the above-mentioned information association module is added, etc., therefore, according to the specific application scenarios of the security inspection equipment, the related security inspection equipment The cameras are also different, and the cameras in the security inspection equipment obtained after modification based on the relevant security inspection equipment are also different.
  • the camera in the above security inspection equipment may also be an infrared camera or the like.
  • the cameras included in the above security inspection equipment are not specifically limited. For ease of description, the following only uses a binocular camera as an example for illustration, and does not play any limiting role.
  • FIG. 3 is a second structural schematic diagram of the security inspection device provided in the embodiment of the present application.
  • the security inspection equipment mainly includes a transmission area and a detection area, and the above-mentioned pressure sensors and conveyor belts are distributed in the transmission area.
  • the above-mentioned binocular camera, image analysis module, X-ray detection module and information association module are distributed in the detection area.
  • the arrow direction indicates the moving direction of the conveyor belt.
  • a plurality of pressure sensors are distributed on the conveyor belt of the above-mentioned security inspection equipment.
  • the number and distribution method of the pressure sensors on the above-mentioned conveyor belt are not specifically limited.
  • the above-mentioned security inspection equipment may also include other components, such as a stress analysis module, a face capture module, an information storage module, and an information display module.
  • FIG. 4 is a schematic diagram of a third structure of the security inspection device provided by the embodiment of the present application. For the functions of each component in the above-mentioned security inspection equipment, refer to the description below, and details are not repeated here.
  • the target person to whom the package to be detected in the monitoring image belongs can be determined, that is, the target person associated with the package to be detected can be determined.
  • the target X-ray image collected by the security inspection device including the package to be detected can be determined, that is, it can be determined that the package to be detected is associated with X-ray image of the target.
  • the association of packages, personnel and X-ray images is realized, which makes the modification cost of security inspection equipment lower .
  • the target personnel only need to place the package on the conveyor belt, and the security inspection equipment can automatically associate the package, personnel and X-ray images, that is, complete the information association process without the personnel being aware of it. This does not affect the personnel security screening process.
  • step S101 the monitoring image at the entrance of the security inspection device is acquired.
  • the above-mentioned binocular camera can collect images at the entrance of the security inspection equipment in real time to obtain surveillance video.
  • the surveillance video includes multiple frames of surveillance images.
  • the above image analysis module can obtain monitoring images from the monitoring video collected by the binocular camera.
  • the entrance of the above-mentioned security inspection equipment can be the area within the preset range where the above-mentioned conveyor belt is located, or it can be the area within the preset range before the detection area of the security inspection equipment.
  • the above security inspection equipment shown in FIG. 3 is taken as an example.
  • the entrance of the above-mentioned security inspection equipment can be: the area within 2 meters on the upper side, right side and left side of the transmission area shown in FIG. 3 .
  • the entrance of the above-mentioned security inspection equipment can also be expressed as: the area within 10 meters in front of the detection area (right side of the detection area) shown in FIG. 3 .
  • the range of the area corresponding to the entrance of the above-mentioned security inspection equipment is not specifically limited.
  • the acquisition of the monitoring image at the entrance of the security inspection device may be expressed as: the image analysis module acquires each frame of monitoring image of the monitoring video collected by the binocular camera.
  • the above-mentioned acquisition of the monitoring image at the entrance of the security inspection device can be expressed as: after being detected by the pressure sensor When a package is placed on the conveyor belt, the monitoring image at the entrance of the security inspection equipment collected by the binocular camera at the current moment is obtained.
  • the monitoring image collected by the binocular camera at the current moment must include the package and at least one person. And there must be a target person to whom the package belongs among the persons included in the surveillance image. Therefore, by obtaining the monitoring image at this moment, the image analysis module can reduce the number of monitoring images that the image analysis module needs to analyze under the premise that there must be a package to be detected in the acquired monitoring image, and improve the image analysis module. The analysis efficiency of the monitoring image saves computing resources of the image analysis module.
  • the monitoring image at this moment must include the target person to whom the package to be detected belongs, it is also convenient for the above-mentioned information association module to determine the target person to whom the package to be detected in the monitoring image belongs to later, that is, to determine the correlation information between the package and the person. The determination improves the efficiency and accuracy of determining the associated information between packages and personnel.
  • the entrance of the above-mentioned security inspection equipment may include the area where the conveyor belt of the above-mentioned security inspection equipment is located, and the area within a preset range around the conveyor belt.
  • the preset range around the conveyor belt can be adjusted according to the shooting range of the binocular camera and user needs, and there is no specific limitation on the entrance of the above-mentioned security inspection equipment.
  • One of the aforementioned binocular cameras is a visible light camera.
  • Another camera can be selected according to the application scenarios of the above-mentioned security inspection equipment and different user needs.
  • another camera in the aforementioned binocular camera may be a thermal imaging camera.
  • the other camera in the aforementioned binocular camera may also be a visible light camera or a depth camera.
  • the monitoring image acquired by the image analysis module may include the visible light image acquired by the visible light camera.
  • the disparity map collected by the binocular camera can also be included.
  • step S102 the package to be detected in the surveillance image and the target person to whom the package to be detected belongs are determined.
  • the image analysis module in the above-mentioned security inspection equipment can analyze the above-mentioned obtained monitoring image, and determine the package to be detected in the monitoring image.
  • the information association module in the above-mentioned security inspection equipment can determine the target person to whom the package to be inspected belongs based on the surveillance image.
  • the determination of the package to be detected in the monitoring image in the above step S102 can specifically be expressed as:
  • the above image analysis module determines the package on the conveyor belt of the security inspection device in the monitoring image as the package to be detected.
  • the image analysis module can use the deep learning algorithm to identify the package on the conveyor belt in the monitoring image, so as to determine the identified package as the package to be detected.
  • the image analysis module can identify the package to be detected in the monitoring image according to the difference between the pixel value of the conveyor belt in the monitoring image and the pixel value of the package in the monitoring image.
  • the image analysis module determines the package to be detected in the monitoring image, it can also integrate the position of the pressure signal detected by the pressure sensor to determine the package to be detected. For example, the image analysis module can make a one-to-one correspondence between the identified position of the package to be detected and the position of the pressure signal detected by the pressure sensor, and determine the package to be detected on the conveyor belt.
  • the package to be detected may be any package in the surveillance image, and here, the number of packages to be detected included in the surveillance image is not specifically limited. For the convenience of description, in the embodiment of the present application, only one package to be detected is used for illustration, which does not serve as any limitation.
  • the determination in the above step S102 of the target person to whom the package to be detected in the surveillance image belongs can specifically be expressed as:
  • the above information association module can determine the person closest to the package to be detected in the monitoring image as the target person to whom the package to be detected belongs.
  • the above-mentioned image analysis module may send the acquired monitoring image to the above-mentioned information association module.
  • the information association module can determine the distance between each person included in the monitoring image and the determined package to be detected according to the nearest neighbor rule classification (K Nearest Neighbor, KNN) algorithm, thereby determining the nearest person from the package to be detected as the Detect who the package belongs to.
  • KNN nearest neighbor rule classification
  • the distance between each person in the surveillance image and the determined package to be detected can be calculated according to the depth information corresponding to each person in the surveillance image and the depth information between the package to be detected.
  • the calculation of the distance is not specifically described.
  • the above depth information may be calculated according to the parallax between the binocular cameras.
  • the calculation of the depth information will not be specifically described.
  • the above-mentioned depth information can be obtained by combining the camera with other sensors. For example, by combining an infrared camera with a depth sensor, the depth information corresponding to each person in the surveillance image and the depth information of the package to be detected can be determined.
  • the information association module when it determines the target person to whom the package to be detected belongs, it may establish a correspondence between the package to be detected and the target person to which it belongs.
  • the corresponding relationship includes at least the package image of the package to be detected and the person image of the target person.
  • the above-mentioned monitoring image is obtained according to the detection result of the pressure sensor, that is, when the pressure sensor detects that there is a package placed on the conveyor belt, since the target person has just placed the package on the conveyor belt at this time, Therefore, it is more likely that the distance between the target person and the package is smaller than the distance between other persons and the package in the surveillance image. This greatly improves the accuracy of the target person determined based on the distance between the package to be detected and the person, thereby improving the accuracy of the associated information between the package and the person.
  • the behavior of the person can be tracked based on the monitoring image, so as to determine Whether the person is the target person to whom the package to be detected belongs.
  • FIG. 5 is a schematic flowchart of a second information association method provided by the embodiment of the present application.
  • step S103 that is, according to the placement position of the package to be detected on the conveyor belt of the security inspection device, and the position of the detection area of the security inspection device, determine the target X collected by the security inspection device including the package to be detected
  • step S1031-step S1033 determine the target X collected by the security inspection device including the package to be detected
  • Step S1031 according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device, determine the distance between the package to be detected and the detection area.
  • the above image analysis module can calculate the distance between the location of the package to be detected and the location of the detection area according to the location of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device , to get the distance between the package to be detected and the detection area.
  • the image analysis module can send the determined distance between the package to be detected and the detection area to the information association module.
  • the distance between the package to be detected and the detection area may be a specific distance value.
  • the distance between the package to be detected and the detection area may be expressed as: the distance from the center of the location where the package to be detected is placed to the center of the detection area.
  • the distance between the package to be detected and the detection area may also be a specific distance range.
  • the minimum value of the distance range can be the distance between the side of the package to be detected that first enters the detection area and the area where the detection area is located
  • the maximum value of the distance range can be the distance between the side of the package to be detected that leaves the detection area and the detection area. The distance between the regions.
  • FIG. 6 is a schematic diagram of the transmission of the package to be detected provided by the embodiment of the present application.
  • position B is the midpoint position of the detection area
  • side A and side C are the left edge position and right edge position of the detection area respectively
  • position E is the center position of the package to be detected
  • side D and F Sides are the left edge position and the right edge position of the package to be detected respectively.
  • the moving direction of the conveyor belt that is, from right to left, the D side of the package to be detected enters the detection area first, and the F side leaves the detection area last.
  • the distance between the package to be detected and the detection area determined by the above image analysis module can be expressed as the distance between the center position of the package to be detected (ie position E) and the center position of the detection area (ie position B), namely Figure 6 shows the distance d2. It can also be expressed as the distance between the D side of the package to be detected and the C side of the area to be detected, and the distance corresponding to the distance between the F side of the package to be detected and the A side of the area to be detected, that is, as shown in Figure 6 [d1,d3].
  • the location of the detection area of the above-mentioned security inspection equipment is determined according to the location of the above-mentioned X-ray detection module.
  • the X-ray detection module can be arranged at the end position of the conveying direction of the conveyor belt.
  • the X-ray detection module can be set at a preset distance before the end position of the conveying direction of the conveyor belt, and the preset distance can be set according to user requirements, the size of the package that can be detected by the security inspection equipment, and the like.
  • the placement position of the above-mentioned package to be detected on the conveyor belt can be obtained in the following manner:
  • the above-mentioned image analysis module can identify the monitoring image, and obtain the placement position of the package to be detected on the conveyor belt of the security inspection device.
  • the position of the package to be detected on the conveyor belt of the security inspection device is calculated and obtained.
  • the above-mentioned pressure analysis module can determine the position of the pressure signal detected by the pressure sensor as the placement position of the package to be detected on the conveyor belt.
  • the image analysis module obtains the placement position of the package to be detected on the conveyor belt from the pressure analysis module.
  • the placement position of the package to be detected on the conveyor belt can be accurately determined, thereby improving the accuracy of the distance between the package to be detected and the detection area determined according to the placement position.
  • Step S1032 based on the determined distance and the conveying speed of the conveyor belt, determine the time range for the package to be inspected to be conveyed to the inspection area.
  • the above-mentioned information association module can calculate the time required for the package to be detected to be transmitted to the detection area according to the determined distance between the package to be detected and the detection area, and the transmission speed of the conveyor belt, so as to determine that the package to be detected is transmitted to the detection area.
  • the time range of the region can be calculated using the above-mentioned information association module.
  • the above time range may be expressed as a certain time point, or may be expressed as a certain time interval.
  • the above-mentioned distance between the package to be detected and the detection area is taken as an example for illustration.
  • the above-mentioned determined time range for the package to be detected to be delivered to the detection area may be: the quotient of the distance corresponding to the midpoint of the above-mentioned distance range and the conveying speed of the conveyor belt.
  • the minimum value of the above-mentioned determined time range for the package to be detected to be transmitted to the detection area can be: the quotient of the minimum value of the distance range and the transmission speed of the conveyor belt, and the maximum value of the time range can be It is: the quotient of the maximum value of the distance range and the transmission speed of the conveyor belt.
  • the transmission speed of the above-mentioned conveyor belt can be read directly from the security inspection equipment, or can be calculated according to the change of the distance between the package to be detected and the detection area over time in the surveillance video collected by the binocular camera.
  • the acquisition of the transmission speed of the above-mentioned conveyor belt is not specifically limited.
  • a time range can be selected based on the calculated time, so as to ensure that the X-ray image associated with the package to be detected will be included in the X-ray image acquired later based on this time range image.
  • the current time is 8:30, after the package to be detected is placed on the conveyor belt, according to the distance between the package to be detected and the detection area, and the transmission speed of the conveyor belt, it is determined that the package to be detected is expected to be delivered to the detection area at 8:31.
  • the information association module can extend the time backward by a certain period of time, such as 30 milliseconds, according to the determined time for the package to be detected to be transmitted to the detection area.
  • the time when the package to be detected arrives at the detection area may be marked as a time range, that is, a time range of 8:31 to 30 milliseconds after 8:31.
  • the length of the above-mentioned backward extension can be set according to the flow of people in the specific application scenario, the transmission speed of the conveyor belt, and user needs, and is not specifically limited here.
  • Step S1033 from the X-ray images collected by the security inspection equipment within the time range, determine the target X-ray images collected by the security inspection equipment including the package to be inspected.
  • the information correlation module acquires any image within the time interval as the target X-ray image including the package to be detected collected by the security inspection equipment.
  • the information association module may obtain the X-ray image collected by the security inspection equipment at the time point corresponding to the midpoint of the above time range as the target X-ray image including the package to be inspected.
  • the information association module can directly obtain the information calculated in the above-mentioned step S1032
  • the X-ray image collected by the security inspection equipment at the time point required for the package to be detected to be transported to the detection area is used as the target X-ray image including the package to be detected.
  • the information association module may establish a correspondence between the package to be detected and the target X-ray image.
  • the corresponding relationship includes at least the package image of the package to be detected and the above-mentioned target X-ray image.
  • the number of acquired target X-ray images is 1 as an example for illustration.
  • the number of target X-ray images acquired by the information association module may also be multiple.
  • the number of the target X-ray images is not specifically limited.
  • the information association module can accurately determine the time range when the package to be detected enters the detection area, so as to obtain the X-ray images collected by the security inspection equipment to be detected during this period, and then The determination of the target X-ray image including the package to be detected effectively improves the accuracy of the acquired target X-ray image including the package to be detected.
  • the image analysis module can monitor in real time The distance between the above-mentioned package to be detected and the detection area, and when the distance is 0, trigger the above-mentioned X-ray detection module to collect the X-ray image of the package to be detected, that is, the above-mentioned target X-ray image including the package to be detected, so as to obtain the same Target X-ray image associated with the package to be detected.
  • step S104 the corresponding relationship among the package to be detected, the target person and the X-ray image of the target is established.
  • the information association module can directly use the The target person to whom the package belongs, and the target X-ray image including the package to be detected, establishes a correspondence between the package to be detected, the target person, and the target X-ray image.
  • the corresponding relationship includes at least the package image of the package to be detected, the person image of the target person, and the target X-ray image.
  • FIG. 7 is a schematic flowchart of a third information association method provided by the embodiment of the present application. The method includes the following steps.
  • Step S701 acquiring the monitoring image at the entrance of the security inspection equipment.
  • Step S702 determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs.
  • Step S703 according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device, determine the distance between the package to be detected and the detection area.
  • Step S704 based on the determined distance and the conveying speed of the conveyor belt, determine the time range for the package to be inspected to be conveyed to the inspection area.
  • step S701 - step S704 are the same as the above step S101 - step S1032 shown in FIG. 5 .
  • Step S705 acquiring the first package feature of the package to be detected in the surveillance image.
  • the above-mentioned information association module can obtain the package features of the package to be detected in the above-mentioned monitoring image, and obtain the first package feature of the package to be detected.
  • the above-mentioned first package feature may be a multi-dimensional feature.
  • the aforementioned first package feature may include package weight, package size, package color, package shape, etc. of the package to be detected.
  • the above-mentioned first package feature is not specifically limited.
  • the above-mentioned pressure analysis module can determine the package weight of the package to be detected according to the pressure signal that the package to be detected is placed on the conveyor belt, so as to determine the The weight of the package is sent to the above information association module.
  • FIG. 8 is a schematic diagram of a pressure analysis module provided in an embodiment of the present application.
  • the pressure analysis module shown in FIG. 8 may include a pressure signal input unit 801 , a signal filter unit 802 , a signal conversion unit 803 and a trigger unit 804 .
  • the pressure sensor on the conveyor belt will generate a corresponding electrical signal, which is recorded as a pressure signal.
  • the pressure signal input unit 801 will acquire the pressure signal.
  • the package to be detected will be sent to the detection area for detection. During this period, the package to be detected has not left the conveyor belt, that is, the pressure sensor in the placement area corresponding to the package to be detected is always in a triggered state. Therefore, the above-mentioned electrical signal is a tracking electrical signal obtained by the triggered pressure sensor.
  • the pressure signal input unit 801 may transmit the pressure signal to the signal filtering unit 802 after obtaining the pressure signal.
  • the signal filtering unit 802 performs filtering processing on the received pressure signal to obtain a filtered pressure signal, and transmits the filtered pressure signal to the signal converting unit 803 .
  • the filtering methods adopted by the signal filtering unit 802 include but not limited to mean filtering and median filtering.
  • the noise signal in the pressure signal can be effectively suppressed, thereby improving the accuracy of the package weight determined based on the filtered pressure signal.
  • the signal-to-pressure unit 803 After receiving the filtered pressure signal sent by the signal filtering unit 802, the signal-to-pressure unit 803 can determine the pressure value corresponding to the pressure signal generated by the pressure sensor according to the preset correspondence between the pressure signal and the pressure value as the pressure value to be detected.
  • the package weight of the package After receiving the filtered pressure signal sent by the signal filtering unit 802, the signal-to-pressure unit 803 can determine the pressure value corresponding to the pressure signal generated by the pressure sensor according to the preset correspondence between the pressure signal and the pressure value as the pressure value to be detected. The package weight of the package.
  • the package weight of the above-mentioned package to be detected is expressed as the value of pressure generated by the package to be detected on the conveyor belt.
  • the package weight of the package to be detected can also be expressed as the real weight of the package to be detected.
  • the above-mentioned pressure analysis module can obtain the real weight through mathematical calculation according to the pressure value generated by the package to be detected on the conveyor belt and the contact area between the package to be detected and the conveyor belt.
  • the calculation process of the real weight of the package to be detected will not be specifically described.
  • the above trigger unit 804 is also included in the pressure analysis module shown in FIG. 8 .
  • the triggering unit 804 may be connected with the aforementioned face capture module and image analysis module.
  • the trigger unit 804 can send a trigger signal to the face capture module and the image analysis module, thereby triggering the face capture module to take a face capture, and triggering the information association module to analyze the package To associate with a person, that is, to determine the target person to whom the person to be detected belongs in the above step S102.
  • the trigger unit 804 can send the above-mentioned The face capture module and the image analysis module send trigger signals.
  • the above-mentioned preset trigger logic rule may be the duration of the above-mentioned pressure signal. Specifically, after the personnel put the package on the conveyor belt, the user may immediately pick up the package. At this time, the above-mentioned pressure signal will be interrupted. If the trigger unit 804 sends the above-mentioned trigger signal, it will affect the subsequent detection of the package and X-ray detection. Accuracy of image association. In addition, in the embodiment of the present application, no specific limitation is made on the above-mentioned preset trigger logic rule.
  • the pressure signal input unit 801 may determine the placement position of the package to be detected on the conveyor belt according to the position of the triggered pressure sensor while acquiring the pressure signal.
  • the above-mentioned image analysis module can acquire the package color of the package to be detected after determining the package to be detected in the above-mentioned monitoring image, so that the obtained The color of the package is sent to the above information association module.
  • the above-mentioned image analysis module can use a deep learning algorithm to classify the above-mentioned monitoring image to obtain the package color of the package to be detected.
  • the acquisition process of the package color is not specifically limited.
  • the above-mentioned image analysis module determines the package to be detected in the above-mentioned monitoring image, it can also determine the package size of the package to be detected, so that the determined The size of the package is sent to the above information association module.
  • the image analysis module determines the package size of the package to be detected, it can use the deep learning algorithm to perform image segmentation on the above monitoring image, and perform pixel-level classification on the package to be detected and the conveyor belt in the monitoring image, that is, to classify the package in the monitoring image.
  • the pixel points of the area where the package to be detected is located are distinguished from the pixel points of the area where the conveyor belt is located, so as to determine the pixel area or pixel volume corresponding to the package to be detected.
  • the package size of the package to be detected when the package size of the package to be detected is expressed as the pixel volume of the package to be detected, the package size may be expressed as the product of the pixel area and the package height. Among them, the package height can be calculated by the following formula.
  • ⁇ D is the package height
  • D 1 is the distance from the upper surface of the package to be detected to the binocular camera
  • D 2 is the distance from the lower surface of the package to be detected to the binocular camera, that is, the contact surface of the package to be detected and the conveyor belt to The distance between the binocular cameras.
  • the above D1 and D2 can be calculated according to the lens focal length of the binocular camera, the baseline distance between the two cameras of the binocular camera and the parallax of the binocular camera, which can be specifically expressed as:
  • D is the target distance, that is, the above D 1 or D 2
  • f is the lens focal length of the binocular camera
  • B is the baseline distance between the two cameras of the binocular camera
  • XL is the parallax of the binocular camera.
  • the image analysis module can determine the mean value of the pixel area of the package to be detected in the monitoring images collected by the two cameras in the binocular camera as the pixel area of the package to be detected .
  • the above-mentioned image analysis module determines the package to be detected in the above-mentioned monitoring image, it can also determine the package shape of the package to be detected, so that the determined The shape of the package is sent to the above-mentioned information association module.
  • the above image analysis module determines the package shape of the package to be detected, it can use a deep learning algorithm to extract the contour information of the package to be detected in the above monitoring image to obtain the package shape of the package to be detected.
  • the deep learning algorithm includes but not limited to Holistically-nested Edge Detection (HED) algorithm and Semantic Edge Detection (Deep Category-Aware Semantic Edge Detection, CASENet) algorithm.
  • the above step S705 may be executed simultaneously with the above step S703.
  • Step S706 acquiring the characteristics of the second package in each X-ray image collected by the security inspection equipment within the time range.
  • the association information module acquires all the X-ray images collected by the above-mentioned X-ray detection module within the time range determined in step S704, and for each X-ray image, obtains the package characteristics of the package in the X-ray image , as the second package feature of the X-ray image.
  • the above-mentioned second package feature may be a multi-dimensional feature.
  • the above-mentioned second package feature may include package weight, package size, package shape, etc. of the package to be detected.
  • the above-mentioned second package feature is not specifically limited.
  • the acquisition method of the second package feature of the package to be detected can refer to the method of acquisition of the first package feature of the package to be detected, and the method of obtaining the second package feature of the package to be detected will not be specifically described here.
  • the above-mentioned first package feature and the second package feature may include one or more of the above-mentioned package weight, package size and package shape.
  • Step S707 matching the feature of the first package with the feature of the second package in each X-ray image to obtain the target X-ray image collected by the security inspection equipment including the package to be detected.
  • step S707 may specifically include the following steps:
  • Step 1 for each X-ray image, calculate the weighted sum of the matching confidence degrees corresponding to each feature dimension in the second package feature of the X-ray image and the first package feature, and obtain the package and the package in the X-ray image. Check the matching confidence between packages.
  • the following formula can be used to calculate the matching confidence Conf between the package in the X-ray image and the package to be detected:
  • n is the number of feature dimensions of the package features included in the first package feature or the second package feature
  • i is the i-th feature dimension
  • a i is the weight of the i-th feature dimension
  • a i is the first package feature at The matching confidence between the wrapping feature on the i feature dimension and the wrapping feature on the i feature dimension of the second wrapping feature.
  • the matching confidence of the first package feature and the second package feature in the area dimension is taken as an example for illustration.
  • the package feature at the position of the area area in the first package feature is the area A corresponding to the contact surface between the package and the conveyor belt
  • the package feature at the area area position in the second package feature is the area B corresponding to the contact surface between the package and the conveyor belt.
  • the union of area A and area B is area C.
  • the matching confidence of the first package feature and the second package feature in the area dimension can be expressed as: the ratio of area A to area C, or the ratio of area B to area C.
  • the ratio is larger, that is, when the matching confidence of the first package feature and the second package feature in the area dimension is larger, the possibility that area A and area B are the same area is greater, and the X-ray image The greater the matching confidence between the package and the package to be detected is.
  • the matching confidence between the package in the X-ray image and the package to be detected may represent the degree of correlation between the package in the X-ray image and the package to be detected. Specifically, the greater the matching confidence between the package in the X-ray image and the package to be detected is, the higher the degree of correlation between the package in the X-ray image and the package to be detected is. The smaller the matching confidence between the package in the X-ray image and the package to be detected is, the lower the degree of correlation between the package in the X-ray image and the package to be detected is.
  • Step 2 Based on the matching confidence between the package in each X-ray image and the package to be detected, and the target person to whom the package to be detected belongs, make a logical judgment on each X-ray image, and determine that the security inspection equipment includes the package to be detected Target X-ray image of the package.
  • the information association module can use the preset association logic to judge the The rule is to make a logical judgment on each acquired X-ray image, and determine the target X-ray image collected by the security inspection equipment including the package to be inspected.
  • the above-mentioned preset association logic judgment rules are a preset matching confidence threshold and a preset pixel threshold as an example for illustration.
  • the information association module makes a logical judgment on the X-ray image, if the matching confidence between the package in the X-ray image and the package to be detected is less than the preset matching confidence threshold , then the information association module can discard the X-ray image.
  • the above-mentioned information association module can calculate the difference between the pixel wrapped in the X-ray image and the pixel to be detected in the monitoring image, if the difference is greater than the preset pixel threshold , then the information association module can discard the X-ray image.
  • the above-mentioned preset association logic judgment rules may also include other logic judgment rules.
  • the above-mentioned information correlation module performs logical judgment on the above-mentioned obtained X-ray images through a plurality of logical judgment rules, so as to obtain the target X-ray image including the package to be detected.
  • the aforementioned preset association logic judgment rules are not specifically limited.
  • the accuracy of the association between the package to be detected and the X-ray image can be effectively improved, thereby improving the accuracy of the detection association of the package to be detected, the target person, and the target X-ray image .
  • the above step S706-step S707 is refinement of the above step S1033 shown in FIG. 5 .
  • Step S708 establishing the corresponding relationship between the package to be detected, the target person and the X-ray image of the target.
  • the above step S708 is the same as the above step S104.
  • step S104 that is, establishing the corresponding relationship between the package to be detected, the target person and the target X-ray image, can be subdivided into the following steps, namely step 1 - step 3.
  • Step 1 acquire the package image before the package to be detected enters the detection area.
  • the information association module can intercept the image of the area where the package to be detected is located in the above monitoring image, and obtain the image of the package before the package to be detected enters the detection area.
  • the information association module acquires the binocular camera when the package to be detected is placed on the conveyor belt until the package to be detected enters the above-mentioned detection area The monitoring video in this period of time, so as to obtain the package image of the package to be detected from any monitoring image in the monitoring video.
  • Step 2 obtain the person image of the target person.
  • the above-mentioned person image may be a human body image of the target person, or may be a captured image of the face of the target person.
  • the information association module may acquire the target person's body image from the above-mentioned surveillance image.
  • the method for obtaining the package image above which will not be described in detail here.
  • the above-mentioned person image is a face capture image of the target person.
  • the pressure sensor detects that the package to be detected is placed on the conveyor belt, it can trigger the face capture module to capture the face of the person at the entrance of the security inspection device to obtain a face capture image of the person.
  • the above-mentioned information association module can obtain the face capture image of the target person from the face capture image obtained by the face capture module according to the target person to whom the package to be detected belongs.
  • the face capture module after the above-mentioned face capture module captures the face capture image, it can also perform operations such as face positioning, face key point detection, and face modeling based on the face capture image, so as to obtain Get the personnel information of the personnel.
  • the personal information includes but not limited to face attributes and face feature vectors. Among them, face attributes include but are not limited to age or whether to wear a mask. Here, no specific description will be given on the process of obtaining the person information in the face capture image.
  • the above-mentioned face capture module in order to improve the accuracy of the above-mentioned personnel information, when the above-mentioned face capture module obtains the personnel information of the above-mentioned personnel, it can obtain multiple face capture images within a certain period of time for each person, so that For each face capture image, the face score is performed on the face capture image, and the above-mentioned personnel information is obtained from the face capture image with the highest face score of each person.
  • Step 3 based on the package image, the person image and the target X-ray image, the corresponding relationship between the package to be detected, the target person and the target X-ray image is established.
  • the correspondence between the package to be detected, the target person and the target X-ray image established by the above-mentioned information association module includes at least the above-mentioned package image, person image and target X-ray image.
  • Table 1 is an information association manner provided by the embodiment of the present application.
  • the corresponding relationship between the package to be detected, the target person and the target X-ray image may also include other information besides the above package image, person image and target X-ray image, for example, the person of the target person information, and the detection results of the target X-ray image, as shown in Table 2.
  • the detection results in the above Table 2 are obtained by the above-mentioned X-ray detection module detecting the abnormality of the package in the X-ray image.
  • a normal detection result indicates that no abnormal items are contained in the package.
  • An abnormal test result indicates that the package contains abnormal items, such as the above-mentioned prohibited items.
  • FIG. 9 is a schematic flowchart of an abnormality warning method provided by an embodiment of the present application. Obtain the surveillance image at the entrance of the security inspection equipment.
  • Step S901 acquiring the monitoring image at the entrance of the security inspection equipment.
  • Step S902 determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs.
  • Step S903 according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device, determine the target X-ray image collected by the security inspection device including the package to be detected.
  • Step S904 establishing a corresponding relationship between the package to be detected, the target person and the X-ray image of the target.
  • step S901-step S904 are the same as the above-mentioned step S101-step S104.
  • Step S905 when it is detected that the package in the X-ray image of the target contains abnormal items, an alarm message is output based on the correspondence between the package to be detected, the target person, and the X-ray image of the target.
  • the above-mentioned X-ray detection module can perform abnormality detection on the items contained in the package in the X-ray image for each collected X-ray image.
  • the X-ray detection module detects that the package in the above-mentioned target X-ray image contains abnormal items, such as the above-mentioned prohibited items
  • the X-ray detection module can establish the relationship between the package to be detected, the target person, and the target X-ray image according to the information association module. The corresponding relationship, the output shows the alarm message.
  • the above-mentioned warning message is generated according to the corresponding relationship among the above-mentioned package to be detected, the target person and the target X-ray image.
  • the above-mentioned warning message can wrap the above-mentioned X-ray image of the target, the personnel information of the target person, the package image of the package to be detected, etc., which will help the detection personnel to accurately determine the location of the abnormal item when seeing the warning message.
  • the package, and the owner of the package that is, the above-mentioned target person, thereby improving the safety of aircraft, trains, etc., and protecting the lives of other passengers.
  • FIG. 10 is a signaling diagram of the information association process provided by the embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an information association module provided by an embodiment of the present application.
  • Step S1001 the binocular camera collects the monitoring image at the entrance of the security inspection equipment.
  • Step S1002 when the pressure sensor detects that the target person puts the package to be detected on the conveyor belt, a pressure signal is generated, and the pressure signal is sent to the pressure analysis module.
  • step S1003 the pressure analysis module sends trigger signals to the image analysis module and the face capture module respectively according to the received pressure signal.
  • the pressure analysis module can also determine the position of the package to be detected on the conveyor belt according to the position of the pressure signal detected by the pressure sensor, and determine the position of the package to be detected according to the corresponding relationship between the preset pressure signal and the pressure value.
  • the package weight of the package, and the determined location and package weight of the package to be detected are sent to the information association module through the image analysis module.
  • Step S1004 after the image analysis module receives the trigger signal, it acquires the monitoring image collected by the binocular camera when the pressure sensor detects the package.
  • Step S1005 the image analysis module determines the package to be detected in the acquired monitoring image, and obtains the package characteristics of the package to be detected in the monitoring image.
  • the aforementioned package characteristics may include package size, package color, package shape, and the like.
  • Step S1006 the image analysis module sends the acquired monitoring image and the package features of the package to be detected to the information association module.
  • Step S1007 after receiving the trigger signal, the face capture module captures the face of the person at the entrance of the security inspection device to obtain a face capture image.
  • the above-mentioned face capture module can also analyze the face capture image of each person to obtain the personnel information of each person.
  • Step S1008 the information association module determines the person closest to the package to be detected in the monitoring image as the target person to whom the package to be detected belongs, and establishes a correspondence between the package to be detected and the target person according to the target person to whom the package to be detected belongs.
  • the information association module can use the personnel and package association unit shown in Figure 11 to determine the person closest to the package to be detected in the monitoring image as the package to be detected belong to the target person.
  • the person and package association unit can obtain the face capture image and personnel information of the target person to whom the package to be detected belongs from the above-mentioned face capture module, and according to the face capture image and personnel information of the target person, the package image of the package to be detected, and The first package feature of the package to be detected establishes the correspondence between the package to be detected and the target person.
  • Step S1009 the X-ray detection module collects X-ray images in the detection area, and performs abnormality detection on the collected X-ray images.
  • step S1010 the information association module determines the target X-ray image collected by the security inspection device including the package to be detected according to the location of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device.
  • the package and X-ray image associating unit shown in FIG. 11 can obtain the information including the package to be detected from the X-ray detection module according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device.
  • the package and X-ray image association unit After determining that the package and X-ray image association unit includes the target X-ray image of the package to be detected, the package image of the package to be detected, the first package feature of the package to be detected, the target X-ray image, and the first package feature of the target X-ray image Two package features, establishing the corresponding relationship between the package to be detected and the target X-ray image.
  • step S1011 the information association module establishes the corresponding relationship between the package to be detected, the target person and the X-ray image of the target.
  • the personnel, package and X-ray image association unit shown in Figure 11 can be based on the correspondence between the package to be detected and the target person established by the personnel and package association unit, and the to-be-detected relationship established by the package and X-ray association unit.
  • the corresponding relationship between the package and the target X-ray image establishes the corresponding relationship among the package to be detected, the target person and the target X-ray image.
  • step S1012 the information association module stores the corresponding relationship among the package to be detected, the target person and the target X-ray image in the information storage module.
  • FIG. 12 is a schematic structural diagram of an information associating device provided in an embodiment of the present application.
  • the device is the above security inspection equipment.
  • the security inspection equipment may include the following modules.
  • the first acquiring module 1201 is configured to acquire the monitoring image at the entrance of the security inspection equipment
  • the first determining module 1202 is configured to determine the package to be detected in the surveillance image and the target person to whom the package to be detected belongs;
  • the second determining module 1203 is configured to determine the target X-ray image collected by the security inspection equipment including the package to be detected according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device;
  • the establishment module 1204 is used to establish the correspondence between the package to be detected, the target person and the X-ray image of the target.
  • a pressure sensor may be included on the conveyor belt of the above-mentioned security inspection equipment;
  • the above-mentioned first acquisition module 1201 can be specifically configured to acquire the monitoring image at the entrance of the security inspection device collected at the current moment when the pressure sensor detects that there is a package placed on the conveyor belt.
  • the above-mentioned first determining module 1202 may specifically be used to determine the package on the conveyor belt of the security inspection equipment in the monitoring image as the package to be detected;
  • the person closest to the package to be detected in the surveillance image is determined as the target person to whom the package to be detected belongs.
  • the above-mentioned second determination module 1203 may include:
  • the first determination sub-module is used to determine the distance between the package to be detected and the detection area according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device;
  • the second determination submodule is used to determine the time range for the package to be detected to be transmitted to the detection area based on the determined distance and the transmission speed of the conveyor belt;
  • the third determination sub-module is used to determine the target X-ray image collected by the security inspection device including the package to be detected from the X-ray images collected by the security inspection device within the time range.
  • a pressure sensor may be included on the conveyor belt of the above-mentioned security inspection equipment;
  • the above-mentioned information association device may also include:
  • the identification module is used to identify the monitoring image, and obtain the placement position of the package to be detected on the conveyor belt of the security inspection device; and/or
  • the third determination module is configured to determine the position of the pressure signal detected by the pressure sensor as the placement position of the package to be detected on the conveyor belt.
  • the above-mentioned information association device may also include:
  • the second acquisition module is used to obtain the first package feature of the package to be detected in the monitoring image before determining the target X-ray image collected by the security inspection device including the package to be detected from the X-ray images collected by the security inspection device within the time range;
  • the third determination sub-module is specifically used to obtain the second package characteristics of the package in each X-ray image collected by the security inspection equipment within the time range;
  • the features of the first package are matched with the features of the second package in each X-ray image to obtain the target X-ray image collected by the security inspection equipment including the package to be detected.
  • the above-mentioned package features may include multi-dimensional features
  • the third determination sub-module is specifically used to calculate the weighted sum of the matching confidence degrees corresponding to each feature dimension in the second package feature of the X-ray image and the first package feature for each X-ray image, to obtain the X-ray The matching confidence between the package in the image and the package to be detected;
  • a logical judgment is made on each X-ray image to determine the target collected by the security inspection equipment, including the package to be detected X-ray image.
  • the aforementioned package characteristics may include one or more of package weight, package size and package shape.
  • the above-mentioned establishment module 1204 can be specifically used to obtain the package image and the person image of the target person before the package to be detected enters the detection area; based on the package image, person image and target X-ray image, establish The corresponding relationship with the target X-ray image.
  • the above-mentioned information association device may also include:
  • the alarm module is configured to output an alarm message based on the correspondence between the package to be detected, the target person, and the target X-ray image when it is detected that the package in the target X-ray image contains abnormal items.
  • the target person to whom the package to be detected in the monitoring image belongs can be determined, that is, the target person associated with the package to be detected can be determined.
  • the target X-ray image collected by the security inspection device including the package to be detected can be determined, that is, it can be determined that the package to be detected is associated with X-ray image of the target.
  • the association of packages, personnel and X-ray images is realized, which makes the modification cost of security inspection equipment lower .
  • the target personnel only need to place the package on the conveyor belt, and the security inspection equipment can automatically associate the package, personnel and X-ray images, that is, complete the information association process without the personnel being aware of it. This does not affect the personnel security screening process.
  • FIG. 13 is a fourth structural schematic diagram of the security inspection device provided by the embodiment of the present application.
  • the security inspection equipment may include a camera 1301, a conveyor belt 1302, an image analysis module 1303, an X-ray detection module 1304, and an information association module 1305; the conveyor belt 1302 may include a pressure sensor 1306:
  • the above-mentioned camera 1301 is used to obtain the monitoring image at the entrance of the security inspection equipment collected at the current moment when the pressure sensor 1306 detects that there is a package placed on the conveyor belt 1302;
  • the above-mentioned conveyor belt 1302 is used for conveying parcels
  • the above-mentioned image analysis module 1303 is used to obtain the monitoring image; determine the package to be detected in the monitoring image;
  • the above-mentioned X-ray detection module 1304 is used to collect the X-ray image of the package when the package on the conveyor belt 1302 is transported to the detection area, and perform abnormal detection on the package based on the X-ray image;
  • the above-mentioned information association module 1305 is used to determine the target person to whom the package to be detected belongs in the monitoring image; according to the placement position of the package to be detected on the conveyor belt 1302 of the security inspection equipment, and the position of the detection area of the security inspection equipment, determine the information collected by the security inspection equipment.
  • Target X-ray image of the package to be detected establish correspondence between the package to be detected, the target person and the target X-ray image.
  • the above-mentioned security inspection equipment may also include a pressure analysis module, a face capture module, an information storage module and an information display module;
  • the above-mentioned pressure analysis module is used to obtain the pressure signal generated by the pressure sensor 1306 when the package to be detected is placed on the conveyor belt 1302, and determine the pressure signal generated by the pressure sensor 1306 according to the preset corresponding relationship between the pressure signal and the pressure value The corresponding pressure value is used as the package weight of the package to be detected;
  • the above-mentioned face capture module is used to capture the face of the person at the entrance of the security inspection equipment when the pressure sensor 1306 detects that there is a package placed on the conveyor belt 1302;
  • the above-mentioned information storage module is used to store the corresponding relationship between the package to be detected, the target person and the target X-ray image;
  • the above information display module is configured to output an alarm message based on the correspondence between the package to be detected, the target person and the target X-ray image when it is detected that the package in the target X-ray image contains abnormal items.
  • the target person to whom the package to be detected in the monitoring image belongs can be determined, that is, the target person associated with the package to be detected can be determined.
  • the target X-ray image collected by the security inspection device including the package to be detected can be determined, that is, it can be determined that the package to be detected is associated with X-ray image of the target.
  • the association of packages, personnel and X-ray images is realized, which makes the modification cost of security inspection equipment lower .
  • the target personnel only need to place the package on the conveyor belt, and the security inspection equipment can automatically associate the package, personnel and X-ray images, that is, complete the information association process without the personnel being aware of it. This does not affect the personnel security screening process.
  • the embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored in the computer-readable storage medium, and the computer program is The processor implements the steps of any one of the above information association methods when executed.
  • the embodiments of the present application also provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute any of the above-mentioned embodiments.
  • An information association method is provided by the above-mentioned embodiments of the present application.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).
  • SSD Solid State Disk

Abstract

An information association method and apparatus, a security inspection device, and a storage medium. The method comprises: obtaining a monitoring image of an entrance of a security inspection device (S101); determining a package to be inspected and a target person to which said package belongs in the monitoring image (S102); determining, according to a placement position of said package on a conveyor belt of the security inspection device and the position of an inspection area of the security inspection device, a target X-ray image acquired by the security inspection device, wherein the target X-ray image comprises said package (S103); and establishing a correspondence among said package, the target person, and the target X-ray image (S104). Since the association process is directly performed by the security inspection device on the basis of the acquired monitoring image and X-ray image, the method does not need manual participation, such that a time required by manual association is saved, the possibility of errors in manual association in a scenario with relatively high human traffic or a relatively complex environment is reduced, and the accuracy of information association is improved.

Description

一种信息关联方法、装置、安检设备及存储介质An information association method, device, security inspection equipment and storage medium
本申请要求于2021年6月9日提交中国专利局、申请号为202110644127.7发明名称为“一种信息关联方法、装置、安检设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110644127.7 submitted to the China Patent Office on June 9, 2021. incorporated in this application.
技术领域technical field
本申请涉及互联网技术领域,特别是涉及一种信息关联方法、装置、安检设备及存储介质。The present application relates to the technical field of the Internet, in particular to an information association method, device, security inspection equipment and storage medium.
背景技术Background technique
随着社会的不断进步和民众对关键场所安全性的关注不断提升,安检设备的应用越来越广泛。如火车站、机场等场所中均设置有安检设备。人员将携带的包裹放置在安检设备的传送带上,安检设备借助传送带将包裹传送至X光(X射线)检测区域,从而完成对包裹中的物品的异常检测,例如检测包裹中是否携带有违禁物品。With the continuous progress of society and the continuous improvement of people's attention to the safety of key places, the application of security inspection equipment is becoming more and more extensive. Such as railway stations, airports and other places are equipped with security equipment. Personnel place the package carried on the conveyor belt of the security inspection equipment, and the security inspection equipment uses the conveyor belt to transmit the package to the X-ray (X-ray) detection area, thereby completing the abnormal detection of the items in the package, such as detecting whether there are prohibited items in the package .
上述检测过程中,传动带上的包裹信息的检测与人员监测过程是相互独立的,这使得检测得到的包裹信息和监测得到的人员信息之间的关联性较差。因此,在检测到包裹中包含有异常物品时,需要人工确定异常包裹所关联的目标人员。例如,在检测到某一包裹包含有违禁物品时,检测人员通过人工关联的方式确定该包裹的主人,即上述目标人员,从而降低该目标人员将违禁物品带上飞机或火车所造成的安全隐患。然而,针对人流量较多或者环境较为复杂的场景,人工关联所需的时长以及关联难度将大大增加,这将严重影响信息关联的效率和准确性。In the above detection process, the detection of the package information on the transmission belt and the personnel monitoring process are independent of each other, which makes the correlation between the detected package information and the monitored personnel information poor. Therefore, when it is detected that the package contains abnormal items, it is necessary to manually determine the target person associated with the abnormal package. For example, when a package is detected to contain prohibited items, the inspectors will determine the owner of the package through manual association, that is, the above-mentioned target person, thereby reducing the potential safety hazard caused by the target person bringing the prohibited items onto the plane or train . However, for scenes with a large flow of people or a more complex environment, the time required for manual association and the difficulty of association will be greatly increased, which will seriously affect the efficiency and accuracy of information association.
发明内容Contents of the invention
本申请实施例的目的在于提供一种信息关联方法、装置、安检设备及存储介质,以提高信息关联效率和准确性。具体技术方案如下:The purpose of the embodiments of the present application is to provide an information association method, device, security inspection equipment, and storage medium, so as to improve the efficiency and accuracy of information association. The specific technical scheme is as follows:
本申请实施例提供了一种信息关联方法,应用于安检设备,所述方法包括:An embodiment of the present application provides an information association method, which is applied to security inspection equipment, and the method includes:
获取所述安检设备入口处的监控图像;Acquiring the monitoring image at the entrance of the security inspection equipment;
确定所述监控图像中的待检测包裹以及所述待检测包裹所属的目标人员;determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs;
根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置,确定所述安检设备采集的包括所述待检测包裹的目标X光图像;According to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, determine the target X-ray image collected by the security inspection device including the package to be detected;
建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系。A corresponding relationship between the package to be detected, the target person, and the target X-ray image is established.
可选的,所述安检设备的传送带上包括压力传感器;Optionally, the conveyor belt of the security inspection equipment includes a pressure sensor;
所述获取所述安检设备入口处的监控图像的步骤,包括:The step of acquiring the monitoring image at the entrance of the security inspection equipment includes:
在通过所述压力传感器检测到存在包裹被放置在所述传送带上时,获取当前时刻采集到的所述安检设备入口处的监控图像。When it is detected by the pressure sensor that there is a package placed on the conveyor belt, the monitoring image at the entrance of the security inspection device collected at the current moment is acquired.
可选的,所述确定所述监控图像中的待检测包裹以及所述待检测包裹所属的目标人员的步骤,包括:Optionally, the step of determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs includes:
将所述监控图像中所述安检设备的传送带上的包裹,确定为待检测包裹;Determining the package on the conveyor belt of the security inspection device in the monitoring image as the package to be detected;
将所述监控图像中距离所述待检测包裹最近的人员,确定为所述待检测包裹所属的目标人员。The person closest to the package to be detected in the monitoring image is determined as the target person to whom the package to be detected belongs.
可选的,所述根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置,确定所述安检设备采集的包括所述待检测包裹的目标X光图像的步骤,包括:Optionally, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, the target collected by the security inspection device including the package to be detected is determined. Steps for X-ray images, including:
根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置, 确定所述待检测包裹与所述检测区域间的距离;determining the distance between the package to be detected and the detection area according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device;
基于所确定的距离以及所述传送带的传送速度,确定所述待检测包裹传送至所述检测区域的时间范围;Based on the determined distance and the transmission speed of the conveyor belt, determine the time range for the package to be detected to be transmitted to the detection area;
从所述时间范围内所述安检设备采集的X光图像中,确定所述安检设备采集的包括所述待检测包裹的目标X光图像。From the X-ray images collected by the security inspection equipment within the time range, determine a target X-ray image collected by the security inspection equipment that includes the package to be inspected.
可选的,所述安检设备的传送带上包括压力传感器;Optionally, the conveyor belt of the security inspection equipment includes a pressure sensor;
所述方法还包括:The method also includes:
对所述监控图像进行识别,得到所述待检测包裹在所述安检设备的传送带上的放置位置;和/或Recognizing the monitoring image to obtain the placement position of the package to be detected on the conveyor belt of the security inspection device; and/or
将所述压力传感器检测到的压力信号的位置,确定为所述待检测包裹在所述传送带上的放置位置。The position of the pressure signal detected by the pressure sensor is determined as the placement position of the package to be detected on the conveyor belt.
可选的,在从所述时间范围内所述安检设备采集的X光图像中,确定所述安检设备采集的包括所述待检测包裹的目标X光图像之前,还包括:Optionally, before determining the target X-ray image collected by the security inspection device including the package to be detected from the X-ray images collected by the security inspection device within the time range, the method further includes:
获取所述监控图像中所述待检测包裹的第一包裹特征;Acquiring the first package feature of the package to be detected in the monitoring image;
所述从所述时间范围内所述安检设备采集的X光图像中,确定所述安检设备采集的包括所述待检测包裹的目标X光图像的步骤,包括:The step of determining, from the X-ray images collected by the security inspection equipment within the time range, the target X-ray images collected by the security inspection equipment that include the package to be detected includes:
获取所述时间范围内所述安检设备采集的每一张X光图像中包裹的第二包裹特征;Obtain the second package feature of the package in each X-ray image collected by the security inspection equipment within the time range;
将所述第一包裹特征与每一张X光图像中包裹的第二包裹特征进行匹配,得到所述安检设备采集的包括所述待检测包裹的目标X光图像。The first package feature is matched with the second package feature of the package in each X-ray image to obtain a target X-ray image collected by the security inspection device including the package to be detected.
可选的,所述包裹特征包括多维特征;Optionally, the package features include multi-dimensional features;
所述将所述第一包裹特征与每一张X光图像中包裹的第二包裹特征进行匹配,得到所述安检设备采集的包括所述待检测包裹的目标X光图像的步骤,包括:The step of matching the characteristics of the first package with the characteristics of the second package in each X-ray image to obtain the target X-ray image collected by the security inspection equipment and including the package to be detected includes:
针对每一张X光图像,计算该X光图像的第二包裹特征与所述第一包裹特征中每一特征维度对应的匹配置信度的加权和,得到该X光图像中的包裹与所述待检测包裹间的匹配置信度;For each X-ray image, calculate the weighted sum of the matching confidence degrees corresponding to the second package feature of the X-ray image and each feature dimension in the first package feature, and obtain the package in the X-ray image and the The matching confidence between the packages to be detected;
基于每一张X光图像中的包裹与所述待检测包裹间的匹配置信度,以及所述待检测包裹所属的目标人员,对所述每一X光图像进行逻辑判断,确定所述安检设备采集的包括所述待检测包裹的目标X光图像。Based on the matching confidence between the package in each X-ray image and the package to be detected, and the target person to whom the package to be detected belongs, perform a logical judgment on each X-ray image to determine the security inspection equipment The collected target X-ray image includes the package to be detected.
可选的,所述包裹特征包括包裹重量、包裹大小和包裹形状中的一种或多种。Optionally, the package features include one or more of package weight, package size and package shape.
可选的,所述建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系的步骤,包括:Optionally, the step of establishing the corresponding relationship between the package to be detected, the target person and the target X-ray image includes:
获取所述待检测包裹进入所述检测区域前的包裹图像和所述目标人员的人员图像;Acquiring the image of the package before the package to be detected enters the detection area and the person image of the target person;
基于所述包裹图像、所述人员图像和所述目标X光图像,建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系。Based on the package image, the person image, and the target X-ray image, a corresponding relationship between the package to be detected, the target person, and the target X-ray image is established.
可选的,所述方法还包括:Optionally, the method also includes:
在检测到所述目标X光图像中的包裹包含有异常物品时,基于所述待检测包裹、所述目标人员和所述目标X光图像的对应关系,输出告警消息。When it is detected that the package in the X-ray image of the target contains abnormal items, an alarm message is output based on the correspondence between the package to be detected, the person of the target, and the X-ray image of the target.
本申请实施例还提供了一种信息关联装置,应用于安检设备,所述装置包括:The embodiment of the present application also provides an information association device, which is applied to security inspection equipment, and the device includes:
第一获取模块,用于获取所述安检设备入口处的监控图像;The first acquisition module is used to acquire the monitoring image at the entrance of the security inspection equipment;
第一确定模块,用于确定所述监控图像中的待检测包裹以及所述待检测包裹所属的目标人员;A first determining module, configured to determine the package to be detected in the surveillance image and the target person to whom the package to be detected belongs;
第二确定模块,用于根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设 备的检测区域的位置,确定所述安检设备采集的包括所述待检测包裹的目标X光图像;The second determining module is configured to determine the information collected by the security inspection equipment including the package to be detected according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device. Target X-ray image;
建立模块,用于建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系。An establishment module, configured to establish correspondence between the package to be detected, the target person, and the target X-ray image.
本申请实施例还提供了一种安检设备,所述安检设备包括摄像头、传送带、图像分析模块、X光检测模块和信息关联模块;所述传送带上包括压力传感器:The embodiment of the present application also provides a security inspection device, which includes a camera, a conveyor belt, an image analysis module, an X-ray detection module, and an information association module; the conveyor belt includes a pressure sensor:
所述摄像头,用于在通过所述压力传感器检测到存在包裹被放置在所述传送带上时,获取当前时刻采集到的所述安检设备入口处的监控图像;The camera is used to acquire the monitoring image at the entrance of the security inspection equipment collected at the current moment when the pressure sensor detects that there is a package placed on the conveyor belt;
所述传送带,用于传送包裹;The conveyor belt is used for conveying parcels;
所述图像分析模块,用于获取所述监控图像;确定所述监控图像中的待检测包裹;The image analysis module is used to acquire the monitoring image; determine the package to be detected in the monitoring image;
所述X光检测模块,用于在所述传送带上的包裹传输至检测区域时,采集所述包裹的X光图像,并基于所述X光图像,对所述包裹进行异常检测;The X-ray detection module is configured to collect an X-ray image of the package when the package on the conveyor belt is transported to the detection area, and perform abnormal detection on the package based on the X-ray image;
所述信息关联模块,用于确定所述监控图像中所述待检测包裹所属的目标人员;根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置,确定所述安检设备采集的包括所述待检测包裹的目标X光图像;建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系。The information association module is configured to determine the target person to whom the package to be detected belongs in the monitoring image; according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the detection area of the security inspection device Determine the location of the target X-ray image collected by the security inspection equipment including the package to be detected; establish a corresponding relationship between the package to be detected, the target person, and the target X-ray image.
可选的,所述安检设备还包括压力分析模块、人脸抓拍模块、信息存储模块和信息显示模块;Optionally, the security inspection device also includes a pressure analysis module, a face capture module, an information storage module and an information display module;
所述压力分析模块,用于获取所述待检测包裹被放置在传送带上时,所述压力传感器生成的压力信号,并根据预设的压力信号与压力值间的对应关系,确定所述压力传感器生成的压力信号对应的压力值,作为所述待检测包裹的包裹重量;The pressure analysis module is configured to obtain the pressure signal generated by the pressure sensor when the package to be detected is placed on the conveyor belt, and determine the pressure sensor pressure signal according to the preset correspondence between the pressure signal and the pressure value. The pressure value corresponding to the generated pressure signal is used as the package weight of the package to be detected;
所述人脸抓拍模块,用于在通过所述压力传感器检测到存在包裹被放置在所述传送带上时,对所述安检设备入口处人员的人脸进行抓拍;The face capture module is used to capture the face of the person at the entrance of the security inspection device when the pressure sensor detects that a package is placed on the conveyor belt;
所述信息存储模块,用于存储所述待检测包裹、所述目标人员和所述目标X光图像的对应关系;The information storage module is used to store the corresponding relationship between the package to be detected, the target person and the target X-ray image;
所述信息显示模块,用于在检测到所述目标X光图像中的包裹包含有异常物品时,基于所述待检测包裹、所述目标人员和所述目标X光图像的对应关系,输出告警消息。The information display module is configured to output an alarm based on the correspondence between the package to be detected, the target person, and the target X-ray image when detecting that the package in the target X-ray image contains abnormal items information.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一所述的信息关联方法步骤。The embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the information association methods described above are implemented.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的信息关联方法。The embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any one of the information association methods described above.
本申请实施例有益效果:Beneficial effects of the embodiment of the application:
本申请实施例提供的信息关联方法、装置、安检设备及存储介质,通过获取安检设备入口处的监控图像,可以确定该监控图像中的待检测包裹所属的目标人员,即确定待检测包裹所关联的目标人员。另外,根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,可以确定安检设备采集到的包括待检测包裹的目标X光图像,即确定待检测包裹所关联到的目标X光图像。这使得安检设备可以根据待检测包裹所属的目标人员,以及包括待检测包裹的目标X光图像,建立待检测包裹、目标人员以及目标X光图像间的对应关系,即将包裹、人员和X光图像三者进行关联。由于该关联过程直接有由安检设备基于采集到的监控图像和X光图像进行的,不需要人工参与,节约了人工关联所需的时间,降低了人流量较多或环境较为复杂的场景人工关联出现错误的可能性,提高了信息关联的效率的准确性。The information association method, device, security inspection equipment, and storage medium provided in the embodiments of the present application can determine the target person to whom the package to be inspected in the surveillance image belongs to by obtaining the monitoring image at the entrance of the security inspection equipment, that is, determine the person who is associated with the package to be inspected. target personnel. In addition, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, the target X-ray image collected by the security inspection device including the package to be detected can be determined, that is, it can be determined that the package to be detected is associated with X-ray image of the target. This enables the security inspection equipment to establish the correspondence between the package to be detected, the target person, and the target X-ray image according to the target person to whom the package to be detected belongs, and the target X-ray image including the package to be detected, that is, the package, person and X-ray image The three are connected. Since the association process is directly carried out by the security inspection equipment based on the collected monitoring images and X-ray images, no manual participation is required, which saves the time required for manual association, and reduces manual association in scenes with a large number of people or complex environments Possibility of errors increases the accuracy of the efficiency of information association.
另外,采用本申请实施例提供的技术方案,通过在相关的安检设备的基础上进行较小的改装,实现对包裹、人员和X光图像三者进行关联,这使得安检设备的改装成本较低。并且,整个信息关联过程中,目标人员仅需将包裹放置在传输带上,安检设备即可自动对包裹、人员和X光图像进行关联,也就是在人员未感知的情况下完成信息关联过程,这并不影响人员安检过程。In addition, by adopting the technical solution provided by the embodiment of the present application, by making minor modifications on the basis of related security inspection equipment, the association of packages, personnel and X-ray images is realized, which makes the modification cost of security inspection equipment lower . Moreover, during the entire information association process, the target personnel only need to place the package on the conveyor belt, and the security inspection equipment can automatically associate the package, personnel and X-ray images, that is, complete the information association process without the personnel being aware of it. This does not affect the personnel security screening process.
当然,实施本申请的任一产品或方法并不一定需要同时达到以上所述的所有优点。Of course, implementing any product or method of the present application does not necessarily need to achieve all the above-mentioned advantages at the same time.
附图说明Description of drawings
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application and the prior art, the following briefly introduces the accompanying drawings required in the embodiments and the prior art. Obviously, the accompanying drawings in the following description are only the present invention. For some embodiments of the application, those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本申请实施例提供的信息关联方法的第一种流程示意图;FIG. 1 is a schematic flow chart of the first information association method provided by the embodiment of the present application;
图2为本申请实施例提供的安检设备的第一种结构示意图;Fig. 2 is a schematic structural diagram of the first type of security inspection equipment provided by the embodiment of the present application;
图3为本申请实施例提供的安检设备的第二种结构示意图;Fig. 3 is a second structural schematic diagram of the security inspection equipment provided by the embodiment of the present application;
图4为本申请实施例提供的安检设备的第三种结构示意图;FIG. 4 is a schematic diagram of the third structure of the security inspection equipment provided by the embodiment of the present application;
图5为本申请实施例提供的信息关联方法的第二种流程示意图;Fig. 5 is a second schematic flow chart of the information association method provided by the embodiment of the present application;
图6为本申请实施例提供的待检测包裹传送的一种示意图;FIG. 6 is a schematic diagram of the transmission of the package to be detected provided by the embodiment of the present application;
图7为本申请实施例提供的信息关联方法的第三种流程示意图;FIG. 7 is a schematic flowchart of a third information association method provided by the embodiment of the present application;
图8为本申请实施例提供的压力分析模块的一种示意图;FIG. 8 is a schematic diagram of a pressure analysis module provided in an embodiment of the present application;
图9为本申请实施例提供的异常告警方法的一种流程示意图;FIG. 9 is a schematic flow chart of an abnormality warning method provided by an embodiment of the present application;
图10为本申请实施例提供的信息关联过程的一种信令图;FIG. 10 is a signaling diagram of the information association process provided by the embodiment of the present application;
图11为本申请实施例提供的信息关联模块的一种结构示意图;FIG. 11 is a schematic structural diagram of an information association module provided by an embodiment of the present application;
图12为本申请实施例提供的信息关联装置的一种结构示意图;FIG. 12 is a schematic structural diagram of an information association device provided by an embodiment of the present application;
图13为本申请实施例提供的安检设备的第四种结构示意图。FIG. 13 is a schematic diagram of a fourth structure of the security inspection device provided by the embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and examples. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
为了解决相关技术中人工关联所带来的效率和准确性问题,本申请实施例提供的一种信息关联方法。该方法应用于安检设备。如图1所示,如图1所示,图1为本申请实施例提供的信息关联方法的第一种流程示意图。该方法应用于上述安检设备,具体包括以下步骤。In order to solve the efficiency and accuracy problems caused by manual association in related technologies, an information association method is provided in the embodiment of the present application. The method is applied to security inspection equipment. As shown in FIG. 1 , as shown in FIG. 1 , FIG. 1 is a schematic flow chart of the first information association method provided by the embodiment of the present application. The method is applied to the above-mentioned security inspection equipment, and specifically includes the following steps.
步骤S101,获取安检设备入口处的监控图像。Step S101, acquiring the monitoring image at the entrance of the security inspection equipment.
步骤S102,确定监控图像中的待检测包裹以及待检测包裹所属的目标人员。Step S102, determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs.
步骤S103,根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,确定安检设备采集的包括待检测包裹的目标X光图像。Step S103, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, determine the target X-ray image collected by the security inspection device including the package to be detected.
步骤S104,建立待检测包裹、目标人员和目标X光图像的对应关系。Step S104, establishing a correspondence between the package to be detected, the target person, and the X-ray image of the target.
上述安检设备可以为安检机,其中,安检机也可以称为安检仪、安检X光机、行李安检机、通道式X光机等。安检机是借助于传送带将被包裹送入X射线检查通道(即检测区域),从而完成对包裹中 物品进行检测的电子设备。在本申请实施例中,对上述安检设备不作具体限定。The above-mentioned security inspection equipment may be a security inspection machine, wherein the security inspection machine may also be called a security inspection instrument, a security X-ray machine, a luggage security inspection machine, a channel-type X-ray machine, and the like. The security inspection machine is an electronic device that sends the package into the X-ray inspection channel (that is, the detection area) by means of a conveyor belt, thereby completing the detection of the items in the package. In the embodiment of the present application, no specific limitation is imposed on the above-mentioned security inspection equipment.
为便于理解,以图2为例对上述安检设备进行说明。图2为本申请实施例提供的安检设备的第一种结构示意图。上述安检设备至少可以包括传动带、压力传感器、双目摄像头、图像分析模块、X光检测模块和信息关联模块。在图2所示的安检设备中并未示出上述传送带。For ease of understanding, the above security inspection equipment will be described by taking FIG. 2 as an example. Fig. 2 is a schematic structural diagram of the first type of security inspection equipment provided by the embodiment of the present application. The aforementioned security inspection equipment may at least include a transmission belt, a pressure sensor, a binocular camera, an image analysis module, an X-ray detection module and an information correlation module. The above-mentioned conveyor belt is not shown in the security inspection device shown in FIG. 2 .
上述压力传感器分布在上述传送带上。图2所示双目摄像头、图像分析模块、X光检测模块和信息关联模块可以分布在同一硬件实体上,如上述安检机上。The above-mentioned pressure sensors are distributed on the above-mentioned conveyor belt. The binocular camera, image analysis module, X-ray detection module and information correlation module shown in Figure 2 can be distributed on the same hardware entity, such as the security inspection machine mentioned above.
在图2所示的实施例中,上述安检设备中的摄像头为双目摄像头。由于上述安检设备是在相关的安检设备的基础上进行较小的改装后得到的,例如,增加了上述信息关联模块等,因此,根据安检设备的具体应用场景的不同,相关的安检设备中的摄像头也有所不同,基于该相关的安检设备改装后得到的安检设备中的摄像头也有所不同。例如,上述安检设备中的摄像头还可以是红外摄像头等。在此,对上述安检设备中包括的摄像头不作具体限定。为便于描述,下文仅以双目摄像头为例进行说明,并不起任何限定的限定作用。In the embodiment shown in FIG. 2 , the cameras in the above-mentioned security inspection equipment are binocular cameras. Since the above-mentioned security inspection equipment is obtained after minor modification on the basis of related security inspection equipment, for example, the above-mentioned information association module is added, etc., therefore, according to the specific application scenarios of the security inspection equipment, the related security inspection equipment The cameras are also different, and the cameras in the security inspection equipment obtained after modification based on the relevant security inspection equipment are also different. For example, the camera in the above security inspection equipment may also be an infrared camera or the like. Here, the cameras included in the above security inspection equipment are not specifically limited. For ease of description, the following only uses a binocular camera as an example for illustration, and does not play any limiting role.
以图3为例进行说明,图3为本申请实施例提供的安检设备的第二种结构示意图。在图3中安检设备主要包括传送区域和检测区域,传送区域中分布有上述压力传感器和传送带。检测区域分布有上述双目摄像头、图像分析模块、X光检测模块和信息关联模块。在图3中箭头方向表示传送带的运动方向。Taking FIG. 3 as an example for illustration, FIG. 3 is a second structural schematic diagram of the security inspection device provided in the embodiment of the present application. In Fig. 3, the security inspection equipment mainly includes a transmission area and a detection area, and the above-mentioned pressure sensors and conveyor belts are distributed in the transmission area. The above-mentioned binocular camera, image analysis module, X-ray detection module and information association module are distributed in the detection area. In Fig. 3, the arrow direction indicates the moving direction of the conveyor belt.
在本申请实施例中,上述安检设备的传送带上分布有多个压力传感器,在此,对上述传送带上的压力传感器的数量以及分布方式不作具体限定。In the embodiment of the present application, a plurality of pressure sensors are distributed on the conveyor belt of the above-mentioned security inspection equipment. Here, the number and distribution method of the pressure sensors on the above-mentioned conveyor belt are not specifically limited.
针对上述安检设备除了上述图2所示的各个组件以外,还可以包括其他组件,如压力分析模块、人脸抓拍模块、信息存储模块和信息显示模块。具体如图4所示,图4为本申请实施例提供的安检设备的第三种结构示意图。关于上述安检设备中各个组件的功能可参见下文描述,在此不作赘述。In addition to the various components shown in FIG. 2 above, the above-mentioned security inspection equipment may also include other components, such as a stress analysis module, a face capture module, an information storage module, and an information display module. Specifically, as shown in FIG. 4 , FIG. 4 is a schematic diagram of a third structure of the security inspection device provided by the embodiment of the present application. For the functions of each component in the above-mentioned security inspection equipment, refer to the description below, and details are not repeated here.
通过本申请实施例提供的方法,通过获取安检设备入口处的监控图像,可以确定该监控图像中的待检测包裹所属的目标人员,即确定待检测包裹所关联的目标人员。另外,根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,可以确定安检设备采集到的包括待检测包裹的目标X光图像,即确定待检测包裹所关联到的目标X光图像。这使得安检设备可以根据待检测包裹所属的目标人员,以及包括待检测包裹的目标X光图像,建立待检测包裹、目标人员以及目标X光图像间的对应关系,即将包裹、人员和X光图像三者进行关联。由于该关联过程直接有由安检设备基于采集到的监控图像和X光图像进行的,不需要人工参与,节约了人工关联所需的时间,降低了人流量较多或环境较为复杂的场景人工关联出现错误的可能性,提高了信息关联的效率的准确性。Through the method provided in the embodiment of the present application, by acquiring the monitoring image at the entrance of the security inspection device, the target person to whom the package to be detected in the monitoring image belongs can be determined, that is, the target person associated with the package to be detected can be determined. In addition, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, the target X-ray image collected by the security inspection device including the package to be detected can be determined, that is, it can be determined that the package to be detected is associated with X-ray image of the target. This enables the security inspection equipment to establish the correspondence between the package to be detected, the target person, and the target X-ray image according to the target person to whom the package to be detected belongs, and the target X-ray image including the package to be detected, that is, the package, person and X-ray image The three are connected. Since the association process is directly carried out by the security inspection equipment based on the collected monitoring images and X-ray images, no manual participation is required, which saves the time required for manual association, and reduces manual association in scenes with a large number of people or complex environments Possibility of errors increases the accuracy of the efficiency of information association.
另外,采用本申请实施例提供的技术方案,通过在相关的安检设备的基础上进行较小的改装,实现对包裹、人员和X光图像三者进行关联,这使得安检设备的改装成本较低。并且,整个信息关联过程中,目标人员仅需将包裹放置在传输带上,安检设备即可自动对包裹、人员和X光图像进行关联,也就是在人员未感知的情况下完成信息关联过程,这并不影响人员安检过程。In addition, by adopting the technical solution provided by the embodiment of the present application, by making minor modifications on the basis of related security inspection equipment, the association of packages, personnel and X-ray images is realized, which makes the modification cost of security inspection equipment lower . Moreover, during the entire information association process, the target personnel only need to place the package on the conveyor belt, and the security inspection equipment can automatically associate the package, personnel and X-ray images, that is, complete the information association process without the personnel being aware of it. This does not affect the personnel security screening process.
下面通过具体的实施例,对本申请实施例进行说明。The embodiments of the present application will be described below through specific embodiments.
针对上述步骤S101,即获取安检设备入口处的监控图像。With regard to the above step S101, the monitoring image at the entrance of the security inspection device is acquired.
在本步骤中,上述双目摄像头可以实时对安检设备入口处进行图像采集,得到监控视频。该监控视频中包括多帧监控图像。上述图像分析模块可以从双目摄像头采集到的监控视频中获取监控图像。In this step, the above-mentioned binocular camera can collect images at the entrance of the security inspection equipment in real time to obtain surveillance video. The surveillance video includes multiple frames of surveillance images. The above image analysis module can obtain monitoring images from the monitoring video collected by the binocular camera.
上述安检设备入口处可以为上述传送带所在位置预设范围内的区域,也可以为安检设备检测区域前 预设范围内的区域。The entrance of the above-mentioned security inspection equipment can be the area within the preset range where the above-mentioned conveyor belt is located, or it can be the area within the preset range before the detection area of the security inspection equipment.
为便于理解,结合上述图3所示的安检设备为例。上述安检设备入口处可以为:图3所示的传送区域上侧、右侧和左侧2米范围内的区域。上述按安检设备入口处还可以表示为:图3所示的检测区域前(检测区域右侧)10米范围内的区域。在此,对上述安检设备入口处所对应的区域范围不作具体限定。For ease of understanding, the above security inspection equipment shown in FIG. 3 is taken as an example. The entrance of the above-mentioned security inspection equipment can be: the area within 2 meters on the upper side, right side and left side of the transmission area shown in FIG. 3 . The entrance of the above-mentioned security inspection equipment can also be expressed as: the area within 10 meters in front of the detection area (right side of the detection area) shown in FIG. 3 . Here, the range of the area corresponding to the entrance of the above-mentioned security inspection equipment is not specifically limited.
一个可选的实施例中,上述获取安检设备入口处的监控图像可以表示为:图像分析模块获取双目摄像头采集到的监控视频每一帧监控图像。In an optional embodiment, the acquisition of the monitoring image at the entrance of the security inspection device may be expressed as: the image analysis module acquires each frame of monitoring image of the monitoring video collected by the binocular camera.
另一个可选的实施例中,为了提高图像分析模块对获取到的监控图像的分析效率,节约图像分析模块的计算资源,上述获取安检设备入口处的监控图像可以表示为:在通过压力传感器检测到存在包裹被放置在传送带上时,获取双目摄像头在当前时刻采集到的安检设备入口处的监控图像。In another optional embodiment, in order to improve the analysis efficiency of the image analysis module on the acquired monitoring images and save the computing resources of the image analysis module, the above-mentioned acquisition of the monitoring image at the entrance of the security inspection device can be expressed as: after being detected by the pressure sensor When a package is placed on the conveyor belt, the monitoring image at the entrance of the security inspection equipment collected by the binocular camera at the current moment is obtained.
在上述实施例中,当压力传感器检测到包裹被放置在传送带上时,双目摄像头在当前时刻采集到的监控图像中一定包括包裹和至少一个人员。并且该监控图像包括的人员中一定存在包裹所属的目标人员。因此,图像分析模块通过获取这一时刻的监控图像,可以在保证获取到的监控图像一定存在待检测包裹的前提下,减少图像分析模块所需分析的监控图像的数量,提高了图像分析模块对监控图像的分析效率,节约了图像分析模块的计算资源。另外,由于这一时刻的监控图像中一定包括待检测包裹所属的目标人员,这也便于后期上述信息关联模块确定该监控图像中待检测包裹所属的目标人员,即便于确定包裹与人员间关联信息的确定,提高了包裹与人员间关联信息确定的效率及准确性。In the above embodiment, when the pressure sensor detects that the package is placed on the conveyor belt, the monitoring image collected by the binocular camera at the current moment must include the package and at least one person. And there must be a target person to whom the package belongs among the persons included in the surveillance image. Therefore, by obtaining the monitoring image at this moment, the image analysis module can reduce the number of monitoring images that the image analysis module needs to analyze under the premise that there must be a package to be detected in the acquired monitoring image, and improve the image analysis module. The analysis efficiency of the monitoring image saves computing resources of the image analysis module. In addition, since the monitoring image at this moment must include the target person to whom the package to be detected belongs, it is also convenient for the above-mentioned information association module to determine the target person to whom the package to be detected in the monitoring image belongs to later, that is, to determine the correlation information between the package and the person. The determination improves the efficiency and accuracy of determining the associated information between packages and personnel.
上述安检设备入口处可以包括为上述安检设备的传送带所在区域,以及该传送带周围预设范围内的区域。其中,传送带周围预设范围可以根据双目摄像头的拍摄范围和用户需求等进行调节,在此对上述安检设备入口处不作具体限定。The entrance of the above-mentioned security inspection equipment may include the area where the conveyor belt of the above-mentioned security inspection equipment is located, and the area within a preset range around the conveyor belt. Wherein, the preset range around the conveyor belt can be adjusted according to the shooting range of the binocular camera and user needs, and there is no specific limitation on the entrance of the above-mentioned security inspection equipment.
上述双目摄像头中的一个摄像头为可见光摄像头。关于另一个摄像头可以根据上述安检设备的应用场景以及用户需求的不同的进行选择。例如,上述双目摄像头中的另一个摄像头可以为热成像摄像头。再例如,上述双目摄像头中的另一个摄像头还可以为可见光摄像头或深度摄像头等。在此,对上述双目摄像头中除可见光摄像头以外的另一个摄像头的类别不作具体限定。One of the aforementioned binocular cameras is a visible light camera. Another camera can be selected according to the application scenarios of the above-mentioned security inspection equipment and different user needs. For example, another camera in the aforementioned binocular camera may be a thermal imaging camera. For another example, the other camera in the aforementioned binocular camera may also be a visible light camera or a depth camera. Here, there is no specific limitation on the category of the camera other than the visible light camera among the above-mentioned binocular cameras.
在本申请实施例中,由于上述双目摄像头中除可见光摄像头以外的另一个摄像头的类别的不确定性,上述图像分析模块所获取到的监控图像可以包括上述可见光摄像头所采集到的可见光图像。除此以外,还可以包括双目摄像头采集到的视差图。In the embodiment of the present application, due to the uncertainty of the category of the binocular camera other than the visible light camera, the monitoring image acquired by the image analysis module may include the visible light image acquired by the visible light camera. In addition, the disparity map collected by the binocular camera can also be included.
针对上述步骤S102,即确定监控图像中的待检测包裹以及待检测包裹所属的目标人员。For the above step S102, the package to be detected in the surveillance image and the target person to whom the package to be detected belongs are determined.
在本步骤中,上述安检设备中的图像分析模块可以对上述获取到的监控图像进行分析,确定监控图像中的待检测包裹。上述安检设备中的信息关联模块可以基于监控图像,确定待检测包裹所属的目标人员。In this step, the image analysis module in the above-mentioned security inspection equipment can analyze the above-mentioned obtained monitoring image, and determine the package to be detected in the monitoring image. The information association module in the above-mentioned security inspection equipment can determine the target person to whom the package to be inspected belongs based on the surveillance image.
一个可选的实施例中,上述步骤S102中的确定监控图像中的待检测包裹,具体可以表示为:In an optional embodiment, the determination of the package to be detected in the monitoring image in the above step S102 can specifically be expressed as:
上述图像分析模块将监控图像中安检设备的传送带上的包裹,确定为待检测包裹。The above image analysis module determines the package on the conveyor belt of the security inspection device in the monitoring image as the package to be detected.
例如,图像分析模块可以利用深度学习算法,对监控图像中传送带上的包裹进行识别,从而将识别出的包裹确定为待检测包裹。例如,图像分析模块可以根据监控图像中传送带的像素值与监控图像中包裹的像素值间的差异,识别出监控图像中的待检测包裹。For example, the image analysis module can use the deep learning algorithm to identify the package on the conveyor belt in the monitoring image, so as to determine the identified package as the package to be detected. For example, the image analysis module can identify the package to be detected in the monitoring image according to the difference between the pixel value of the conveyor belt in the monitoring image and the pixel value of the package in the monitoring image.
另一个可选的实施例中,当上述安检设备所在的环境的人流量较多或环境较为复杂时,上述安检设备的传送带上可能同时存在多个包裹,即监控图像中存在多个待检测包裹,此时,为了便于对每一待检 测包裹的区分,图像分析模块在确定监控图像中的待检测包裹时,还可以综合上述压力传感器检测到的压力信号的位置,确定待检测包裹。例如,图像分析模块可以将识别出的待检测包裹的所在的位置与压力传感器检测到的压力信号的位置一一对应,确定出传送带上的待检测包裹。In another optional embodiment, when the environment where the above-mentioned security inspection equipment is located has a large number of people or the environment is relatively complicated, there may be multiple packages on the conveyor belt of the above-mentioned security inspection equipment at the same time, that is, there are multiple packages to be detected in the monitoring image , at this time, in order to facilitate the distinction of each package to be detected, when the image analysis module determines the package to be detected in the monitoring image, it can also integrate the position of the pressure signal detected by the pressure sensor to determine the package to be detected. For example, the image analysis module can make a one-to-one correspondence between the identified position of the package to be detected and the position of the pressure signal detected by the pressure sensor, and determine the package to be detected on the conveyor belt.
在本申请实施例中,上述待检测包裹可以为监控图像中的任一包裹,在此,对上述监控图像中包括的待检测包裹的数量不作具体限定。为便于描述,本申请实施例中仅以一个待检测包裹进行说明,并不起任何限定作用。In the embodiment of the present application, the package to be detected may be any package in the surveillance image, and here, the number of packages to be detected included in the surveillance image is not specifically limited. For the convenience of description, in the embodiment of the present application, only one package to be detected is used for illustration, which does not serve as any limitation.
一个可选的实施例中,上述步骤S102中的确定监控图像中的待检测包裹所属的目标人员具体可以表示为:In an optional embodiment, the determination in the above step S102 of the target person to whom the package to be detected in the surveillance image belongs can specifically be expressed as:
上述信息关联模块可以将监控图像中距离待检测包裹最近的人员,确定为待检测包裹所属的目标人员。The above information association module can determine the person closest to the package to be detected in the monitoring image as the target person to whom the package to be detected belongs.
在本步骤中,上述图像分析模块可以将获取到的监控图像发送至上述信息关联模块。信息关联模块可以按照最近邻规则分类(K Nearest Neighbor,KNN)算法,确定监控图像中包括的每一人员与确定的待检测包裹间的距离,从而将距离该待检测包裹最近的人员确定为该检测包裹所属的目标人员。In this step, the above-mentioned image analysis module may send the acquired monitoring image to the above-mentioned information association module. The information association module can determine the distance between each person included in the monitoring image and the determined package to be detected according to the nearest neighbor rule classification (K Nearest Neighbor, KNN) algorithm, thereby determining the nearest person from the package to be detected as the Detect who the package belongs to.
一个可选的实施例中,上述监控图像中每一人员与确定的待检测包裹间的距离,可以根据监控图像中每一人员对应深度信息与待检测包裹间的深度信息计算得到。在此,对该距离的计算不作具体说明。In an optional embodiment, the distance between each person in the surveillance image and the determined package to be detected can be calculated according to the depth information corresponding to each person in the surveillance image and the depth information between the package to be detected. Here, the calculation of the distance is not specifically described.
一个可选的实施例中,当上述安检设备中的摄像头为上述双目摄像头时,上述深度信息可以根据双目摄像头间的视差计算得到。在此,对深度信息的计算不作具体说明。In an optional embodiment, when the camera in the above security inspection device is the above binocular camera, the above depth information may be calculated according to the parallax between the binocular cameras. Here, the calculation of the depth information will not be specifically described.
另一个可选的实施例中,当上述安检设备中的摄像头为其他类型的摄像头,如上述红外摄像头时,上述深度信息可以通过该摄像头与其他传感器的结合获得。例如,通过将红外摄像头与深度传感器结合可以确定监控图像中每一人员对应深度信息与待检测包裹的深度信息。In another optional embodiment, when the camera in the above-mentioned security inspection device is another type of camera, such as the above-mentioned infrared camera, the above-mentioned depth information can be obtained by combining the camera with other sensors. For example, by combining an infrared camera with a depth sensor, the depth information corresponding to each person in the surveillance image and the depth information of the package to be detected can be determined.
在本申请实施例中,对上述监控图像中每一人员对应深度信息和待检测包裹的深度信息确定方式不作具体限定。In the embodiment of the present application, there is no specific limitation on the method of determining the depth information corresponding to each person in the surveillance image and the depth information of the package to be detected.
一个可选的实施例中,信息关联模块在确定待检测包裹所属的目标人员时,可以建立待检测包裹与其所属目标人员间的对应关系。该对应关系中至少包括待检测包裹的包裹图像和目标人员的人员图像。关于包裹图像和人员图像的获取可参见下文描述,在此不作赘述。In an optional embodiment, when the information association module determines the target person to whom the package to be detected belongs, it may establish a correspondence between the package to be detected and the target person to which it belongs. The corresponding relationship includes at least the package image of the package to be detected and the person image of the target person. Regarding the acquisition of the package image and the person image, refer to the description below, and details are not repeated here.
在上述实施例中,当上述监控图像是根据压力传感器的检测结果获取的,也就是压力传感器检测到存在包裹被放置在传送带上时获取的,由于此时目标人员刚刚将包裹放置在传送带上,因此,该目标人员与包裹间的距离小于监控图像中其他人员与该包裹间的距离的可能性较大。这使得基于待检测包裹与人员间的距离所确定的目标人员的准确性将大大提高,从而提高了包裹与人员间关联信息的准确性。In the above-mentioned embodiment, when the above-mentioned monitoring image is obtained according to the detection result of the pressure sensor, that is, when the pressure sensor detects that there is a package placed on the conveyor belt, since the target person has just placed the package on the conveyor belt at this time, Therefore, it is more likely that the distance between the target person and the package is smaller than the distance between other persons and the package in the surveillance image. This greatly improves the accuracy of the target person determined based on the distance between the package to be detected and the person, thereby improving the accuracy of the associated information between the package and the person.
一个可选的实施例中,为了进一步提高上述目标人员确定的准确性,上述在确定监控图像中距离待检测包裹最近的人员后,可以基于上述监控图像,对该人员的行为进行追踪,从而确定该人员是否为待检测包裹所属的目标人员。In an optional embodiment, in order to further improve the accuracy of determining the target person, after determining the person closest to the package to be detected in the monitoring image, the behavior of the person can be tracked based on the monitoring image, so as to determine Whether the person is the target person to whom the package to be detected belongs.
一个可选的实施例中,根据上述图1所示的信息关联方法,本申请实施例还提供了一种信息关联方法。如图5所示,图5为本申请实施例提供的信息关联方法的第二种流程示意图。在图5所示的方法中,将上述步骤S103,即根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,确定安检设备采集的包括待检测包裹的目标X光图像,细化为以下步骤,即步骤S1031-步骤S1033。In an optional embodiment, according to the information association method shown in FIG. 1 above, this embodiment of the present application further provides an information association method. As shown in FIG. 5 , FIG. 5 is a schematic flowchart of a second information association method provided by the embodiment of the present application. In the method shown in Figure 5, the above step S103, that is, according to the placement position of the package to be detected on the conveyor belt of the security inspection device, and the position of the detection area of the security inspection device, determine the target X collected by the security inspection device including the package to be detected The light image is refined into the following steps, that is, step S1031-step S1033.
步骤S1031,根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置, 确定待检测包裹与检测区域间的距离。Step S1031, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device, determine the distance between the package to be detected and the detection area.
在本步骤中,上述图像分析模块可以根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域所在的位置,计算待检测包裹的放置位置与检测区域所在的位置间的距离,得到待检测包裹与检测区域间的距离。图像分析模块可以将确定的待检测包裹与检测区域间的距离发送给上述信息关联模块。In this step, the above image analysis module can calculate the distance between the location of the package to be detected and the location of the detection area according to the location of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device , to get the distance between the package to be detected and the detection area. The image analysis module can send the determined distance between the package to be detected and the detection area to the information association module.
一个可选的实施例中,上述待检测包裹与检测区域间的距离可以为一个具体的距离值。例如,上述待检测包裹与检测区域间的距离可以表示为:上述待检测包裹的放置位置的中心位置到检测区域所在位置的中心位置间的距离。In an optional embodiment, the distance between the package to be detected and the detection area may be a specific distance value. For example, the distance between the package to be detected and the detection area may be expressed as: the distance from the center of the location where the package to be detected is placed to the center of the detection area.
另一个可选的实施例中,上述待检测包裹与检测区域间的距离也可以为一个具体的距离范围。例如,该距离范围的最小值可以待检测包裹中最先进入检测区域一侧与检测区域所在区域间的距离,该距离范围的最大值可以为待检测包裹中最后离开检测区域一侧与检测区域所在区域间的距离。In another optional embodiment, the distance between the package to be detected and the detection area may also be a specific distance range. For example, the minimum value of the distance range can be the distance between the side of the package to be detected that first enters the detection area and the area where the detection area is located, and the maximum value of the distance range can be the distance between the side of the package to be detected that leaves the detection area and the detection area. The distance between the regions.
为便于理解,结合图6为例进行说明,图6为本申请实施例提供的待检测包裹传送的一种示意图。其中,位置B为检测区域所在位置的中点位置,A侧和C侧分别为检测区域的左侧边缘位置和右侧边缘位置,位置E为待检测包裹放置位置的中心位置,D侧和F侧分别为待检测包裹的左侧边缘位置和右侧边缘位置。按照传送带的运动方向,即自右向左进行传送,待检测包裹的D侧最先进入待检测区域,F侧最后离开待检测区域。For ease of understanding, it will be described with reference to FIG. 6 as an example. FIG. 6 is a schematic diagram of the transmission of the package to be detected provided by the embodiment of the present application. Among them, position B is the midpoint position of the detection area, side A and side C are the left edge position and right edge position of the detection area respectively, position E is the center position of the package to be detected, and side D and F Sides are the left edge position and the right edge position of the package to be detected respectively. According to the moving direction of the conveyor belt, that is, from right to left, the D side of the package to be detected enters the detection area first, and the F side leaves the detection area last.
上述图像分析模块所确定待检测包裹与检测区域间的距离,可以表示为待检测包裹放置位置的中心位置(即位置E)到检测区域所在位置的中心位置(即位置B)间的距离,即图6所示的距离d2。也可以表示为待检测包裹的D侧与待检测区域的C侧间的距离,到待检测包裹的F侧与待检测区域的A侧间的距离所对应的距离范围,即图6所示的[d1,d3]。The distance between the package to be detected and the detection area determined by the above image analysis module can be expressed as the distance between the center position of the package to be detected (ie position E) and the center position of the detection area (ie position B), namely Figure 6 shows the distance d2. It can also be expressed as the distance between the D side of the package to be detected and the C side of the area to be detected, and the distance corresponding to the distance between the F side of the package to be detected and the A side of the area to be detected, that is, as shown in Figure 6 [d1,d3].
在本申请实施例中,对上述待检测包裹与检测区域间的距离的表示方式不作具体限定。In the embodiment of the present application, there is no specific limitation on the way of expressing the distance between the package to be detected and the detection area.
上述安检设备的检测区域所在的位置是根据上述X光检测模块所在的位置确定的。例如,X光检测模块可以设置在传送带传送方向的终点位置处。再例如,X光检测模块可以设置在传送带传送方向的终点位置前的预设距离处,该预设距离可以根据用户需求、安检设备可检测包裹的大小等进行设定。在此对上述将检测区域所在的位置不作具体限定。The location of the detection area of the above-mentioned security inspection equipment is determined according to the location of the above-mentioned X-ray detection module. For example, the X-ray detection module can be arranged at the end position of the conveying direction of the conveyor belt. For another example, the X-ray detection module can be set at a preset distance before the end position of the conveying direction of the conveyor belt, and the preset distance can be set according to user requirements, the size of the package that can be detected by the security inspection equipment, and the like. Here, there is no specific limitation on the location of the detection area.
一个可选的实施例中,关于上述待检测包裹在传送带上的放置位置,具体可以通过以下方式获取得到:In an optional embodiment, the placement position of the above-mentioned package to be detected on the conveyor belt can be obtained in the following manner:
方式一,上述图像分析模块可以对监控图像进行识别,得到待检测包裹在安检设备的传送带上的放置位置。Mode 1, the above-mentioned image analysis module can identify the monitoring image, and obtain the placement position of the package to be detected on the conveyor belt of the security inspection device.
例如,根据监控图像中待检测包裹的深度信息,计算得到待检测包裹在安检设备的传送带上的放置位置。For example, according to the depth information of the package to be detected in the surveillance image, the position of the package to be detected on the conveyor belt of the security inspection device is calculated and obtained.
方式二,上述压力分析模块可以对将压力传感器检测到的压力信号的位置,确定为待检测包裹在传送带上的放置位置。图像分析模块从压力分析模块获取得到待检测包裹在传送带上的放置位置。In the second way, the above-mentioned pressure analysis module can determine the position of the pressure signal detected by the pressure sensor as the placement position of the package to be detected on the conveyor belt. The image analysis module obtains the placement position of the package to be detected on the conveyor belt from the pressure analysis module.
通过上述方式一和方式二,可以准确的确定出待检测包裹在传送带上的放置位置,从而提高上述根据该放置位置所确定的待检测包裹与检测区域间的距离的准确性。Through the above method 1 and method 2, the placement position of the package to be detected on the conveyor belt can be accurately determined, thereby improving the accuracy of the distance between the package to be detected and the detection area determined according to the placement position.
步骤S1032,基于所确定的距离以及传送带的传送速度,确定待检测包裹传送至检测区域的时间范围。Step S1032, based on the determined distance and the conveying speed of the conveyor belt, determine the time range for the package to be inspected to be conveyed to the inspection area.
在本步骤中,由于待检测包裹被放置在传送带上后,传送带将以一定的传送速度将待检测包裹传送至上述检测区域进行检测。因此,上述信息关联模块可以根据上述确定出的待检测包裹与检测区域间的距离,以及传送带的传送速度,计算待检测包裹传送至检测区域所需的时间,从而确定该待检测包裹传送至检测区域的时间范围。In this step, after the package to be detected is placed on the conveyor belt, the conveyor belt will transport the package to be detected to the above detection area at a certain transmission speed for detection. Therefore, the above-mentioned information association module can calculate the time required for the package to be detected to be transmitted to the detection area according to the determined distance between the package to be detected and the detection area, and the transmission speed of the conveyor belt, so as to determine that the package to be detected is transmitted to the detection area. The time range of the region.
上述时间范围可以表示为某一时间点,也可以表示为某一时间区间。The above time range may be expressed as a certain time point, or may be expressed as a certain time interval.
为便于理解,以上述待检测包裹与检测区域间的距离为一距离范围为例进行说明。当上述时间范围为某一时间点时,上述确定的待检测包裹传送至检测区域的时间范围可以为:上述距离范围的中点所对应距离与传送带的传送速度的商。当上述时间范围为某一时间区间时,上述确定的待检测包裹传送至检测区域的时间范围的最小值可以为:该距离范围的最小值与传送带的传送速度的商,时间范围的最大值可以为:该距离范围的最大值与传送带的传送速度的商。For ease of understanding, the above-mentioned distance between the package to be detected and the detection area is taken as an example for illustration. When the above-mentioned time range is a certain time point, the above-mentioned determined time range for the package to be detected to be delivered to the detection area may be: the quotient of the distance corresponding to the midpoint of the above-mentioned distance range and the conveying speed of the conveyor belt. When the above-mentioned time range is a certain time interval, the minimum value of the above-mentioned determined time range for the package to be detected to be transmitted to the detection area can be: the quotient of the minimum value of the distance range and the transmission speed of the conveyor belt, and the maximum value of the time range can be It is: the quotient of the maximum value of the distance range and the transmission speed of the conveyor belt.
上述传送带的传送速度可以是直接从安检设备读取得到的,也可以根据双目摄像头采集到的监控视频中待检测包裹与检测区域间的距离随时间的变换情况计算得到的。在此,对上述传送带的传送速度的获取不作具体限定。The transmission speed of the above-mentioned conveyor belt can be read directly from the security inspection equipment, or can be calculated according to the change of the distance between the package to be detected and the detection area over time in the surveillance video collected by the binocular camera. Here, the acquisition of the transmission speed of the above-mentioned conveyor belt is not specifically limited.
在本申请实施例中,由于传送带的传送速度可能受到传送带上传送的包裹的数量、重量的影响,因此,上述在根据上述确定出的待检测包裹与检测区域间的距离,以及传送带的传送速度,计算待检测包裹传送至检测区域所需的时间后,可以基于计算得到的时间,选取一时间范围,从而保证后期基于该时间范围所获取的X光图像中包括待检测包裹所关联的X光图像。In the embodiment of the present application, since the conveying speed of the conveyor belt may be affected by the quantity and weight of the parcels conveyed on the conveying belt, the above-mentioned distance between the parcels to be detected and the detection area determined according to the above, and the conveying speed of the conveying belt , after calculating the time required for the package to be detected to be delivered to the detection area, a time range can be selected based on the calculated time, so as to ensure that the X-ray image associated with the package to be detected will be included in the X-ray image acquired later based on this time range image.
例如,当前时刻为8:30,待检测包裹被放置在传送带后,根据待检测包裹与检测区域间的距离,以及传送带的传送速度,确定待检测包裹预计于8:31传送至检测区域。但是,考虑到当前时刻人流量较多,即传送带上的包裹较多,信息关联模块可以根据确定出的待检测包裹传送至检测区域的时间,将该时间向后延长一定时长,如30毫秒。此时,待检测包裹到达检测区域的时间可以标识为一时间范围,即8:31至8:31后的30毫秒这一时间范围。For example, the current time is 8:30, after the package to be detected is placed on the conveyor belt, according to the distance between the package to be detected and the detection area, and the transmission speed of the conveyor belt, it is determined that the package to be detected is expected to be delivered to the detection area at 8:31. However, considering that there is a large flow of people at the current moment, that is, there are many packages on the conveyor belt, the information association module can extend the time backward by a certain period of time, such as 30 milliseconds, according to the determined time for the package to be detected to be transmitted to the detection area. At this time, the time when the package to be detected arrives at the detection area may be marked as a time range, that is, a time range of 8:31 to 30 milliseconds after 8:31.
上述向后延长的时长可以根据具体应用场景的人流量、传送带的传送速度以及用户需求等进行设置,在此不作具体限定。The length of the above-mentioned backward extension can be set according to the flow of people in the specific application scenario, the transmission speed of the conveyor belt, and user needs, and is not specifically limited here.
步骤S1033,从时间范围内安检设备采集的X光图像中,确定安检设备采集的包括待检测包裹的目标X光图像。Step S1033, from the X-ray images collected by the security inspection equipment within the time range, determine the target X-ray images collected by the security inspection equipment including the package to be inspected.
关于上述包括待检测包裹的目标X光图像的确定具体可参见下文描述,在此不作具体说明。For the determination of the target X-ray image including the package to be detected, please refer to the description below, and no specific description is given here.
一个可选的实施例中,若上述时间范围为某一时间区间,则信息关联模块获取该时间区间内的任一图像,作为安检设备采集的包括待检测包裹的目标X光图像。例如,信息关联模块可以获取上述时间范围的中点所对应时间点处安检设备采集到的X光图像,作为包括待检测包裹的目标X光图像。In an optional embodiment, if the above-mentioned time range is a certain time interval, the information correlation module acquires any image within the time interval as the target X-ray image including the package to be detected collected by the security inspection equipment. For example, the information association module may obtain the X-ray image collected by the security inspection equipment at the time point corresponding to the midpoint of the above time range as the target X-ray image including the package to be inspected.
另一个可选的实施例中,若上述时间范围为某一时间点,则当上述传送带上传送的包裹较少,或传送的包裹较轻时,信息关联模块可以直接获取上述步骤S1032中计算得到待检测包裹传送至检测区域所需的时间点处安检设备采集到的X光图像,作为包括待检测包裹的目标X光图像。In another optional embodiment, if the above-mentioned time range is a certain point in time, when the above-mentioned conveying belt has fewer packages, or the conveyed packages are lighter, the information association module can directly obtain the information calculated in the above-mentioned step S1032 The X-ray image collected by the security inspection equipment at the time point required for the package to be detected to be transported to the detection area is used as the target X-ray image including the package to be detected.
在本申请实施例中,在确定安检设备采集的包括待检测包裹的目标X光图像时,信息关联模块可以建立待检测包裹与目标X光图像间的对应关系。该对应关系中至少包括待检测包裹的包裹图像以及上述目标X光图像。关于包裹图像的获取可参见下文描述,在此不作赘述。In the embodiment of the present application, when it is determined that the target X-ray image collected by the security inspection equipment includes the package to be detected, the information association module may establish a correspondence between the package to be detected and the target X-ray image. The corresponding relationship includes at least the package image of the package to be detected and the above-mentioned target X-ray image. Regarding the acquisition of the package image, please refer to the description below, which will not be repeated here.
在上述实施例中,仅以获取到的目标X光图像的数量为1为例进行说明的,除此以外,信息关联模 块所获取到的目标X光图像的数量也可以为多个。在此,对上述目标X光图像的数量不作具体限定。In the above-mentioned embodiment, the number of acquired target X-ray images is 1 as an example for illustration. In addition, the number of target X-ray images acquired by the information association module may also be multiple. Here, the number of the target X-ray images is not specifically limited.
通过上述步骤S1031-步骤S1033所示的方法,信息关联模块可以准确的确定出上述待检测包裹进入检测区域的时间范围,从而获取在此期间安检设备采集到待检测采集到的X光图像,进而确定出包括上述待检测包裹的目标X光图像,有效提高了获取到的包括上述待检测包裹的目标X光图像的准确性。Through the method shown in the above step S1031-step S1033, the information association module can accurately determine the time range when the package to be detected enters the detection area, so as to obtain the X-ray images collected by the security inspection equipment to be detected during this period, and then The determination of the target X-ray image including the package to be detected effectively improves the accuracy of the acquired target X-ray image including the package to be detected.
另一个可选的实施例中,在获取安检设备采集的包括待检测包裹的目标X光图像的图像时,除了采用上述图5所示的步骤S1031-步骤S1033以外,上述图像分析模块可以实时监测上述待检测包裹与检测区域间的距离,并在距离为0时,触发上述X光检测模块采集待检测包裹的X光图像,也就是上述包括待检测包裹的目标X光图像,从而获取得到与待检测包裹关联的目标X光图像。In another optional embodiment, when obtaining the image collected by the security inspection equipment and including the target X-ray image of the package to be detected, in addition to using steps S1031-step S1033 shown in Figure 5 above, the image analysis module can monitor in real time The distance between the above-mentioned package to be detected and the detection area, and when the distance is 0, trigger the above-mentioned X-ray detection module to collect the X-ray image of the package to be detected, that is, the above-mentioned target X-ray image including the package to be detected, so as to obtain the same Target X-ray image associated with the package to be detected.
针对上述步骤S104,即建立待检测包裹、目标人员和目标X光图像的对应关系。For the above step S104, the corresponding relationship among the package to be detected, the target person and the X-ray image of the target is established.
在本步骤中,由于上述步骤S102所确定的待检测包裹所属的目标人员是唯一的,因此,在通过上述步骤S103确定包括待检测包裹的目标X光图像后,信息关联模块可以直接根据待检测包裹所属的目标人员,以及包括待检测包裹的目标X光图像,建立待检测包裹、目标人员和目标X光图像间的对应关系。该对应关系至少包括待检测包裹的包裹图像、目标人员的人员图像以及目标X光图像。In this step, since the target person of the package to be detected as determined in the above step S102 is unique, after the target X-ray image including the package to be detected is determined through the above step S103, the information association module can directly use the The target person to whom the package belongs, and the target X-ray image including the package to be detected, establishes a correspondence between the package to be detected, the target person, and the target X-ray image. The corresponding relationship includes at least the package image of the package to be detected, the person image of the target person, and the target X-ray image.
一个可选的实施例中,根据图5所示的方法,本申请实施例还提供了一种信息关联方法。如图7所示,图7为本申请实施例提供的信息关联方法的第三种流程示意图。该方法包括以下步骤。In an optional embodiment, according to the method shown in FIG. 5 , this embodiment of the present application also provides an information association method. As shown in FIG. 7 , FIG. 7 is a schematic flowchart of a third information association method provided by the embodiment of the present application. The method includes the following steps.
步骤S701,获取安检设备入口处的监控图像。Step S701, acquiring the monitoring image at the entrance of the security inspection equipment.
步骤S702,确定监控图像中的待检测包裹以及待检测包裹所属的目标人员。Step S702, determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs.
步骤S703,根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,确定待检测包裹与检测区域间的距离。Step S703, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device, determine the distance between the package to be detected and the detection area.
步骤S704,基于所确定的距离以及传送带的传送速度,确定待检测包裹传送至检测区域的时间范围。Step S704, based on the determined distance and the conveying speed of the conveyor belt, determine the time range for the package to be inspected to be conveyed to the inspection area.
上述步骤S701-步骤S704与上述图5所示的步骤S101-步骤S1032相同。The above step S701 - step S704 are the same as the above step S101 - step S1032 shown in FIG. 5 .
步骤S705,获取监控图像中待检测包裹的第一包裹特征。Step S705, acquiring the first package feature of the package to be detected in the surveillance image.
在本步骤中,上述信息关联模块可以获取上述监控图像中待检测包裹的包裹特征,得到待检测包裹的第一包裹特征。In this step, the above-mentioned information association module can obtain the package features of the package to be detected in the above-mentioned monitoring image, and obtain the first package feature of the package to be detected.
一个可选的实施例中,上述第一包裹特征可以为多维特征。例如,上述第一包裹特征可以包括待检测包裹的包裹重量、包裹大小、包裹颜色、包裹形状等。在此,对上述第一包裹特征不作具体限定。In an optional embodiment, the above-mentioned first package feature may be a multi-dimensional feature. For example, the aforementioned first package feature may include package weight, package size, package color, package shape, etc. of the package to be detected. Here, the above-mentioned first package feature is not specifically limited.
一个可选的实施例中,当上述第一包裹特征包括上述包裹重量时,上述压力分析模块可以根据待检测包裹被放置在传送带上的压力信号,确定待检测包裹的包裹重量,从而将确定出的包裹重量发送给上述信息关联模块。In an optional embodiment, when the above-mentioned first package feature includes the above-mentioned package weight, the above-mentioned pressure analysis module can determine the package weight of the package to be detected according to the pressure signal that the package to be detected is placed on the conveyor belt, so as to determine the The weight of the package is sent to the above information association module.
为便于理解,结合图8对上述包裹重量的确定进行说明。图8为本申请实施例提供的压力分析模块的一种示意图。在图8所示的压力分析模块中可以包括压力信号输入单元801,信号滤波单元802,信号转压力单元803和触发单元804。For ease of understanding, the above determination of the package weight will be described with reference to FIG. 8 . FIG. 8 is a schematic diagram of a pressure analysis module provided in an embodiment of the present application. The pressure analysis module shown in FIG. 8 may include a pressure signal input unit 801 , a signal filter unit 802 , a signal conversion unit 803 and a trigger unit 804 .
具体的,当目标人员将上述待检测包裹放置在上述传送带上时,传送带上的压力传感器将生成相应的电信号,记为压力信号。此时,上述压力信号输入单元801将获取得到该压力信号。Specifically, when the target person places the package to be detected on the conveyor belt, the pressure sensor on the conveyor belt will generate a corresponding electrical signal, which is recorded as a pressure signal. At this time, the pressure signal input unit 801 will acquire the pressure signal.
由于实际过程中目标人员将待检测包裹放置传送带上后,该待检测包裹将被传送至检测区域进行检测。在此期间,待检测包裹未离开传送带,即待检测包裹对应的放置区域内的压力传感器始终处于触发 状态。因此,上述电信号是通过触发的压力传感器获得的跟踪电信号。In the actual process, after the target personnel put the package to be detected on the conveyor belt, the package to be detected will be sent to the detection area for detection. During this period, the package to be detected has not left the conveyor belt, that is, the pressure sensor in the placement area corresponding to the package to be detected is always in a triggered state. Therefore, the above-mentioned electrical signal is a tracking electrical signal obtained by the triggered pressure sensor.
上述压力信号输入单元801在获得上述压力信号后,可以将该压力信号传输至信号滤波单元802。信号滤波单元802对接收到的压力信号进行滤波处理,得到滤波后的压力信号,并将滤波后的压力信号传输至信号转压力单元803。其中,信号滤波单元802采用的滤波方式包括但不限于均值滤波和中值滤波。The pressure signal input unit 801 may transmit the pressure signal to the signal filtering unit 802 after obtaining the pressure signal. The signal filtering unit 802 performs filtering processing on the received pressure signal to obtain a filtered pressure signal, and transmits the filtered pressure signal to the signal converting unit 803 . Wherein, the filtering methods adopted by the signal filtering unit 802 include but not limited to mean filtering and median filtering.
在本申请实施例中,通过对上述压力信号的滤波处理,可以有效抑制该压力信号中噪声信号,从而提高基于滤波后的压力信号所确定包裹重量准确性。In the embodiment of the present application, by filtering the above pressure signal, the noise signal in the pressure signal can be effectively suppressed, thereby improving the accuracy of the package weight determined based on the filtered pressure signal.
信号转压力单元803在接收到信号滤波单元802发送的滤波后的压力信号,可以根据预设的压力信号与压力值间的对应关系,确定压力传感器生成的压力信号对应的压力值,作为待检测包裹的包裹重量。After receiving the filtered pressure signal sent by the signal filtering unit 802, the signal-to-pressure unit 803 can determine the pressure value corresponding to the pressure signal generated by the pressure sensor according to the preset correspondence between the pressure signal and the pressure value as the pressure value to be detected. The package weight of the package.
在本申请实施例中,上述待检测包裹的包裹重量表示为待检测包裹对传送带上产生压力值。除此以外,待检测包裹的包裹重量也可以表示为待检测包裹的真实重量。例如,上述压力分析模块可以根据待检测包裹对传送带上产生压力值,以及待检测包裹与传送带间的接触面积,通过数学计算得到的真实重量。在此,对待检测包裹的真实重量的计算过程不作具体说明。In the embodiment of the present application, the package weight of the above-mentioned package to be detected is expressed as the value of pressure generated by the package to be detected on the conveyor belt. In addition, the package weight of the package to be detected can also be expressed as the real weight of the package to be detected. For example, the above-mentioned pressure analysis module can obtain the real weight through mathematical calculation according to the pressure value generated by the package to be detected on the conveyor belt and the contact area between the package to be detected and the conveyor belt. Here, the calculation process of the real weight of the package to be detected will not be specifically described.
在图8所示的压力分析模块中还包括上述触发单元804。该触发单元804可以与上述人脸抓拍模块和图像分析模块连接。当上述压力信号输入单元801在获取得到上述压力信号时,触发单元804可以向人脸抓拍模块和图像分析模块发送触发信号,从而触发人脸抓拍模块进行人脸抓拍,以及触发信息关联模块对包裹和人员进行关联,即上述步骤S102中确定待检测人员所属的目标人员。The above trigger unit 804 is also included in the pressure analysis module shown in FIG. 8 . The triggering unit 804 may be connected with the aforementioned face capture module and image analysis module. When the above-mentioned pressure signal input unit 801 obtains the above-mentioned pressure signal, the trigger unit 804 can send a trigger signal to the face capture module and the image analysis module, thereby triggering the face capture module to take a face capture, and triggering the information association module to analyze the package To associate with a person, that is, to determine the target person to whom the person to be detected belongs in the above step S102.
一个可选的实施例中,为了提高待检测包裹与X光图像关联的准确性,上述压力信号输入单元801在获取得到上述压力信号后,触发单元804可以按照预设的触发逻辑规则,向上述人脸抓拍模块和图像分析模块发送触发信号。In an optional embodiment, in order to improve the accuracy of the correlation between the package to be detected and the X-ray image, after the pressure signal input unit 801 acquires the pressure signal, the trigger unit 804 can send the above-mentioned The face capture module and the image analysis module send trigger signals.
为便于理解,上述预设的触发逻辑规则可以为上述压力信号的持续时长。具体的,由于人员将包裹放置在传送带上后,可能出现用户立即拾取该包裹的情况,此时,上述压力信号将中断,若触发单元804发送上述触发信号,将影响后期待检测包裹与X光图像关联的准确性。另外,在本申请实施例中,对上述预设的触发逻辑规则不作具体限定。For ease of understanding, the above-mentioned preset trigger logic rule may be the duration of the above-mentioned pressure signal. Specifically, after the personnel put the package on the conveyor belt, the user may immediately pick up the package. At this time, the above-mentioned pressure signal will be interrupted. If the trigger unit 804 sends the above-mentioned trigger signal, it will affect the subsequent detection of the package and X-ray detection. Accuracy of image association. In addition, in the embodiment of the present application, no specific limitation is made on the above-mentioned preset trigger logic rule.
一个可选的实施例中,上述压力信号输入单元801在获取上述压力信号的同时,可以根据触发的压力传感器所在的位置,确定待检测包裹在传送带上的放置位置。In an optional embodiment, the pressure signal input unit 801 may determine the placement position of the package to be detected on the conveyor belt according to the position of the triggered pressure sensor while acquiring the pressure signal.
一个可选的实施例中,当上述第一包裹特征包裹上述包裹颜色时,上述图像分析模块在确定上述监控图像中的待检测包裹后,可以获取该待检测包裹的包裹颜色,从而将获取到的包裹颜色发送给上述信息关联模块。例如,上述图像分析模块可以利用深度学习算法,对上述监控图像进行分类得到待检测包裹的包裹颜色。在此,对包裹颜色的获取过程不作具体限定。In an optional embodiment, when the above-mentioned first package feature wraps the above-mentioned package color, the above-mentioned image analysis module can acquire the package color of the package to be detected after determining the package to be detected in the above-mentioned monitoring image, so that the obtained The color of the package is sent to the above information association module. For example, the above-mentioned image analysis module can use a deep learning algorithm to classify the above-mentioned monitoring image to obtain the package color of the package to be detected. Here, the acquisition process of the package color is not specifically limited.
一个可选的实施例中,当上述第一包裹特征包括上述包裹大小时,上述图像分析模块在确定上述监控图像中的待检测包裹后,还可以确定该待检测包裹的包裹大小,从而将确定的包裹大小发送给上述信息关联模块。In an optional embodiment, when the above-mentioned first package feature includes the above-mentioned package size, after the above-mentioned image analysis module determines the package to be detected in the above-mentioned monitoring image, it can also determine the package size of the package to be detected, so that the determined The size of the package is sent to the above information association module.
上述图像分析模块在确定待检测包裹的包裹大小时,可以利用深度学习算法,对上述监控图像进行图像分割,并对监控图像中的待检测包裹与传送带进行像素级分类,也就是对监控图像中待检测包裹所在区域的像素点与传送带所在区域的像素点进行区分,从而确定待检测包裹对应的像素面积或像素体积。When the image analysis module determines the package size of the package to be detected, it can use the deep learning algorithm to perform image segmentation on the above monitoring image, and perform pixel-level classification on the package to be detected and the conveyor belt in the monitoring image, that is, to classify the package in the monitoring image. The pixel points of the area where the package to be detected is located are distinguished from the pixel points of the area where the conveyor belt is located, so as to determine the pixel area or pixel volume corresponding to the package to be detected.
在本申请实施例中,当上述待检测包裹的包裹大小表示为上述待检测包裹的像素体积时,该包裹大小可以表示为上述像素面积与包裹高度乘积。其中,包裹高度可以通过以下公式计算得到。In the embodiment of the present application, when the package size of the package to be detected is expressed as the pixel volume of the package to be detected, the package size may be expressed as the product of the pixel area and the package height. Among them, the package height can be calculated by the following formula.
ΔD=D 1-D 2 ΔD=D 1 -D 2
其中,ΔD为包裹高度,D 1为待检测包裹的上表面到双目摄像头的距离,D 2为待检测包裹的下表面到双目摄像头的距离,也就是待检测包裹的与传送带接触面到双目摄像头的距离。 Among them, ΔD is the package height, D 1 is the distance from the upper surface of the package to be detected to the binocular camera, D 2 is the distance from the lower surface of the package to be detected to the binocular camera, that is, the contact surface of the package to be detected and the conveyor belt to The distance between the binocular cameras.
上述D 1和D 2可以根据双目摄像头的镜头焦距,双目摄像头的两个摄像头间的基线距以及双目摄像头的视差计算得到,具体可以表示为: The above D1 and D2 can be calculated according to the lens focal length of the binocular camera, the baseline distance between the two cameras of the binocular camera and the parallax of the binocular camera, which can be specifically expressed as:
D=f*B/XLD=f*B/XL
其中,D为目标距离,即上述D 1或D 2,f为双目摄像头的镜头焦距,B双目摄像头的两个摄像头间的基线距,XL为双目摄像头的视差。 Among them, D is the target distance, that is, the above D 1 or D 2 , f is the lens focal length of the binocular camera, B is the baseline distance between the two cameras of the binocular camera, and XL is the parallax of the binocular camera.
一个可选的实施例中,受到双目摄像头对待检测包裹进行采集时的拍摄角度的影响,上述双目摄像头中两个摄像头所采集到的监控图像中待检测包裹的像素面积可能存在一定差异。为了提高上述待检测包裹的像素面积的准确性,图像分析模块可以将双目摄像头中两个摄像头所采集到的监控图像中待检测包裹的像素面积的均值,确定为该待检测包裹的像素面积。In an optional embodiment, affected by the shooting angle of the binocular camera when collecting the package to be detected, there may be a certain difference in the pixel area of the package to be detected in the monitoring images collected by the two cameras in the binocular camera. In order to improve the accuracy of the above-mentioned pixel area of the package to be detected, the image analysis module can determine the mean value of the pixel area of the package to be detected in the monitoring images collected by the two cameras in the binocular camera as the pixel area of the package to be detected .
一个可选的实施例中,当上述第一包裹特征包括上述包裹形状时,上述图像分析模块在确定上述监控图像中的待检测包裹后,还可以确定该待检测包裹的包裹形状,从而将确定的包裹形状发送给上述信息关联模块。In an optional embodiment, when the above-mentioned first package feature includes the above-mentioned package shape, after the above-mentioned image analysis module determines the package to be detected in the above-mentioned monitoring image, it can also determine the package shape of the package to be detected, so that the determined The shape of the package is sent to the above-mentioned information association module.
上述图像分析模块在确定待检测包裹的包裹形状时,可以利用深度学习算法,对上述监控图像中待检测包裹的轮廓信息进行提取,得到待检测包裹的包裹形状。其中,深度学习算法包括但不限于整体嵌套边缘检测(Holistically-nested Edge Detection,HED)算法和语义边缘检测(Deep Category-Aware Semantic Edge Detection,CASENet)算法。When the above image analysis module determines the package shape of the package to be detected, it can use a deep learning algorithm to extract the contour information of the package to be detected in the above monitoring image to obtain the package shape of the package to be detected. Among them, the deep learning algorithm includes but not limited to Holistically-nested Edge Detection (HED) algorithm and Semantic Edge Detection (Deep Category-Aware Semantic Edge Detection, CASENet) algorithm.
上述步骤S705可以与上述步骤S703同时执行。The above step S705 may be executed simultaneously with the above step S703.
步骤S706,获取时间范围内安检设备采集的每一张X光图像中包裹的第二包裹特征。Step S706, acquiring the characteristics of the second package in each X-ray image collected by the security inspection equipment within the time range.
在本步骤中,关联信息模块获取上述X光检测模块在步骤S704所确定的时间范围内采集到的所有X光图像,并针对每一张X光图像,获取该X光图像中包裹的包裹特征,作为该X光图像的第二包裹特征。In this step, the association information module acquires all the X-ray images collected by the above-mentioned X-ray detection module within the time range determined in step S704, and for each X-ray image, obtains the package characteristics of the package in the X-ray image , as the second package feature of the X-ray image.
一个可选的实施例中,上述第二包裹特征可以为多维特征。例如,上述第二包裹特征可以包括待检测包裹的包裹重量、包裹大小、包裹形状等。在此,对上述第二包裹特征不作具体限定。In an optional embodiment, the above-mentioned second package feature may be a multi-dimensional feature. For example, the above-mentioned second package feature may include package weight, package size, package shape, etc. of the package to be detected. Here, the above-mentioned second package feature is not specifically limited.
上述待检测包裹的第二包裹特征的获取方式可以参照上述待检测包裹的第一包裹特征的获取方式,在此,对上述待检测包裹的第二包裹特征的获取方式不作具体说明。The acquisition method of the second package feature of the package to be detected can refer to the method of acquisition of the first package feature of the package to be detected, and the method of obtaining the second package feature of the package to be detected will not be specifically described here.
在本申请实施例中,上述第一包裹特征和第二包裹特征可以包括上述包裹重量、包裹大小和包裹形状中的一种或多种。In the embodiment of the present application, the above-mentioned first package feature and the second package feature may include one or more of the above-mentioned package weight, package size and package shape.
步骤S707,将第一包裹特征与每一张X光图像中包裹的第二包裹特征进行匹配,得到安检设备采集的包括待检测包裹的目标X光图像。Step S707, matching the feature of the first package with the feature of the second package in each X-ray image to obtain the target X-ray image collected by the security inspection equipment including the package to be detected.
一个可选的实施例中,当上述第一包裹特征和第二包裹特征为多维特征时,上述步骤S707具体可以包括以下步骤:In an optional embodiment, when the first package feature and the second package feature are multi-dimensional features, the above step S707 may specifically include the following steps:
步骤一,针对每一张X光图像,计算该X光图像的第二包裹特征与第一包裹特征中每一特征维度对应的匹配置信度的加权和,得到该X光图像中的包裹与待检测包裹间的匹配置信度。Step 1, for each X-ray image, calculate the weighted sum of the matching confidence degrees corresponding to each feature dimension in the second package feature of the X-ray image and the first package feature, and obtain the package and the package in the X-ray image. Check the matching confidence between packages.
一个可选的实施例中,针对每一张X光图像,可以利用以下公式,计算得到该X光图像中的包裹与待检测包裹间的匹配置信度Conf:In an optional embodiment, for each X-ray image, the following formula can be used to calculate the matching confidence Conf between the package in the X-ray image and the package to be detected:
Figure PCTCN2022097192-appb-000001
Figure PCTCN2022097192-appb-000001
其中,n为第一包裹特征或第二包裹特征包括的包裹特征的特征维度数,i为第i个特征维度,a i为第i个特征维度的权重,A i为第一包裹特征在第i个特征维度上的包裹特征与第二包裹特征在第i个特征维度上的包裹特征间的匹配置信度。 Among them, n is the number of feature dimensions of the package features included in the first package feature or the second package feature, i is the i-th feature dimension, a i is the weight of the i-th feature dimension, A i is the first package feature at The matching confidence between the wrapping feature on the i feature dimension and the wrapping feature on the i feature dimension of the second wrapping feature.
为便于理解,以第一包裹特征和第二包裹特征在面积区域维度上的匹配置信度为例进行说明。现假设第一包裹特征中面积区域位置上的包裹特征为包裹与传送带接触面所对应的区域A,第二包裹特征中面积区域位置上的包裹特征为包裹与传送带接触面所对应的区域B。区域A与区域B的并集为区域C。此时,第一包裹特征和第二包裹特征在面积区域维度上的匹配置信度可以表示为:区域A与区域C的比值,或者区域B与区域C的比值。当该比值越大时,也就是第一包裹特征和第二包裹特征在面积区域维度上的匹配置信度越大时,区域A与区域B为同一区域的可能性越大,X光图像中的包裹与待检测包裹间的匹配置信度越大。For ease of understanding, the matching confidence of the first package feature and the second package feature in the area dimension is taken as an example for illustration. Now assume that the package feature at the position of the area area in the first package feature is the area A corresponding to the contact surface between the package and the conveyor belt, and the package feature at the area area position in the second package feature is the area B corresponding to the contact surface between the package and the conveyor belt. The union of area A and area B is area C. At this time, the matching confidence of the first package feature and the second package feature in the area dimension can be expressed as: the ratio of area A to area C, or the ratio of area B to area C. When the ratio is larger, that is, when the matching confidence of the first package feature and the second package feature in the area dimension is larger, the possibility that area A and area B are the same area is greater, and the X-ray image The greater the matching confidence between the package and the package to be detected is.
在本申请实施例中,上述X光图像中的包裹与待检测包裹间的匹配置信度,可以表示该X光图像中的包裹与待检测包裹间的关联程度。具体的,X光图像中的包裹与待检测包裹间的匹配置信度越大,该X光图像中的包裹与待检测包裹间的关联程度越高。X光图像中的包裹与待检测包裹间的匹配置信度越小,该X光图像中的包裹与待检测包裹间的关联程度越低。In the embodiment of the present application, the matching confidence between the package in the X-ray image and the package to be detected may represent the degree of correlation between the package in the X-ray image and the package to be detected. Specifically, the greater the matching confidence between the package in the X-ray image and the package to be detected is, the higher the degree of correlation between the package in the X-ray image and the package to be detected is. The smaller the matching confidence between the package in the X-ray image and the package to be detected is, the lower the degree of correlation between the package in the X-ray image and the package to be detected is.
步骤二,基于每一张X光图像中的包裹与待检测包裹间的匹配置信度,以及待检测包裹所属的目标人员,对每一X光图像进行逻辑判断,确定安检设备采集的包括待检测包裹的目标X光图像。Step 2: Based on the matching confidence between the package in each X-ray image and the package to be detected, and the target person to whom the package to be detected belongs, make a logical judgment on each X-ray image, and determine that the security inspection equipment includes the package to be detected Target X-ray image of the package.
在本步骤中,信息关联模块可以基于上述步骤一确定的每一张X光图像中的包裹与待检测包裹间的匹配置信度,以及待检测包裹所属的目标人员,利用预设的关联逻辑判断规则,对获取到的每一X光图像进行逻辑判断,确定安检设备采集的包括待检测包裹的目标X光图像。In this step, the information association module can use the preset association logic to judge the The rule is to make a logical judgment on each acquired X-ray image, and determine the target X-ray image collected by the security inspection equipment including the package to be inspected.
为便于理解,以上述预设的关联逻辑判断规则为预设匹配置信度阈值和预设像素阈值为例进行说明。针对获取到的每一X光图像,上述信息关联模块在对该X光图像进行逻辑判断时,若该X光图像中的包裹与待检测包裹间的匹配置信度小于预设匹配置信度阈值时,则信息关联模块可以丢弃该X光图像。或者,针对获取到的每一X光图像,上述信息关联模块可以计算该X光图像中包裹的像素与监控图像中待检测包裹的像素间的差值,若该差值大于上述预设像素阈值,则信息关联模块可以丢弃该X光图像。For ease of understanding, the above-mentioned preset association logic judgment rules are a preset matching confidence threshold and a preset pixel threshold as an example for illustration. For each acquired X-ray image, when the information association module makes a logical judgment on the X-ray image, if the matching confidence between the package in the X-ray image and the package to be detected is less than the preset matching confidence threshold , then the information association module can discard the X-ray image. Alternatively, for each acquired X-ray image, the above-mentioned information association module can calculate the difference between the pixel wrapped in the X-ray image and the pixel to be detected in the monitoring image, if the difference is greater than the preset pixel threshold , then the information association module can discard the X-ray image.
在本申请实施例中,对上述预设的关联逻辑判断规则除了上述预设匹配置信度阈值和预设像素阈值以外,还可以包括其他逻辑判断规则。上述信息关联模块通过多个逻辑判断规则,对上述获取到的X光图像进行逻辑判断,从而得到包括待检测包裹的目标X光图像。在此,对上述预设的关联逻辑判断规则不作具体限定。In the embodiment of the present application, in addition to the above-mentioned preset matching confidence threshold and preset pixel threshold, the above-mentioned preset association logic judgment rules may also include other logic judgment rules. The above-mentioned information correlation module performs logical judgment on the above-mentioned obtained X-ray images through a plurality of logical judgment rules, so as to obtain the target X-ray image including the package to be detected. Here, the aforementioned preset association logic judgment rules are not specifically limited.
通过上述对获取到的每一X光图像的逻辑判断过程,可以有效提高待检测包裹与X光图像关联的准确性,从而提高了待检测包裹、目标人员和目标X光图像检测关联的准确性。Through the above logical judgment process for each acquired X-ray image, the accuracy of the association between the package to be detected and the X-ray image can be effectively improved, thereby improving the accuracy of the detection association of the package to be detected, the target person, and the target X-ray image .
上述步骤S706-步骤S707是对上述图5所示的步骤S1033的细化。The above step S706-step S707 is refinement of the above step S1033 shown in FIG. 5 .
步骤S708,建立待检测包裹、目标人员和目标X光图像的对应关系。Step S708, establishing the corresponding relationship between the package to be detected, the target person and the X-ray image of the target.
上述步骤S708与上述步骤S104相同。The above step S708 is the same as the above step S104.
一个可选的实施例中,针对上述步骤S104,即建立待检测包裹、目标人员和目标X光图像的对应关系,可以细化为以下步骤,即步骤一-步骤三。In an optional embodiment, the above step S104, that is, establishing the corresponding relationship between the package to be detected, the target person and the target X-ray image, can be subdivided into the following steps, namely step 1 - step 3.
步骤一,获取待检测包裹进入检测区域前的包裹图像。Step 1, acquire the package image before the package to be detected enters the detection area.
在本步骤中,信息关联模块可以截取上述监控图像中待检测包裹所在区域的图像,得到待检测包裹进入检测区域前的包裹图像。In this step, the information association module can intercept the image of the area where the package to be detected is located in the above monitoring image, and obtain the image of the package before the package to be detected enters the detection area.
关于上述包裹图像的获取,由于上述双目摄像头一直在对安检设备入口处进行图像采集,因此,信息关联模块获取双目摄像头在待检测包裹被放置在传送带上,至待检测包裹进入上述检测区域这一时间段内的监控视频,从而从该监控视频中的任一监控图像中获取待检测包裹的包裹图像。Regarding the acquisition of the above-mentioned package image, since the above-mentioned binocular camera has been collecting images at the entrance of the security inspection equipment, the information association module acquires the binocular camera when the package to be detected is placed on the conveyor belt until the package to be detected enters the above-mentioned detection area The monitoring video in this period of time, so as to obtain the package image of the package to be detected from any monitoring image in the monitoring video.
步骤二,获取目标人员的人员图像。Step 2, obtain the person image of the target person.
上述人员图像可以为目标人员的人体图像,也可以为目标人员的人脸抓拍图像。The above-mentioned person image may be a human body image of the target person, or may be a captured image of the face of the target person.
一个可选的实施例中,当上述人员图像为目标人员的人体图像时,信息关联模块可以从上述监控图像中获取目标人员的人体图像。具体可参照上述包裹图像的获取方式,在此不作具体说明。In an optional embodiment, when the above-mentioned person image is a target person's body image, the information association module may acquire the target person's body image from the above-mentioned surveillance image. For details, reference may be made to the method for obtaining the package image above, which will not be described in detail here.
另一个可选的实施例中,当上述人员图像为目标人员的人脸抓拍图像。上述压力传感器在检测到待检测包裹被放置在传送带上时,可以触发上述人脸抓拍模块对安检设备入口处的人员的人脸进行抓拍,得到人员的人脸抓拍图像。上述信息关联模块可以根据待检测包裹所属的目标人员,从人脸抓拍模块获取到的人脸抓拍图像中,获取该目标人员的人脸抓拍图像。In another optional embodiment, when the above-mentioned person image is a face capture image of the target person. When the pressure sensor detects that the package to be detected is placed on the conveyor belt, it can trigger the face capture module to capture the face of the person at the entrance of the security inspection device to obtain a face capture image of the person. The above-mentioned information association module can obtain the face capture image of the target person from the face capture image obtained by the face capture module according to the target person to whom the package to be detected belongs.
在本申请实施例中,上述人脸抓拍模块在抓拍得到人脸抓拍图像后,还可以基于该人脸抓拍图像,进行人脸定位,人脸关键点检测,人脸建模等操作,从而获取得到人员的人员信息。该人员信息包括不限于人脸属性和人脸特征向量。其中,人脸属性包括但不限于年龄或是否戴口罩。在此,对人脸抓拍图像中人员信息的获取过程不作具体说明。In the embodiment of the present application, after the above-mentioned face capture module captures the face capture image, it can also perform operations such as face positioning, face key point detection, and face modeling based on the face capture image, so as to obtain Get the personnel information of the personnel. The personal information includes but not limited to face attributes and face feature vectors. Among them, face attributes include but are not limited to age or whether to wear a mask. Here, no specific description will be given on the process of obtaining the person information in the face capture image.
一个可选的实施例中,为了提高上述人员信息的准确性,上述人脸抓拍模块在获取上述人员的人员信息时,可以针对每一人员获取一定时间段内的多张人脸抓拍图像,从而针对每一人脸抓拍图像,对该人脸抓拍图像进行人脸评分,并从每一人员的人脸评分最高的人脸抓拍图像中获取上述人员信息。In an optional embodiment, in order to improve the accuracy of the above-mentioned personnel information, when the above-mentioned face capture module obtains the personnel information of the above-mentioned personnel, it can obtain multiple face capture images within a certain period of time for each person, so that For each face capture image, the face score is performed on the face capture image, and the above-mentioned personnel information is obtained from the face capture image with the highest face score of each person.
步骤三,基于包裹图像、人员图像和目标X光图像,建立待检测包裹、目标人员和目标X光图像的对应关系。Step 3, based on the package image, the person image and the target X-ray image, the corresponding relationship between the package to be detected, the target person and the target X-ray image is established.
在本申请实施例中,上述信息关联模块建立的待检测包裹、目标人员和目标X光图像间的对应关系中至少包括上述包裹图像、人员图像和目标X光图像。如表1所示,表1为本申请实施例提供的一种信息关联的方式。In the embodiment of the present application, the correspondence between the package to be detected, the target person and the target X-ray image established by the above-mentioned information association module includes at least the above-mentioned package image, person image and target X-ray image. As shown in Table 1, Table 1 is an information association manner provided by the embodiment of the present application.
表1Table 1
包裹pack 人员personnel X光图像X-ray image
包裹图像1Package image 1 人员图像1Person image 1 X光图像1X-ray image 1
包裹图像2Package Image 2 人员图像2Person Image 2 X光图像2X-ray image 2
在本申请实施例中,上述待检测包裹、目标人员和目标X光图像的对应关系除了包括上述包裹图像、人员图像和目标X光图像以外,还可以包括其他信息,例如,上述目标人员的人员信息,目标X光图像的检测结果,具体如表2所示。In the embodiment of the present application, the corresponding relationship between the package to be detected, the target person and the target X-ray image may also include other information besides the above package image, person image and target X-ray image, for example, the person of the target person information, and the detection results of the target X-ray image, as shown in Table 2.
表2Table 2
Figure PCTCN2022097192-appb-000002
Figure PCTCN2022097192-appb-000002
上述表2中的检测结果是上述X光检测模块对X光图像中的包裹进行异常检测得到的。其中,检测结果正常指示包裹中未包含有异常物品。检测结果异常指示包裹中包含有异常物品,如上述违禁物品。The detection results in the above Table 2 are obtained by the above-mentioned X-ray detection module detecting the abnormality of the package in the X-ray image. Wherein, a normal detection result indicates that no abnormal items are contained in the package. An abnormal test result indicates that the package contains abnormal items, such as the above-mentioned prohibited items.
基于同一种发明构思,根据上述本申请实施例提供的信息关联方法,本申请实施例还提供了一种异常告警方法。如图9所示,图9为本申请实施例提供的异常告警方法的一种流程示意图。获取安检设备入口处的监控图像。Based on the same inventive concept, and according to the information association method provided by the above-mentioned embodiment of the present application, the embodiment of the present application further provides an abnormality warning method. As shown in FIG. 9 , FIG. 9 is a schematic flowchart of an abnormality warning method provided by an embodiment of the present application. Obtain the surveillance image at the entrance of the security inspection equipment.
步骤S901,获取安检设备入口处的监控图像。Step S901, acquiring the monitoring image at the entrance of the security inspection equipment.
步骤S902,确定监控图像中的待检测包裹以及待检测包裹所属的目标人员。Step S902, determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs.
步骤S903,根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,确定安检设备采集的包括待检测包裹的目标X光图像。Step S903, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device, determine the target X-ray image collected by the security inspection device including the package to be detected.
步骤S904,建立待检测包裹、目标人员和目标X光图像的对应关系。Step S904, establishing a corresponding relationship between the package to be detected, the target person and the X-ray image of the target.
上述步骤S901-步骤S904与上述步骤S101-步骤S104相同。The above step S901-step S904 are the same as the above-mentioned step S101-step S104.
步骤S905,在检测到目标X光图像中的包裹包含有异常物品时,基于待检测包裹、目标人员和目标X光图像的对应关系,输出告警消息。Step S905, when it is detected that the package in the X-ray image of the target contains abnormal items, an alarm message is output based on the correspondence between the package to be detected, the target person, and the X-ray image of the target.
在本步骤中,上述X光检测模块针对采集到的每一X光图像,可以对该X光图像中包裹所包含的物品进行异常检测。当X光检测模块检测到上述目标X光图像中的包裹包含有异常物品,如上述违禁物品时,X光检测模块可以根据上述信息关联模块建立的待检测包裹、目标人员和目标X光图像间的对应关系,输出显示告警消息。In this step, the above-mentioned X-ray detection module can perform abnormality detection on the items contained in the package in the X-ray image for each collected X-ray image. When the X-ray detection module detects that the package in the above-mentioned target X-ray image contains abnormal items, such as the above-mentioned prohibited items, the X-ray detection module can establish the relationship between the package to be detected, the target person, and the target X-ray image according to the information association module. The corresponding relationship, the output shows the alarm message.
上述告警消息是根据上述待检测包裹、目标人员和目标X光图像间的对应关系的对应关系生成的。例如,上述告警消息可以包裹上述目标X光图像、目标人员的人员信息、待检测包裹的包裹图像等,这将有利于检测人员在看到该告警消息时,可以准确的确定出包含异常物品的包裹,以及该包裹的主人,即上述目标人员,从而提高飞机、火车等运行的安全性,保障其他乘客的生命安全。The above-mentioned warning message is generated according to the corresponding relationship among the above-mentioned package to be detected, the target person and the target X-ray image. For example, the above-mentioned warning message can wrap the above-mentioned X-ray image of the target, the personnel information of the target person, the package image of the package to be detected, etc., which will help the detection personnel to accurately determine the location of the abnormal item when seeing the warning message. The package, and the owner of the package, that is, the above-mentioned target person, thereby improving the safety of aircraft, trains, etc., and protecting the lives of other passengers.
为便于理解,下面结合图10和图11对上述信息关联过程进行说明。图10为本申请实施例提供的信息关联过程的一种信令图。图11为本申请实施例提供的信息关联模块的一种结构示意图。For ease of understanding, the above information association process will be described below with reference to FIG. 10 and FIG. 11 . FIG. 10 is a signaling diagram of the information association process provided by the embodiment of the present application. FIG. 11 is a schematic structural diagram of an information association module provided by an embodiment of the present application.
步骤S1001,双目摄像头采集安检设备入口处的监控图像。Step S1001, the binocular camera collects the monitoring image at the entrance of the security inspection equipment.
步骤S1002,压力传感器在检测到目标人员将待检测包裹放置在传送带上时,生成压力信号,并将该压力信号发送至压力分析模块。Step S1002, when the pressure sensor detects that the target person puts the package to be detected on the conveyor belt, a pressure signal is generated, and the pressure signal is sent to the pressure analysis module.
步骤S1003,压力分析模块根据接收到的压力信号,分别向图像分析模块和人脸抓拍模块发送触发信号。In step S1003, the pressure analysis module sends trigger signals to the image analysis module and the face capture module respectively according to the received pressure signal.
在本步骤中,压力分析模块还可以根据压力传感器检测到的压力信号的位置,确定为待检测包裹在传送带上的放置位置,根据预设的压力信号与压力值间的对应关系,确定待检测包裹的包裹重量,并将确定的待检测包裹的放置位置和包裹重量,通过图像分析模块发送至信息关联模块。In this step, the pressure analysis module can also determine the position of the package to be detected on the conveyor belt according to the position of the pressure signal detected by the pressure sensor, and determine the position of the package to be detected according to the corresponding relationship between the preset pressure signal and the pressure value. The package weight of the package, and the determined location and package weight of the package to be detected are sent to the information association module through the image analysis module.
步骤S1004,图像分析模块在接收到触发信号后,获取压力传感器检测到检测包裹时双目摄像头采集到的监控图像。Step S1004, after the image analysis module receives the trigger signal, it acquires the monitoring image collected by the binocular camera when the pressure sensor detects the package.
步骤S1005,图像分析模块在获取到的监控图像中确定待检测包裹,并获取该监控图像中待检测包裹的包裹特征。Step S1005, the image analysis module determines the package to be detected in the acquired monitoring image, and obtains the package characteristics of the package to be detected in the monitoring image.
上述包裹特征可以包括包裹大小、包裹颜色、包裹形状等。The aforementioned package characteristics may include package size, package color, package shape, and the like.
步骤S1006,图像分析模块将获取到的监控图像和待检测包裹的包裹特征发送给信息关联模块。Step S1006, the image analysis module sends the acquired monitoring image and the package features of the package to be detected to the information association module.
步骤S1007,人脸抓拍模块在接收到触发信号后,对安检设备入口处的人员进行人脸抓拍,得到人脸抓拍图像。Step S1007, after receiving the trigger signal, the face capture module captures the face of the person at the entrance of the security inspection device to obtain a face capture image.
上述人脸抓拍模块还可以对每一人员的人脸抓拍图像进行分析,得到每一人员的人员信息。The above-mentioned face capture module can also analyze the face capture image of each person to obtain the personnel information of each person.
步骤S1008,信息关联模块将监控图像中距离待检测包裹最近的人员,确定为待检测包裹所属的目标人员,并根据待检测包裹所属的目标人员,建立待检测包裹与目标人员间的对应关系。Step S1008, the information association module determines the person closest to the package to be detected in the monitoring image as the target person to whom the package to be detected belongs, and establishes a correspondence between the package to be detected and the target person according to the target person to whom the package to be detected belongs.
在本步骤中,信息关联模块在接收到图像分析模块发送的监控图像后,可以利用图11所示的人员与包裹关联单元,将监控图像中距离待检测包裹最近的人员,确定为待检测包裹所属的目标人员。In this step, after receiving the monitoring image sent by the image analysis module, the information association module can use the personnel and package association unit shown in Figure 11 to determine the person closest to the package to be detected in the monitoring image as the package to be detected belong to the target person.
人员与包裹关联单元可以从上述人脸抓拍模块中获取待检测包裹所属目标人员的人脸抓拍图像和人员信息,并根据目标人员的人脸抓拍图像和人员信息,待检测包裹的包裹图像,以及待检测包裹的第一包裹特征,建立待检测包裹与目标人员间的对应关系。The person and package association unit can obtain the face capture image and personnel information of the target person to whom the package to be detected belongs from the above-mentioned face capture module, and according to the face capture image and personnel information of the target person, the package image of the package to be detected, and The first package feature of the package to be detected establishes the correspondence between the package to be detected and the target person.
步骤S1009,X光检测模块采集检测区域内的X光图像,并对采集到的X光图像进行异常检测。Step S1009, the X-ray detection module collects X-ray images in the detection area, and performs abnormality detection on the collected X-ray images.
步骤S1010,信息关联模块根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,确定安检设备采集的包括待检测包裹的目标X光图像。In step S1010, the information association module determines the target X-ray image collected by the security inspection device including the package to be detected according to the location of the package to be detected on the conveyor belt of the security inspection device and the location of the detection area of the security inspection device.
在本步骤中,图11所示的包裹与X光图像关联单元可以根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,从X光检测模块中获取包括待检测包裹的目标X光图像。In this step, the package and X-ray image associating unit shown in FIG. 11 can obtain the information including the package to be detected from the X-ray detection module according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device. Target X-ray image of the inspection package.
包裹与X光图像关联单元在确定包括待检测包裹的目标X光图像后可以对根据待检测包裹的包裹图像,待检测包裹的第一包裹特征,目标X光图像,以及目标X光图像的第二包裹特征,建立待检测包裹与目标X光图像间的对应关系。After determining that the package and X-ray image association unit includes the target X-ray image of the package to be detected, the package image of the package to be detected, the first package feature of the package to be detected, the target X-ray image, and the first package feature of the target X-ray image Two package features, establishing the corresponding relationship between the package to be detected and the target X-ray image.
步骤S1011,信息关联模块建立待检测包裹、目标人员和目标X光图像间的对应关系。In step S1011, the information association module establishes the corresponding relationship between the package to be detected, the target person and the X-ray image of the target.
在本步骤中,图11所示的人员、包裹及X光图像关联单元可以根据人员与包裹关联单元建立的待检测包裹与目标人员间的对应关系,以及包裹与X光关联单元建立的待检测包裹与目标X光图像间的对应关系,建立待检测包裹、目标人员和目标X光图像三者间的对应关系。In this step, the personnel, package and X-ray image association unit shown in Figure 11 can be based on the correspondence between the package to be detected and the target person established by the personnel and package association unit, and the to-be-detected relationship established by the package and X-ray association unit. The corresponding relationship between the package and the target X-ray image establishes the corresponding relationship among the package to be detected, the target person and the target X-ray image.
步骤S1012,信息关联模块将待检测包裹、目标人员和目标X光图像间的对应关系存储至信息存储模块。In step S1012, the information association module stores the corresponding relationship among the package to be detected, the target person and the target X-ray image in the information storage module.
基于同一种发明构思,根据上述本申请实施例提供的信息关联方法,本申请实施例还提供了一种信息关联装置。如图12所示,图12为本申请实施例提供的信息关联装置的一种结构示意图。该装置为上述安检设备。该安检设备可以包括以下模块。Based on the same inventive concept, according to the information associating method provided by the above embodiment of the present application, the embodiment of the present application further provides an information associating device. As shown in FIG. 12 , FIG. 12 is a schematic structural diagram of an information associating device provided in an embodiment of the present application. The device is the above security inspection equipment. The security inspection equipment may include the following modules.
第一获取模块1201,用于获取安检设备入口处的监控图像;The first acquiring module 1201 is configured to acquire the monitoring image at the entrance of the security inspection equipment;
第一确定模块1202,用于确定监控图像中的待检测包裹以及待检测包裹所属的目标人员;The first determining module 1202 is configured to determine the package to be detected in the surveillance image and the target person to whom the package to be detected belongs;
第二确定模块1203,用于根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,确定安检设备采集的包括待检测包裹的目标X光图像;The second determining module 1203 is configured to determine the target X-ray image collected by the security inspection equipment including the package to be detected according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device;
建立模块1204,用于建立待检测包裹、目标人员和目标X光图像的对应关系。The establishment module 1204 is used to establish the correspondence between the package to be detected, the target person and the X-ray image of the target.
可选的,上述安检设备的传送带上可以包括压力传感器;Optionally, a pressure sensor may be included on the conveyor belt of the above-mentioned security inspection equipment;
上述第一获取模块1201,具体可以用于在通过压力传感器检测到存在包裹被放置在传送带上时,获取当前时刻采集到的安检设备入口处的监控图像。The above-mentioned first acquisition module 1201 can be specifically configured to acquire the monitoring image at the entrance of the security inspection device collected at the current moment when the pressure sensor detects that there is a package placed on the conveyor belt.
可选的,上述第一确定模块1202,具体可以用于将监控图像中安检设备的传送带上的包裹,确定为待检测包裹;Optionally, the above-mentioned first determining module 1202 may specifically be used to determine the package on the conveyor belt of the security inspection equipment in the monitoring image as the package to be detected;
将监控图像中距离待检测包裹最近的人员,确定为待检测包裹所属的目标人员。The person closest to the package to be detected in the surveillance image is determined as the target person to whom the package to be detected belongs.
可选的,上述第二确定模块1203,可以包括:Optionally, the above-mentioned second determination module 1203 may include:
第一确定子模块,用于根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,确定待检测包裹与检测区域间的距离;The first determination sub-module is used to determine the distance between the package to be detected and the detection area according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device;
第二确定子模块,用于基于所确定的距离以及传送带的传送速度,确定待检测包裹传送至检测区域的时间范围;The second determination submodule is used to determine the time range for the package to be detected to be transmitted to the detection area based on the determined distance and the transmission speed of the conveyor belt;
第三确定子模块,用于从时间范围内安检设备采集的X光图像中,确定安检设备采集的包括待检测包裹的目标X光图像。The third determination sub-module is used to determine the target X-ray image collected by the security inspection device including the package to be detected from the X-ray images collected by the security inspection device within the time range.
可选的,上述安检设备的传送带上可以包括压力传感器;Optionally, a pressure sensor may be included on the conveyor belt of the above-mentioned security inspection equipment;
上述信息关联装置还可以包括:The above-mentioned information association device may also include:
识别模块,用于对监控图像进行识别,得到待检测包裹在安检设备的传送带上的放置位置;和/或The identification module is used to identify the monitoring image, and obtain the placement position of the package to be detected on the conveyor belt of the security inspection device; and/or
第三确定模块,用于将压力传感器检测到的压力信号的位置,确定为待检测包裹在传送带上的放置位置。The third determination module is configured to determine the position of the pressure signal detected by the pressure sensor as the placement position of the package to be detected on the conveyor belt.
可选的,上述信息关联装置还可以包括:Optionally, the above-mentioned information association device may also include:
第二获取模块,用于在从时间范围内安检设备采集的X光图像中,确定安检设备采集的包括待检测包裹的目标X光图像之前,获取监控图像中待检测包裹的第一包裹特征;The second acquisition module is used to obtain the first package feature of the package to be detected in the monitoring image before determining the target X-ray image collected by the security inspection device including the package to be detected from the X-ray images collected by the security inspection device within the time range;
第三确定子模块,具体用于获取时间范围内安检设备采集的每一张X光图像中包裹的第二包裹特征;The third determination sub-module is specifically used to obtain the second package characteristics of the package in each X-ray image collected by the security inspection equipment within the time range;
将第一包裹特征与每一张X光图像中包裹的第二包裹特征进行匹配,得到安检设备采集的包括待检测包裹的目标X光图像。The features of the first package are matched with the features of the second package in each X-ray image to obtain the target X-ray image collected by the security inspection equipment including the package to be detected.
可选的,上述包裹特征可以包括多维特征;Optionally, the above-mentioned package features may include multi-dimensional features;
第三确定子模块,具体用于针对每一张X光图像,计算该X光图像的第二包裹特征与第一包裹特征中每一特征维度对应的匹配置信度的加权和,得到该X光图像中的包裹与待检测包裹间的匹配置信度;The third determination sub-module is specifically used to calculate the weighted sum of the matching confidence degrees corresponding to each feature dimension in the second package feature of the X-ray image and the first package feature for each X-ray image, to obtain the X-ray The matching confidence between the package in the image and the package to be detected;
基于每一张X光图像中的包裹与待检测包裹间的匹配置信度,以及待检测包裹所属的目标人员,对每一X光图像进行逻辑判断,确定安检设备采集的包括待检测包裹的目标X光图像。Based on the matching confidence between the package in each X-ray image and the package to be detected, and the target person to whom the package to be detected belongs, a logical judgment is made on each X-ray image to determine the target collected by the security inspection equipment, including the package to be detected X-ray image.
可选的,上述包裹特征可以包括包裹重量、包裹大小和包裹形状中的一种或多种。Optionally, the aforementioned package characteristics may include one or more of package weight, package size and package shape.
可选的,上述建立模块1204,具体可以用于获取待检测包裹进入检测区域前的包裹图像和目标人员的人员图像;基于包裹图像、人员图像和目标X光图像,建立待检测包裹、目标人员和目标X光图像的对应关系。Optionally, the above-mentioned establishment module 1204 can be specifically used to obtain the package image and the person image of the target person before the package to be detected enters the detection area; based on the package image, person image and target X-ray image, establish The corresponding relationship with the target X-ray image.
可选的,上述信息关联装置还可以包括:Optionally, the above-mentioned information association device may also include:
告警模块,用于在检测到目标X光图像中的包裹包含有异常物品时,基于待检测包裹、目标人员和目标X光图像的对应关系,输出告警消息。The alarm module is configured to output an alarm message based on the correspondence between the package to be detected, the target person, and the target X-ray image when it is detected that the package in the target X-ray image contains abnormal items.
通过本申请实施例提供的装置,通过获取安检设备入口处的监控图像,可以确定该监控图像中的待检测包裹所属的目标人员,即确定待检测包裹所关联的目标人员。另外,根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,可以确定安检设备采集到的包括待检测包裹的目标X光图像,即确定待检测包裹所关联到的目标X光图像。这使得安检设备可以根据待检测包裹所属的目标人员,以及包括待检测包裹的目标X光图像,建立待检测包裹、目标人员以及目标X光图像间的对应关系,即将包裹、人员和X光图像三者进行关联。由于该关联过程直接有由安检设备基于采集到的 监控图像和X光图像进行的,不需要人工参与,节约了人工关联所需的时间,降低了人流量较多或环境较为复杂的场景人工关联出现错误的可能性,提高了信息关联的效率的准确性。With the device provided in the embodiment of the present application, by acquiring the monitoring image at the entrance of the security inspection equipment, the target person to whom the package to be detected in the monitoring image belongs can be determined, that is, the target person associated with the package to be detected can be determined. In addition, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, the target X-ray image collected by the security inspection device including the package to be detected can be determined, that is, it can be determined that the package to be detected is associated with X-ray image of the target. This enables the security inspection equipment to establish the correspondence between the package to be detected, the target person, and the target X-ray image according to the target person to whom the package to be detected belongs, and the target X-ray image including the package to be detected, that is, the package, person and X-ray image The three are connected. Since the association process is directly carried out by the security inspection equipment based on the collected monitoring images and X-ray images, no manual participation is required, which saves the time required for manual association, and reduces manual association in scenes with a large number of people or complex environments Possibility of errors increases the accuracy of the efficiency of information association.
另外,采用本申请实施例提供的技术方案,通过在相关的安检设备的基础上进行较小的改装,实现对包裹、人员和X光图像三者进行关联,这使得安检设备的改装成本较低。并且,整个信息关联过程中,目标人员仅需将包裹放置在传输带上,安检设备即可自动对包裹、人员和X光图像进行关联,也就是在人员未感知的情况下完成信息关联过程,这并不影响人员安检过程。In addition, by adopting the technical solution provided by the embodiment of the present application, by making minor modifications on the basis of related security inspection equipment, the association of packages, personnel and X-ray images is realized, which makes the modification cost of security inspection equipment lower . Moreover, during the entire information association process, the target personnel only need to place the package on the conveyor belt, and the security inspection equipment can automatically associate the package, personnel and X-ray images, that is, complete the information association process without the personnel being aware of it. This does not affect the personnel security screening process.
基于同一种发明构思,根据上述本申请实施例提供的信息关联方法,本申请实施例还提供了一种安检设备。如图13所示,图13为本申请实施例提供的安检设备的第四种结构示意图。该安检设备可以包括摄像头1301、传送带1302、图像分析模块1303、X光检测模块1304和信息关联模块1305;该传送带1302上可以包括压力传感器1306:Based on the same inventive concept, and according to the information association method provided by the above embodiments of the present application, the embodiments of the present application also provide a security inspection device. As shown in FIG. 13 , FIG. 13 is a fourth structural schematic diagram of the security inspection device provided by the embodiment of the present application. The security inspection equipment may include a camera 1301, a conveyor belt 1302, an image analysis module 1303, an X-ray detection module 1304, and an information association module 1305; the conveyor belt 1302 may include a pressure sensor 1306:
上述摄像头1301,用于在通过压力传感器1306检测到存在包裹被放置在传送带1302上时,获取当前时刻采集到的安检设备入口处的监控图像;The above-mentioned camera 1301 is used to obtain the monitoring image at the entrance of the security inspection equipment collected at the current moment when the pressure sensor 1306 detects that there is a package placed on the conveyor belt 1302;
上述传送带1302,用于传送包裹;The above-mentioned conveyor belt 1302 is used for conveying parcels;
上述图像分析模块1303,用于获取监控图像;确定监控图像中的待检测包裹;The above-mentioned image analysis module 1303 is used to obtain the monitoring image; determine the package to be detected in the monitoring image;
上述X光检测模块1304,用于在传送带1302上的包裹传输至检测区域时,采集包裹的X光图像,并基于X光图像,对包裹进行异常检测;The above-mentioned X-ray detection module 1304 is used to collect the X-ray image of the package when the package on the conveyor belt 1302 is transported to the detection area, and perform abnormal detection on the package based on the X-ray image;
上述信息关联模块1305,用于确定监控图像中待检测包裹所属的目标人员;根据待检测包裹在安检设备的传送带1302上的放置位置,以及安检设备的检测区域的位置,确定安检设备采集的包括待检测包裹的目标X光图像;建立待检测包裹、目标人员和目标X光图像的对应关系。The above-mentioned information association module 1305 is used to determine the target person to whom the package to be detected belongs in the monitoring image; according to the placement position of the package to be detected on the conveyor belt 1302 of the security inspection equipment, and the position of the detection area of the security inspection equipment, determine the information collected by the security inspection equipment. Target X-ray image of the package to be detected; establish correspondence between the package to be detected, the target person and the target X-ray image.
可选的,上述安检设备还可以包括压力分析模块、人脸抓拍模块、信息存储模块和信息显示模块;Optionally, the above-mentioned security inspection equipment may also include a pressure analysis module, a face capture module, an information storage module and an information display module;
上述压力分析模块,用于获取待检测包裹被放置在传送带1302上时,压力传感器1306生成的压力信号,并根据预设的压力信号与压力值间的对应关系,确定压力传感器1306生成的压力信号对应的压力值,作为待检测包裹的包裹重量;The above-mentioned pressure analysis module is used to obtain the pressure signal generated by the pressure sensor 1306 when the package to be detected is placed on the conveyor belt 1302, and determine the pressure signal generated by the pressure sensor 1306 according to the preset corresponding relationship between the pressure signal and the pressure value The corresponding pressure value is used as the package weight of the package to be detected;
上述人脸抓拍模块,用于在通过压力传感器1306检测到存在包裹被放置在传送带1302上时,对安检设备入口处人员的人脸进行抓拍;The above-mentioned face capture module is used to capture the face of the person at the entrance of the security inspection equipment when the pressure sensor 1306 detects that there is a package placed on the conveyor belt 1302;
上述信息存储模块,用于存储待检测包裹、目标人员和目标X光图像的对应关系;The above-mentioned information storage module is used to store the corresponding relationship between the package to be detected, the target person and the target X-ray image;
上述信息显示模块,用于在检测到目标X光图像中的包裹包含有异常物品时,基于待检测包裹、目标人员和目标X光图像的对应关系,输出告警消息。The above information display module is configured to output an alarm message based on the correspondence between the package to be detected, the target person and the target X-ray image when it is detected that the package in the target X-ray image contains abnormal items.
通过本申请实施例提供的安检设备,通过获取安检设备入口处的监控图像,可以确定该监控图像中的待检测包裹所属的目标人员,即确定待检测包裹所关联的目标人员。另外,根据待检测包裹在安检设备的传送带上的放置位置,以及安检设备的检测区域的位置,可以确定安检设备采集到的包括待检测包裹的目标X光图像,即确定待检测包裹所关联到的目标X光图像。这使得安检设备可以根据待检测包裹所属的目标人员,以及包括待检测包裹的目标X光图像,建立待检测包裹、目标人员以及目标X光图像间的对应关系,即将包裹、人员和X光图像三者进行关联。由于该关联过程直接有由安检设备基于采集到的监控图像和X光图像进行的,不需要人工参与,节约了人工关联所需的时间,降低了人流量较多或环境较为复杂的场景人工关联出现错误的可能性,提高了信息关联的效率的准确性。With the security inspection device provided in the embodiment of the present application, by acquiring the monitoring image at the entrance of the security inspection device, the target person to whom the package to be detected in the monitoring image belongs can be determined, that is, the target person associated with the package to be detected can be determined. In addition, according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, the target X-ray image collected by the security inspection device including the package to be detected can be determined, that is, it can be determined that the package to be detected is associated with X-ray image of the target. This enables the security inspection equipment to establish the correspondence between the package to be detected, the target person, and the target X-ray image according to the target person to whom the package to be detected belongs, and the target X-ray image including the package to be detected, that is, the package, person and X-ray image The three are connected. Since the association process is directly carried out by the security inspection equipment based on the collected monitoring images and X-ray images, no manual participation is required, which saves the time required for manual association, and reduces manual association in scenes with a large number of people or complex environments Possibility of errors increases the accuracy of the efficiency of information association.
另外,采用本申请实施例提供的技术方案,通过在相关的安检设备的基础上进行较小的改装,实现 对包裹、人员和X光图像三者进行关联,这使得安检设备的改装成本较低。并且,整个信息关联过程中,目标人员仅需将包裹放置在传输带上,安检设备即可自动对包裹、人员和X光图像进行关联,也就是在人员未感知的情况下完成信息关联过程,这并不影响人员安检过程。In addition, by adopting the technical solution provided by the embodiment of the present application, by making minor modifications on the basis of related security inspection equipment, the association of packages, personnel and X-ray images is realized, which makes the modification cost of security inspection equipment lower . Moreover, during the entire information association process, the target personnel only need to place the package on the conveyor belt, and the security inspection equipment can automatically associate the package, personnel and X-ray images, that is, complete the information association process without the personnel being aware of it. This does not affect the personnel security screening process.
基于同一种发明构思,根据上述本申请实施例提供的信息关联方法,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一信息关联方法的步骤。Based on the same inventive concept, according to the information association method provided by the above embodiments of the present application, the embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored in the computer-readable storage medium, and the computer program is The processor implements the steps of any one of the above information association methods when executed.
基于同一种发明构思,根据上述本申请实施例提供的信息关联方法,本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一信息关联方法。Based on the same inventive concept, according to the information association method provided by the above-mentioned embodiments of the present application, the embodiments of the present application also provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute any of the above-mentioned embodiments. An information association method.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、安检设备、计算机可读存储介质和计算机程序产品等实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for embodiments such as devices, security inspection equipment, computer-readable storage media, and computer program products, since they are basically similar to the method embodiments, the description is relatively simple. For relevant information, please refer to the part of the description of the method embodiments. .
以上所述仅为本申请的较佳实施例,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application are included within the protection scope of this application.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within the range.

Claims (15)

  1. 一种信息关联方法,其特征在于,应用于安检设备,所述方法包括:An information association method is characterized in that it is applied to security inspection equipment, and the method includes:
    获取所述安检设备入口处的监控图像;Acquiring the monitoring image at the entrance of the security inspection equipment;
    确定所述监控图像中的待检测包裹以及所述待检测包裹所属的目标人员;determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs;
    根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置,确定所述安检设备采集的包括所述待检测包裹的目标X光图像;According to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device, determine the target X-ray image collected by the security inspection device including the package to be detected;
    建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系。A corresponding relationship between the package to be detected, the target person, and the target X-ray image is established.
  2. 根据权利要求1所述的方法,其特征在于,所述安检设备的传送带上包括压力传感器;The method according to claim 1, wherein the conveyor belt of the security inspection equipment includes a pressure sensor;
    所述获取所述安检设备入口处的监控图像的步骤,包括:The step of acquiring the monitoring image at the entrance of the security inspection equipment includes:
    在通过所述压力传感器检测到存在包裹被放置在所述传送带上时,获取当前时刻采集到的所述安检设备入口处的监控图像。When it is detected by the pressure sensor that there is a package placed on the conveyor belt, the monitoring image at the entrance of the security inspection device collected at the current moment is acquired.
  3. 根据权利要求1所述的方法,其特征在于,所述确定所述监控图像中的待检测包裹以及所述待检测包裹所属的目标人员的步骤,包括:The method according to claim 1, wherein the step of determining the package to be detected in the surveillance image and the target person to whom the package to be detected belongs comprises:
    将所述监控图像中所述安检设备的传送带上的包裹,确定为待检测包裹;Determining the package on the conveyor belt of the security inspection device in the monitoring image as the package to be detected;
    将所述监控图像中距离所述待检测包裹最近的人员,确定为所述待检测包裹所属的目标人员。The person closest to the package to be detected in the monitoring image is determined as the target person to whom the package to be detected belongs.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置,确定所述安检设备采集的包括所述待检测包裹的目标X光图像的步骤,包括:The method according to claim 1, characterized in that, according to the placement position of the package to be detected on the conveyor belt of the security inspection equipment and the location of the detection area of the security inspection equipment, it is determined that the collection of the security inspection equipment The step of including the target X-ray image of the package to be detected includes:
    根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置,确定所述待检测包裹与所述检测区域间的距离;determining the distance between the package to be detected and the detection area according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device;
    基于所确定的距离以及所述传送带的传送速度,确定所述待检测包裹传送至所述检测区域的时间范围;Based on the determined distance and the transmission speed of the conveyor belt, determine the time range for the package to be detected to be transmitted to the detection area;
    从所述时间范围内所述安检设备采集的X光图像中,确定所述安检设备采集的包括所述待检测包裹的目标X光图像。From the X-ray images collected by the security inspection equipment within the time range, determine a target X-ray image collected by the security inspection equipment that includes the package to be inspected.
  5. 根据权利要求4所述的方法,其特征在于,所述安检设备的传送带上包括压力传感器;The method according to claim 4, characterized in that, the conveyor belt of the security inspection equipment includes a pressure sensor;
    所述方法还包括:The method also includes:
    对所述监控图像进行识别,得到所述待检测包裹在所述安检设备的传送带上的放置位置;和/或Recognizing the monitoring image to obtain the placement position of the package to be detected on the conveyor belt of the security inspection device; and/or
    将所述压力传感器检测到的压力信号的位置,确定为所述待检测包裹在所述传送带上的放置位置。The position of the pressure signal detected by the pressure sensor is determined as the placement position of the package to be detected on the conveyor belt.
  6. 根据权利要求4所述的方法,其特征在于,在从所述时间范围内所述安检设备采集的X光图像中,确定所述安检设备采集的包括所述待检测包裹的目标X光图像之前,还包括:The method according to claim 4, characterized in that, among the X-ray images collected by the security inspection equipment within the time range, before determining the target X-ray image collected by the security inspection equipment including the package to be inspected ,Also includes:
    获取所述监控图像中所述待检测包裹的第一包裹特征;Acquiring the first package feature of the package to be detected in the monitoring image;
    所述从所述时间范围内所述安检设备采集的X光图像中,确定所述安检设备采集的包括所述待检测包裹的目标X光图像的步骤,包括:The step of determining, from the X-ray images collected by the security inspection equipment within the time range, the target X-ray images collected by the security inspection equipment that include the package to be detected includes:
    获取所述时间范围内所述安检设备采集的每一张X光图像中包裹的第二包裹特征;Obtain the second package feature of the package in each X-ray image collected by the security inspection equipment within the time range;
    将所述第一包裹特征与每一张X光图像中包裹的第二包裹特征进行匹配,得到所述安检设备采集的包括所述待检测包裹的目标X光图像。The first package feature is matched with the second package feature of the package in each X-ray image to obtain a target X-ray image collected by the security inspection device including the package to be detected.
  7. 根据权利要求6所述的方法,其特征在于,所述包裹特征包括多维特征;The method according to claim 6, wherein the package feature comprises a multi-dimensional feature;
    所述将所述第一包裹特征与每一张X光图像中包裹的第二包裹特征进行匹配,得到所述安检设备采集的包括所述待检测包裹的目标X光图像的步骤,包括:The step of matching the characteristics of the first package with the characteristics of the second package in each X-ray image to obtain the target X-ray image collected by the security inspection equipment and including the package to be detected includes:
    针对每一张X光图像,计算该X光图像的第二包裹特征与所述第一包裹特征中每一特征维度对应的匹配置信度的加权和,得到该X光图像中的包裹与所述待检测包裹间的匹配置信度;For each X-ray image, calculate the weighted sum of the matching confidence degrees corresponding to the second package feature of the X-ray image and each feature dimension in the first package feature, and obtain the package in the X-ray image and the The matching confidence between the packages to be detected;
    基于每一张X光图像中的包裹与所述待检测包裹间的匹配置信度,以及所述待检测包裹所属的目标人员,对所述每一X光图像进行逻辑判断,确定所述安检设备采集的包括所述待检测包裹的目标X光图像。Based on the matching confidence between the package in each X-ray image and the package to be detected, and the target person to whom the package to be detected belongs, perform a logical judgment on each X-ray image to determine the security inspection equipment The collected target X-ray image includes the package to be detected.
  8. 根据权利要求6所述的方法,其特征在于,所述包裹特征包括包裹重量、包裹大小和包裹形状中的一种或多种。The method according to claim 6, wherein the package characteristics include one or more of package weight, package size and package shape.
  9. 根据权利要求1所述的方法,其特征在于,所述建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系的步骤,包括:The method according to claim 1, wherein the step of establishing the corresponding relationship between the package to be detected, the target person and the target X-ray image comprises:
    获取所述待检测包裹进入所述检测区域前的包裹图像和所述目标人员的人员图像;Acquiring the image of the package before the package to be detected enters the detection area and the person image of the target person;
    基于所述包裹图像、所述人员图像和所述目标X光图像,建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系。Based on the package image, the person image, and the target X-ray image, a corresponding relationship between the package to be detected, the target person, and the target X-ray image is established.
  10. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    在检测到所述目标X光图像中的包裹包含有异常物品时,基于所述待检测包裹、所述目标人员和所述目标X光图像的对应关系,输出告警消息。When it is detected that the package in the X-ray image of the target contains abnormal items, an alarm message is output based on the correspondence between the package to be detected, the person of the target, and the X-ray image of the target.
  11. 一种信息关联装置,其特征在于,应用于安检设备,所述装置包括:An information association device is characterized in that it is applied to security inspection equipment, and the device includes:
    第一获取模块,用于获取所述安检设备入口处的监控图像;The first acquisition module is used to acquire the monitoring image at the entrance of the security inspection equipment;
    第一确定模块,用于确定所述监控图像中的待检测包裹以及所述待检测包裹所属的目标人员;A first determining module, configured to determine the package to be detected in the surveillance image and the target person to whom the package to be detected belongs;
    第二确定模块,用于根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置,确定所述安检设备采集的包括所述待检测包裹的目标X光图像;The second determining module is configured to determine the information collected by the security inspection equipment including the package to be detected according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the position of the detection area of the security inspection device. Target X-ray image;
    建立模块,用于建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系。An establishment module, configured to establish correspondence between the package to be detected, the target person, and the target X-ray image.
  12. 一种安检设备,其特征在于,所述安检设备包括摄像头、传送带、图像分析模块、X光检测模块和信息关联模块;所述传送带上包括压力传感器:A security inspection device, characterized in that the security inspection device includes a camera, a conveyor belt, an image analysis module, an X-ray detection module, and an information association module; the conveyor belt includes a pressure sensor:
    所述摄像头,用于在通过所述压力传感器检测到存在包裹被放置在所述传送带上时,获取当前时刻采集到的所述安检设备入口处的监控图像;The camera is used to acquire the monitoring image at the entrance of the security inspection equipment collected at the current moment when the pressure sensor detects that there is a package placed on the conveyor belt;
    所述传送带,用于传送包裹;The conveyor belt is used for conveying parcels;
    所述图像分析模块,用于获取所述监控图像;确定所述监控图像中的待检测包裹;The image analysis module is used to obtain the monitoring image; determine the package to be detected in the monitoring image;
    所述X光检测模块,用于在所述传送带上的包裹传输至检测区域时,采集所述包裹的X光图像,并基于所述X光图像,对所述包裹进行异常检测;The X-ray detection module is configured to collect an X-ray image of the package when the package on the conveyor belt is transported to the detection area, and perform abnormal detection on the package based on the X-ray image;
    所述信息关联模块,用于确定所述监控图像中所述待检测包裹所属的目标人员;根据所述待检测包裹在所述安检设备的传送带上的放置位置,以及所述安检设备的检测区域的位置,确定所述安检设备采集的包括所述待检测包裹的目标X光图像;建立所述待检测包裹、所述目标人员和所述目标X光图像的对应关系。The information association module is configured to determine the target person to whom the package to be detected belongs in the monitoring image; according to the placement position of the package to be detected on the conveyor belt of the security inspection device and the detection area of the security inspection device Determine the location of the target X-ray image collected by the security inspection equipment including the package to be detected; establish a corresponding relationship between the package to be detected, the target person, and the target X-ray image.
  13. 根据权利要求12所述的安检设备,其特征在于,所述安检设备还包括压力分析模块、人脸抓拍模块、信息存储模块和信息显示模块;The security inspection device according to claim 12, wherein the security inspection device further comprises a pressure analysis module, a face capture module, an information storage module and an information display module;
    所述压力分析模块,用于获取所述待检测包裹被放置在传送带上时,所述压力传感器生成的压力信号,并根据预设的压力信号与压力值间的对应关系,确定所述压力传感器生成的压力信号对应的压力值,作为所述待检测包裹的包裹重量;The pressure analysis module is configured to obtain the pressure signal generated by the pressure sensor when the package to be detected is placed on the conveyor belt, and determine the pressure sensor pressure signal according to the preset correspondence between the pressure signal and the pressure value. The pressure value corresponding to the generated pressure signal is used as the package weight of the package to be detected;
    所述人脸抓拍模块,用于在通过所述压力传感器检测到存在包裹被放置在所述传送带上时,对所述安检设备入口处人员的人脸进行抓拍;The face capture module is used to capture the face of the person at the entrance of the security inspection device when the pressure sensor detects that a package is placed on the conveyor belt;
    所述信息存储模块,用于存储所述待检测包裹、所述目标人员和所述目标X光图像的对应关系;The information storage module is used to store the corresponding relationship between the package to be detected, the target person and the target X-ray image;
    所述信息显示模块,用于在检测到所述目标X光图像中的包裹包含有异常物品时,基于所述待检测包裹、所述目标人员和所述目标X光图像的对应关系,输出告警消息。The information display module is configured to output an alarm based on the correspondence between the package to be detected, the target person, and the target X-ray image when detecting that the package in the target X-ray image contains abnormal items information.
  14. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-10任一所述的方法步骤。A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps described in any one of claims 1-10 are implemented.
  15. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行权利要求1-10任一所述的方法。A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-10.
PCT/CN2022/097192 2021-06-09 2022-06-06 Information association method and apparatus, security inspection device, and storage medium WO2022257892A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110644127.7A CN113267828A (en) 2021-06-09 2021-06-09 Information association method and device, security check equipment and storage medium
CN202110644127.7 2021-06-09

Publications (1)

Publication Number Publication Date
WO2022257892A1 true WO2022257892A1 (en) 2022-12-15

Family

ID=77234982

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/097192 WO2022257892A1 (en) 2021-06-09 2022-06-06 Information association method and apparatus, security inspection device, and storage medium

Country Status (2)

Country Link
CN (1) CN113267828A (en)
WO (1) WO2022257892A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116311085A (en) * 2023-05-19 2023-06-23 杭州睿影科技有限公司 Image processing method, system, device and electronic equipment
CN116337868A (en) * 2023-02-28 2023-06-27 靖江安通电子设备有限公司 Surface defect detection method and detection system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113267828A (en) * 2021-06-09 2021-08-17 杭州海康威视数字技术股份有限公司 Information association method and device, security check equipment and storage medium
CN115903066A (en) * 2021-08-18 2023-04-04 信扬科技(佛山)有限公司 Workshop security inspection mechanism and security inspection method thereof
CN113506339A (en) * 2021-09-10 2021-10-15 北京科技大学 Method and device for controlling working power of equipment and storage medium
CN115393563A (en) * 2022-09-15 2022-11-25 杭州萤石软件有限公司 Package detection method and system and electronic equipment
CN115469375B (en) * 2022-11-14 2023-02-14 成都智元汇信息技术股份有限公司 System for associating visible light image and X-ray image of person bag

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2608121A1 (en) * 2005-05-11 2006-11-16 Optosecurity Inc. User interface for use in screening luggage, containers, parcels or people and apparatus for implementing same
CN104597514A (en) * 2014-12-17 2015-05-06 同方威视技术股份有限公司 Safety inspection system
US20170185842A1 (en) * 2015-12-29 2017-06-29 Nuctech Company Limited Method, system and device for security inspection
CN110929066A (en) * 2019-11-18 2020-03-27 浙江大华技术股份有限公司 Method and device for displaying personnel and package information in association manner and security check machine
CN113267828A (en) * 2021-06-09 2021-08-17 杭州海康威视数字技术股份有限公司 Information association method and device, security check equipment and storage medium
CN113759431A (en) * 2021-06-09 2021-12-07 同方威视技术股份有限公司 Security check data association method and device and X-ray security check system
CN114187612A (en) * 2021-12-09 2022-03-15 成都轨道交通集团有限公司 Method and system for associating person with bag

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106295547A (en) * 2016-08-05 2017-01-04 深圳市商汤科技有限公司 A kind of image comparison method and image comparison device
CN107527081B (en) * 2017-09-20 2024-02-02 重庆微标科技股份有限公司 Luggage RFID (radio frequency identification) tracking system, method and service terminal
CN208932355U (en) * 2018-10-09 2019-06-04 广州聿峰安防科技有限公司 Intelligent X ray inspection unit
CN109146883A (en) * 2018-10-31 2019-01-04 中控智慧科技股份有限公司 A kind of image processing method and screening machine
CN109211951A (en) * 2018-11-16 2019-01-15 银河水滴科技(北京)有限公司 A kind of safe examination system and safety inspection method based on image segmentation
CN110275214A (en) * 2019-03-19 2019-09-24 上海物联网有限公司 A kind of package safe examination system
CN110271878B (en) * 2019-07-22 2024-02-09 江苏阆达机械有限公司 PLC control system
CN111151461A (en) * 2020-01-15 2020-05-15 中云智慧(北京)科技有限公司 Online checking system
CN111323835B (en) * 2020-03-20 2022-09-16 安徽启新明智科技有限公司 Security inspection method and device based on personal bag association
CN112830041A (en) * 2021-02-05 2021-05-25 淮阴工学院 Plastic bag express delivery parcel demolish device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2608121A1 (en) * 2005-05-11 2006-11-16 Optosecurity Inc. User interface for use in screening luggage, containers, parcels or people and apparatus for implementing same
CN104597514A (en) * 2014-12-17 2015-05-06 同方威视技术股份有限公司 Safety inspection system
US20170185842A1 (en) * 2015-12-29 2017-06-29 Nuctech Company Limited Method, system and device for security inspection
CN110929066A (en) * 2019-11-18 2020-03-27 浙江大华技术股份有限公司 Method and device for displaying personnel and package information in association manner and security check machine
CN113267828A (en) * 2021-06-09 2021-08-17 杭州海康威视数字技术股份有限公司 Information association method and device, security check equipment and storage medium
CN113759431A (en) * 2021-06-09 2021-12-07 同方威视技术股份有限公司 Security check data association method and device and X-ray security check system
CN114187612A (en) * 2021-12-09 2022-03-15 成都轨道交通集团有限公司 Method and system for associating person with bag

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116337868A (en) * 2023-02-28 2023-06-27 靖江安通电子设备有限公司 Surface defect detection method and detection system
CN116337868B (en) * 2023-02-28 2023-09-19 靖江安通电子设备有限公司 Surface defect detection method and detection system
CN116311085A (en) * 2023-05-19 2023-06-23 杭州睿影科技有限公司 Image processing method, system, device and electronic equipment
CN116311085B (en) * 2023-05-19 2023-09-01 杭州睿影科技有限公司 Image processing method, system, device and electronic equipment

Also Published As

Publication number Publication date
CN113267828A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
WO2022257892A1 (en) Information association method and apparatus, security inspection device, and storage medium
US10204264B1 (en) Systems and methods for dynamically scoring implicit user interaction
CN111739250B (en) Fire detection method and system combining image processing technology and infrared sensor
CN109686049B (en) Method, device, medium and electronic equipment for reminding falling order of children in public place
CN107657244B (en) Human body falling behavior detection system based on multiple cameras and detection method thereof
CN104965235A (en) Security check system and method
CN109214373A (en) A kind of face identification system and method for attendance
JP2018011263A (en) Monitor system, monitor camera, and management device
CN104821025B (en) Passenger flow detection method and its detecting system
CN114295649B (en) Information association method, device, electronic equipment and storage medium
WO2019051814A1 (en) Target recognition method and apparatus, and intelligent terminal
WO2024055698A1 (en) Package inspection method and system and electronic device
CN101546376A (en) Human biological information acquisition system, human face photo acquisition and quality testing system and method
JP2000209578A (en) Advertisement media evaluation system and advertisement medium evaluation method
CN106710120A (en) Front-end distributed forest smoke and fire identifying, locating and intelligent sensing system
Zambanini et al. Detecting falls at homes using a network of low-resolution cameras
CN109753886A (en) A kind of evaluation method of facial image, device and equipment
CN112633204A (en) Accurate passenger flow statistical method, device, equipment and medium
CN112686214A (en) Face mask detection system and method based on Retinaface algorithm
WO2020171554A1 (en) Method and apparatus for measuring body temperature using a camera
CN115830012A (en) Method for detecting and analyzing contact net clue damage data
Chutimawattanakul et al. Fall detection for the elderly using yolov4 and lstm
CN102034243A (en) Method and device for acquiring crowd density map from video image
CN116246299A (en) Low-head-group intelligent recognition system combining target detection and gesture recognition technology
CN108021907A (en) The sensing data searching method and device of destination object, storage medium, terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22819490

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WD Withdrawal of designations after international publication