Handheld metal detector and security inspection method of handheld metal detector

By adding a pose detection sensor and a display to the handheld metal detector, the problem of not being able to distinguish between suspicious items and everyday items in the existing technology has been solved. This enables real-time display of the location and type of suspicious metal items, thus improving security inspection efficiency.

CN120993512BActive Publication Date: 2026-08-04HANGZHOU RAYIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU RAYIN TECH CO LTD
Filing Date
2025-08-26
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Existing handheld metal detectors cannot effectively distinguish between suspicious items and everyday items, resulting in low security inspection efficiency and requiring a lot of re-inspection work.

Method used

A pose detection sensor and a display are added to the handheld metal detector. The pose detection sensor determines the position information of the detector relative to the object being inspected, and the detection results, including the location and type of suspicious metal items, are displayed on the display.

Benefits of technology

It enables real-time identification of the location and type of suspicious metal items during security checks, reducing re-inspection work and improving security check efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120993512B_ABST
    Figure CN120993512B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a handheld metal detector and a security check method of the handheld metal detector, relates to the technical field of security check, and the metal detection component can output a metal detection signal of a body detection part of a security check object in the process of detecting the security check object; the pose detection sensor can determine the pose information of the handheld metal detector; the processor can determine the body detection part of the security check object detected by the handheld metal detector, determine the position information of the handheld metal detector relative to the body detection part of the security check object based on the pose information, acquire the detection result of the body detection part, and send the position information and the detection result to the display; and the display can display the detection result at the body detection part of the security check object based on the position information. In this way, the security check personnel can intuitively know the position of the suspicious metal object in the human body and the information of the suspicious metal object, the rechecking work of the security check personnel can be reduced, and the security check efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of security inspection technology, and in particular to a handheld metal detector and a security inspection method for the handheld metal detector. Background Technology

[0002] In crowded public places and other locations with high security requirements, security checks are typically conducted on people entering these places to ensure public safety, specifically to inspect them for suspicious items, particularly those made of metal. Handheld metal detectors are one such technology used for these security checks.

[0003] Currently, handheld metal detectors can only identify the presence of metal, but cannot identify the specific type of metal item. Especially in security inspection scenarios where it is necessary to distinguish between suspicious items and everyday items, handheld metal detectors cannot effectively distinguish between suspicious items such as knives and everyday items such as belts and mobile phones, resulting in more re-inspection work and lower security inspection efficiency. Summary of the Invention

[0004] The purpose of this application is to provide a handheld metal detector and a security inspection method using the handheld metal detector, so as to improve security inspection efficiency. The specific technical solution is as follows:

[0005] In a first aspect, embodiments of this application provide a handheld metal detector, the handheld metal detector comprising:

[0006] A metal detection component is used to output a metal detection signal for the body detection part of the security inspection object during the inspection process;

[0007] A pose detection sensor is used to determine the pose information of the handheld metal detector during the detection process;

[0008] Processor, used for:

[0009] During the inspection of a security target, the body detection area of ​​the security target detected by the handheld metal detector is determined; the position information of the handheld metal detector relative to the body detection area of ​​the security target is determined based on the pose information; the detection result of the body detection area determined based on the metal detection signal is obtained, and the position information and the detection result are sent to the display.

[0010] A display is used to show the detection results on the body detection area of ​​the person being inspected, based on the location information.

[0011] Secondly, embodiments of this application provide a security inspection method using a handheld metal detector, applied to a processor in the handheld metal detector, which further includes a metal detection component, a pose detection sensor, and a display. The method includes:

[0012] During the inspection of the security checkpoint, the body parts of the security checkpoint detected by the handheld metal detector are determined;

[0013] Based on the pose information collected by the pose detection sensor, the position information of the handheld metal detector relative to the body detection part of the security inspection object is determined;

[0014] Obtain the detection result of the body detection area determined based on the metal detection signal, wherein the metal detection signal is the output of the metal detection component for the body detection area of ​​the security inspection object during the detection process;

[0015] The location information and the detection result are sent to the display so that the detection result is displayed on the body detection area of ​​the security check subject based on the location information.

[0016] Beneficial effects of the embodiments in this application:

[0017] In the solution provided in this application embodiment, the metal detection component can output metal detection signals targeting the body detection area of ​​the security inspection target during the inspection process; the pose detection sensor can determine the pose information of the handheld metal detector during the inspection process; the processor can determine the body detection area of ​​the security inspection target detected by the handheld metal detector during the inspection process; determine the position information of the handheld metal detector relative to the body detection area of ​​the security inspection target based on the pose information; obtain the detection result of the body detection area determined based on the metal detection signal, and send the position information and detection result to the display; the display can display the detection result on the body detection area of ​​the security inspection target based on the position information. By adding a pose detection sensor to the handheld metal detector, the position information of the handheld metal detector relative to the inspected person can be determined in real time during the security inspection process, and then the detected metal detection signal can be associated with the position information. By adding a display to the handheld metal detector, the detection result can be displayed on the body detection area of ​​the security inspection target based on the position information. In this way, security personnel can intuitively know the location of the suspicious metal object in the human body and the object information, which can reduce the re-inspection work of security personnel and improve security inspection efficiency.

[0018] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.

[0020] Figure 1 This is a schematic diagram of a first structure of a handheld metal detector provided in an embodiment of this application;

[0021] Figure 2 Based on Figure 1 A schematic diagram of a second structure of the handheld metal detector in the illustrated embodiment;

[0022] Figure 3 Based on Figure 1 A schematic diagram of the detection process in the illustrated embodiment;

[0023] Figure 4 Based on Figure 1 A schematic diagram of a preset human body for security inspection in the embodiment shown;

[0024] Figure 5 Based on Figure 1 The diagram illustrates a signaling interaction between the processor and the platform in the illustrated embodiment.

[0025] Figure 6 Based on Figure 1 A flowchart illustrating a body image selection method according to the embodiment shown;

[0026] Figure 7 For based on Figure 1 A flowchart illustrating a method for determining location information in the illustrated embodiment;

[0027] Figure 8 Based on Figure 1 A flowchart illustrating a method for determining pixel display information in the embodiment shown;

[0028] Figure 9 For based on Figure 1 The diagram illustrates a signaling interaction between the first button, the processor, and the platform in the illustrated embodiment.

[0029] Figure 10 Based on Figure 1 A signaling interaction diagram between the processor, platform, and display in the illustrated embodiment;

[0030] Figure 11 A flowchart illustrating a security inspection method using a handheld metal detector provided in an embodiment of this application;

[0031] Figure 12 This is a schematic diagram of the structure of a handheld metal detector security inspection device provided in an embodiment of this application. Detailed Implementation

[0032] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.

[0033] To improve security inspection efficiency, this application provides a handheld metal detector, a security inspection method and apparatus for the handheld metal detector, a computer-readable storage medium, and a computer program product. The handheld metal detector provided in this application is described below.

[0034] like Figure 1 As shown, a handheld metal detector includes:

[0035] Metal detection component 101 is used to output metal detection signals for the body detection parts of the security inspection object during the detection process;

[0036] The pose detection sensor 102 is used to determine the pose information of the handheld metal detector during the detection process. The pose detection sensor 102 can be any sensor that can determine the pose information (including position and / or angular orientation, etc.) of the handheld metal detector during the detection process. The type of sensor is not specifically limited as long as the functional requirements are met.

[0037] Processor 103 is used for:

[0038] During the security check process, the body detection area of ​​the security check target is determined by the handheld metal detector; the position information of the handheld metal detector relative to the body detection area of ​​the security check target is determined based on the pose information; the detection result of the body detection area determined based on the metal detection signal is obtained, and the position information and the detection result are sent to the display; wherein, the detection result may include one or more of the following information: whether there is a suspicious metal object, the type of the suspicious metal object (such as a fruit knife, kitchen knife, mobile phone, etc.), the material of the suspicious metal object, and the shape of the suspicious metal object. The type of suspicious metal object may be determined according to the security level or security requirements of the actual site.

