Methods to improve the contraband detection capability of millimeter wave security scanners

By generating and labeling multiple millimeter-wave images with different gain intensities, and improving the DETR algorithm to determine whether contraband is imaged on the front and back, the problem of insufficient detection capabilities of millimeter-wave security detectors in the existing technology is solved, and a higher level of detection is achieved. Contraband detection rates and lower detection times.

CN118470436BActive Publication Date: 2024-10-22RECONOVA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410909764.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-22
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Due to the small angle at which the side of the human body is illuminated by the radar antenna, the existing planar scanning millimeter-wave human body security detectors have weak reflected signals and unclear imaging, which makes it difficult for automatic identification algorithms to identify, easily leading to missed identifications and misidentifications, resulting in larger safety hazards and inconvenience of use.

Method used

By generating multiple millimeter wave images with different gain intensities, image annotation and splicing are performed, the DETR algorithm is improved, a prediction head is added to determine whether the contraband is imaged on the front and back, and Swin Transformer is used as the feature extraction network to remove image blanks Regional and horizontal splicing of front and back images, and optimization of the loss function to improve detection accuracy and robustness.

Benefits of technology

It effectively improves the accuracy and robustness of contraband detection by millimeter-wave security detectors, reduces detection time, improves the detection rate of weak side signals, and enhances the protective effect of security detectors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470436B_ABST
    Figure CN118470436B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for improving the contraband detection capability of a millimeter wave security inspection instrument. Starting from the essence of millimeter waves, by adjusting the gain intensity of millimeter wave signals, a plurality of millimeter wave images of different DBs are generated for the training of deep learning algorithms, thereby improving the accuracy and robustness of the algorithms. For blank areas where there is no human body in millimeter wave images, a key point extrapolation-based method is adopted to remove them, so that the algorithm focuses on the effective area and reduces the algorithm reasoning consumption. In order to enable the detection algorithm to achieve a higher accuracy rate, the present invention horizontally splices the front and back images with the blank areas removed, and inputs them into the detection algorithm, so that the algorithm can obtain more effective information during reasoning. In order to allow the detection algorithm to fully pay attention to the correlation between the front and back images in the image, the present invention modifies the DETR algorithm to guide the attention mechanism in the algorithm to play a better role.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer vision and deep learning, and in particular to a method for improving the contraband detection capability of a millimeter wave security inspection instrument. Background Art

[0002] Millimeter waves are shining in today's intelligent security inspection field because of their ability to penetrate clothing without harming the human body. The combination of millimeter wave technology and downstream machine vision algorithms can greatly improve the efficiency and reliability of the security inspection process and reduce the manpower input in the security inspection process.

[0003] The common planar scanning millimeter wave body scanners currently used have difficulty recognizing the side of the human body because the angle at which the radar antenna illuminates the side of the human body is small, the reflected signal is weak, and the imaging is unclear. Commonly used automatic recognition algorithms are generally difficult to recognize, which can easily lead to missed recognition and false recognition, and thus easily cause greater safety hazards and inconvenience in use. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a method for reducing security inspection time and improving the contraband detection capability of millimeter wave security inspection instruments.

[0005] In order to achieve the above object, the solution of the present invention is:

[0006] A method for improving the contraband detection capability of a millimeter wave security inspection instrument comprises the following steps:

[0007] Step A, creating a millimeter wave image data set: generating multiple millimeter wave images with different gain intensities from a human body security scan data;

[0008] Step B, dataset image annotation: double-sided annotation of prohibited items on the side of the body in the millimeter wave image of step A, and normal annotation of prohibited items on the front;

[0009] Step C, removing blank areas of the millimeter wave image based on key points of the human body;

[0010] Step D: splicing the front image and the back image as input to the detection algorithm;

[0011] The two millimeter wave images of the front and back of the same scan with the same gain intensity are spliced ​​left and right, and the original two images are spliced ​​into one image, which is input into the network, with the front on the left and the back on the right during splicing;

[0012] After the images are stitched together, the coordinates of the original image annotation box are modified accordingly;

[0013] Step E: Improve the DETR algorithm to design a contraband detection algorithm;

[0014] The feature extractor and prediction head of the DETR algorithm have been modified, as well as the corresponding loss function. The specific modifications are as follows:

