DETECTION OF A CONCEALED PROHIBITED MATERIAL IN AN ITEM, USING IMAGE PROCESSING

20240046611 ยท 2024-02-08

    Inventors

    Cpc classification

    International classification

    Abstract

    There are provided systems and methods comprising obtaining an image of at least a part of an item, obtaining data informative of a pixel intensity of the part of the item in the image, obtaining first data informative of a pixel intensity in an image of a part of a first item associated with a prohibited material, wherein the part of the first item meets a similarity criterion with the part of the item, obtaining second data informative of a pixel intensity in an image of a part of a second item which is not associated with a prohibited material, wherein the part of the second item meets the similarity criterion with the part of the item, and using the first data, the second data and the data to determine whether the part of the item is associated with a concealed prohibited material in the image.

    Claims

    1-39. (canceled)

    40. A system comprising a processor and memory circuitry (PMC) configured to: obtain an image of at least a part of an item acquired by an acquisition device, obtain data D.sub.part informative of a pixel intensity of the part of the item in the image, obtain first data D.sub.positive informative of a pixel intensity in at least one image of a part of a first item, wherein the part of the first item is associated with a prohibited material in the image, wherein the part of the first item meets a similarity criterion with the part of the item, obtain second data D.sub.negative informative of a pixel intensity in at least one image of a part of a second item, wherein the part of the second item is not associated with a prohibited material in the image, wherein the part of the second item meets the similarity criterion with the part of the item, and use the first data D.sub.positive, the second data D.sub.negative and the data D.sub.part to determine whether the part of the item is associated with a concealed prohibited material in the image.

    41. The system of claim 40, wherein at least one of (i) or (ii) is met: (i) the first data D.sub.positve includes, for each given pixel intensity value of a plurality of different pixel intensity values in the at least one image of the part of the first item, a probability that this given pixel intensity value is informative of a prohibited material; (ii) the second data D.sub.negative includes, for each given pixel intensity value of a plurality of different pixel intensity values in the at least one image of the part of the second item, a probability that this given pixel intensity value is not informative of a prohibited material.

    42. The system of claim 40, wherein at least one of (i) or (ii) is met: (i) the first data D.sub.positive is informative of a frequency distribution of pixel intensity in the at least one image of the part of the first item; (ii) the second data D.sub.negative is informative of a frequency distribution of pixel intensity in the at least one image of the part of the second item.

    43. The system of claim 40, wherein the image of the part of the item comprises a plurality of groups of one or more pixels informative of the part of the item, wherein the system is configured to, for each group of one or more pixels of the plurality of groups: use the first data D.sub.positive and pixel intensity of the one or more pixels of the group to determine a probability P.sub.positive/pixel that the group of one or more pixels is informative of a prohibited material, and use the second data D.sub.negative and pixel intensity of the one or more pixels of the group to determine a probability P.sub.negative/pixel that the group of one or more pixels is informative of a prohibited explosive material.

    44. The system of claim 43, wherein at least one of (i) or (ii) is met: (i) determining P.sub.positive/pixel includes: extracting a first probability associated with the pixel intensity of the one or more pixels of the group in D.sub.positive, and using said first probability to determine P.sub.positive/pixel; (ii) determining P.sub.negative/pixel includes: extracting a second probability associated with the pixel intensity of the one or more pixels of the group in D.sub.negative, and using said second probability to determine P.sub.negative/pixel.

    45. The system of claim 43, configured to, for said each group of one or more pixels informative of the part of the item in the image: use the probability P.sub.positive/pixel and the probability P.sub.negative/pixel to determine an aggregated probability that the group of one or more pixels is informative of a prohibited material, perform a comparison between the aggregated probability and a threshold, determine whether the group of one or more pixels is informative of a prohibited material based on a result of the comparison.

    46. The system of claim 40, configured to determine at least one of: data D.sub.number informative of a number of pixels of the image which are informative of a presence of a prohibited material, or data D.sub.shape informative of a shape of pixels of the image which are informative of a presence of a prohibited material, or data D.sub.continuity informative of a continuity between pixels of the image which are informative of a presence of a prohibited material, and use at least one of D.sub.number or D.sub.shape or D.sub.continuity to determine whether the part of the item is associated with a concealed prohibited material in the image.

    47. The system of claim 40, wherein the image of the part of the item comprises a plurality of groups of one or more pixels informative of the part of the item, wherein the system is configured to, for each group of one or more pixels of the plurality of groups: use the first data D.sub.positive, the second data D.sub.negative and the data D.sub.part to generate for each group of one or more pixels informative of the part of the item in the image, a probability that the group of one or more pixels comprises a prohibited material, thereby obtaining a map of probability, and use the map of probability to determine whether the part of the item is associated with a concealed prohibited material in the image.

    48. The system of claim 47, configured to: determine data D.sub.number informative of a number of pixels of the map associated with a probability indicative of a presence of a prohibited material, and use data D.sub.number to determine whether the part of the item is associated with a concealed prohibited material in the image.

    49. The system of claim 47, configured to: determine data D.sub.shape informative of a shape of pixels of the map associated with a probability indicative of a presence of a prohibited material, and use D.sub.shape to determine whether the part of the item is associated with a concealed prohibited material in the image.

    50. The system of claim 47, configured to: determine data D.sub.continuity informative of a continuity between pixels of the map associated with a probability indicative of a presence of a prohibited material, and use D.sub.continuity to determine whether the part of the item is associated with a concealed prohibited material in the image.

    51. The system of claim 40, configured to: obtain an image of an item acquired by an acquisition device, determine a first area of the image corresponding to a first part of the item; determine a second area of the image corresponding to a second part of the item, wherein the second part is different from the first part; obtain data D.sub.first part informative of a pixel intensity of the first part of the item in the image, obtain data D.sub.second part informative of a pixel intensity of the second part of the item in the image, obtain data D.sub.positive, first part informative of a pixel intensity in at least one image of a part of a first item, wherein the part of the first item is associated with a prohibited material in the image, wherein the part of the first item meets a similarity criterion with the first part of the item, obtain data D.sub.negative, first part informative of a pixel intensity in at least one image of a part of a second item, wherein the part of the second item is not associated with a prohibited material in the image, wherein the part of the second item meets the similarity criterion with the first part of the item, obtain data D.sub.positive, second part informative of a pixel intensity in at least one image of a part of a third item, wherein the part of the third item is associated with a prohibited material in the image, wherein the part of the third item meets the similarity criterion with the second part of the item, obtain data D.sub.negative, second part informative of a pixel intensity in at least one image of a part of a fourth item, wherein the part of the fourth item is not associated with a prohibited material in the image, wherein the part of the fourth item meets the similarity criterion with the second part of the item, use the data D.sub.positive, first part, the data D.sub.negative, first part and the data D.sub.first part to detect whether the first part of the item is associated with a concealed prohibited material in the image, and use the data D.sub.positive, second part, the data D.sub.negative, second part and the data D.sub.second part to detect whether the second part of the item is associated with a concealed prohibited material in the image.

    52. The system of claim 40, wherein the prohibited material is an explosive material.

    53. The system of claim 40, wherein the image of the at least part of the item has been acquired while the part of the item was located within a baggage.

    54. The system of claim 40, wherein the PMC is operatively coupled to a database, storing, for at least one type of prohibited material, and for each given type of a plurality of different types of parts of items, at least one of: D.sub.positive informative of a pixel intensity distribution in at least one image of a part of a first item, wherein the part of the first item is associated with a prohibited material in the image, wherein the part of the first item is of the given type, or D.sub.negative informative of a pixel intensity distribution in at least one image of a part of a second item, wherein the part of the second item is not associated with a prohibited material in the image, wherein the part of the second item is of the given type.

    55. The system of claim 40, wherein at least one of (i) or (ii) is met: (i) D.sub.positive is informative of a pixel intensity in a plurality of images, wherein each given image of the plurality of images includes a part of a given first item, wherein the part of the given first item is associated with a prohibited material in the given image, wherein the part of the given item meets a similarity criterion with the part of the item, wherein at least two images of the plurality of images are informative of a part of a different first item; (ii) D.sub.negative is informative of a pixel intensity distribution in a plurality of images, wherein each given image of the plurality of images includes a part of a given second item, wherein the part of the given second item is not associated with a prohibited material in the given image, wherein the part of the given second item meets a similarity criterion with the part of the item, wherein at least two images of the plurality of images are informative of a part of a different second item,

    56. The system of claim 55, wherein at least one of (i) or (ii) is met: (i) the first data D.sub.positive includes, for each given pixel intensity value of a plurality of different pixel intensity values, a frequency of occurrence of this given pixel intensity value in the plurality of images; (ii) the second data D.sub.negative includes, for each given pixel intensity value of a plurality of different pixel intensity values, a frequency of occurrence of this given pixel intensity value in the plurality of images.

    57. The system of claim 40, configured to: obtain a plurality of images of at least a part of an item acquired by an acquisition device, wherein the plurality of images differs from each other by at least one acquisition parameter, obtain, for each given image of the plurality of images, data D.sub.part informative of a pixel intensity of the part of the item in the given image, obtain first data D.sub.positive informative of a pixel intensity in at least one image of a part of a first item, wherein the part of the first item is associated with a prohibited material in the image, wherein the part of the first item meets a similarity criterion with the part of the item, obtain second data D.sub.negative informative of a pixel intensity in at least one image of a part of a second item, wherein the part of the second item is not associated with a prohibited material in the image, wherein the part of the second item meets the similarity criterion with the part of the item, and use the first data D.sub.positive, the second data D.sub.negative and the data D.sub.part to determine whether the part of the item is associated with a concealed prohibited material in the plurality of images.

    58. A method comprising, by a processor and memory circuitry (PMC): obtaining an image of at least a part of an item acquired by an acquisition device, obtaining data D.sub.part informative of a pixel intensity of the part of the item in the image, obtaining first data D.sub.positive informative of a pixel intensity in at least one image of a part of a first item, wherein the part of the first item is associated with a prohibited material in the image, wherein the part of the first item meets a similarity criterion with the part of the item, obtaining second data D.sub.negative informative of a pixel intensity in at least one image of a part of a second item, wherein the part of the second item is not associated with a prohibited material in the image, wherein the part of the second item meets the similarity criterion with the part of the item, and using the first data D.sub.positive, the second data D.sub.negative and the data D.sub.part to determine whether the part of the item is associated with a concealed prohibited material in the image.

    59. A non-transitory storage device readable by a processor and memory circuitry (PMC), tangibly embodying a program of instructions executable by the PMC to perform: obtaining an image of at least a part of an item acquired by an acquisition device, obtaining data D.sub.part informative of a pixel intensity of the part of the item in the image, obtaining first data D.sub.positive informative of a pixel intensity in at least one image of a part of a first item, wherein the part of the first item is associated with a prohibited material in the image, wherein the part of the first item meets a similarity criterion with the part of the item, obtaining second data D.sub.negative informative of a pixel intensity in at least one image of a part of a second item, wherein the part of the second item is not associated with a prohibited material in the image, wherein the part of the second item meets the similarity criterion with the part of the item, and using the first data D.sub.positive, the second data D.sub.negative and the data D.sub.part to determine whether the part of the item is associated with a concealed prohibited material in the image.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0032] In order to better understand the subject matter that is disclosed herein and to exemplify how it may be carried out in practice, embodiments will now be described, by way of non-limiting example only, with reference to the accompanying drawings, in which:

    [0033] FIG. 1 illustrates an architecture of a system according to some embodiments of the invention;

    [0034] FIG. 2 illustrates a flow chart of an embodiment of a method of detecting a prohibited material in an image of a part of an item;

    [0035] FIG. 3A illustrates a non-limitative example of an item (a laptop) which can be used to conceal a prohibited material;

    [0036] FIG. 3B illustrates a non-limitative example of a pixel intensity frequency distribution of a part of an item;

    [0037] FIG. 4A illustrates a flow chart of an embodiment of a method of performing operation 240 in FIG. 2;

    [0038] FIG. 4B illustrates a non-limitative example of a pixel intensity distribution of a part of an item, and a pixel intensity frequency distribution of a similar part of an item associated with a prohibited material;

    [0039] FIG. 4C illustrates a non-limitative example of a pixel intensity distribution of a part of an item, and a pixel intensity frequency distribution of a similar part of an item which is not associated with a prohibited material;

    [0040] FIG. 5 illustrates a flow chart of an embodiment of a method using a number of positive pixels in a map of probability informative of a presence of a prohibited material;

    [0041] FIG. 6A illustrates a flow chart of an embodiment of a method of using a continuity between positive pixels in a map of probability informative of a presence of a prohibited material;

    [0042] FIG. 6B illustrates a non-limitative example of the method of FIG. 6A;

    [0043] FIG. 7 illustrates a flow chart of an embodiment of a method using a shape of positive pixels in a map of probability informative of a presence of a prohibited material;

    [0044] FIG. 8 illustrates a flow chart of an embodiment of a method of detecting a prohibited material in an image of an item, in which the item is divided into a plurality of areas;

    [0045] FIG. 9 illustrates a non-limitative example of an item (a laptop) which can be divided into a plurality of areas;

    [0046] FIG. 10A illustrates a flow chart of an embodiment of a method of generating data informative of a pixel intensity frequency distribution of one or more images of items associated with a prohibited material;

    [0047] FIG. 10B illustrates a non-limitative example of the method of FIG. 10A;

    [0048] FIG. 10C illustrates a flow chart of an embodiment of a method of generating data informative of a pixel intensity frequency distribution of one or more images of parts of items associated with a prohibited material;

    [0049] FIG. 11A illustrates a flow chart of an embodiment of a method of generating data informative of a pixel intensity frequency distribution of one or more images of items which are not associated with a prohibited material;

    [0050] FIG. 11B illustrates a flow chart of an embodiment of a method of generating data informative of a pixel intensity frequency distribution of one or more images of parts of items which are not associated with a prohibited material; and

    [0051] FIG. 12 illustrates a database storing various data usable to detect presence of a prohibited material in an image of an item/part of an item.

    DETAILED DESCRIPTION OF EMBODIMENTS

    [0052] In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be understood by those skilled in the art that the presently disclosed subject matter may be practiced without these specific details. In other instances, well-known methods have not been described in detail so as not to obscure the presently disclosed subject matter.

    [0053] The term processor and memory circuitry (PMC) as disclosed herein should be broadly construed to include any kind of electronic device with data processing circuitry, which includes for example a computer processing device operatively connected to a computer memory (e.g. digital signal processor (DSP), a microcontroller, a field programmable gate array (FPGA), and an application specific integrated circuit (ASIC), a graphics processing unit (GPU), etc.) capable of executing various data processing operations.

    [0054] It can encompass a single processor or multiple processors, which may be located in the same geographical zone, or may, at least partially, be located in different zones and may be able to communicate together.

    [0055] Unless specifically stated otherwise, as apparent from the following discussions, it is appreciated that throughout the specification discussions utilizing terms such as obtaining, using, determining, performing, or the like, refer to the action(s) and/or process(es) of a processor and memory circuitry that manipulates and/or transforms data into other data, said data represented as physical, such as electronic, quantities and/or said data representing the physical objects.

    [0056] In the specification, reference will be made to prohibited material. This includes (but is not limited to) explosive materials, drugs, etc. The prohibited material can include a material considered as prohibited at a control or security checkpoint (according to rules set e.g. by an administrator of the security checkpoint and/or by law) and should therefore be detected.

    [0057] Embodiments of the presently disclosed subject matter are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the presently disclosed subject matter as described herein.

    [0058] The invention contemplates a computer program being readable by a computer for executing one or more methods of the invention. The invention further contemplates a machine-readable memory tangibly embodying a program of instructions executable by the machine for executing one or more methods of the invention.

    [0059] Attention is drawn to FIG. 1. FIG. 1 illustrates a system 100 which can be used at a control or security checkpoint, such as in an airport. This is however not limitative, and the system 100 can be used in various other applications.

    [0060] FIG. 1 illustrates an acquisition device 101, which is operative to acquire an image of an item 105.

    [0061] The acquisition device 101 includes for example an X-ray acquisition device, a scanner, a computerized tomography (CT) scan, etc. (this is however not limitative).

    [0062] Item 105 includes for example an electronic device (e.g. a laptop, a cellular phone, etc.) or other object which can be used to conceal a prohibited material. In some embodiments, the item 105 is located within baggage, and an image of the baggage including the item 105 is acquired.

    [0063] The acquisition device 101 is operatively connected to a computer-implemented system 103. System 103 can be part of the acquisition device 101, or external to the acquisition device 101, or partially part of the acquisition device 101 and partially external to it. System 103 is operative to receive an image 120 of the item 105 (or data informative of the image 120) acquired by the acquisition device 101.

    [0064] System 103 includes a processor and memory circuitry (PMC) 104. PMC 104 is configured to provide processing necessary for operating system 103, as further detailed in the various embodiments described hereinafter, and comprises a processor (not shown separately) and a memory (not shown separately). System 103 can be used to perform various methods described hereinafter, such as (but not limited to) the methods described with reference to FIGS. 2, 4A, 4B, 4C, 5, 6A, 7, 8, 10A, 10B, 10C, 11A and 11B.

    [0065] In FIG. 1, PMC 104 is operatively connected to a hardware-based input interface 102 and to a database 110. The interface 102 (e.g. a keyboard) can be used e.g. by an operator to interact with system 103.

    [0066] Upon processing the image 120, system 103 can send data informative of the output of the processing to a device 107 enabling a visual and/or audio representation of the processing. Device 107 includes e.g. a screen and/or a loudspeaker. In some embodiments, system 103 can trigger an alert and/or send instructions to another device to trigger an alert.

    [0067] It is noted that at least part of system 103 illustrated in FIG. 1A can be implemented in a distributed computing environment, in which the aforementioned functional modules shown in FIG. 1 can be distributed over several local and/or remote devices and can be linked through a communication network.

    [0068] Attention is now drawn to FIG. 2.

    [0069] The method depicted in FIG. 2 includes obtaining (operation 200) an image of at least a part of an item (see e.g. reference 105 in FIG. 1) acquired by an acquisition device (see e.g. reference 101 in FIG. 1). FIG. 3A illustrates a non-limitative example of an item 300 (a laptop in this example). As further explained hereinafter, the part of the item can correspond to the item itself (e.g. an image of the laptop is obtained), or to a fraction/specific area of the item. For example, an image of a specific area of the laptop is obtained, such as the area which includes the battery. Note that an image of a specific area of an item can be directly acquired by the acquisition device, or an image of the item can be acquired which is then processed to obtain the image of the specific area (as explained with reference to FIG. 8).

    [0070] The method further includes obtaining (operation 210), from a database (e.g. database 110 in FIG. 1), first data D.sub.positive informative of a pixel intensity in at least one image of a part of a first item (e.g. pixel intensity frequency distribution).

    [0071] A method of generating D.sub.positive will be described with reference to FIGS. 10A, 10B and 10C.

    [0072] The part of the first item is associated with a prohibited material in the image. In other words, the image is a positive example, in which the part of the first item has been used to conceal a prohibited material. The part of the first item is therefore associated with a prohibited material in the image. Note that in some embodiments the prohibited material can be artificially inserted (using an image processing algorithm) in the image of the part of the first item.

    [0073] Concealing of a prohibited material using a part of an item can be performed using various methods. The prohibited material can be e.g. concealed within the part of the item (for example within cracks present in the part of the item). The prohibited material can be also located in the same area of a concealing material of the part of the item (e.g. under or above a metallic material of the part of the item), which attenuates the electromagnetic waves transmitted by the acquisition device 101 (e.g. X-rays).

    [0074] Note that in an X-ray image, there is no real difference between a prohibited material located above a concealing material, within a concealing material, or underneath a concealing material, since in all cases the X-rays are attenuated by the concealing material before reaching the detector of the X-ray machine, thereby making the prohibited material less visible in the image. Of course, malicious persons tend to conceal the prohibited material within the part of the item (e.g. within cracks of the item), to prevent visual identification by an operator at the security checkpoint.

    [0075] In an image acquired by the acquisition device, each pixel is associated with a pixel intensity. In some embodiments, the pixel intensity is a grey level intensity. In some embodiments, the pixel intensity can include one or more values, each value being associated with a different color channel (e.g. Red, Green, or Blue, in an RGB image). Indeed, some acquisition devices (e.g. X-ray devices) can provide a colored image.

    [0076] D.sub.positive can be informative of the frequency distribution of pixel intensity in in the image of the part of the first item (or in a plurality of images of the first item, or in a plurality of images of a plurality of parts of different first items). In particular, D.sub.positive can be informative of the frequency distribution of pixel intensity values in the image of the part of the first item (or in a plurality of images of the first item, or in a plurality of images of a plurality of parts of different first items).

    [0077] D.sub.positive can include e.g. a representation (such as, but not limited to, a histogram) which includes, for each given pixel intensity value of a plurality of different pixel intensity values present in the image of the part of the first item, a probability that this given pixel intensity value is informative of a prohibited material.

    [0078] In particular, for each given pixel intensity value, a frequency (frequency of occurrence/presence) of this given pixel intensity value in the image of the part of the first item (or in a plurality of images of the first item, or in a plurality of images of a plurality of parts of different first items) can be determined.

    [0079] Since the image of the part of the first item is a positive image which is informative of a concealed prohibited material, the frequency of this given pixel intensity value in the histogram represents the likelihood that a pixel with this given pixel intensity value (in an image of a part of an item which meets a similarity criterion with the part of the first item), corresponds to a pixel in which a prohibited material is present.

    [0080] Note that the frequency of each given pixel intensity value can be obtained e.g. by determining a ratio between the number of times a given pixel intensity value appears and the total number of pixels. This is not limitative.

    [0081] It is expected that the presence of a prohibited material will cause the pixel intensity distribution to be more focused on specific pixel intensity ranges and/or specific colors, than the pixel intensity distribution of an item which is free of prohibited material. This can be due to the fact that the prohibited material (such as an explosive material) includes an organic material. In a non-limitative example, the pixel intensity values are more focused on orange and/or green colors. This is not limitative.

    [0082] In some embodiments, D.sub.positive can be informative of the frequency distribution of pixel intensity values (expressed in grey level or in the RGB representation) in the image of the part of the first item (or in a plurality of images of the first item, or in a plurality of images of a plurality of parts of different first items).

    [0083] In some embodiments, it possible to use D.sub.positive informative of a pixel intensity which is expressed in a representation different from the grey level representation or the RGB representation: for example, the pixel intensity can be expressed using the HSL (Hue, Saturation, And Lightness) representation, or the HSV (Hue Saturation Value) representation (one or more channels of these representations can be used).

    [0084] In some embodiments, D.sub.positive is informative of a frequency distribution of values calculated as a function of the pixel intensity of each pixel (e.g. a linear combination of green, red and blue pixel intensity values of each pixel).

    [0085] A non-limitative example of D.sub.positive is depicted in FIG. 3B, which illustrates a frequency distribution 310 of pixel intensity of a part of an item, for a given channel (e.g. red or blue or green channel).

    [0086] For each pixel intensity value (e.g. from 0 to 256), a corresponding probability P is depicted. The higher the probability, the higher the likelihood that such pixel intensity value is informative of a prohibited material.

    [0087] FIG. 3B depicts D.sub.positive in a two-dimensional representation. This is not limitative. In some embodiments, D.sub.positive can be represented using a multi-dimensional representation.

    [0088] Indeed, each pixel intensity value can be represented by a vector (including two or three values, one per color channel in RGB or HSL), and a corresponding probability is associated with each pixel intensity vector value.

    [0089] The part of the first item meets a similarity criterion with the part of the item (which has been acquired by the acquisition device). The similarity criterion can define that the part of the first item and the part of the item are of the same type (e.g. same object type). For example, assume that the part of the item is the laptop itself, then the part of the first item is also a laptop, thereby meeting the similarity criterion with the part of the item. The laptop selected as the first item has not necessarily been manufactured by the same manufacturer as the laptop corresponding to the item, although this can be the case.

    [0090] The similarity criterion can be pre-tuned or defined e.g. by an operator. In some embodiments, the similarity criterion can require a similarity, not only in the type of the items, but also in their size or other relevant features (e.g. if a large laptop has been acquired, the similarity criterion can define that data D.sub.positive associated with a large laptop is also obtained).

    [0091] As explained hereinafter, in some embodiments, the part of the item can correspond to a specific part of the item. For example, the part of the item corresponds to the area of the laptop which includes the battery. In this case, the part of the first item which meets the similarity criterion with the part of the item is also an area of a laptop which includes the battery.

    [0092] In order to determine the type of the part of the item present in the image acquired at operation 200, an object detection algorithm can be used to identify the type of the part of the item. Examples of object detection algorithms include a trained machine learning network (deep neural network), YOLO (You Only Look Once), etc. The machine learning network can be trained using supervised learning (which uses images labelled by an operator).

    [0093] The object detection algorithm can also provide other features informative of the part of the item (e.g. shape, size, etc.).

    [0094] Once the type of the part of the item is known (or other relevant features that are required to determine similarity according to the similarity criterion), it is possible to select, in the database (see reference 110), data D.sub.positive associated with at least one image of a part of a first item which matches the part of the item according to the similarity criterion.

    [0095] In some embodiments, and as explained hereinafter, D.sub.positive is informative of a pixel intensity in a plurality of images: each given image includes a part of a given first item associated with a prohibited material in the given image (the given first items can differ from each other in the plurality of images). For each given image, the part of the given first item meets the similarity criterion with the part of the item which is under analysis. For example, if a laptop has been acquired, then D.sub.positive is generated using a plurality of laptop images (e.g. from different laptops), each laptop image being informative of a concealed prohibited material.

    [0096] In some embodiments, images of items (e.g. laptops) of different brands and/or of different sizes can be used to generate D.sub.positive.

    [0097] In some embodiments, for each given first item, a plurality of different images of the part of the given first item can be used to generate D.sub.positive. The images can differ e.g. by the observation/illumination angle of the acquisition device, the size of the part of the given first item in the image (which depends inter alia on the distance to the acquisition device), etc.

    [0098] In some embodiments, for each given first item, a plurality of different images of the part of the given first item is used, in which the position and/or the type of prohibited material is changed to generate D.sub.positive.

    [0099] The method of FIG. 2 further includes (operation 220), obtaining, from the database (see reference 110), second data D.sub.negative informative of a pixel intensity in at least one image of a part of a second item (e.g. pixel intensity frequency distribution). A method of generating D.sub.negative will be described with reference to FIGS. 11A and 11B.

    [0100] The part of the second item is not associated with a prohibited material in the image, since the part of the second item has not been used to conceal a prohibited material. The image has also not been processed to artificially insert a concealed prohibited material. In other words, the image of the part of the second item corresponds to a negative example, in which a prohibited material is absent.

    [0101] The part of the second item meets the similarity criterion with the part of the item. Reference can be made to the description of the similarity criterion appearing above, which applies herein.

    [0102] For example, if the part of the item is the laptop itself, then the part of the second item is also a laptop. If the part of the item is a battery area of a laptop, then the part of the second item is also a battery area of a laptop.

    [0103] Note that although the first item (or a part thereof) and the second item (or a part thereof) each meet the similarity criterion with the item (or a part thereof), they may have been manufactured by different manufacturers (e.g. the item is a laptop of brand X, the first item is a laptop of brand Y, and the second item is a laptop of brand Z).

    [0104] In some embodiments, the first item and the second item are the same item (e.g. same laptop), but they differ in that the first item includes a prohibited material, whereas the second item does not include a prohibited material.

    [0105] D.sub.negative is similar to D.sub.positive except that D.sub.negative is generated based on one or more negative samples (without prohibited material), whereas D.sub.positive is generated based on positive samples (with prohibited material).

    [0106] D.sub.negative can be informative of the frequency distribution of pixel intensity values in the image of the part of the second item (or in a plurality of images of the part of the second item, or in a plurality of images of parts of different second items).

    [0107] D.sub.negative includes e.g. a representation (such as, but not limited to, a histogram) which includes, for each given pixel intensity value of a plurality of different pixel intensity values present in the image of the part of the second item, a probability that this given pixel intensity value is informative of a prohibited material.

    [0108] In particular, for each given pixel intensity value, a frequency (frequency of occurrence) of this given pixel intensity value in the image of the part of the second item (or in a plurality of images of the second item, or in a plurality of images of a plurality of parts of different second items) can be determined.

    [0109] Since the image of the part of the second item is a negative image which is not informative of a concealed prohibited material, the frequency of this given pixel intensity value in the histogram represents the likelihood that a pixel with this given pixel intensity value (in an image of a part of an item which meets a similarity criterion with the part of the second item), corresponds to a pixel in which a prohibited material is present (or absent, depending on the definition of the probability).

    [0110] In some embodiments, D.sub.negative can be informative of the frequency distribution of pixel intensity values (expressed in grey level or in the RGB representation) in the image of the part of the second item (or in a plurality of images of the second item, or in a plurality of images of a plurality of parts of different second items).

    [0111] In some embodiments, it possible to use D.sub.negative informative of a pixel intensity which is expressed in a representation different from the grey level representation or the RGB representation: for example, the pixel intensity can be expressed using the HSL (Hue, Saturation, And Lightness) representation, or the HSV (Hue Saturation Value) representation (one or more channels of these representations can be used).

    [0112] In some embodiments, D.sub.negative is informative of a frequency distribution of values calculated as a function of the pixel intensity of each pixel (e.g. a linear combination of green, red and blue pixel intensity values of each pixel).

    [0113] The method of FIG. 2 further includes obtaining (operation 230) data D.sub.part informative of a pixel intensity of the part of the item in the image. This can include extracting the pixel intensity of the pixels of the part of the item in the image. D.sub.part can also include the position of each pixel.

    [0114] As mentioned above, the pixel intensity (used to generate D.sub.part) can be expressed using various representations (e.g. grey level representation, RGB representation, HSL representation, HSV representation, a representation which relies, for each pixel, on a function of the different pixel intensity values of this pixel, etc.).

    [0115] The method of FIG. 2 further includes (operation 240) using the first data D.sub.positive, the second data D.sub.negative and the data D.sub.part to detect whether the part of the item is associated with a concealed prohibited material in the image. In other words, it is possible to detect whether the part of the item has been used to conceal a prohibited material, such as an explosive material. In order to be comparable, D.sub.part, D.sub.positive and D.sub.negative are generated using the same pixel intensity representation.

    [0116] D.sub.positive and D.sub.negative can be used as a reference to which the data D.sub.part can be compared. This comparison can be used to determine whether the part of the item is associated with a concealed prohibited material. FIG. 4A depicts a method of using D.sub.part, D.sub.positive and D.sub.negative to determine presence of a concealed prohibited material.

    [0117] Note that the method of FIG. 2 can be performed to detect different types of prohibited materials (for example, an explosive material and drugs). In this case, it is possible to obtain D.sub.positive/first material and D.sub.negative/first material for a first type of prohibited material (e.g. explosives), and D.sub.positive/second material and D.sub.negative/second material for a second (different) type of prohibited material (e.g. drugs). Operation 240 is then performed separately for each type of prohibited material: for the first type of prohibited material, D.sub.part is compared to D.sub.positive/first material and D.sub.negative/first material, and for the second type of prohibited material D.sub.part is compared to D.sub.positive/second material and D.sub.negative/second material. Based on this comparison, it is detected whether the part of the item conceals the first type of prohibited material and/or the second type of prohibited material.

    [0118] If it is detected the part of the item is associated with a concealed prohibited material, an action can be performed (operation 250). Typically, performing an action can include raising an alert. The alert can include e.g. a textual alert and/or visual alert and/or audio alert. The alert can be displayed e.g. on a screen, and/or transmitted to an electronic device (e.g. computer, smartphone) of one or more operators. In some embodiments, raising an alert can include sending a command to another system which can trigger the alert.

    [0119] In some embodiments, performing an action can include associating, in a database, identity data of the item's owner with a malicious label.

    [0120] In some embodiments, performing an action can include triggering a system to destroy or annihilate the item and/or the detected prohibited material.

    [0121] In some embodiments, the action and/or alert can be different, depending on the type of prohibited material.

    [0122] In some embodiments, the action and/or alert can include instructing a conveyor (of the lane) to move the item to a separate area for manual inspection.

    [0123] In some embodiments, the action and/or alert can include sending an instruction (e.g. to the acquisition device) to immediately stop the conveyor, while the item is still inside the tunnel.

    [0124] In some embodiments, the method can include outputting additional data informative of the prohibited material. This data can include location of the prohibited material in the image.

    [0125] In some embodiments, the method can output a modified image in which location of the prohibited material is emphasized (using e.g. device 107), thereby facilitating manual inspection of the item by an operator. For example, a bounding box is added on the image and indicates presence of a prohibited material.

    [0126] According to some embodiments, the image obtained at operation 200 is the image of the part of the item when the part of the item is located within a container. For example, an image of a baggage containing the laptop is obtained. In this case, the method can include a pre-processing operation in which the area of the laptop is identified in the image. This pre-processing operation can be performed using an objected detection algorithm (e.g. a trained deep neural network). Then, the pixel intensity distribution of this area can be extracted, as in operation 230. The other operations of FIG. 2 (210, 220, 240 and 250) can be performed similarly.

    [0127] In some embodiments, the method of FIG. 2 can be performed using different images of the part of the item. Assume that a plurality of images of the part of the item has been acquired, which differ by at least one acquisition parameter (e.g. different viewing/observation angle, different illumination angle, different angle of collection, different position or orientation of the part of the item, etc.).

    [0128] For each parameter value (e.g. first viewing angle, second viewing angle, etc.), operations 200 to 240 can be performed, thereby providing a different probability that the item conceals a prohibited material. An aggregation of these different probabilities can be performed to output a final decision whether the item conceals a prohibited material.

    [0129] In some embodiments, for each parameter value (e.g. first viewing angle, second viewing angle, etc.), a set of pixels detected as positive (informative of a prohibited material) is obtained. Statistical processing of this data can be performed, such as determining an average number of positive pixels obtained over the different acquisitions with different parameter values, determining a median number of positive pixels over the different acquisitions with different parameter values, etc. This statistical data can be compared to a threshold (which can be predefined), to output a final decision whether the item conceals a prohibited material.

    [0130] As can be understood from the description above, once the image of the part of the item has been obtained, in some embodiments, it is possible to detect whether it conceals a prohibited material without using a machine learning algorithm or network (the method can rather use e.g. histogram(s)).

    [0131] Attention is now drawn to FIGS. 4A and 4B, which depict a possible implementation of operation 240.

    [0132] The pixel intensity of each pixel of the image of the part of the item is available in D.sub.part. This is illustrated in the non-limitative example of FIG. 4B, in which pixel intensity of each pixel is obtained (see reference 449, corresponding to D.sub.part).

    [0133] For each given pixel intensity value extracted from D.sub.part, the probability stored in D.sub.positive for this given pixel intensity value is extracted from D.sub.positive (operation 400).

    [0134] In the non-limitative example of FIG. 4B, the pixel intensity value V.sub.1 of pixel 450 is searched in the histogram of D.sub.positive (see reference 410), and a corresponding probability P.sub.1 is extracted.

    [0135] As already explained above, in some embodiments, the given pixel intensity can correspond to a vector including pixel intensity values for different channels (e.g. R/G/B pixel intensity, etc.) and therefore, a probability can be obtained for this vector.

    [0136] An output of operation 400 includes, for each pixel, a first probability P.sub.positive/pixel.

    [0137] P.sub.positive/pixel is a probability that the pixel is informative of a prohibited material.

    [0138] If P.sub.positive/pixel is high, this means that there is a high probability that the pixel is informative of a prohibited material, and if P.sub.positive/pixel is low, this means that there is a low probability that the pixel is informative of a prohibited material.

    [0139] In some embodiments, pixel intensity value associated with a group of pixels can be extracted from D.sub.part (see group of pixels 451), For example, the average pixel intensity V.sub.2 of the group of pixels 451 is extracted from D.sub.part and the probability stored in D.sub.positive for this given pixel intensity value V.sub.2 is then extracted from D.sub.positive.

    [0140] Operation 400 described with regard to D.sub.positive can be performed similarly for D.sub.negative (see operation 410).

    [0141] For each given pixel intensity value extracted from D.sub.part, the probability stored in D.sub.negative for this given pixel intensity value is extracted from D.sub.negative.

    [0142] In the non-limitative example of FIG. 4C, the pixel intensity value V.sub.1 of pixel 450 is searched in the histogram of D.sub.negative (see reference 415), and a corresponding probability P.sub.2 is extracted.

    [0143] As already explained above, in some embodiments, the given pixel intensity can correspond to a vector including pixel intensity values for different channels (e.g. R/G/B pixel intensity) and therefore, a probability can be obtained for this vector.

    [0144] An output of operation 410 includes, for each pixel, a second probability P.sub.negative/pixel.

    [0145] P.sub.negative/pixel is a probability that the pixel is informative of a prohibited material. In some embodiments, P.sub.negative/pixel can be defined as a probability that the pixel is not informative of a prohibited material.

    [0146] In some embodiments, pixel intensity value associated with a group of pixels can be extracted from D.sub.part (see group of pixels 451). For example, the average pixel intensity V.sub.2 of the group of pixels 451 is extracted from D.sub.part and the probability stored in D.sub.negative for this given pixel intensity value V.sub.2 is then extracted from D.sub.negative.

    [0147] If P.sub.negative/pixel is high, this means that there is a high probability that the pixel is not informative of a prohibited material, and if P.sub.negative/pixel is low, this means that there is a low probability that the pixel is not informative of a prohibited material.

    [0148] For each pixel (or group of pixels), the method can include using the first probability P.sub.positive/pixel and the second probability P.sub.negative/pixel to determine (operation 420) an aggregated probability that the pixel (or group of pixels) in the image of the part of the item is informative of a prohibited material.

    [0149] The method can include performing (operation 430) a comparison between the aggregated probability and a threshold. Based on this comparison, it is possible to assign to each pixel (or group of pixels) of the image of the part of the item, a tag (positive/negative) which indicates whether it corresponds to a prohibited material or not.

    [0150] In some embodiments, the tag can also include a probability (e.g. between 0 and 1) which depends on the value of P.sub.positive/pixel and P.sub.negative/pixel.

    [0151] For example, assume that the aggregated probability corresponds to a ratio between P.sub.positive/pixel and P.sub.negative/pixel. In this particular example, the higher the ratio, the higher the probability that the pixel is informative of a prohibited material, and conversely (note that the ratio can be defined the other way round, or another relationship can be used).

    [0152] If the ratio is above or equal to a threshold (the threshold can be pre-tuned in advance), this indicates presence of a prohibited material. If the ratio is below a threshold, this indicates absence of a prohibited material. Based on this comparison, it is possible to assign to each pixel (or group of pixels) a tag (positive or negative) or a probability (e.g. between 0 and 1) which indicate whether presence of a prohibited material is suspected in this pixel (or group of pixels).

    [0153] A map is therefore obtained, which indicates, for each pixel (or group of pixels) of the image of the part of the item, whether it includes a prohibited material or not (or a probability that it includes a prohibited material). Positive pixels correspond to pixels for which presence of a prohibited material is suspected, and negative pixels correspond to pixels for which presence of a prohibited material is not suspected.

    [0154] The map (called hereinafter after map of probability) can be used to determine whether a prohibited material is present.

    [0155] According to some embodiments (see FIG. 5), once a map of probability (operation 500) has been obtained (which indicates for each pixel or group of pixels the probability that a prohibited material is present), it is possible to determine (operation 510) data D.sub.number informative of a number of pixels of the map for which the probability indicates presence of a prohibited material (this corresponds to pixels associated with a probability in the map which is above a threshold which can be set e.g. by an operator).

    [0156] The data D.sub.number can be used to determine whether the part of the item conceals a prohibited material. The data D.sub.number can be compared to a threshold (the threshold can pre-defined and/or can be set e.g. by an operator, in order to set the minimum amount of prohibited material which needs to be detected). If the comparison indicates that D.sub.number is equal to or above the threshold, this indicates that the part of the item conceals a prohibited material (or at least can be used as an indicator that there is a high probability that the part of the item conceals a prohibited material). To the contrary, if the comparison indicates that D.sub.number is below the threshold, this indicates that the part of the item does not conceal a prohibited material. Indeed, if a small number of pixels has been identified as being informative of a prohibited material, it can be deduced that these pixels do not correspond to a prohibited material, which generally expands over a certain number of pixels.

    [0157] According to some embodiments (see FIG. 6A), once the map of probability (operation 600) has been obtained (which indicates for each pixel or group of pixels the probability that a prohibited material is present), it is possible to determine (operation 610) data D.sub.continuity informative of a continuity between the pixels of the map which are informative of a presence of a prohibited material. D.sub.continuity indicates to what extent the positive pixels are connected one to the other. For example, if many positive pixels are spread in the map without connection between them, then D.sub.continuity will include a low score for the continuity.

    [0158] According to some embodiments, operation 610 can include determining groups (also called blobs or clusters) of adjacent (also called interconnected or continuous) positive pixels. An algorithm such as cv2 (Python) can be used. This is not limitative.

    [0159] Various data informative of these blobs can be determined. For example, the size of the biggest blob can be determined. If this size is above a threshold, this can be used as an indicator that a prohibited material is present. In some embodiments, the number of blobs, the number of pixels per blob, the average size of the blobs (etc.) can be determined in order to assess whether a prohibited material is present.

    [0160] If the positive pixels tend to be concentrated, they get a higher score than if the positive pixels are spread, since the prohibited material is generally a continuous material hidden within the item.

    [0161] D.sub.continuity can be used to determine whether the part comprises a prohibited material. Indeed, the higher the continuity between the positive pixels, the higher the probability that the part includes a prohibited material, and conversely.

    [0162] It is therefore possible to compare D.sub.continuity to a threshold (which can be pre-tuned or defined by an operator). If the comparison indicates that D.sub.continuity is equal to or above the threshold, this indicates that the part of the item conceals a prohibited material (or at least can be used as an indicator that there is a high probability that the part of the item conceals a prohibited material). To the contrary, if the comparison indicates that D.sub.continuity is below the threshold, this indicates that the part of the item does not conceal a prohibited material.

    [0163] A non-limitative example is provided in FIG. 6B, which depicts a map of probability 625, in which positive pixels have a grey color and negative pixels have a white color.

    [0164] Five blobs (630.sub.1, 630.sub.2. 630.sub.3. 630.sub.4, and 630.sub.5) of adjacent pixels have been identified. The biggest blob 630.sub.1 includes an area of four pixels by four pixels. If the threshold is defined as three pixels by three pixels, the biggest blob 630.sub.1 can induce triggering of an alert that a prohibited material is present.

    [0165] According to some embodiments (see FIG. 7), once the map of probability (operation 700) has been obtained (which indicates for each pixel or group of pixels the probability that a prohibited material is present), it is possible to determine (operation 710) data D.sub.shape informative of a shape of pixels of the map for which the probability indicates presence of a prohibited material. The data D.sub.shape can be used to determine whether the part of the item conceals a prohibited material.

    [0166] D.sub.shape can include shape properties of the blobs of adjacent pixels, such as aspect ratio, smear aspect of the blob, ratio between length and width, etc. These properties can be provided e.g. by the cv2 algorithm. For each property, a score can be assigned which is then compared to a predefined threshold, in order to indicate whether the corresponding value is indicative of a prohibited material. Indeed, in some embodiments, the shape properties of the blobs can have specific patterns for a prohibited material. This is however not limitative.

    [0167] As mentioned above, each data D.sub.number and/or D.sub.shape and/or D.sub.continuity can be used to generate a given indicator of whether a prohibited material is present. In some embodiments, a decision of whether a prohibited material is present can be taken by aggregating the different indicators obtained using D.sub.number and/or D.sub.shape and/or D.sub.continuity.

    [0168] Attention is now drawn to FIG. 8.

    [0169] The method depicted in FIG. 8 includes obtaining (operation 800) an image of at least a part of an item (see e.g. reference 105 in FIG. 1) acquired by an acquisition device (see e.g. reference 101 in FIG. 1).

    [0170] The method includes determining (operation 805) a first area of the image corresponding to a first part of the item.

    [0171] The method includes determining (operation 810) a second area of the image corresponding to a second part of the item. The second part of the item is different from the first part of the item.

    [0172] A non-limitative example is provided in FIG. 9.

    [0173] In the example of FIG. 9, the item is a laptop. The first part of the item (see reference 900) corresponds to the keyboard area of the laptop. The second part of the item (see reference 910) corresponds to the battery area of the laptop. This can be determined using an object detection algorithm (e.g. a trained deep neural network, or other adapted algorithms).

    [0174] The method further includes obtaining (operation 820) data D.sub.first part informative of a pixel intensity of the first part of the item in the image. For example, D.sub.first part stores, for each pixel (or group of pixels), the intensity of the pixel (or group of pixels), and, if necessary, the position of each pixel.

    [0175] The method further includes obtaining (operation 830) data D.sub.second part informative of a pixel intensity of the second part of the item in the image. For example, D.sub.second part stores, for each pixel (or group of pixels), the intensity of the pixel (or group of pixels), and, if necessary, the position of each pixel.

    [0176] The method includes obtaining (operation 840), from a database (e.g. database 110 in FIG. 1), data D.sub.positive, first part informative of a pixel intensity in at least one image of a part of a first item. The part of the first item is associated with a prohibited material in the image (this corresponds to a positive sample). The part of the first item meets the similarity criterion with the first part of the item. For example, since the first part (see reference 900) of the item is a keyboard area of a laptop, the part of the first item is also a keyboard area.

    [0177] In some embodiment, data D.sub.positive, first part is informative of a pixel intensity in a plurality of images of the part of the first item (e.g. images of a keyboard area of a laptop concealing a prohibited material, acquired with different viewing angles). In some embodiment, data D.sub.positive, first part is informative of a pixel intensity in a plurality of images, wherein at least two images of the plurality of images are informative of a part of a different first item. For example, if the first part (see reference 900) of the item is a keyboard area of a laptop, images of keyboard areas of different laptops concealing a prohibited material (one or more images per different laptop) are used to generate D.sub.positive, first part.

    [0178] The method further includes obtaining (operation 850), from a database (e.g. database 110 in FIG. 1), data D.sub.negative, first part informative of a pixel intensity in at least one image of a part of a second item. The part of the second item is not associated with a prohibited material in the image (this corresponds to a negative sample). The part of the second item meets the similarity criterion with the first part of the item. For example, since the first part (see reference 900) of the item is a keyboard area of a laptop, the part of the second item is also a keyboard area.

    [0179] In some embodiment, data D.sub.negative, first part is informative of a pixel intensity in a plurality of images of the part of the second item (e.g. images of a keyboard area of a laptop which does not conceal a prohibited material, acquired with different viewing angles). In some embodiment, data D.sub.negative, first part is informative of a pixel intensity in a plurality of images, wherein at least two images of the plurality of images are informative of a part of a different second item. For example, if the first part (see reference 900) of the item is a keyboard area of a laptop, images of keyboard areas of different laptops which do not conceal a prohibited material (one or more images per different laptop) are used to generate D.sub.negative, first part.

    [0180] The method further includes obtaining (operation 860), from a database (e.g. database 110 in FIG. 1), data D.sub.positive, second part informative of a pixel intensity in at least one image of a part of a third item. The part of the third item is associated with a prohibited material in the image (this corresponds to a positive sample). The part of the third item meets the similarity criterion with the second part of the item. For example, since the second part (see reference 910) of the item is a battery area of a laptop, the part of the third item is also a battery area.

    [0181] In some embodiment, data D.sub.positive, second part is informative of a pixel intensity in a plurality of images of the part of the third item (e.g. images of battery area of a laptop concealing a prohibited material, acquired with different viewing angles). In some embodiment, data D.sub.positive, second part is informative of a pixel intensity in a plurality of images, wherein at least two images of the plurality of images are informative of a part of a different third item. For example, if the second part (see reference 910) of the item is a battery area of a laptop, images of battery areas of different laptops concealing a prohibited material (one or more images per different laptop) are used to generated D.sub.positive, second part.

    [0182] The method further includes obtaining (operation 870), from a database (e.g. database 110 in FIG. 1), data D.sub.negative, second part informative of a pixel intensity in at least one image of a part of a fourth item. The part of the fourth item is not associated with a prohibited material in the image (this corresponds to a negative sample). The part of the fourth item meets the similarity criterion with the second part of the item. For example, since the second part (see reference 910) of the item is a battery area of a laptop, the part of the fourth item is also a battery area.

    [0183] In some embodiment, data D.sub.negative, second part is informative of a pixel intensity in a plurality of images of the part of the fourth item (e.g. images of a battery area of a laptop, which does not conceal a prohibited material, and acquired with different viewing angles).

    [0184] In some embodiment, data D.sub.negative, second part is informative of a pixel intensity in a plurality of images, wherein at least two images of the plurality of images are informative of a part of a different fourth item. For example, if the second part (see reference 910) of the item is a battery area of a laptop, images of battery areas of different laptops, which do not conceal a prohibited material (one or more images per different laptop), are used to generated data D.sub.negative, second part.

    [0185] The method further includes using (operation 880) the data D.sub.positive, first part, the data D.sub.negative, first part and the data D.sub.first part to detect whether the first part of the item is associated with a concealed prohibited material in the image. Operation 880 is similar to operation 240 and is therefore not described again (see also FIG. 4A for a possible implementation of operation 240). In the embodiment of FIG. 8, operation 880 is performed on a specific area of the item (e.g. keyboard area of the laptop).

    [0186] The method further includes using (operation 890) the data D.sub.positive, second part, the data D.sub.negative, second par and the data D.sub.second part to detect whether the second part of the item is associated with a concealed prohibited material in the image. Operation 890 is similar to operation 240 (see also FIG. 4A for a possible implementation of operation 240). In the embodiment of FIG. 8, operation 890 is performed on a specific area of the item (e.g. battery area of the laptop).

    [0187] Based on the output of operations 880 and 890, an action can be performed. If it is detected that the first part of the item and/or the second part of the item is associated with a concealed prohibited material, an action can be performed (operation 895). Examples of actions have been provided above and can be used hereinafter. Note that it is possible to indicate to an operator in which location (first part and/or second part) of the item the prohibited material has been identified (e.g. this can be displayed on an image of the item using device 107).

    [0188] Attention is now drawn to FIG. 10A.

    [0189] FIG. 10A depicts a method which can be used to generate D.sub.positive for a given type of item used to conceal a prohibited material. In other words, D.sub.positive can be used in the various methods above to detect presence of a prohibited material in an item meeting the similarity criterion with this given type of item.

    [0190] Assume for example that the given type of item is a laptop. The method includes obtaining (operation 1000) at least one image of an item which is of the given type, and which is used to conceal a prohibited material (e.g. an explosive material). Each image can typically include only (or mostly) the item of the given type.

    [0191] In some embodiments, a plurality of images of the item of the given type can be obtained. The images can differ by an acquisition parameter, such as the viewing angle, the distance between the item and the acquisition device, the orientation of the item, etc.

    [0192] In some embodiments, a plurality of images is obtained, each image including a different item (each item being of the given type) used to conceal a prohibited material. For example, if it is intended to generate D.sub.positive for a laptop, then various images of different laptops used to conceal a prohibited material (e.g. explosive material) are obtained. The different laptops can differ e.g. by their brand, their size, their color, etc. For each item (e.g. each laptop), it is possible to obtain one or more images (for example, a plurality of images which differ by an acquisition parameter).

    [0193] The method includes generating (operation 1010) data D.sub.positive based on the images obtained at operation 1000. As explained hereinafter, operation 1010 can include determining, for each pixel intensity value in the images obtained at operation 1000, a frequency of occurrence.

    [0194] A non-limitative example is provided with reference to FIG. 10B. Assume that it is intended to generate data D.sub.positive for a laptop.

    [0195] A plurality of images (1015.sub.1, 1015.sub.2, 1015.sub.3) of a first laptop 1015 which includes a prohibited material is obtained. The images 1015.sub.1, 1015.sub.2, 1015.sub.3 can differ e.g. by the angle of observation/illumination of the acquisition device, distance and/or orientation of the first laptop 1015, etc.

    [0196] A plurality of images (1016.sub.1, 1016.sub.2, 1016.sub.3) of a second laptop 1016 (different from the first laptop 1015) which includes a prohibited material is obtained. The images 1016.sub.1, 1016.sub.2, 1016.sub.3 can differ e.g. by the angle of observation/illumination of the acquisition device, distance and/or orientation of the second laptop 1016, etc.

    [0197] Based on these images (1015.sub.1, 1015.sub.2, 1015.sub.3, 1016.sub.1, 1016.sub.2, 1016.sub.3), a histogram 1017 can be built which stores, for each pixel intensity value present in the images, a frequency of occurrence of this pixel intensity value in the images. Since the images are positive images including a prohibited material, this frequency reflects, for each given pixel intensity value, a probability (P) that this given pixel intensity is informative of a prohibited material (in this type of iteme.g. laptop).

    [0198] The plurality of images can correspond to real images and/or to simulated images and/or to real images in which a prohibited material is artificially inserted using a computer-based image processing algorithm.

    [0199] According to some embodiments, D.sub.positive is generated for a given type of item and for a given type of prohibited material. For example, D.sub.positive/explosive is generated using images of laptops used to conceal an explosive material, and D.sub.positive/drugs is generated using images of laptops used to conceal drugs. This is however not limitative.

    [0200] In some embodiments, it is possible to generate D.sub.positive for a given type of item and for a given type of explosive material. D.sub.positive/explosive_1 is generated using images of this given type of item which conceals a first explosive material, D.sub.positive/explosive_2 is generated using images of this given type of item which conceals a second explosive material (different from the first explosive material), etc. The same can be performed for different types of prohibited materials.

    [0201] The method of FIG. 10A can be performed similarly for a part of a given item (fraction of an itemas explained with reference to FIG. 10C).

    [0202] The part of the given item is of a given type. Assume for example that the part of the given item is the battery area of the laptop.

    [0203] In other words, D.sub.positive can be used in the various methods above to detect presence of a prohibited material in a part of an item meeting the similarity criterion with the part of the given item.

    [0204] The method includes obtaining (operation 1020) at least one image of the part of the given item, which is used to conceal a prohibited material (e.g. an explosive material). Each image can typically include only (or mostly) the part of the given item.

    [0205] In some embodiments, a plurality of images of the part of the given item can be obtained. The images can differ by an acquisition parameter, such as the viewing angle, the distance between the item and the acquisition device, the orientation of the item, etc.

    [0206] In some embodiments, a plurality of images is obtained, each image including a part of a different item (of the given type) used to conceal a prohibited material. For example, if it is intended to generate D.sub.positive for a battery area of a laptop, then various images of different battery areas of laptops used to conceal a prohibited material (e.g. explosive material) are obtained. The different laptops can differ e.g. by their brand, their size, their color, etc. For each item (e.g. each laptop), it is possible to obtain one or more images of its battery area (for example, a plurality of images which differ by an acquisition parameter).

    [0207] The method includes generating (operation 1030) D.sub.positive based on the images obtained at operation 1020. As explained above, operation 1030 can include determining, for each pixel intensity value in the images obtained at operation 1020, a frequency of occurrence (which corresponds, in turn, to a probability that the pixel is informative of a prohibited material). In some embodiments, D.sub.positive can be calculated for a pixel intensity represented using a plurality of pixel intensity channels (e.g. RIG/B channels).

    [0208] In some embodiments, it is possible to generate D.sub.positive for a part of an item of a given type and for a given type of prohibited material. For example, D.sub.positive/explosive_1 is generated using images of a part of an item of this given type (e. g. battery area of a laptop), and which conceals a first explosive material, D.sub.positive/explosive_2 is generated using images of a part of an item of this given type (e. g. battery area of a laptop), and which conceals a second explosive material (different from the first explosive material), etc. The same can be performed for different types of prohibited materials.

    [0209] FIG. 11A depicts a method which can be used to generate D.sub.negative for a given type of item.

    [0210] Assume for example that the given type of item is a laptop. The method includes obtaining (operation 1100) at least one image of an item which is of the given type, and which is not used to conceal a prohibited material. Each image can typically include only (or mostly) the item of the given type.

    [0211] In some embodiments, a plurality of images of the item of the given type can be obtained. The images can differ by an acquisition parameter, such as the viewing angle, the distance between the item and the acquisition device, the orientation of the item, etc.

    [0212] In some embodiments, a plurality of images is obtained, each image including a different item (each item being of the given type), which is not used to conceal a prohibited material. For example, if it is intended to generate D.sub.negative for a laptop, then various images of different laptops (which are not used to conceal a prohibited material) are obtained. The different laptops can differ e.g. by their brand, their size, their color, etc. For each item (e.g. each laptop), it is possible to obtain one or more images (for example, a plurality of images which differ by an acquisition parameter).

    [0213] The method includes generating (operation 1110) D.sub.negative based on the images obtained at operation 1100. As explained above (with respect to generation of D.sub.positive), operation 1110 can include determining, for each pixel intensity value in the images obtained at operation 1100, a frequency of occurrence. In some embodiments, D.sub.negative can be calculated for a pixel intensity represented using a plurality of pixel intensity channels (e.g. R/G/B channels).

    [0214] Since the images obtained at operation 1100 are negative images which do not include a prohibited material, this frequency reflects, for each given pixel intensity value, a probability (P) that this given pixel intensity is not informative of a prohibited material (in this type of iteme.g. a laptop).

    [0215] The method of FIG. 11A can be performed similarly for a part of a given item (fraction of an itemsee FIG. 11C).

    [0216] The part of the given item is of a given type. Assume for example that the part of the given item is the battery area of the laptop.

    [0217] The method includes obtaining (operation 1120) at least one image of the given part of the item, which is not used to conceal a prohibited material. Each image can typically include only (or mostly) the given part of the item.

    [0218] In some embodiments, a plurality of images of the part of the given item can be obtained. The images can differ by an acquisition parameter, such as the viewing angle, the distance between the item and the acquisition device, the orientation of the item, etc.

    [0219] In some embodiments, a plurality of images is obtained, each image including a part of a different item (of the given type), which is not used to conceal a prohibited material.

    [0220] For example, if it is intended to generate D.sub.negative for a battery area of a laptop, then various images of different battery areas of laptops which are not used to conceal a prohibited material are obtained. The different laptops can differ e.g. by their brand, their size, their color, etc. For each item (e.g. each laptop), it is possible to obtain one or more images of its battery area (for example, a plurality of images which differ by an acquisition parameter).

    [0221] The method includes generating (operation 1130) D.sub.negative based on the images obtained at operation 1120. As explained above, operation 1130 can include determining, for each pixel intensity value in the images obtained at operation 1120, a frequency of occurrence (which corresponds, in turn, to a probability that the pixel is not informative of a prohibited material). In some embodiments, D.sub.negative can be calculated for a pixel intensity represented using a plurality of pixel intensity channels (e.g. R/G/B channels). In some embodiments, D.sub.negative can be calculated for a pixel intensity represented using a plurality of pixel intensity channels (e.g. R/G/B channels).

    [0222] Note that generating of D.sub.positive and/or D.sub.negative requires much less images than the amount of images required for training a machine neural algorithm or network.

    [0223] FIG. 12 illustrates the database 110 including D.sub.positive obtained for various items/parts of items, and D.sub.negative obtained for various items/parts of items. The method of FIGS. 10A, 10B, 10C, 11A and 11B can be used to generate data stored in the database 110. Note that the database 110 can be updated over time. For example, if a prohibited material has been identified in an image of a given type of item (using e.g. the system of FIG. 1), then this image can be used as a positive image to update the data D.sub.positive for this given type of item. Similarly, if a prohibited material has not been identified in a given image of a given type of item, then this image can be used as a negative image to update the data D.sub.negative for this given type of item. This enables to continuously update the database 110.

    [0224] As illustrated in FIG. 12, for each type of item (or each type of a part of an item), corresponding data D.sub.positive and D.sub.negative are stored. For example, for a laptop, corresponding data D.sub.positive and D.sub.negative are stored, and for a cellular phone, corresponding data D.sub.positive and D.sub.negative are stored. In another example, for a keyboard area of a laptop, corresponding data D.sub.positive and D.sub.negative are stored and for a battery area of a laptop, corresponding data D.sub.positive and D.sub.negative are stored.

    [0225] In some embodiments, for each type of item (or each type of a part of an item) and for each type of prohibited material, corresponding data D.sub.positive is stored. For example, for a laptop, corresponding data D.sub.positive is stored for explosives, and corresponding data D.sub.positive is stored for drugs. As mentioned above, D.sub.positive can be determined independently for different types of explosives or drugs or other prohibited materials.

    [0226] It is to be noted that the various features described in the various embodiments may be combined according to all possible technical combinations.

    [0227] It is to be understood that the invention is not limited in its application to the details set forth in the description contained herein or illustrated in the drawings. The invention is capable of other embodiments and of being practiced and carried out in various ways. Hence, it is to be understood that the phraseology and terminology employed herein are for the purpose of description and should not be regarded as limiting.

    [0228] As such, those skilled in the art will appreciate that the conception upon which this disclosure is based may readily be utilized as a basis for designing other structures, methods, and systems for carrying out the several purposes of the presently disclosed subject matter.

    [0229] Those skilled in the art will readily appreciate that various modifications and changes can be applied to the embodiments of the invention as hereinbefore described without departing from its scope, defined in and by the appended claims.