[0039] Display 104 is used to display the detection results on the body detection area of ​​the person being inspected based on the location information. That is, the display on the handheld metal detector visually displays the detection results of the person being inspected, such as visually displaying one or more of the following: whether a suspicious item exists at a certain location on the person's body; the shape of a suspicious item at a certain location on the person's body; and the material of a suspicious item at a certain location on the person's body. Different visual display effects can be used for different suspicious items to distinguish them, such as using different colors or brightness levels.

[0040] Furthermore, in this embodiment, the detection results corresponding to the body detection parts of the security inspection target displayed on the display 104 support magnified display. For example, after determining the detection results, under the control of the processor 103, the display 104 can switch between global display (e.g., displaying the detection results of a specific part on the displayed complete doll image) and local magnified display (e.g., displaying specific detection parts of the doll and displaying the detection results on those specific detection parts). For example, upon receiving a touch operation (e.g., a click operation on the display or a press operation on a display button), the display 104, based on the control of the processor 103, can perform local magnified display of the detection results, allowing the detection results to be displayed more clearly.

[0041] As can be seen, in this embodiment, the metal detection component can output metal detection signals targeting the body detection area of ​​the person being inspected during the inspection process; the pose detection sensor can determine the pose information of the handheld metal detector during the inspection process; the processor can determine the body detection area of ​​the person being inspected detected by the handheld metal detector during the inspection process; determine the position information of the handheld metal detector relative to the body detection area of ​​the person being inspected based on the pose information; obtain the detection result of the body detection area determined based on the metal detection signal, and send the position information and detection result to the display; the display can display the detection result on the body detection area of ​​the person being inspected based on the position information. By adding a pose detection sensor to the handheld metal detector, the position information of the handheld metal detector relative to the inspected person can be determined in real time during the security inspection process, and then the detected metal detection signal can be associated with the position information. By adding a display to the handheld metal detector, the detection result can be displayed on the body detection area of ​​the person being inspected based on the position information. In this way, security personnel can intuitively know the location of the suspicious metal object in the human body and the object information, which can reduce the re-inspection work of security personnel and improve security inspection efficiency.

[0042] First, the handheld metal detector provided in the embodiments of this application will be introduced, such as... Figure 2 The diagram shown illustrates another structural design of a handheld metal detector. The handheld metal detector 201 includes a processor 202, a metal detection component 203, a pose detection sensor 204, a display 205, a wireless transmission module 206, an alarm 207, and a button 208.

[0043] The processor 202 is communicatively connected to the metal detection component 203, the pose detection sensor 204, the display 205, the wireless transmission module 206, the alarm 207, and the button 208.

[0044] When energized, the metal detection component 203 generates a high-frequency alternating electromagnetic field. If a metal object is placed within this field, eddy currents will be generated due to changes in its internal magnetic flux. These eddy currents themselves produce a secondary magnetic field, which in turn interferes with the high-frequency alternating electromagnetic field generated by the metal detection component 203. In this situation, the metal detection component 203 can detect a metal signal. Specifically, the metal detection component 203 can be a metal detection coil.

[0045] During the movement of the handheld metal detector 201, the pose detection sensor 204 can sense the motion angle information and instantaneous motion change information of the handheld metal detector 201, thereby detecting the movement change process of the handheld metal detector 201 over a period of time. Specifically, it can detect the movement distance and three-dimensional posture, that is, the change in position and the change in angle. The pose detection sensor 204 can be specifically a motion sensor.

[0046] The display 205 can be used to display a preset human figure diagram including the detection results of suspicious metal objects.

[0047] The wireless transmission module 206 can communicate with the platform, which can determine the detection result based on the metal detection signal. The processor 202 can send the metal detection signal to the platform through the wireless transmission module 206 and receive the detection result returned by the platform through the wireless transmission module 206.

[0048] Alarm 207 can trigger an alarm at body detection points where suspicious metal objects are detected, in the form of a buzzer or vibration motor, etc.

[0049] Button 208 can be used to implement basic control functions of the handheld metal detector, including but not limited to powering on / off, starting and stopping detection, and adjusting the security level. Button 208 may specifically include a first button and a second button. The details of the first and second buttons will be provided in subsequent embodiments.

[0050] Next, the steps performed by each component in the handheld metal detector proposed in this application embodiment will be described in detail:

[0051] Security personnel can use handheld metal detectors to conduct security checks on individuals. For example... Figure 3 The diagram shown illustrates a detection process where security personnel can use a handheld metal detector 301 to scan along... Figure 3 The scanning trajectory 303 around the object 302 being inspected scans the body parts of the object 302.

[0052] During the aforementioned detection process, the metal detection component 101 can be used to output a metal detection signal targeting the body part of the person being inspected. Specifically, the metal detection signal can include both its intensity and phase.

[0053] The pose detection sensor 102 can be used to determine the pose information of the handheld metal detector during the above detection process. The processor 103 of the handheld metal detector can be used to determine the body part of the security target currently being detected by the handheld metal detector in real time during the detection of the security target.

[0054] In one implementation, continue as follows Figure 2 As shown, the handheld metal detector 201 may include a macro camera 209, which is a camera with short-range ultra-wide-angle detection capability. The processor 202 can extract body part features from the images captured by the macro camera 209, and identify body detection parts based on the extracted body part features, thereby determining the body detection parts of the currently detected security object.

[0055] The division of the aforementioned body detection areas can be pre-set. For example, such as... Figure 4 The diagram shown is a pre-designed human body diagram of a person subject to security checks. The body areas to be checked can be divided as follows: head 401, chest 402, left arm 403, right arm 404, waist 405, left thigh 406, right thigh 407, left calf 408, right calf 409, left foot 410, and right foot 411. Of course, dividing the body areas according to other methods is also reasonable; this application does not specifically limit the method of dividing the body areas for security checks.

[0056] To enable the processor 103 to determine the position of the handheld metal detector relative to the person being inspected, and thus locate the human body corresponding to the metal detection signal detected by the metal detection component 101, a target area can be pre-determined among the body detection areas of the person being inspected, and the location of the target area can be recorded as a reference position. In one embodiment, the waist can be determined as the target area, and the center position of the waist can be recorded as the reference position. Of course, other body detection areas such as the head and chest can also be determined as target areas, which is also reasonable.

[0057] In this scenario, when scanning a person being inspected, security personnel can control the handheld metal detector to move from the target area. That is, the starting position of the handheld metal detector can be the reference position of the target area. After the handheld metal detector begins to move, the processor 103 can determine the position and angle changes of the handheld metal detector in the world coordinate system based on the pose information collected by the pose detection sensor 102. The processor 103 can then convert the position and angle changes in the world coordinate system to the reference position coordinate system, i.e., a coordinate system with the reference position as the origin, to obtain the position information of the handheld metal detector in the reference position coordinate system, which is the position information of the handheld metal detector relative to the body detection area of ​​the person being inspected.

[0058] Next, the processor 103 can acquire the detection result of the body detection area determined based on the metal detection signal. In a first embodiment, the detection result of the body detection area can be determined locally by the processor 103, thus the processor 103 can acquire the locally determined detection result of the body detection area. In a second embodiment, the processor 103 can send the metal detection signal to the platform, the platform can determine the detection result of the body detection area based on the metal detection signal, and the processor 103 can acquire the detection result of the body detection area determined by the platform.

[0059] Since the second implementation method described above involves interaction between the processor 103 and the platform, in order to make the interaction process clear and easy to understand, the following is combined with... Figure 5 The interaction process will be described. Figure 5 This is a signaling interaction diagram between processor 103 and the platform, specifically including the following steps:

[0060] S501, send the scanned dataset;

[0061] The processor 103 can send the scan dataset to the platform. The scan data in the dataset may include the position information of the handheld metal detector relative to the body detection area of ​​the person being inspected, as well as the metal detection signal corresponding to that area. For example, the processor 103 can wirelessly transmit the scan data to the platform in real time at a specific sampling rate via a wireless transmission module. The platform can then aggregate all the scan data from the current scan process to create a new scan dataset.

[0062] Assuming the location information is denoted as P(x, y, z), and the intensity and phase values ​​of the metal detection signal are denoted as p and v respectively, then the scan dataset can be represented as S. n (x, y, z, v, p).

[0063] S502, determine the detection result based on the scanned dataset;

[0064] After obtaining the scan dataset, the platform can determine the detection result based on the metal detection signals included in the dataset. The detection result can include at least the presence of a suspicious metal object, and may also include the hazard level of the suspicious metal object.

[0065] For example, the platform can determine the material of a suspicious metal object based on the metal detection signals included in the scan dataset, and determine the location of the suspicious metal object in the human body based on the location information corresponding to the metal detection signals.

[0066] As one implementation method, after determining the detection result of a suspicious metal item, the platform can further predict the type of the suspicious metal item based on the material and / or shape characterized by the detection result, and return the item type to the processor 103. For example, the item type can be a fruit knife, screwdriver, lighter, etc.

[0067] S503, return the test results.

[0068] After determining the detection result, the platform can return the detection result to the processor 103.

[0069] To visualize the detection results for security personnel, after acquiring the detection results of the body detection area, the processor 103 can send the position information of the handheld metal detector relative to the body detection area of ​​the person being inspected, along with the detection results, to the display 104. In this way, the display 104 can display the detection results on the body detection area of ​​the person being inspected based on the position information.

[0070] For example, when the detection result indicates the presence of a suspicious metal object, the data displayed on the display 104 may include at least the location of the suspicious metal object in the human body and object information, which may characterize the material and / or shape of the suspicious metal object. That is, the object information may characterize only one of the material and shape, or it may characterize both the material and shape simultaneously.

[0071] In this situation, to alert security personnel that the person being checked is carrying a suspicious metal object, the processor 103 can also issue an alarm via the display 104 and the alarm to prompt security personnel to conduct a re-check. During the re-check, the processor 103 can continue to acquire the detection results of the body parts of the person being checked.

[0072] In the first implementation, the detection result can be determined by the platform. In this case, the processor 103 can send the scan dataset collected during the re-inspection process to the platform. The platform can then fuse the scan dataset received during the re-inspection process with the scan dataset received during the previous security check. If the scan dataset received during the re-inspection process makes the suspicious metal item safe, the platform can adjust the detection result of the corresponding body detection area and send a notification to the processor 103 indicating that the body detection area has passed the security check.

[0073] In the second implementation, the processor 103 can locally fuse the scan dataset collected during the re-inspection process with the scan dataset collected during the previous security check. If the scan dataset received during the re-inspection process makes a suspicious metal item a safe item, the detection result of the corresponding body detection area can be adjusted, and a prompt indicating that the body detection area has passed the security check can be issued.

[0074] If the detection results indicate that no suspicious metal items are found, the display 104 can show preset data. This preset data is used to indicate that the person being checked is not carrying any suspicious metal items. For example, the preset data could be "allowed to proceed," "no suspicious metal items carried," etc.

[0075] As can be seen, in this embodiment, by adding a pose detection sensor to the handheld metal detector, the position information of the handheld metal detector relative to the object being inspected can be determined in real time during the security check process, and then the detected metal detection signal can be correlated with the position information. By adding a display to the handheld metal detector, the detection results can be displayed on the body detection area of ​​the object being inspected based on the position information. In this way, security personnel can intuitively know the location of the suspicious metal object in the human body and the information of the suspicious metal object, which can reduce the re-inspection work of security personnel and improve security efficiency. Furthermore, when the detection results are determined by the platform, the platform can combine metal detection signal processing and AI (Artificial Intelligence) algorithms to simplify the above-mentioned position information and metal detection signal data, and send the normalized data that can be displayed to the processor, thereby making a more accurate alarm decision.

[0076] As one embodiment of this application, the processor described above can be used to execute one of the following two embodiments:

[0077] During the inspection of a security target, a body image of the security target is acquired, and the body part detection area of ​​the security target detected by the handheld metal detector is determined based on the body part features on the body image; or, during the inspection of a security target, the body image of the security target is sent to the platform, and the body part detection area of ​​the security target detected by the handheld metal detector is received from the platform.

[0078] In the first embodiment, during the process of security personnel inspecting a person using a handheld metal detector, the processor can acquire a body image of the person being inspected. Since different body detection areas have different body features, the processor can determine the body detection area of ​​the person being inspected by the handheld metal detector based on the body features in the body image.

[0079] The body image of the person being checked can be captured by a first camera mounted on a handheld metal detector, and / or by a second camera. Exemplarily, the first camera can be a macro camera included in the handheld metal detector mentioned above. It should be understood that the macro camera is merely an example; any camera capable of capturing body images of the person being checked can be used as the first camera. That is, the specific implementation type of the first camera is not specifically limited in this application embodiment. In some cases, compared to other cameras, macro cameras, due to their short-range ultra-wide-angle detection capability, can capture images containing sufficient information about the body detection areas even when close to the human body.

[0080] The second camera can be a camera not mounted on the handheld metal detector, but whose field of view is within the detection range of the handheld metal detector on the object being inspected during the inspection process. In other words, the second camera can meet the requirements for capturing data on the inspection operations performed by security personnel on the object being inspected. The second camera can be a camera installed on other equipment in the security scene, such as a camera on a security gate; no specific limitation is made here.

[0081] In determining body detection areas, as one implementation method, the processor can employ a template matching algorithm to compare the body part features included in the human image with the pre-stored body part features corresponding to the body detection areas, thereby determining the body detection areas included in the human image. As another implementation method, the processor can input the human image into a pre-trained human part recognition model and obtain the body detection areas in the human image output by the human part recognition model. The human part recognition model has pre-learned the body part features possessed by the body detection areas.

[0082] When the first camera is positioned at the front of the handheld metal detector, the body detection areas included in the human image captured by the first camera are the body detection areas currently scanned by the handheld metal detector. If the processor fails to identify a valid body detection area for an extended period, it indicates that the first camera may be too close to the human body. In this case, relevant adjustment information can be displayed on the screen to remind security personnel to maintain the appropriate distance between the first camera and the person being inspected, thereby improving the quality of the human images captured by the macro camera.

[0083] In the second embodiment, during the security check process, the body image of the person being checked is sent to the platform, and the platform receives the body detection area of ​​the person being checked detected by the handheld metal detector. That is, the body detection area of ​​the person being checked detected by the handheld metal detector can be determined by the platform; the specific determination method can be found in the first embodiment, and will not be repeated here.

[0084] As can be seen, in this embodiment of the application, during the detection of a security check target, a body image of the target is acquired, and the body detection area of ​​the target detected by the handheld metal detector is determined based on the body part features in the body image; or, during the detection of the target, the body image of the target is sent to the platform, and the body detection area of ​​the target detected by the handheld metal detector is received from the platform. This allows for the rapid and accurate determination of the body detection area currently being scanned by the handheld metal detector.

[0085] As one implementation method of this application, such as Figure 6 As shown, the processor described above can specifically be used to execute steps S601 to S602:

[0086] S601, acquire the video stream captured by the first camera and / or the second camera;

[0087] During the security check process, when security personnel use handheld metal detectors to check individuals, the first and / or second cameras can capture video streams, which the processor can then acquire.

[0088] S602, select a preset number of body images from the video stream according to a preset period.