[0015] The modification of the prediction head is to modify the original DETR prediction network, adding the output of the DETR network to determine whether the contraband in the box is imaged on both the front and back sides. If both sides are imaged, the label is 1, otherwise it is 0; the structure of the added prediction head is a two-layer neural network, the number of neurons in the hidden layer is equal to the dimension of the decoder output vector, the activation function is ReLU, the output layer contains 1 neuron, followed by a Sigmoid activation function, which is used to determine whether the contraband in the box is imaged on both the front and back sides;

[0016] The loss function corresponding to the newly added output result of judging whether the image is on the front or back side is the binary cross entropy loss function. The loss function of the entire improved DETR algorithm is:

[0017]

[0018] In the above formula: Represents the real result, Represents the prediction result, is the loss calculated based on the predicted results and the true results, is the class prediction loss, Indicates that the predicted category is the correct category probability; represents the loss of the prediction box, It means that the loss is calculated only when the category of the object in the frame is not the background but corresponds to the real object to be detected. To determine whether the contraband item has a predicted loss of both the front and back images, The real result of whether the contraband is imaged on both the front and back sides. The prediction result is probability;

[0019] In addition, the Swin Transformer pre-trained on ImageNet-22K is used as the feature extraction network. The extracted features are transformed in dimension through a convolutional layer, and then position encoding is added;

[0020] Step F: Use the DETR algorithm model improved in step E to automatically detect the millimeter wave security inspection image.

[0021] Furthermore, the specific practice of step A is: use a gain of 20-40DB for the data after a single millimeter wave scan, and obtain millimeter wave images corresponding to a variety of different gains in one scan. The image with weak gain is used to identify the main contraband, and the image with strong gain is used to enhance weak signals to make it easier to identify.

[0022] Further, the marking method of step B includes the following steps:

[0023] Step B1, selecting a millimeter wave image close to the middle gain intensity in step A for annotation, and using the annotation result as the annotation result of scanning a plurality of millimeter wave images of different DBs at one time;

[0024] Step B2: When marking, the front image and the back image are comprehensively marked according to the imaging effects, and a magnifying glass is set in the marking tool to magnify and judge the key positions;

[0025] Step B3: When marking, combine the recorded points and types of data collection to ensure that there is no mistake in the category of prohibited items;

[0026] Step B4: Mark the contraband placed on the side in both the front image and the back image, mark the weak contraband signal, and mark only the contraband on one side;

[0027] Step B5: In addition to the category and position, the annotation information also includes information on whether there is imaging on both the front and back sides, which is represented by a field, 1 indicates that there is imaging on both sides, and 0 indicates that there is imaging on only one side.

[0028] Further, step C specifically includes the following steps:

[0029] Step C1, using an algorithm to determine the human body boundary: using the 13 human body key point algorithm to detect the 13 human body key points of the human body frontal image of a millimeter wave image near the middle gain intensity in step A, the coordinates of the 13 key points are respectively , … , determine the human body boundaries of the front image and the back image, the width and height of the image are , ,but

[0030] The position of the left boundary of the human body is: ;

[0031] The location of the right border of the human body is: ;

[0032] The height of the human neck is: ;

[0033] The height of the bottom of the human body is: ;

[0034] Step C2, extending the human body boundary determined in step C1 to obtain the effective area to be cropped;

[0035] Determine the extension lengths of the left, right, and top sides based on the image size. The extension length on the left side is , the outer extension on the right is , the outer extension of the top is , the calculation formula of the position after extension is:

[0036] Position on the left after extension: ;

[0037] The position on the right after extension: ;

[0038] The position of the top after extension: ;

[0039] The position of the bottom after extension: ;

[0040] The coordinate point of the upper left corner of the rectangular clipping area is determined as , the coordinate point of the lower right corner of the rectangle of the cropping area is ;

[0041] Step C3: cropping the multiple millimeter wave images with different gain intensities scanned at the same time according to the cropping area determined in step C2.

[0042] Furthermore, in step D, the coordinate modification method of the original image annotation frame after image stitching is as follows:

[0043] The new coordinate calculation formula of the front label box is as follows, where , are the x and y coordinate values ​​of the corner points of the original coordinate frame, The modified coordinate values ​​are:

[0044]

[0045] The new coordinate calculation formula of the back label box is:

[0046] .

