Auxiliary X-ray image discrimination method and device, electronic equipment and storage medium
By filtering the pixel width of the X-ray image, we can determine whether the image is an abnormal image, and text prompts or intelligent recognition is performed based on the judgment results, which solves the problem of degradation of recognition accuracy and false alarms caused by image deformation, and improves security inspection efficiency.
Patent Information
- Application Number
- CN202311065642.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-23
- Publication Date
- 2025-02-25
AI Technical Summary
In the prior art, when X-ray images pass through the security inspection machine, the image is squeezed, stretched, etc. due to factors such as blockage and artificial pulling, resulting in a decrease in the accuracy of intelligent identification, resulting in an error alarm prompt, interfering with the security inspection personnel's image determination, and affecting Diagram speed.
By acquiring the pixel width of the X-ray image and presetting the upper and lower limit thresholds of the pixel width, it is determined whether the image is an abnormal image. If it is an abnormal image, a text prompt is given; if it is a normal image, an intelligent recognition device is used to intelligently identify prohibited items.
It effectively reduces the error recognition results caused by abnormal images, reduces unnecessary error alarm prompts, improves the image judgment efficiency of security personnel, and reduces intelligent recognition of false alarms.
Smart Images

Figure CN119516234A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of security inspection and image recognition, and more specifically, to an X-ray image auxiliary recognition method, device, electronic device and storage medium. Background Art
[0002] At present, the security inspection of X-ray images uses an intelligent recognition sub-screen display to assist security inspectors in judging images. Usually, an intelligent recognition device is attached to the security inspection machine, which takes a screenshot of the original output screen, divides the image according to the blank space of the image, and then performs intelligent recognition on the entire divided image to remind security inspectors of possible contraband and achieve the effect of assisting image judgment.
[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: abnormal images cannot be distinguished, and the resulting erroneous recognition results interfere with the image judgment of security personnel. When the baggage passes through the X-ray machine, it is easy to cause the X-ray image to be squeezed, stretched, and deformed due to factors such as blockage and manual pulling. When the deformed image is subjected to the intelligent recognition algorithm, the recognition accuracy will be significantly reduced, and various erroneous alarm prompts will be generated, which will interfere with the image judgment of security personnel and cause a lot of unnecessary trouble, directly affecting the image judgment speed. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide an X-ray image auxiliary judgment method, device, electronic device and storage medium.
[0005] One aspect of the embodiments of the present disclosure provides an X-ray image auxiliary judgment method, comprising:
[0006] Get the pixel width of the X-ray image;
[0007] Preset upper and lower thresholds for pixel width;
[0008] When the pixel width is greater than the upper limit threshold, determining that the X-ray image is an abnormal image;
[0009] When the pixel width is less than the lower threshold, determining that the X-ray image is an abnormal image;
[0010] When the pixel width is less than or equal to the upper threshold and greater than or equal to the lower threshold, determining that the X-ray image is a normal image;
[0011] In response to the X-ray image being an abnormal image, determining to provide a text prompt;
[0012] In response to the X-ray image being a normal image, it is determined to use an intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image.
[0013] According to an embodiment of the present disclosure, in response to the X-ray image being an abnormal image, determining to provide a text prompt includes:
[0014] In response to the X-ray image being an abnormal image, it is determined to superimpose prompt text on the X-ray image displayed on the secondary screen.
[0015] According to an embodiment of the present disclosure, in response to the X-ray image being a normal image, after determining to use an intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image, the method includes:
[0016] The intelligent recognition device obtains the prohibited items information after recognizing the X-ray image;
[0017] The above-mentioned contraband information is superimposed and displayed on the above-mentioned X-ray image displayed on the secondary screen.
[0018] According to an embodiment of the present disclosure, the prompt text superimposed on the X-ray image displayed on the secondary screen includes: displaying image abnormality text, displaying requesting manual image judgment text.
[0019] According to an embodiment of the present disclosure, the above-mentioned contraband information includes: the name of the contraband.
[0020] Another aspect of the disclosed embodiment provides an X-ray image auxiliary judgment device, including: an acquisition module, used to acquire the pixel width of the X-ray image;
[0021] A threshold determination module, used to preset an upper threshold and a lower threshold of pixel width;
[0022] A first determination module, configured to determine that the X-ray image is an abnormal image when the pixel width is greater than the upper threshold;
[0023] A second determination module, configured to determine that the X-ray image is an abnormal image when the pixel width is less than the lower threshold;
[0024] A third determination module, configured to determine that the X-ray image is a normal image when the pixel width is less than or equal to an upper threshold and greater than or equal to a lower threshold;
[0025] A first reaction module, for determining to provide a text prompt in response to the X-ray image being an abnormal image;
[0026] The second reaction module is used for determining to use an intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image in response to the X-ray image being a normal image.
[0027] Another aspect of an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned method.
[0028] Another aspect of an embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.
[0029] Another aspect of an embodiment of the present disclosure provides a computer program product, which includes computer executable instructions, and the instructions are used to implement the above method when executed.
[0030] According to the embodiments of the present disclosure, a technical method of filtering the pixel width of the X-ray image and filtering out abnormal graphics beyond the threshold value is adopted, which at least partially overcomes the technical problem that abnormal images cannot be distinguished, and the resulting erroneous recognition results interfere with the image judgment of security personnel and affect the image judgment speed, avoids unnecessary false alarm prompts, thereby reducing interference with the image judgment of security personnel, and achieves the technical effect of reducing false alarms in intelligent recognition and improving the efficiency of image judgment of security personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0032] Figure 1 A flowchart of an X-ray image auxiliary judgment method according to an embodiment of the present disclosure is schematically shown;
[0033] Figure 2 A schematic diagram of a method for assisting image judgment of an X-ray image according to an embodiment of the present disclosure is shown;
[0034] Figure 3 A block diagram schematically shows an X-ray image auxiliary judgment device according to an embodiment of the present disclosure; and
[0035] Figure 4 A block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0036] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0037] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0038] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0039] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0040] An embodiment of the present disclosure provides an X-ray image auxiliary judgment method, including: obtaining the pixel width of the X-ray image; presetting an upper threshold and a lower threshold of the pixel width; when the pixel width is greater than the upper threshold, determining that the X-ray image is an abnormal image; when the pixel width is less than the lower threshold, determining that the X-ray image is an abnormal image; when the pixel width is less than or equal to the upper threshold and greater than or equal to the lower threshold, determining that the X-ray image is a normal image; in response to the X-ray image being an abnormal image, determining to perform a text prompt; in response to the X-ray image being a normal image, determining to use an intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image.
[0041] Figure 1The following schematically shows a flow chart of an X-ray image assisted image judgment method according to an embodiment of the present disclosure.
[0042] like Figure 1 As shown, the method includes operations S101 to S107.
[0043] In operation S101, the X-ray image pixel width is acquired.
[0044] During specific implementation, the image pixel width is obtained according to the obtained X-ray image.
[0045] In operation S102, an upper threshold and a lower threshold of a pixel width are preset.
[0046] During specific implementation, the upper and lower thresholds of the pixel width of the X-ray image are preset according to actual conditions.
[0047] In the above operation, by setting the upper and lower thresholds, some obviously abnormal images can be filtered out to avoid unnecessary alarms during subsequent intelligent recognition. Obviously abnormal images include: fragmented images (incomplete data), stretched images (duplicate data in the middle column), etc.
[0048] In operation S103, when the pixel width is greater than the upper threshold, the X-ray image is determined to be an abnormal image.
[0049] During specific implementation, the pixel width of the obtained X-ray image is compared with the upper threshold value. If the pixel width is greater than the upper threshold value, the X-ray image is determined to be an abnormal image.
[0050] In operation S104, when the pixel width is less than the lower threshold, the X-ray image is determined to be an abnormal image.
[0051] During specific implementation, the pixel width of the obtained X-ray image is compared with the lower threshold value. If the pixel width is less than the lower threshold value, the X-ray image is also determined to be an abnormal image.
[0052] In operation S105, when the pixel width is less than or equal to the upper threshold and greater than or equal to the lower threshold, the X-ray image is determined to be a normal image.
[0053] In a specific implementation, if the pixel width of the X-ray image is compared with the upper and lower thresholds and it is found that the pixel width is within a range less than or equal to the upper threshold and greater than or equal to the lower threshold, then the X-ray image is a normal image.
[0054] In the above operations S103 to S105, there is no order of priority. The upper threshold value can be compared first, or the lower threshold value can be compared first. The image width is compared with the upper and lower threshold values, which is the process of filtering the X-ray images that do not meet the conditions. The pixel width of the X-ray image finally obtained is less than or equal to the upper threshold value and greater than or equal to the lower threshold value, so that the intelligent recognition device can recognize it.
[0055] In operation S106, in response to the X-ray image being an abnormal image, it is determined to perform a text prompt.
[0056] In a specific implementation, if the X-ray image is an abnormal image after the above comparison, it is determined to send a text prompt to the security personnel.
[0057] In the above operation, text prompts are given to security inspectors for abnormal images, which can speed up the image judgment process for security inspectors and avoid abnormal images directly entering the intelligent recognition process, which may lead to intelligent recognition errors and affect the judgment of security inspectors.
[0058] In operation S107, in response to the X-ray image being a normal image, it is determined to use an intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image.
[0059] In specific implementation, if the X-ray image is found to be a normal image after the above comparison, the intelligent recognition device can be normally allowed to perform recognition.
[0060] In the above process, the intelligent recognition device only needs to recognize normal images, which can effectively improve the recognition efficiency and accuracy of the intelligent recognition device and better help security personnel to judge images.
[0061] According to an embodiment of the present disclosure, operation S106 specifically includes: in response to the X-ray image being an abnormal image, determining to superimpose and display prompt text on the X-ray image displayed on the secondary screen.
[0062] In specific implementation, if the X-ray image is an abnormal image, a prompt text can be superimposed on the X-ray image displayed on the secondary screen to prompt the security personnel. The secondary screen display method is not defined, and it can be a second display. The installation position of the secondary screen display is not defined, and it can be connected to the security inspection machine or placed in other locations.
[0063] According to an embodiment of the present disclosure, prompt text is superimposed on the X-ray image displayed on the secondary screen, including: displaying image abnormality text and displaying requesting manual image judgment text.
[0064] In specific implementation, the content of the prompt text in the superimposed display is not defined and may be: image abnormality, requesting manual image judgment; the font, color and other forms of expression of the prompt text in the superimposed display are also not defined.
[0065] In the above operation, text prompts for abnormal images can better remind security personnel to judge the images as soon as possible, reduce the intelligent recognition process, avoid intelligent recognition misjudgments, and speed up the image judgment rate.
[0066] According to an embodiment of the present disclosure, operations after operation S107 specifically include: obtaining contraband information after the intelligent recognition device recognizes the X-ray image; and superimposing the contraband information on the X-ray image displayed on the secondary screen.
[0067] In specific implementation, the intelligent recognition device identifies the X-ray image. If the object in the X-ray image is identified to be the same as the object in the prohibited items information database, the information of the object is obtained, the prohibited items information is obtained, and the prohibited items information is superimposed on the X-ray image displayed on the secondary screen.
[0068] According to an embodiment of the present disclosure, the prohibited items information includes: the name of the prohibited items.
[0069] In the above operation, the prohibited items information identified by the intelligent recognition device is superimposed and displayed on the secondary screen X-ray image, which can assist security personnel in judging the image and help security personnel to more quickly determine whether the item is a prohibited item.
[0070] Figure 2 The schematic diagram shows a principle diagram of an X-ray image assisted image judgment method according to an embodiment of the present disclosure.
[0071] like Figure 2 As shown, the intelligent recognition equipment collects the output screen of the security inspection machine and captures the original screen in real time; extracts the coordinates of the blank gaps in the screen by comparing the pixel color values by column; divides the screen into multiple X-ray images according to the coordinates of the blank gaps; performs an image status check on each X-ray image: if the image pixel width is greater than the set upper threshold, it is an abnormal image, and "Image abnormal, please perform manual image judgment" is superimposed on the secondary screen X-ray image to end the process; if the image pixel width is less than the set lower threshold, it is also an abnormal image, and "Image abnormal, please perform manual image judgment" is superimposed on the secondary screen X-ray image to end the process; if the image pixel width is between the lower threshold and the upper threshold, it is a normal image, and the process of intelligent recognition of contraband for the X-ray image begins; the intelligent recognition device superimposes the prohibited items information on the secondary screen image to assist the security inspector in judging the image.
[0072] Figure 3 The block diagram of an X-ray image auxiliary judgment device according to an embodiment of the present disclosure is schematically shown.
[0073] It should be noted that the part of an X-ray image auxiliary image discrimination device in the embodiment of the present disclosure corresponds to the part of an X-ray image auxiliary image discrimination method in the embodiment of the present disclosure. The description of the part of an X-ray image auxiliary image discrimination device specifically refers to the part of an X-ray image auxiliary image discrimination method, which will not be repeated here.
[0074] like Figure 3 As shown, an X-ray image auxiliary judgment device 300 includes: an acquisition module 310, a threshold determination module 320, a first determination module 330, a second determination module 340, a third determination module 350, a first reaction module 360, and a second reaction module 370.
[0075] The acquisition module 310 is used to acquire the pixel width of the X-ray image.
[0076] The threshold determination module 320 is used to preset an upper threshold and a lower threshold of the pixel width.
[0077] The first determination module 330 is used to determine that the X-ray image is an abnormal image when the pixel width is greater than an upper threshold.
[0078] The second determination module 340 is used to determine that the X-ray image is an abnormal image when the pixel width is less than a lower threshold.
[0079] The third determination module 350 is used to determine that the X-ray image is a normal image when the pixel width is less than or equal to the upper threshold and greater than or equal to the lower threshold.
[0080] The first reaction module 360 is used for determining to provide a text prompt in response to the X-ray image being an abnormal image.
[0081] The second reaction module 370 is used for determining to use the intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image in response to the X-ray image being a normal image.
[0082] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (Field Programmable Gate Array, FPGA), programmable logic arrays (Programmable Logic Arrays, PLA), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), or can be implemented by hardware or firmware of any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0083] For example, any multiple of the acquisition module 310, the threshold determination module 320, the first determination module 330, the second determination module 340, the third determination module 350, the first reaction module 360, and the second reaction module 370 can be combined in one module / unit / subunit for implementation, or any one of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functions of one or more of these modules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / unit / subunit. According to an embodiment of the present disclosure, at least one of the acquisition module 310, the threshold determination module 320, the first determination module 330, the second determination module 340, the third determination module 350, the first reaction module 360, and the second reaction module 370 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by an appropriate combination of any of them. Alternatively, at least one of the acquisition module 310, the threshold determination module 320, the first determination module 330, the second determination module 340, the third determination module 350, the first reaction module 360, and the second reaction module 370 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0084] Figure 4 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0085] like Figure 4As shown, the electronic device 400 according to the embodiment of the present disclosure includes a processor 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403. The processor 401 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 401 may also include an onboard memory for caching purposes. The processor 401 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.
[0086] In RAM 403, various programs and data required for the operation of electronic device 400 are stored. Processor 401, ROM 402 and RAM 403 are connected to each other via bus 404. Processor 401 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 402 and / or RAM 403. It should be noted that the program can also be stored in one or more memories other than ROM 402 and RAM 403. Processor 401 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in one or more memories.
[0087] According to an embodiment of the present disclosure, the electronic device 400 may further include an input / output (I / O) interface 405, which is also connected to the bus 404. The system 400 may further include one or more of the following components connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
[0088] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the processor 401, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0089] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0090] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM (Erasable Programmable Read Only Memory, EPROM) or flash memory), a portable compact disk read-only memory (Computer Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device.
[0091] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 402 and / or the RAM 403 described above and / or one or more memories other than the ROM 402 and the RAM 403 .
[0092] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement an X-ray image assisted image judgment method provided by the embodiment of the present disclosure.
[0093] When the computer program is executed by the processor 401, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0094] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 409, and / or installed from the removable medium 411. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0095] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0097] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. An X-ray image auxiliary judgment method, comprising: Get the pixel width of the X-ray image; Preset upper and lower thresholds for pixel width; When the pixel width is greater than the upper threshold, determining that the X-ray image is an abnormal image; When the pixel width is less than the lower threshold, determining that the X-ray image is an abnormal image; When the pixel width is less than or equal to an upper threshold and greater than or equal to a lower threshold, determining that the X-ray image is a normal image; In response to the X-ray image being an abnormal image, determining to provide a text prompt; In response to the X-ray image being a normal image, it is determined to use an intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image.
2. The method according to claim 1, wherein: In response to the X-ray image being an abnormal image, determining to provide a text prompt includes: In response to the X-ray image being an abnormal image, it is determined to superimpose and display prompt text on the X-ray image displayed on the secondary screen.
3. The method according to claim 1, wherein: In response to the X-ray image being a normal image, after determining to use an intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image, the method includes: After the intelligent recognition device recognizes the X-ray image, it obtains the information of the contraband; The contraband information is superimposed and displayed on the X-ray image displayed on the secondary screen.
4. The method according to claim 2, wherein: The prompt text is superimposed on the X-ray image displayed on the secondary screen, including: text displaying image abnormality and text displaying requesting manual image judgment.
5. The method according to claim 3, wherein: The prohibited items information includes: the name of the prohibited items.
6. An X-ray image auxiliary judgment device, comprising: An acquisition module, used for acquiring the pixel width of the X-ray image; A threshold determination module, used to preset an upper threshold and a lower threshold of pixel width; A first determination module, configured to determine that the X-ray image is an abnormal image when the pixel width is greater than the upper threshold; A second determination module, configured to determine that the X-ray image is an abnormal image when the pixel width is less than the lower threshold; A third determination module, configured to determine that the X-ray image is a normal image when the pixel width is less than or equal to an upper threshold and greater than or equal to a lower threshold; A first reaction module, for determining to provide a text prompt in response to the X-ray image being an abnormal image; The second reaction module is used for determining to use an intelligent recognition device to perform intelligent recognition of prohibited items on the X-ray image in response to the X-ray image being a normal image.
7. An electronic device comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 5.
9. A computer program product, comprising a computer program, wherein the computer program is used to implement the method according to any one of claims 1 to 5 when executed by a processor.