[0089] If the body image has high clarity, then the accuracy of body part recognition using that image will also be high. Therefore, the processor can select a preset number of body images from the video stream that meet the image recognition criteria at preset intervals. The image quality can be determined at least based on clarity. The preset number is greater than or equal to one, and the specific number can be determined according to the recognition and processing requirements.

[0090] For example, the processor can use a preset sharpness evaluation algorithm to select body images from the video stream that meet the sharpness criteria. Specifically, the sharpness evaluation algorithm can be the Brenner gradient function, the Tenengrad function, the Laplacian function, etc., and is not specifically limited here.

[0091] The preset period and preset quantity can be set according to actual needs. For example, the preset period can be 10 milliseconds, 15 milliseconds, 20 milliseconds, etc. The preset quantity can be 3, 4, 5, etc. Assuming the preset period is 10 milliseconds and the preset quantity is 3, then the processor can select 3 body images from the video stream every 10 milliseconds.

[0092] As can be seen, in this embodiment, the processor can acquire video streams captured by a first camera and / or a second camera; select a preset number of body images from the video stream according to a preset period, wherein the image quality of the body images meets the image recognition conditions, and the image quality is determined at least based on sharpness. Since the body images selected by the processor from the video stream meet the image recognition conditions, body part recognition can be performed on the body images, thereby improving the accuracy of the recognition results.

[0093] As one embodiment of this application, the above-mentioned posture detection sensor may include an accelerometer and a gyroscope. Specifically, the posture detection sensor may be an inertial posture detection sensor. In this case, the posture detection sensor may be used to determine the linear acceleration collected in real time by the accelerometer and the angular acceleration collected in real time by the gyroscope during the detection process.

[0094] like Figure 7 As shown, the processor can specifically be used to execute steps S701 to S702:

[0095] S701, every preset time interval, the linear acceleration collected within the preset time interval is integrated to obtain the position change of the handheld metal detector within the preset time interval, and the angular acceleration collected within the preset time interval is integrated to obtain the angle change of the handheld metal detector within the preset time interval.

[0096] The processor can acquire the linear acceleration from the accelerometer and the angular acceleration from the gyroscope in real time. The linear acceleration, also known as gravitational acceleration, can be denoted as (A... x A y A z ), angular acceleration can be denoted as (W x W y W z ).

[0097] Since linear acceleration reflects the rate of change of linear velocity, and linear velocity reflects the rate of change of position, the processor can perform double integration on the linear acceleration collected within a preset time interval to obtain the position change of the handheld metal detector within that preset time interval. The preset time interval can be set according to actual needs, for example, it can be 5ms, 7ms, 10ms, etc.

[0098] Since angular acceleration reflects the rate of change of angular velocity, and angular velocity reflects the rate of change of angle, the processor can perform double integration on the angular acceleration collected within the preset time period to obtain the angle change of the handheld metal detector within the preset time period.

[0099] S702, based on the position change and angle change corresponding to each preset time period, determine the position information of the handheld metal detector relative to the body detection part of the security inspection object at the end of the preset time period.

[0100] Since the position and angle changes corresponding to the preset time period can reflect the position and pose changes of the handheld metal detector within the preset time period, the processor can determine the position information of the handheld metal detector relative to the body detection part of the security inspection object at the end of the preset time period based on the position and angle changes corresponding to each preset time period.