[0047] Furthermore, in step F, the training and reasoning method of the algorithm model is as follows: the algorithm model is trained using the millimeter wave image data set produced in step A, and when it is deployed on the security scanner for operation, only one millimeter wave image close to the middle gain intensity is input for reasoning; the millimeter wave image needs to be preprocessed during both training and reasoning, and the millimeter wave image preprocessing uses step C to remove blank areas of the image and step D to splice the front and back images.

[0048] After adopting the above scheme, the method of improving the contraband detection capability of the millimeter wave security inspection instrument of the present invention starts from the nature of millimeter waves, and by adjusting the gain intensity of the millimeter wave signal, generates millimeter wave images of multiple different DBs for training the deep learning algorithm, thereby improving the accuracy and robustness of the algorithm. For the blank areas where there is no human body in the millimeter wave image, a method based on the extrapolation of the key points of the human body is adopted to remove them, so that the algorithm focuses on the effective area and reduces the algorithm reasoning consumption. In order to enable the detection algorithm to achieve a higher accuracy, the present invention horizontally splices the front and back images with the blank areas removed, and inputs them into the detection algorithm, so that the algorithm can obtain more effective information during reasoning. In order to allow the detection algorithm to fully pay attention to the correlation between the front and back images in the image, the present invention modifies the DETR algorithm, guides the attention mechanism in the algorithm, and plays a better role. In summary, the method of improving the contraband detection capability of the millimeter wave security inspection instrument of the present invention has achieved good results in improving the detection rate of millimeter wave contraband and reducing the detection time.

[0049] The method for improving the contraband detection capability of the millimeter wave security scanner of the present invention can effectively improve the detection of contraband with weak side signals, solve the problem that contraband with weak side signals is difficult to detect, improve the detection rate and accuracy of contraband, and enhance the protective effect of the security scanner. At the same time, the method for improving the contraband detection capability of the millimeter wave security scanner of the present invention can reduce the time consumption of algorithm reasoning, reduce the waiting time during security inspection, and solve the problem that the algorithm has poor robustness against image noise and the security inspection takes a long time and requires a long waiting time. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 The figure is a flow chart of the method of the present invention.

[0051] Figure 2 These are millimeter wave images with different gains according to the present invention.

[0052] Figure 3 This is a schematic diagram of image annotation of the present invention.

[0053] Figure 4 It is a structural schematic diagram of the positions of 13 key points of the human body according to the present invention.

[0054] Figure 5 It is the prediction result of the front key points of the human body and the corresponding cropping frame of the present invention.

[0055] Figure 6 for Figure 5 Crop frame of the back of the human body.

[0056] Figure 7 It is a schematic diagram of the image after the front and back sides of the human body are spliced ​​together.

[0057] Figure 8 The improved DETR detection algorithm network structure diagram of the present invention. DETAILED DESCRIPTION

[0058] In order to further explain the technical solution of the present invention, the present invention is described in detail below through specific embodiments.

[0059] like Figure 1 As shown, the present invention discloses a method for improving the contraband detection capability of a millimeter wave security inspection instrument, which comprises the following steps:

[0060] Step A, preparing a millimeter wave image dataset;

[0061] The data from a human body security scan is used to generate millimeter wave images with different gain intensities. The specific method is: a gain of 20-40DB is used for the data after a single millimeter wave scan, such as Figure 2 As shown, it specifically includes 5 DB gains of 23DB, 25DB, 30DB, 35DB, and 40DB (other DBs are also possible, and the above 5 DB gains are only one embodiment of the present invention), so that one scan can obtain millimeter wave images corresponding to 5 different gains. Images with weak gains are clean and have low noise, which is convenient for identifying major contraband; images with strong gains have large noise, but can enhance weak signals, making them easier to identify. Using these 5 images with different gain intensities can enhance the algorithm's ability to distinguish effective signals and noise, enhance the algorithm's robustness, and improve the algorithm's ability to resist random noise, as well as interference from signals similar to contraband signals caused by problems such as correction errors. The amount of data is increased by 5 times the original amount, which can effectively enhance the performance of the algorithm.

[0062] Step B: Dataset image annotation;

[0063] like Figure 2 As shown, prohibited items on the side of the body are marked on both sides. The marking method is:

[0064] Step B1, select 30DB images for annotation, and use the annotation results as the annotation results of the images of different DBs scanned this time;

[0065] Step B2: When marking, comprehensively mark the imaging effects of the front and back images. Set a magnifying glass in the marking tool to magnify and judge the key positions;