[0101] Assume that the linear acceleration is denoted as (A x A y A z ), and denot the angular acceleration as (W x W y W z The body examination site will be marked as P.j Then, the preset position calculation function f(P) is used. j A x A y A z W x W y W z The location information P(x, y, z) can be calculated from this.

[0102] Among them, the body detection site label P j Used to uniquely identify body parts for detection, j = 1, 2...n, where n is the total number of body parts for detection. For example, the body part for detection corresponding to the head is identified as P1, the body part for detection corresponding to the chest is identified as P2, and so on. Body part identification P j It is not included in the above location information calculation, but is only used to identify the body detection parts detected by the handheld metal detector.

[0103] As can be seen, in this embodiment, the pose detection sensor can determine the linear acceleration collected in real time by the accelerometer and the angular acceleration collected in real time by the gyroscope during the detection process; the processor can acquire the linear acceleration collected in real time by the accelerometer and the angular acceleration collected in real time by the gyroscope; every preset time interval, the linear acceleration collected within that preset time interval is integrated to obtain the position change of the handheld metal detector within that preset time interval, and the angular acceleration collected within that preset time interval is integrated to obtain the angle change of the handheld metal detector within that preset time interval; based on the position change and angle change corresponding to each preset time interval, the position information of the handheld metal detector relative to the body detection part of the security inspection object at the end of the preset time interval is determined. In this way, the position information of the handheld metal detector can be accurately determined.

[0104] As one embodiment of this application, during the detection of a security inspection object, the metal detection signal output by the metal detection component corresponds to the position information of the handheld metal detector. That is, for each position information of the handheld metal detector relative to the body detection part, the position information corresponds to the metal detection signal output by the metal detection component at the position indicated by the position information.

[0105] The location information of the handheld metal detector can include a set of location coordinate points. Each location coordinate point can be a detection location on the body of the person being inspected, and the set of location coordinate points constitutes a detection area on that body. The location indicated by the handheld metal detector relative to the body of the person being inspected is, in other words, the location of the currently detected suspicious metal object. Furthermore, the detection results can include the material and shape of the suspicious metal object.

[0106] In this scenario, to visually display the detection results of the inspected object to security personnel on a monitor, the processor of the handheld metal detector can determine the display information of the pixels corresponding to each location coordinate point based on the metal detection signal corresponding to the location information. This display information can be used to characterize the material and shape of the suspicious metal object.

[0107] Based on the material, different pixel display information is corresponding to suspicious metal items of different materials determined by the metal detection signal. Different pixel display information has different display effects, so security personnel can distinguish suspicious metal items of different materials by display effects.

[0108] In one implementation, different materials of the suspected metal items correspond to different fill patterns, such as iron corresponding to horizontal straight lines, aluminum corresponding to a checkerboard pattern, copper corresponding to a grid pattern, and so on. In another implementation, different materials of the suspected metal items correspond to different color categories, such as iron corresponding to red, aluminum corresponding to white, copper corresponding to yellow, and so on.

[0109] Regarding shape, the outline area formed by the individual pixels of a suspicious metal object is used to characterize the shape of the suspicious metal object. In other words, the outline of the area formed by the individual pixels of a suspicious metal object can reflect the shape of the suspicious metal object.

[0110] After determining the display information of the pixels corresponding to each location coordinate point, the processor can send the determined display information to the display. In this way, the display can show the suspicious metal object on the body inspection area of ​​the person being checked, based on the display information of the pixels corresponding to each location coordinate point.

[0111] In one implementation, the display can show suspicious metal objects on the body detection area of ​​the security inspection target within a preset human body diagram, based on the display information of the pixels corresponding to each location coordinate point. The preset human body diagram is a mannequin image, including pre-defined partitions for body detection areas, specifically as follows: Figure 4 As shown.

[0112] As can be seen, in this embodiment, the processor can determine the display information of the pixels corresponding to each location coordinate point based on the metal detection signal corresponding to the location information; and send the display information of the pixels corresponding to each location coordinate point to the display; wherein, different suspicious metal objects of different materials determined based on the metal detection signal correspond to different pixel display information, and the outline area formed by each pixel display is used to characterize the shape of the suspicious metal object; the display can display the suspicious metal object on the body detection area of ​​the security inspection object based on the display information of the pixels corresponding to each location coordinate point. In this way, security personnel can intuitively determine the material and shape of the suspicious metal object based on the pixel display information on the display, which can improve security inspection efficiency.

[0113] As one embodiment of this application, the metal detection signal may include signal strength and signal phase. In this case, such as Figure 8 As shown, the processor can specifically execute steps S801 to S803:

[0114] S801, determine the color category of the pixel corresponding to each location coordinate point based on the signal phase in the metal detection signal corresponding to the location information;

[0115] The signal phase of a metal detection signal can be used to determine the material of a metal object. To visually represent the material of a suspicious metal object, the color category of the pixel corresponding to each location coordinate can be determined based on the signal phase of the metal detection signal corresponding to the location information. In other words, the color category can be used to characterize the material of a suspicious metal object located at the location indicated by the location information.

[0116] S802, determine the color attribute of the pixel corresponding to each location coordinate point based on the signal strength in the metal detection signal corresponding to the location information;

[0117] To visually represent the strength of the metal detection signal corresponding to a suspicious metal object, the processor can determine the color attribute of the pixel corresponding to each location coordinate point based on the signal strength of the metal detection signal. Specifically, the color attribute can include at least one of color transparency, color brightness, and color saturation. In one embodiment, the signal strength of the metal detection signal can be inversely proportional to color transparency, directly proportional to color brightness, and directly proportional to color saturation; that is, the stronger the metal detection signal, the lower the color transparency, and the higher the color brightness and color saturation.

[0118] S803, send the color category and color attribute of the pixel corresponding to each position coordinate point to the display.

[0119] After determining the color category and color attribute of the pixel corresponding to each location coordinate point, the processor can send the color category and color attribute of the pixel corresponding to each location coordinate point to the display. The display can then display the suspicious metal object on the body inspection area of ​​the person being inspected according to the color category and color attribute of the pixel corresponding to each location coordinate point.

[0120] As can be seen, in this embodiment, the processor can determine the color category of the pixel corresponding to each location coordinate point based on the signal phase in the metal detection signal corresponding to the location information; determine the color attribute of the pixel corresponding to each location coordinate point based on the signal strength in the metal detection signal corresponding to the location information; and send the color category and color attribute of the pixel corresponding to each location coordinate point to the display. The color category is used to characterize the material of the suspicious metal object at the location indicated by the location information, and the color attribute includes at least one of color transparency, color brightness, and color saturation. In this way, the detection results including three-dimensional scan point cloud information can be displayed on the display. Security personnel can intuitively know the material of the suspicious metal object based on the color category and the strength of the metal detection signal of the suspicious metal object based on the color attribute, which can further improve security inspection efficiency.

[0121] As one embodiment of this application, the processor can also be used for:

[0122] Upon receiving a security level adjustment command sent by security personnel via the first button, a coverage threshold determined based on the security level indicated by the security level adjustment command is obtained. The handheld metal detector may further include a first button, which may be a physical button electrically connected to the processor, or a virtual button displayed on a monitor. The first button can be used to adjust the security level.

[0123] The method for obtaining the coverage threshold can specifically include one of the following two implementation methods:

[0124] In the first implementation, upon receiving a security level adjustment instruction from security personnel, the processor can send a security level adjustment message to the platform, enabling the platform to determine a coverage threshold based on the security level adjustment message. Furthermore, the processor can receive the coverage threshold from the platform.

[0125] The following will combine Figure 9 The above interaction process will be described. Figure 9 This is a signaling interaction diagram between the first button, the processor, and the platform, specifically including the following steps:

[0126] S901, send a security level adjustment command;

[0127] When security personnel want to adjust the security level, they can send the security level adjustment command to the processor through two methods. In the first method, the security personnel can send the security level adjustment command to the processor through a first button. This first method can specifically include the following two implementation methods:

[0128] As one implementation method, security personnel can directly send the adjusted security level. For example, if a security personnel wants to adjust the security level to level 3, they can trigger the first button marked with level 3. As another implementation method, security personnel can send commands to increase or decrease the security level. For example, to increase the security level, security personnel can trigger the first button marked with a plus sign, thus sending an command to increase the security level; to decrease the security level, security personnel can trigger the first button marked with a minus sign, thus sending a command to decrease the security level.

[0129] In the second transmission method, security personnel can send security level adjustment commands via a mobile device connected to a handheld metal detector. The mobile device can be a mobile phone, tablet, laptop, etc., and is not specifically limited here. For example, the second transmission method can include the following two implementation methods:

[0130] In one implementation, if the mobile device has an app installed to control the handheld security detector, the user can send security level adjustment commands through the app. In another implementation, if the mobile device has access to the handheld metal detector's backend configuration page, the user can send security level adjustment commands through the backend configuration page.

[0131] S902, send a security level adjustment message;

[0132] Upon receiving a security level adjustment command from the first button, the processor can send a security level adjustment message to the platform. This security level adjustment message may include the security level indicated by the security level adjustment command.

[0133] In the first implementation, assuming that the security level adjustment instruction explicitly indicates the adjusted security level, the security level adjustment message can directly carry the security level indicated by the security level adjustment instruction.

[0134] In the second implementation, assuming the security level adjustment instruction indicates to increase or decrease the security level, the processor can determine the adjusted security level based on the current security level and make the security level adjustment message carry the adjusted security level.

[0135] For example, assuming the current security level is 4, and the processor receives a security level adjustment instruction indicating that the security level should be increased, then the adjusted security level can be determined to be 5, and thus the security level adjustment message carries the security level 5.

[0136] S903 determines the coverage threshold based on the security level adjustment message.

[0137] Security levels are related to coverage thresholds. Coverage thresholds can specifically include an overall coverage threshold and / or a coverage threshold corresponding to a specific body detection area. The overall coverage threshold represents the minimum scan coverage for the entire security inspection target; that is, the overall scan of the security inspection target is considered complete only when the overall scan coverage reaches the overall coverage threshold. The coverage threshold corresponding to a specific body detection area represents the minimum scan coverage for that specific body detection area; that is, the scan of that body detection area is considered complete only when the scan coverage reaches the coverage threshold for that specific body detection area. Coverage thresholds can be set according to actual needs. For example, they can be 90%, 93%, 95%, etc.

[0138] The scanning coverage rate for the overall security inspection target can be determined based on the following factors: the ratio between the number of positions represented by the position information of each body part of the security inspection target by the handheld metal detector and the number of the first preset positions, and the degree of concentration of the positions represented by the position information in space.

[0139] The first preset number of locations is the number of locations required for a full-range scan of the entire human body. The specific value can be set based on experience. The scan coverage is positively correlated with the above ratio and the degree of concentration. That is, the more locations represented by the location information, and the higher the degree of concentration of the locations represented by the location information in space, the higher the scan coverage of the entire security inspection target.

[0140] The scanning coverage of the body detection area can be determined based on the following factors: the ratio between the number of positions represented by the position information of the body detection area of ​​the handheld metal detector relative to the security inspection object and the number of second preset positions, and the degree of spatial concentration of the positions represented by the position information of the body detection area of ​​the handheld metal detector relative to the security inspection object.

[0141] The second preset number of locations is the number of locations required for a full-range scan of the body detection area. The specific value can be set based on experience. The scan coverage is positively correlated with the above ratio and the degree of concentration. That is, the more locations represented by the location information, and the higher the degree of concentration of the locations represented by the location information in space, the higher the scan coverage for the body detection area.

[0142] The higher the security level of a security check, the higher the coverage threshold, meaning a more comprehensive scan of the body area is required. In practice, for body areas where suspicious metal objects can easily be concealed, such as the waist, left thigh, and right thigh, security personnel can increase the security level to conduct a more comprehensive scan. For body areas where suspicious metal objects are less likely to be concealed, such as the left and right hands, security personnel can decrease the security level to increase scanning speed.

[0143] When the platform receives a security level adjustment message, it can adjust the current coverage threshold to the coverage threshold corresponding to the security level carried in the security level adjustment message, according to the pre-set correspondence between security levels and coverage thresholds.

[0144] When the coverage threshold includes the overall coverage threshold and the coverage threshold corresponding to the body detection site, the current overall coverage threshold can be adjusted to the overall coverage threshold corresponding to the security level carried in the security level adjustment message, and the current coverage threshold corresponding to the body detection site can be adjusted to the coverage threshold corresponding to the body detection site corresponding to the security level carried in the security level adjustment message, according to the pre-set correspondence between the security level and the overall coverage threshold and the coverage threshold corresponding to the body detection site.

[0145] S904 returns the coverage threshold.

[0146] In the second embodiment, when the processor receives a security level adjustment instruction sent by the security personnel via the first button, the processor can locally determine the coverage threshold based on the security level indicated by the security level adjustment instruction. The specific determination method can be found in the first embodiment, and will not be repeated here.

[0147] As can be seen, in this embodiment, the processor can obtain a coverage threshold determined based on the security level indicated by the security level adjustment instruction sent by the security personnel via the first button. The coverage threshold includes an overall coverage threshold and / or a coverage threshold corresponding to a specific body detection area. The overall coverage threshold represents the minimum scan coverage for the entire security-checked object, while the coverage threshold for a specific body detection area represents the minimum scan coverage for that area. The security level adjustment message includes the security level indicated by the security level adjustment instruction, which is sent via the first button or a mobile device connected to the handheld metal detector. Thus, security personnel can adjust the security level for different body detection areas via the first button or a mobile device, thereby changing the coverage threshold. For body detection areas where suspicious metal objects are easily concealed, a more comprehensive and detailed scan can be performed; for body detection areas where suspicious metal objects are not easily concealed, a faster scan can be performed, improving security check efficiency.

[0148] As one embodiment of this application, the processor can also be used for:

[0149] In response to the acquisition of the location of the unscanned area, the location of the unscanned area is sent to the display, which may specifically include one of the following two implementation methods:

[0150] In the first embodiment, in response to receiving a prompt message from the platform, the processor displays the unscanned area of ​​the body detection part on the display, so that security personnel can continue to detect the body detection part based on the displayed unscanned area.

[0151] The following is combined Figure 10 The above interaction process will be described. Figure 10 This is a signaling interaction diagram between the processor, platform, and display, specifically including the following steps:

[0152] S1001, Determine the location of the unscanned area;

[0153] To prevent security personnel from missing certain areas of the body detection area during scanning, the platform can determine the location of unscanned areas based on the position information of the handheld metal detector relative to the body detection area when the scanning coverage of a certain body detection area does not reach the coverage threshold. Specifically, the platform can identify the unscanned areas as locations other than those indicated by the aforementioned position information within the corresponding body detection area.

[0154] S1002, Send a notification message;

[0155] After determining the location of the unscanned area, the platform can send a notification message to the processor. This notification message may include the location of the unscanned area.

[0156] S1003, send the location of the unscanned area to the display.

[0157] In the second implementation, the processor can determine the location of the unscanned area locally. For details on the determination method, please refer to the first implementation, which will not be repeated here.

[0158] Next, the display can show the unscanned areas of the body detection area based on the location of the unscanned areas. This allows security personnel to continue scanning the body detection area based on the displayed unscanned areas.

[0159] In one implementation, the unscanned areas in the preset human body diagram displayed on the monitor can be shown in a preset color. The preset color can be a relatively bright color to allow security personnel to visually determine the location of the unscanned areas. For example, the preset color could be black, yellow, red, etc.

[0160] As can be seen, in this embodiment, in response to obtaining the location of the unscanned area, the processor can send the location of the unscanned area to the display. The location of the unscanned area is determined based on location information when the scanning coverage of the body detection area does not reach a coverage threshold. The display can show the unscanned area of ​​the body detection area based on its location, allowing security personnel to continue scanning the body detection area based on the displayed unscanned area. In the above solution, the location of the unscanned area in the body detection area currently being scanned by security personnel can be determined in real time and displayed on the display. This avoids security personnel missing scanning areas of the body detection area, improves the comprehensiveness of security checks, and achieves full coverage of the three-dimensional human body detection location.

[0161] As one embodiment of this application, the processor can also be used for:

[0162] Upon receiving a scan completion command from security personnel or when the overall scan coverage of the inspected objects reaches a certain threshold, a scan performance evaluation is obtained and sent to the display. The handheld metal detector may also include a second button, through which the scan completion command can be sent. The second button may be a physical button electrically connected to the processor, or it may be a virtual button displayed on the screen.

[0163] In the first implementation, the evaluation of the scanning work can be determined by the platform. In this case, the processor can send a scan completion message to the platform when it receives a scan completion instruction from the security personnel or when the overall scan coverage of the inspected objects reaches the overall coverage threshold.

[0164] As one implementation, after security personnel have completed scanning the object being inspected, they can send a scan completion command to the processor via a second button or a mobile device connected to the handheld metal detector. Upon receiving the scan completion command, the processor can send a scan completion message to the platform. For a specific implementation method of sending a scan completion command via a mobile device, please refer to the method of sending security level adjustment commands via a mobile device, which will not be repeated here. As another implementation, when the overall scan coverage of the objects being inspected reaches the overall coverage threshold, the processor can automatically send a scan completion message to the platform to automatically trigger the scan work evaluation determination process.

[0165] Upon receiving the scan completion message from the processor, the platform can determine a scan performance evaluation based on the data collected during the security check and return the evaluation to the processor. The processor, upon receiving the evaluation, can then send it to the display.

[0166] The evaluation of the scanning work may include at least one of the following: the actual scanning time of the body detection area, the actual scanning coverage of the body detection area, the actual scanning repetition rate of the body detection area, the metal detection signal of the body detection area, the actual scanning path, the scanning path suggestion, and the focus area prompts.

[0167] Next, the evaluation indicators for the above scanning work will be explained in detail:

[0168] The actual scanning time for each body part is the time that security personnel spend scanning each part of the person being checked using a handheld metal detector. For example: head 5 seconds, chest 8 seconds, waist 10 seconds, etc.

[0169] The actual scan coverage rate of the body detection area is the scan coverage rate of each body detection area when security personnel scan various body detection areas of the person being inspected using a handheld metal detector. For example, 93% for the head, 97% for the chest, and 99% for the waist.

[0170] The actual scan repetition rate of body detection areas is the percentage of identical locations among multiple locations represented by the positional information of various body detection areas relative to the security check subject using a handheld metal detector. For example, 5% for the head, 21% for the chest, and 40% for the waist.

[0171] The metal detection signal at the body detection area is the metal detection signal detected by the metal detection component when security personnel scan various body detection areas of the person being inspected using a handheld metal detector.

[0172] The actual scanning path is as follows: security personnel use a handheld metal detector to scan various parts of the person being inspected. For example, head → chest → left arm → right arm → ...

[0173] The suggested scanning path is an optimization of the actual scanning path, allowing security personnel to further refine the scanning process. For example, after scanning the head, scan the chest first, instead of the waist.

[0174] The suggested areas of focus are the body parts where suspicious metal objects can easily be concealed during security checks. For example, please pay special attention to the waist, arms, and thighs of the person being checked.

[0175] In the second embodiment, when the processor receives a scan completion command from the security personnel or when the overall scan coverage of the inspected objects reaches the overall coverage threshold, it can determine the scan work evaluation locally and send the scan work evaluation to the display. The specific method for determining the scan work evaluation can be found in the first embodiment, and will not be repeated here.

[0176] Next, once the monitor receives the scan job evaluation sent by the processor, the scan job evaluation can be displayed.

[0177] As can be seen, in this embodiment, upon receiving a scan completion command from security personnel or when the overall scan coverage of the inspected objects reaches the overall coverage threshold, a scan work evaluation is obtained and sent to the display. The scan completion command is sent via a second button or a mobile device connected to the handheld metal detector. The overall coverage threshold represents the minimum scan coverage for the entire inspected object. The scan work evaluation is determined by the platform based on data collected during the current security check, upon receiving the scan completion message from the processor. The scan work evaluation includes at least one of the following: actual scan time of the body detection area, actual scan coverage of the body detection area, actual scan repetition rate of the body detection area, metal detection signal of the body detection area, actual scan path, scan path suggestion, and attention area prompts. The display can show the scan work evaluation. This allows security personnel to review each scan after completion, making subsequent operations more professional and efficient, further improving the quality of hand-operated scans.

[0178] As one embodiment of this application, the processor can also be used for:

[0179] Obtain the scan coverage corresponding to the body detection area; if the scan coverage reaches the coverage threshold, perform the above steps to obtain the detection result of the body detection area determined based on the metal detection signal.

[0180] The scan coverage rate acquired by the processor can be determined by the platform or by the processor itself. The specific method for determining the scan coverage rate has been explained in detail above and will not be repeated here. When the scan coverage rate corresponding to a body detection area reaches the coverage threshold for that body detection area, it indicates that sufficient data has been collected for that body detection area, which can adequately reflect the condition of that area. Therefore, the steps described above for obtaining the detection results of the body detection area determined based on the metal detection signal can be executed.

[0181] As can be seen, in this embodiment of the application, since the detection result is determined based on the scan dataset only when the scan coverage reaches the coverage threshold, a large amount of location information and metal detection signals are collected when determining the detection result, which can more comprehensively reflect the situation of the body detection part, thereby improving the detection accuracy.

[0182] As one embodiment of this application, the processor can specifically be used to execute one of the following two embodiments:

[0183] In the first implementation, the processor can input the metal detection signal corresponding to the body detection area of ​​the person being inspected into a pre-trained metal object detection model. In this way, the metal object detection model can determine the detection result of the body detection area based at least on the similarity between the pre-learned metal detection signal corresponding to a suspicious metal object and the metal detection signal corresponding to the body detection area of ​​the person being inspected.

[0184] To determine the detection result, a metal object detection model can be pre-trained. This model can learn the metal detection signals corresponding to suspicious metal objects. When a detection result needs to be determined, the metal detection signals can be input into the model. The model can then output the detection result corresponding to the body part being inspected, based on the similarity between the pre-learned metal detection signals of suspicious metal objects and the metal detection signals of the body parts being inspected.

[0185] If the similarity between the metal detection signal corresponding to a certain body detection site and the metal detection signal corresponding to a suspicious metal object is greater than a preset similarity threshold, then the detection result corresponding to that body detection site can be determined to contain a suspicious metal object. The preset similarity threshold can be set according to actual detection needs. For example, it can be 80%, 85%, 90%, etc.

[0186] In some cases, the processor can also input the collected location information and metal detection signals into the metal object detection model in real time. This allows the metal object detection model to perform fusion processing based on the metal detection signals corresponding to the body detection sites and output a comprehensive judgment result. In other words, the metal object detection model can detect suspicious metal objects located at at least two body detection sites on the person being checked. For example, assuming the person being checked is carrying a fruit knife through their waist and thigh, the metal object detection model, after receiving the metal detection signals corresponding to the waist and thigh, can perform fusion processing and output that a suspicious metal object exists at the corresponding locations on the person's waist and thigh.

[0187] In the second implementation, the processor can send the metal detection signal corresponding to the body detection area of ​​the person being inspected to the platform. The platform can then input the metal detection signal corresponding to the body detection area of ​​the person being inspected into a pre-trained metal object detection model.

[0188] In this way, the metal object detection model determines the detection result of the body detection area based at least on the similarity between the metal detection signal corresponding to the suspected metal object and the metal detection signal corresponding to the body detection area of ​​the security check subject, as learned in a pre-learned model. After the platform obtains the detection result of the body detection area determined by the metal object detection model, the processor can receive the detection result of the body detection area from the platform.

[0189] As can be seen, in this embodiment, the metal detection signal can be input into a pre-trained metal object detection model, so that the metal object detection model outputs the detection result based at least on the similarity between the pre-learned metal detection signal corresponding to the suspicious metal object and the metal detection signal corresponding to the body detection part of the security inspection object. In this way, the detection result corresponding to the body detection part can be quickly and accurately determined through the metal object detection model.

[0190] In the technical solution of this application, the operations of obtaining, storing, using, processing, transmitting, providing and disclosing user personal information are all carried out with the user's authorization.

[0191] Corresponding to the aforementioned handheld metal detector, this application also provides a security inspection method using a handheld metal detector. The following describes the security inspection method using a handheld metal detector provided by this application.

[0192] like Figure 11 As shown, a security inspection method using a handheld metal detector is applied to a processor in the handheld metal detector. The handheld metal detector also includes a metal detection component, a pose detection sensor, and a display. The method includes:

[0193] S1101, during the inspection of the security inspection object, determine the body detection part of the security inspection object detected by the handheld metal detector;

[0194] S1102, Based on the pose information collected by the pose detection sensor, determine the position information of the handheld metal detector relative to the body detection part of the security inspection object;

[0195] S1103, Obtain the detection result of the body detection site determined based on the metal detection signal;

[0196] The metal detection signal is output by the metal detection component to the body detection area of ​​the person being inspected during the detection process.

[0197] S1104, the location information and the detection result are sent to the display so that the detection result is displayed on the body detection area of ​​the security inspection object based on the location information.

[0198] As can be seen, in this embodiment, during the detection of a security target, the processor can determine the body detection area of ​​the target detected by the handheld metal detector; based on the pose information collected by the pose detection sensor, determine the position information of the handheld metal detector relative to the body detection area of ​​the target; obtain the detection result of the body detection area determined based on the metal detection signal, wherein the metal detection signal is output by the metal detection component to the body detection area of ​​the target during the detection process; and send the position information and detection result to the display so that the display shows the detection result on the body detection area of ​​the target based on the position information. By adding a pose detection sensor to the handheld metal detector, the position information of the handheld metal detector relative to the person being inspected can be determined in real time during the security check, and then the detected metal detection signal can be associated with the position information. By adding a display to the handheld metal detector, the detection result can be displayed on the body detection area of ​​the target based on the position information. In this way, security personnel can intuitively know the location of the suspicious metal object in the human body and the object information, which can reduce the re-inspection work of security personnel and improve security efficiency.

[0199] Corresponding to the above-described security inspection method using a handheld metal detector, this application also provides a security inspection device for a handheld metal detector. The following describes the security inspection device for a handheld metal detector provided in this application.

[0200] like Figure 12 As shown, a security inspection device for a handheld metal detector is disclosed, comprising a processor used in the handheld metal detector. The handheld metal detector also includes a metal detection component, a pose detection sensor, and a display. The device includes:

[0201] The body part determination module 1201 is used to determine the body part of the security inspection object detected by the handheld metal detector during the inspection process.

[0202] The position determination module 1202 is used to determine the position information of the handheld metal detector relative to the body detection part of the security inspection object based on the pose information collected by the pose detection sensor.

[0203] The detection result acquisition module 1203 is used to acquire the detection result of the body detection part determined based on the metal detection signal, wherein the metal detection signal is the output of the metal detection component for the body detection part of the security inspection object during the detection process;

[0204] The result display module 1204 is used to send the location information and the detection result to the display, so that the display can display the detection result on the body detection part of the security inspection object based on the location information.

[0205] As can be seen, in this embodiment, during the detection of a security target, the processor can determine the body detection area of ​​the target detected by the handheld metal detector; based on the pose information collected by the pose detection sensor, determine the position information of the handheld metal detector relative to the body detection area of ​​the target; obtain the detection result of the body detection area determined based on the metal detection signal, wherein the metal detection signal is output by the metal detection component to the body detection area of ​​the target during the detection process; and send the position information and detection result to the display so that the display shows the detection result on the body detection area of ​​the target based on the position information. By adding a pose detection sensor to the handheld metal detector, the position information of the handheld metal detector relative to the person being inspected can be determined in real time during the security check, and then the detected metal detection signal can be associated with the position information. By adding a display to the handheld metal detector, the detection result can be displayed on the body detection area of ​​the target based on the position information. In this way, security personnel can intuitively know the location of the suspicious metal object in the human body and the object information, which can reduce the re-inspection work of security personnel and improve security efficiency.

[0206] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of any of the above-described security inspection methods for handheld metal detectors.

[0207] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the security inspection methods of the handheld metal detectors described in the above embodiments.

[0208] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially 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 a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a solid-state drive (SSD), etc.

[0209] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0210] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of the device, handheld metal detector, computer-readable storage medium, and computer program product are basically similar to the method embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0211] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

Claims

1. A hand-held metal detector, characterized in that The handheld metal detector includes: A metal detection component is used to output a metal detection signal for the body detection part of the security inspection object during the inspection process; A pose detection sensor is used to determine the pose information of the handheld metal detector during the detection process; Processor, used for: During the inspection of a security target, the body detection area of ​​the security target detected by the handheld metal detector is determined; the position information of the handheld metal detector relative to the body detection area of ​​the security target is determined based on the pose information; the detection result of the body detection area determined based on the metal detection signal is obtained, and the position information and the detection result are sent to the display. A display is used to show the detection results on the body detection area of ​​the person being inspected, based on the location information.

2. The hand-held metal detector of claim 1, wherein, The processor is specifically used for: During the security check process, a body image of the person being checked is acquired, and based on the body part features in the body image, the detection area of ​​the person's body detected by the handheld metal detector is determined; or, During the inspection of the security checkpoint, the body image of the security checkpoint is sent to the platform, and the body detection parts of the security checkpoint detected by the handheld metal detector are received from the platform. The body image of the security check object is acquired by a first camera mounted on the handheld metal detector, and / or by a second camera. The second camera is one that is not mounted on the handheld metal detector, but during the detection of the security check object, the detection operation of the handheld metal detector on the security check object is within the field of view of the second camera.