[0066] Step B3: When marking, combine the recorded points and types of data collection to ensure that there is no mistake in the category of prohibited items;

[0067] Step B4: Mark the contraband placed on the side on both the front and back images, rather than marking only on the side with obvious imaging. The key is to mark the weak contraband signal, and contraband that only exists on one side should only be marked on that side;

[0068] Step B5: In addition to the category and position, the annotation information also includes information on whether there is imaging on both the front and back sides, which is represented by a field, 1 indicates that there is imaging on both sides, and 0 indicates that there is imaging on only one side.

[0069] Step C, removing blank areas of the millimeter wave image based on key points of the human body;

[0070] Removing blank areas from millimeter-wave images can narrow the algorithm detection range, reduce recognition difficulty, and reduce the amount of calculation. The specific approach is divided into two steps:

[0071] Step C1, using key point algorithm to determine the human body boundary.

[0072] The human key point algorithm is used to detect 13 human key points in the 30DB human frontal image. The positions of the key points are as follows: Figure 4 As shown. The key points on the back do not need to be detected. When cropping, use the cropping frame with the same coordinates as the front. At the same time, the images of other DBs scanned in a single scan also use the same cropping frame as 30DB.

[0073] Assume that the coordinates of the 13 key points detected by the key point algorithm are , … The width and height of the image are , .

[0074] Then the position of the left boundary of the human body is: ;

[0075] The location of the right border of the human body is: ;

[0076] The height of the human neck is: ;

[0077] The height of the bottom of the human body is (the sole of the human foot is flush with the bottom of the image): ;

[0078] Step C2, extending the boundary determined in step C1 to obtain the effective area to be cropped.

[0079] Determine the extensions of the left, right, and top sides according to the image size, assuming they are , , Considering that the extension should not exceed the image boundary, the calculation formula for the position after extension is:

[0080] Position on the left after extension:

[0081] The position on the right after extension:

[0082] The position of the top after extension:

[0083] The position of the bottom after extension:

[0084] From this, we can determine the coordinate point of the upper left corner of the rectangular clipping area: , the coordinate point of the lower right corner of the rectangle of the cropping area is ,like Figure 5 , Figure 6 As shown, Figure 5 The points in are the key points of the human body. Figure 5 , Figure 6 The solid-line frame in the figure is the cropping frame.

[0085] Step D: stitching the front and back of the image;

[0086] The front and back images are stitched together as input to the detection algorithm. The purpose of stitching is to allow the attention module in the detection algorithm to obtain information about the front and back of the image in a single scan, which allows the algorithm to make a more accurate judgment. At the same time, after the images are stitched together, the original scanning model needs to be run twice to get the result, but now it only needs to be run once, which reduces the algorithm time consumption.

[0087] The specific method of stitching is to stitch the millimeter wave images of the same DB gain from the same scan to the left and right, stitch the original two images into one image, input it into the network, and stitch the front side on the left and the back side on the right. Figure 7 shown.

[0088] After the images are stitched together, the coordinates of the original image annotation box need to be modified accordingly. The modification method is as follows:

[0089] The new coordinate calculation formula of the front label box (i.e., the label control box, which is a graphic control and mainly used to display text information) is as follows, where , are the x and y coordinate values ​​of the corner points of the original coordinate frame, is the modified coordinate value.

[0090]

[0091] The new coordinate calculation formula of the back label box is:

[0092]

[0093] Step E: Improve the DETR algorithm to design a contraband detection algorithm.

[0094] In order to achieve better contraband detection effect, the present invention modifies the classic DETR algorithm. The modified algorithm network structure is as follows: Figure 8 As shown in the figure. The algorithm mainly consists of four parts: feature extractor, encoder, decoder, and prediction head. The key modifications are in the feature extractor and prediction head, as well as the corresponding loss function design. The specific design details are as follows.

[0095] (1) Feature extractor design

[0096] The Swin Transformer pre-trained on ImageNet-22K is used as the feature extraction network. The extracted features are transformed into dimensions through a convolutional layer, and then position encoding is added.

[0097] (2) Encoder and decoder design

[0098] The encoder and decoder use the same encoder and decoder layer structure as in the DETR original paper.

[0099] (3) Prediction head design

[0100] The original DETR prediction network is modified to add the judgment of whether the contraband in the frame has images on both the front and back sides. If both sides have images, the label is 1, otherwise it is 0.