3. The hand-held metal detector of claim 2, wherein, The processor is specifically used for: Acquire the video stream captured by the first camera and / or the second camera; A preset number of body images are selected from the video stream according to a preset period, wherein the image quality of the body images meets the image recognition conditions, and the image quality is determined at least based on sharpness.

4. The hand-held metal detector of claim 1, wherein, The pose detection sensor includes an accelerometer and a gyroscope; The pose detection sensor is specifically used to determine the linear acceleration collected in real time by the accelerometer and the angular acceleration collected in real time by the gyroscope during the detection process. The processor is specifically used to integrate the linear acceleration collected within the preset time period at every preset time interval to obtain the position change of the handheld metal detector within the preset time interval, and to integrate the angular acceleration collected within the preset time interval to obtain the angle change of the handheld metal detector within the preset time interval. Based on the position and angle changes corresponding to each preset time period, the position information of the handheld metal detector relative to the body detection part of the security inspection object is determined at the end of the preset time period.

5. The hand-held metal detector according to any one of claims 1-4, characterized in that During the inspection of objects, the metal detection signal output by the metal detection component corresponds to the position information of the handheld metal detector; the position information of the handheld metal detector includes a set of position coordinate points; the detection result includes the material and shape of the suspicious metal item. The processor is specifically configured to: determine the display information of the pixels corresponding to each location coordinate point based on the metal detection signal corresponding to the location information; and send the display information of the pixels corresponding to each location coordinate point to the display; wherein, different pixel display information corresponds to different suspicious metal objects of different materials determined based on the metal detection signal, and the outline area formed by each pixel display is used to characterize the shape of the suspicious metal object; The display is used to display the suspicious metal object on the body inspection area of ​​the security inspection object according to the display information of the pixels corresponding to each location coordinate point.