[0101] The structure of the added prediction head is a two-layer neural network. The number of neurons in the hidden layer is equal to the dimension of the decoder output vector. The activation function is ReLU. The output layer contains 1 neuron, followed by a Sigmoid activation function, which is used to determine whether the contraband in the frame is imaged on both the front and back sides.

[0102] The added branch for predicting whether the image is from both the front and back sides can effectively guide the attention mechanism to focus on the connection between the images of contraband located on the side of the body at the corresponding positions on the front and back sides, thereby strengthening the detection of weak signals.

[0103] (4) Loss function design

[0104] The loss function corresponding to the output result of the newly added branch for judging whether the image is on the front and back sides is the binary cross entropy loss function. In this way, the loss function of the entire improved DETR algorithm is:

[0105]

[0106] Where: Represents the real result, Represents the prediction result, is the loss calculated based on the predicted results and the true results. is the class prediction loss, Indicates that the predicted category is The probability of (the correct class). represents the loss of the prediction box, It means that the loss is calculated only when the category of the object in the box is not the background but corresponds to the real object to be detected. To determine whether the contraband item has a predicted loss of both the front and back images, The real result of whether the contraband is imaged on both the front and back sides. The prediction result is probability.

[0107] Step F: Use the DETR algorithm model improved in step E to automatically detect the millimeter wave security inspection image.

[0108] The training and reasoning methods of the algorithm model are as follows: use the millimeter wave image data set produced in step A to train the algorithm model. When it is deployed on the security scanner for work, only 30DB millimeter wave images are input for reasoning. The millimeter wave images need to be preprocessed during both training and reasoning. The millimeter wave image preprocessing uses step C to remove blank areas of the image and step D to splice the front and back images.

[0109] The method of improving the contraband detection capability of the millimeter wave security inspection instrument of the present invention starts from the nature of millimeter waves, and by adjusting the gain intensity of the millimeter wave signal, generates millimeter wave images of 5 different DBs for training the deep learning algorithm, thereby improving the accuracy and robustness of the algorithm. For the blank areas where there is no human body in the millimeter wave image, the present invention adopts a method based on key point extrapolation to remove them, so that the algorithm focuses on the effective area and reduces the algorithm reasoning consumption. In order to enable the detection algorithm to achieve a higher accuracy, the present invention horizontally splices the front and back images with the blank areas removed, and inputs them into the detection algorithm, so that the algorithm can obtain more effective information during reasoning. In order to allow the detection algorithm to fully pay attention to the correlation between the front and back images in the image, the present invention modifies the DETR algorithm to guide the attention mechanism in the algorithm to play a better role. In summary, the method of the present invention has achieved good results in improving the detection rate of millimeter wave contraband and reducing detection time.

[0110] The above embodiments and drawings do not limit the product form and style of the present invention. Any appropriate changes or modifications made by ordinary technicians in the relevant technical field should be deemed to be within the patent scope of the present invention.

Claims

1. A method for improving the contraband detection capability of a millimeter wave security inspection instrument, characterized in that: The following steps are involved: Step A, creating a millimeter wave image data set: adjusting the millimeter wave signal gain strength, generating multiple millimeter wave images with different gain strengths from a human body security scan data, for training deep learning algorithms; Step B, data set image annotation: double-sided annotation is performed on the prohibited items on the side of the body in the millimeter wave image of step A, and normal annotation is performed on the prohibited items on the front of the body; Step C, removing blank areas of the millimeter wave image based on key points of the human body; Step D: splicing the front image and the back image as input to the detection algorithm; The two millimeter wave images of the front and back of the same scan with the same gain intensity are spliced ​​left and right, and the original two images are spliced ​​into one image, which is input into the network, with the front on the left and the back on the right during splicing; After the images are stitched together, the coordinates of the original image annotation box are modified accordingly; Step E: Improve the DETR algorithm to design a contraband detection algorithm; The feature extractor and prediction head of the DETR algorithm have been modified, as well as the corresponding loss function. The specific modifications are as follows: The modification of the prediction head is to modify the original DETR prediction network, adding the DETR network output frame to determine whether the contraband is imaged on both the front and back sides. If both sides are imaged, the label is 1, otherwise it is 0; the structure of the added prediction head is a two-layer neural network, the number of neurons in the hidden layer is equal to the dimension of the decoder output vector, the activation function is ReLU, the output layer contains 1 neuron, followed by a Sigmoid activation function, which is used to determine whether the contraband in the frame is imaged on both the front and back sides; The loss function corresponding to the newly added output result of judging whether the image is on the front or back side is the binary cross entropy loss function. The loss function of the entire improved DETR algorithm is: In the above formula: Represents the real result, Represents the prediction result, is the loss calculated based on the predicted results and the true results, is the class prediction loss, Indicates that the predicted category is the correct category probability; represents the loss of the prediction box, It means that the loss is calculated only when the category of the object in the frame is not the background but corresponds to the real object to be detected. To determine whether the contraband item has a predicted loss of both front and back imaging, The real result of whether the contraband is imaged on both the front and back sides. The prediction result is probability; In addition, the Swin Transformer pre-trained on ImageNet-22K is used as the feature extraction network. The extracted features are transformed in dimension through a convolutional layer, and then position encoding is added; Step F: Use the DETR algorithm model improved in step E to automatically detect the millimeter wave security inspection image.