6. The hand-held metal detector of claim 5, wherein, The metal detection signal includes signal strength and signal phase; The processor is specifically configured to: determine the color category of the pixel corresponding to each location coordinate point based on the signal phase in the metal detection signal corresponding to the location information; determine the color attribute of the pixel corresponding to each location coordinate point based on the signal intensity in the metal detection signal corresponding to the location information; and send the color category and color attribute of the pixel corresponding to each location coordinate point to the display, wherein the color category is used to characterize the material of the suspicious metal object at the location indicated by the location information, and the color attribute includes at least one of color transparency, color brightness, and color saturation.

7. The handheld metal detector according to any one of claims 1-4, characterized in that, The processor is further configured to, upon receiving a security level adjustment instruction sent by a security inspector, acquire a coverage threshold determined based on the security level indicated by the security level adjustment instruction, wherein the coverage threshold includes an overall coverage threshold and / or a coverage threshold corresponding to a body detection site. The overall coverage threshold is used to characterize the minimum scan coverage for the entire security inspection target, and the coverage threshold corresponding to a body detection site is used to characterize the minimum scan coverage for that body detection site. The security level adjustment instruction is sent via a first button or via a mobile device communicatively connected to the handheld metal detector. Where the handheld metal detector includes the first button, the first button is either a physical button electrically connected to the processor or a virtual button displayed on the display. The first button is used to adjust the security level. And / or, The processor is further configured to, in response to obtaining the location of an unscanned area, send the location of the unscanned area to the display, wherein the location of the unscanned area is determined based on the location information when the scanning coverage of the body detection part does not reach a coverage threshold; The display is also configured to display the unscanned area of ​​the body detection site based on the location of the unscanned area, so that the security personnel can continue to detect the body detection site based on the displayed unscanned area.

8. The handheld metal detector according to any one of claims 1-4, characterized in that, The processor is further configured to obtain a scanning work evaluation and send the scanning work evaluation to the display when it receives a scanning completion instruction sent by the security personnel or when the overall scanning coverage of the security object reaches the overall coverage threshold. The scan completion command is sent via the second button or via a mobile device communicatively connected to the handheld metal detector. The overall coverage threshold is used to characterize the minimum scan coverage for the overall security inspection target. The scan performance evaluation is determined based on data collected during the security inspection process and includes at least one of the following: actual scan duration of the body detection area, actual scan coverage of the body detection area, actual scan repetition rate of the body detection area, metal detection signal of the body detection area, actual scan path, scan path suggestion, and attention area prompts. When the handheld metal detector includes the second button, the second button is a physical button electrically connected to the processor, or the second button is a virtual button displayed on the display. The display is also used to show the evaluation of the scanning work.

9. The hand-held metal detector according to any one of claims 1-4, characterized in that, The processor is also used for: Obtain the scan coverage rate corresponding to the body detection area, wherein the scan coverage rate is determined based on the location information; When the scan coverage reaches a coverage threshold, the step of obtaining the detection result of the body detection site determined based on the metal detection signal is performed, wherein the coverage threshold is used to characterize the minimum scan coverage for the body detection site.

10. A security screening method of a handheld metal detector, characterized by, A processor used in a handheld metal detector, the handheld metal detector further including a metal detection component, a pose detection sensor, and a display, the method comprising: During the inspection of the security checkpoint, the body parts of the security checkpoint detected by the handheld metal detector are determined; Based on the pose information collected by the pose detection sensor, the position information of the handheld metal detector relative to the body detection part of the security inspection object is determined; Obtain the detection result of the body detection area determined based on the metal detection signal, wherein the metal detection signal is the output of the metal detection component for the body detection area of ​​the security inspection object during the detection process; The location information and the detection result are sent to the display so that the detection result is displayed on the body detection area of ​​the security check subject based on the location information.