2. The method for improving the contraband detection capability of a millimeter wave security inspection instrument as claimed in claim 1, characterized in that: The specific method of step A is: using a gain of 20-40DB for the data after a single millimeter wave scan, and obtaining millimeter wave images corresponding to a variety of different gains in one scan.

3. The method for improving the contraband detection capability of a millimeter wave security inspection instrument as claimed in claim 1, characterized in that: The marking method of step B includes the following steps: Step B1, selecting a millimeter wave image of the intermediate gain intensity in step A for annotation, and using the annotation result as the annotation result of scanning a plurality of millimeter wave images of different DBs at one time; Step B2: When marking, the front image and the back image are comprehensively marked according to the imaging effects, and a magnifying glass is set in the marking tool to magnify and judge the key positions; Step B3: When marking, combine the recorded points and types of data collection to ensure that there is no mistake in the category of prohibited items; Step B4: Mark the prohibited items placed on the side in both the front image and the back image, and mark the prohibited items. If the prohibited items are only on one side, mark only the one side. Step B5: In addition to the category and position, the annotation information also includes information on whether there is imaging on both the front and back sides, which is represented by a field, 1 indicates that there is imaging on both sides, and 0 indicates that there is imaging on only one side.

4. The method for improving the contraband detection capability of a millimeter wave security inspection instrument as claimed in claim 1, characterized in that: Step C specifically includes the following steps: Step C1, using an algorithm to determine the human body boundary: using the 13 human body key point algorithm to detect 13 human body key points of the human body frontal image of a millimeter wave image with intermediate gain intensity in step A, the coordinates of the 13 key points are respectively , … , determine the human body boundaries of the front image and the back image, the width and height of the image are , ,but The position of the left boundary of the human body is: ; The location of the right border of the human body is: ; The height of the human neck is: ; The height of the bottom of the human body is: ; Step C2, extending the human body boundary determined in step C1 to obtain the effective area to be cropped; Determine the extensions of the left, right, and top sides based on the image size. The extension of the left side is , the outer extension on the right is , the outer extension of the top is , the calculation formula of the position after extension is: Position on the left after extension: ; The position on the right after extension: ; The position of the top after extension: ; The position of the bottom after extension: ; The coordinate point of the upper left corner of the rectangular clipping area is determined as , the coordinate point of the lower right corner of the rectangle of the cropping area is ; Step C3: cropping the multiple millimeter wave images with different gain intensities scanned at the same time according to the cropping area determined in step C2.

5. The method for improving the contraband detection capability of a millimeter wave security inspection instrument as claimed in claim 4, characterized in that: In step D, the coordinate modification method of the original image annotation box after image stitching is as follows: The new coordinate calculation formula of the front label box is as follows, where , are the x and y coordinate values ​​of the corner points of the original coordinate frame, The modified coordinate values ​​are: The new coordinate calculation formula of the back label box is: 。 6. The method for improving the contraband detection capability of a millimeter wave security inspection instrument as claimed in claim 1, characterized in that: In step F, the training and reasoning method of the algorithm model is as follows: the algorithm model is trained using the millimeter wave image data set produced in step A. When it is deployed on the security scanner for operation, only one millimeter wave image with intermediate gain intensity is input for reasoning. The millimeter wave image needs to be preprocessed during both training and reasoning. The millimeter wave image preprocessing uses step C to remove blank areas of the image and step D to splice the front and back images.