CN111368836A - Information processing method, information processing apparatus, electronic device, and medium - Google Patents

Information processing method, information processing apparatus, electronic device, and medium Download PDF

Info

Publication number
CN111368836A
CN111368836A CN201811591385.8A CN201811591385A CN111368836A CN 111368836 A CN111368836 A CN 111368836A CN 201811591385 A CN201811591385 A CN 201811591385A CN 111368836 A CN111368836 A CN 111368836A
Authority
CN
China
Prior art keywords
parcels
information
images
packages
parcel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811591385.8A
Other languages
Chinese (zh)
Inventor
韩双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201811591385.8A priority Critical patent/CN111368836A/en
Publication of CN111368836A publication Critical patent/CN111368836A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V5/00Prospecting or detecting by the use of ionising radiation, e.g. of natural or induced radioactivity
    • G01V5/20Detecting prohibited goods, e.g. weapons, explosives, hazardous substances, contraband or smuggled objects
    • G01V5/22Active interrogation, i.e. by irradiating objects or goods using external radiation sources, e.g. using gamma rays or cosmic rays

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • High Energy & Nuclear Physics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geophysics (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

The present disclosure provides an information processing method, including: acquiring an x-ray map of a group of parcels; cutting the x-ray image to obtain a plurality of wrapped images; obtaining information of the plurality of packages; according to the images of the packages and the information of the packages, the corresponding relation between the information of the packages and the images of the packages is established, the binding between the images of the packages and the information of the packages is realized, in this case, if a security incident occurs in the transportation of the packages, a rapid tracing way can be provided, so that the package information and the images generated during the security inspection of the packages are conveniently corresponded, and the efficiency of processing the security incident is improved. The disclosure also provides an information processing apparatus, an electronic device and a medium.

Description

Information processing method, information processing apparatus, electronic device, and medium
Technical Field
The present disclosure relates to the field of package security inspection technologies, and in particular, to an information processing method and apparatus, an electronic device, and a medium.
Background
At present, the security inspection equipment which is mainly depended on in the management of the security inspection link of the packages is a security inspection machine, the package amount is very large, and in order to guarantee the fastest working efficiency, during security inspection, security inspection operators can place the packages in a conveyor belt side by side and densely. The method is characterized in that the bar code information of the package is not collected and stored in the security inspection process, only the original picture of the x-ray image is stored, meanwhile, the x-ray machines work independently and are not networked, and the x-ray image is stored in the x-ray machines independently. The management mode is simple and original, once a security incident occurs in transportation, the package security inspection information does not have a fast tracing way to correspond a package real object with the security inspection information, the security inspection time can only be estimated approximately by the upstream logistics node information, and a security inspection image is inquired in each security inspection machine according to the security inspection time period, so that the inquiry mode is time-consuming and labor-consuming, and the processing efficiency is low.
Disclosure of Invention
In view of the above, the present disclosure provides an information processing method, apparatus, electronic device, and medium, which at least partially solve one or more problems due to limitations and disadvantages of the related art.
A first aspect of the present disclosure provides an information processing method including: acquiring an x-ray map of a group of parcels; cutting the x-ray image to obtain a plurality of wrapped images; obtaining information of the plurality of packages; and establishing the corresponding relation between the information of the plurality of parcels and the images of the plurality of parcels according to the images of the plurality of parcels and the information of the plurality of parcels.
According to an embodiment of the disclosure, the method further comprises: storing the images of the plurality of parcels, the information of the plurality of parcels, and the corresponding relation between the information of the plurality of parcels and the images of the plurality of parcels.
According to an embodiment of the disclosure, the method further comprises: grouping the plurality of packages according to the security inspection information of the plurality of packages to obtain grouping information of the plurality of packages; and generating an x-ray map of each group of parcels according to the grouping information of the parcels.
According to an embodiment of the present disclosure, cutting the x-ray map to obtain images of a plurality of parcels comprises: and determining gaps of adjacent parcel images in the x-ray image by using a cutting image algorithm, and cutting the image according to the gaps of the adjacent parcel images to obtain the images of the parcels.
According to an embodiment of the present disclosure, the graph cutting algorithm includes any one or more of: a binarization algorithm, a connected domain algorithm, a region growing algorithm and a direction projection algorithm.
According to an embodiment of the present disclosure, the information of the plurality of parcels comprises physical information of the plurality of parcels and security inspection information of the plurality of parcels.
According to an embodiment of the present disclosure, establishing correspondence between the information of the plurality of parcels and the images of the plurality of parcels according to the images of the plurality of parcels and the information of the plurality of parcels includes: determining relative positions among the plurality of parcels according to the security inspection information of the plurality of parcels; determining relative positions of images of the plurality of parcels in the x-ray map according to the relative positions of the plurality of parcels; and establishing a corresponding relation between the real object information of the parcels and the images of the parcels according to the relative positions of the parcels and the relative positions of the images of the parcels in the x-ray map.
According to an embodiment of the present disclosure, the security information of the plurality of packages includes coordinates and time of each package entering the scanning area, coordinates and time of each package leaving the sensor; determining the relative position between the plurality of parcels according to the security inspection information of the plurality of parcels comprises: and determining the front-back position relation between the adjacent parcels in the plurality of parcels according to the coordinate and the time of each parcel in the plurality of parcels entering the scanning area and the coordinate and the time of each parcel leaving the sensor.
According to an embodiment of the present disclosure, determining the relative position of the images of the plurality of parcels in the x-ray map according to the relative position between the plurality of parcels comprises: and determining the front-back position relation of the images of the adjacent parcels in the plurality of parcels in the x-ray map according to the front-back position relation between the adjacent parcels in the plurality of parcels.
A second aspect of the present disclosure provides an information processing apparatus comprising: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring an x-ray image of a group of parcels; the cutting module is used for cutting the X-ray image to obtain a plurality of wrapped images; the second acquisition module is used for acquiring the information of the plurality of parcels; and the establishing module is used for establishing the corresponding relation between the information of the plurality of parcels and the images of the plurality of parcels according to the images of the plurality of parcels and the information of the plurality of parcels.
According to an embodiment of the present disclosure, the apparatus further comprises: the storage module is used for storing the images of the plurality of parcels, the information of the plurality of parcels, and the corresponding relation between the security inspection information of the plurality of parcels and the images of the plurality of parcels.
According to an embodiment of the present disclosure, the apparatus further comprises: the grouping module is used for grouping the plurality of parcels according to the information of the plurality of parcels to obtain the grouping information of the plurality of parcels; and the generating module is used for generating an x-ray map of each group of parcels according to the grouping information of the parcels.
According to the embodiment of the disclosure, the cutting module is further configured to determine a gap between adjacent parcel images in the x-ray map by using a cutting algorithm, and perform cutting according to the gap between adjacent parcel images to obtain the images of the parcels.
According to an embodiment of the present disclosure, the graph cutting algorithm includes any one or more of: a binarization algorithm, a connected domain algorithm, a region growing algorithm and a direction projection algorithm.
According to an embodiment of the present disclosure, the information of the plurality of parcels comprises physical information of the plurality of parcels and security inspection information of the plurality of parcels.
According to an embodiment of the present disclosure, the establishing module includes: the first determining module is used for determining the relative positions of the parcels according to the security check information of the parcels; a second determining module for determining relative positions of the images of the plurality of parcels in the x-ray map according to the relative positions of the plurality of parcels; and the establishing sub-module is used for establishing the corresponding relation between the real object information of the parcels and the images of the parcels according to the relative positions of the parcels and the relative positions of the images of the parcels in the x-ray image.
According to an embodiment of the present disclosure, the security information of the plurality of packages includes coordinates and time of each package entering the scanning area, coordinates and time of each package leaving the sensor; the first determining module is further configured to determine a back-and-forth positional relationship between adjacent packages of the plurality of packages based on the coordinates and time of each package of the plurality of packages entering the scanning area and the coordinates and time of each package exiting the sensor.
According to an embodiment of the disclosure, the second determining module is further configured to: and determining the front-back position relation of the images of the adjacent parcels in the plurality of parcels in the x-ray map according to the front-back position relation between the adjacent parcels in the plurality of parcels.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors, and a storage device. The storage device is used for storing one or more programs. Wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the information processing method as described above.
A fourth aspect of the present disclosure provides a computer-readable medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the information processing method as described above.
A fifth aspect of the present disclosure provides a computer program comprising computer-executable instructions for implementing an information processing method when executed.
The information processing method provided by the disclosure has the following beneficial effects:
in the technical scheme, the x-ray image of a group of packages can be acquired, the x-ray image is cut to obtain images of a plurality of packages, then information of the plurality of packages is acquired, and the corresponding relation between the information of the plurality of packages and the images of the plurality of packages is established according to the images of the plurality of packages and the information of the plurality of packages, so that the binding between the images of the packages and the information of the packages is realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
1A-1C schematically illustrate a schematic diagram of a scenario of an information processing method according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of an information processing method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow chart of an information processing method according to another disclosed embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow chart of an information processing method according to another disclosed embodiment of the present disclosure;
FIG. 5 schematically shows a flow chart of an information processing method according to another embodiment of the present disclosure;
fig. 6 schematically shows a block diagram of an information processing apparatus according to an embodiment of the present disclosure;
fig. 7 schematically shows a block diagram of an information processing apparatus according to another embodiment of the present disclosure;
fig. 8 schematically shows a block diagram of an information processing apparatus according to another embodiment of the present disclosure;
FIG. 9 schematically shows a block diagram of an information processing apparatus according to another embodiment of the present disclosure
FIG. 10 schematically shows a block diagram of a computer system of an electronic device according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase "a or B" should be understood to include the possibility of "a" or "B", or "a and B".
Fig. 1A to 1C schematically show schematic views of a scene of an information processing method according to an embodiment of the present disclosure.
As shown in fig. 1A, a scenario 100 of an information processing method may include an automatic scanner 110, a sensor 120, a PLC130, an x-ray machine 140, an algorithm server 150, and a storage server 160.
The algorithm server 150 is connected to the automatic barcode scanner 110, the sensor 120, the PLC130, and the x-ray machine 140 through a network, and the algorithm server 150 can control the automatic barcode scanner 110, the sensor 120, the PLC130, and the x-ray machine 140 so as to obtain a set of package information and a set of package x-ray images.
Of course, the information of a group of packages can be automatically acquired by the automatic scanner 110, the sensor 120, and the PLC130, and the acquired information of the group of packages can be transmitted to the algorithm server 150. A set of light patterns for the package may also be automatically captured by the x-ray machine 140 and sent to the algorithm server 150. For example, algorithm server 150 may determine a front-to-back positional relationship between adjacent packages of the plurality of packages based on the coordinates and time of each package of the plurality of packages entering the scanning area and the coordinates and time of each package exiting the sensor, and then determine a front-to-back positional relationship of images of adjacent packages of the plurality of packages in the x-ray map based on the front-to-back positional relationship between adjacent packages of the plurality of packages. The specific implementation process can refer to fig. 1B.
Referring to fig. 1B, the lower right corner of the edge entering the code scanning area is first defined as the origin of coordinates, the extension line of the moving direction is defined as the x-axis, and the extension line perpendicular to the moving direction is defined as the y-axis. When multiple parcels enter the scan area in succession, the barcode xxxxxxxx for each parcel scanned and the coordinate code (x1 ', y 1') for each parcel entering the scan area may be output by the automated scanner 110. Selecting a photoelectric trigger position (namely the positions of the sensor and the PLC 130) as a position for acquiring the coordinate code (x1, y1) of the parcel leaving the sensor, and calculating the distance S from the code (x1 ', y 1') to the code (x1, y1) of the parcel after the parcel leaves the sensor; assuming that the time for the automatic scanner 110 to acquire the coordinates code (x1 ', y 1') of the area where the parcel is scanned is t1 and the time for the parcel to leave the sensor after the parcel is t2, S is (t2-t1) v, where v represents the speed of the uniform motion of the conveyor belt of the x-ray machine 140. However, the actual coordinates code (x1, y1) of the parcel leaving sensor is the sum of the abscissa and the displacement of the parcel as it enters the scan area, i.e., x1 ═ x1 '+ s, and since the parcel is not displaced in the y-axis direction, y1 ═ y 1', i.e., the actual coordinates of the parcel leaving sensor is code (x1 '+ s, y 1').
In the embodiment of the present disclosure, the coordinate code (x1 ', y 1') of each parcel entering the scanning area is different, and the coordinate code (x1, y1) of each parcel leaving the sensor is different, due to the different positions of the parcels entering the scanning area and the different sizes of the parcels themselves. The relative position of each parcel among the plurality of parcels may thus be determined from the coordinate code (x1, y1) of the parcel's departure sensor. For example, coordinate code of parcel a leaving sensor (3, y1), coordinate code of parcel B leaving sensor adjacent thereto (4, y1), from code (3, y1) and code (4, y1) it can be determined that parcel a is in front of parcel B. It may then be determined that the image of parcel a is in front of the image of parcel B.
In the embodiment of the present disclosure, the distance between two adjacent parcels can be determined by the sensor 120, so as to determine whether to treat all parcels currently leaving the sensor position as a group according to the magnitude relation between the distance and the preset threshold H. For example, when the distance between two adjacent parcels is greater than a preset threshold H, all parcels that have currently left the sensor location may be considered as a group of parcels and generated in one x-ray map.
Referring to fig. 1C, the distance from the sensor to the x-ray machine 140 is G, the time Δ t for generating a group of packages is G/v, and the obtained package bar code group can be bound to the x-ray map of the corresponding group of packages by the time difference Δ t.
Fig. 2 schematically shows a flow chart of an information processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the information processing method includes steps S101 to S104.
In step S101, an x-ray map of a group of parcels is acquired.
In step S102, the x-ray map is cut to obtain images of a plurality of parcels.
In step S103, information of the plurality of parcels is acquired.
In step S104, a correspondence relationship between the information of the plurality of packages and the images of the plurality of packages is established according to the images of the plurality of packages and the information of the plurality of packages.
The method can acquire the x-ray images of a group of packages, cut the x-ray images to obtain the images of a plurality of packages, acquire the information of the plurality of packages, and establish the corresponding relation between the information of the plurality of packages and the images of the plurality of packages according to the images of the plurality of packages and the information of the plurality of packages, so that the binding of the images of the packages and the information of the packages is realized.
In some embodiments of the present disclosure, an x-ray map of a set of parcels may be acquired from x-ray machine 140. The x-ray map may include images of a plurality of parcels, and an actual distance between adjacent parcels in the plurality of parcels is less than a preset threshold H. The preset threshold H may be set according to a distance that the x-ray machine 140 can distinguish two x-ray maps.
In some embodiments of the present disclosure, cutting the x-ray map to obtain images of a plurality of parcels comprises: and determining gaps of adjacent parcel images in the x-ray image by using a cutting image algorithm, and cutting the image according to the gaps of the adjacent parcel images to obtain the images of the parcels. For example, a cutting algorithm may be used to identify pixels in the x-ray image, so as to determine the position of a gap between adjacent parcel images according to the identified pixels, and cut the adjacent parcel images according to the position of the gap, thereby obtaining an image of each parcel in the x-ray image.
In some embodiments of the disclosure, the graph cut algorithm comprises any one or more of: a binarization algorithm, a connected domain algorithm, a region growing algorithm and a direction projection algorithm.
In some embodiments of the present disclosure, the information of the plurality of parcels comprises physical information of the plurality of parcels and security information of the plurality of parcels. The physical information of the packages may be package barcodes acquired by the automatic barcode scanner 110, and the package barcodes may include physical information of the packages, such as names of the physical packages, order numbers of the physical packages, and the like. The security information of the plurality of packages may be obtained by the automated scanner 110 and the sensor 120 as the packages are being delivered. For example, coordinates of the parcel entering the scanning area, coordinates of the parcel leaving the sensor 120, and the time at which a set of x-ray maps of the parcel was generated, etc.
In some embodiments of the present disclosure, based on the security inspection information of the packages, the physical information of the packages, and the cut images of each package, the physical information of the packages and the images of the packages can be bound, that is, a corresponding relationship between the information of the packages and the images of the packages is established.
Fig. 3 schematically shows a flow chart of an information processing method according to another embodiment of the present disclosure.
As shown in fig. 3, the method further includes step S201.
In step S201, the images of the plurality of packages, the information of the plurality of packages, and the correspondence between the information of the plurality of packages and the images of the plurality of packages are stored.
The method can store the images of the packages, the information of the packages, and the corresponding relation between the information of the packages and the images of the packages, so that after a security incident occurs, the security inspection image of the package can be rapidly inquired according to the order number of the package bar code, and the information of the package can be further known.
Referring to fig. 1C, images of a plurality of packages, information of the plurality of packages, correspondence of security check information of the plurality of packages and the images of the plurality of packages may be stored in a storage server.
Fig. 4 schematically shows a flow chart of an information processing method according to another embodiment of the present disclosure.
As shown in fig. 4, the method further includes step S301 and step S302.
In step S301, a plurality of parcels are grouped according to information of the plurality of parcels, and grouping information of the plurality of parcels is obtained.
In step S302, an x-ray map of each group of parcels is generated according to the grouping information of the parcels.
The method can group a plurality of parcels according to the information of the plurality of parcels to obtain the group information of the plurality of parcels, so that the x-ray machine 140 can generate an x-ray map of each group of parcels according to the group information of the plurality of parcels.
In some embodiments of the present disclosure, the distance between two adjacent parcels may be determined by the sensor 120, so as to determine whether to treat all parcels currently leaving the sensor location as a group of parcels according to the magnitude relationship of the distance and the preset threshold H. For example, when the distance between two adjacent parcels is greater than a preset threshold H, all parcels that have currently left the sensor location may be considered as a group of parcels and generated in one x-ray map.
In some embodiments of the present disclosure, according to the distance control principle that the x-ray machine 140 generates an x-ray map, the distance setting of the sensor 120 control grouping is consistent with the x-ray machine 140, and when the sensor detects that the distance between adjacent parcels reaches the grouping distance, the barcode of all parcels in the current group is acquired so as to correspond to the image of all parcels in the x-ray map of the group of parcels. For example, the PLC130 may be set to the same grouping distance as the x-ray machine 140 can distinguish the distance H between the x-ray patterns of the two groups of parcels according to the distance H between the x-ray machine 140 and the x-ray machine 140, in this case, when the object passes through the code scanning area, the grouping judgment logic is triggered by the sensor 120, if the distance between the adjacent parcels is less than H, the PLC130 does not output the grouping number, otherwise, if the distance between the adjacent parcels is greater than H, the PLC130 sends the grouping number.
In some embodiments of the present disclosure, the information of all packages in the current group may be traversed according to the acquisition time of the group control number, so that the information of the packages that do not belong to the group but enter the scanning area is removed, and the final information of the packages in the group is obtained, so that it may be avoided that the images of the packages that do not belong to the group but enter the scanning area cannot be found when the package images and the package information are established.
Fig. 5 schematically shows a flow chart of an information processing method according to another embodiment of the present disclosure.
As shown in fig. 5, step S104 may specifically include steps S401 to S403.
In step S401, the relative positions of the parcels are determined according to the security inspection information of the parcels.
In step S402, the relative positions of the images of the plurality of parcels in the x-ray map are determined according to the relative positions between the plurality of parcels.
In step S403, a corresponding relationship between the real object information of the parcels and the images of the parcels is established according to the relative positions of the parcels and the images of the parcels in the x-ray map.
The method can determine the relative positions of the parcels according to the security inspection information of the parcels, and then determine the relative positions of the images of the parcels in the x-ray image according to the relative positions of the parcels, so that the corresponding relation between the real object information of the parcels and the images of the parcels is established according to the relative positions of the parcels and the relative positions of the images of the parcels in the x-ray image.
Referring to FIG. 1B, the coordinate code (x1 ', y 1') of each parcel as it enters the scan area and the coordinate code (x1, y1) of each parcel as it exits the sensor are different due to the different positions at which the parcels are placed as they enter the scan area and the size of the parcels themselves. The relative position of each parcel among the plurality of parcels may thus be determined from the coordinate code (x1, y1) of the parcel's departure sensor. For example, coordinate code of parcel a leaving sensor (3, y1), coordinate code of parcel B leaving sensor adjacent thereto (4, y1), from code (3, y1) and code (4, y1) it can be determined that parcel a is in front of parcel B. It may then be determined that the image of parcel a is in front of the image of parcel B.
In some embodiments of the present disclosure, the actual length of a group of parcels may be calculated according to the coordinates of each parcel leaving the sensor 120 and the pixels of each parcel image in the group of parcels, then the x-ray image of the group of parcels is scaled up to the actual length according to the actual parcel total length, and finally the coordinates of each parcel leaving the sensor 120 is matched with the converted image, thereby further achieving the binding of the parcel and the parcel image.
Fig. 6 schematically shows a block diagram of an information processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, the information processing apparatus 500 includes a first acquisition module 510, a cutting module 520, a second acquisition module 530, and a creation module 540.
A first acquisition module 510 for acquiring an x-ray map of a group of parcels.
And a cutting module 520, configured to cut the x-ray map to obtain a plurality of wrapped images.
A second obtaining module 530, configured to obtain information of the plurality of packages.
The establishing module 540 is configured to establish a corresponding relationship between the information of the plurality of packages and the images of the plurality of packages according to the images of the plurality of packages and the information of the plurality of packages.
This information processing apparatus 500 can obtain the x-ray picture of a set of parcel, and cut the x-ray picture, obtain the image of a plurality of parcels, then obtain the information of a plurality of parcels, and according to the image of a plurality of parcels and the information of a plurality of parcels, establish the corresponding relation of the information of a plurality of parcels and the image of a plurality of parcels, realized binding of the image of parcel and this parcel information, under this condition, if security incident has taken place in the transportation parcel, can provide the route of tracing back fast, so that correspond the image that produces when examining security parcel information and this parcel, the efficiency of handling security incident has been promoted.
According to an embodiment of the present disclosure, the information processing apparatus 500 is configured to implement the information processing method described in the embodiment of fig. 2.
Fig. 7 schematically shows a block diagram of an information processing apparatus according to another embodiment of the present disclosure.
As shown in fig. 7, the information processing apparatus 600 further includes a storage module 610.
A storage module 610, configured to store the images of the multiple packages, the information of the multiple packages, and a correspondence between the security inspection information of the multiple packages and the images of the multiple packages.
This information processing apparatus 600 can store the image of a plurality of parcels, the information of a plurality of parcels, the corresponding relation of the information of a plurality of parcels and the image of a plurality of parcels to after the security incident takes place, the security installations image of this parcel can be inquired according to the order number of parcel barcode fast, and then the information of this parcel is known.
According to an embodiment of the present disclosure, the information processing apparatus 600 is configured to implement the information processing method described in the embodiment of fig. 3.
Fig. 8 schematically shows a block diagram of an information processing apparatus according to another embodiment of the present disclosure.
As shown in fig. 8, the information processing apparatus 700 further includes a grouping module 710 and a generating module 720.
The grouping module 710 is configured to group a plurality of parcels according to information of the plurality of parcels to obtain grouping information of the plurality of parcels;
a generating module 720, configured to generate an x-ray map of each group of parcels according to the grouping information of the plurality of parcels.
The information processing apparatus 700 may group a plurality of packages according to the information of the plurality of packages to obtain group information of the plurality of packages, so that the x-ray machine 140 may generate an x-ray map of each group of packages according to the group information of the plurality of packages.
According to an embodiment of the present disclosure, the information processing apparatus 700 is configured to implement the information processing method described in the embodiment of fig. 4.
Fig. 9 schematically shows a block diagram of an information processing apparatus according to another embodiment of the present disclosure.
As shown in fig. 9, the establishing module 540 may specifically include a first determining module 541, a second determining module 542, and an establishing sub-module 543.
A first determining module 541, configured to determine a relative position between the multiple parcels according to the security inspection information of the multiple parcels.
A second determining module 542, configured to determine relative positions of the images of the plurality of parcels in the x-ray map according to relative positions between the plurality of parcels;
the establishing sub-module 543 is configured to establish a corresponding relationship between the real object information of the multiple parcels and the images of the multiple parcels according to the relative positions of the multiple parcels and the relative positions of the images of the multiple parcels in the x-ray map.
According to an embodiment of the present disclosure, the establishing module may be used to implement the information processing method described in the embodiment of fig. 5.
It is understood that the first obtaining module 510, the cutting module 520, the second obtaining module 530, the establishing module 540, the first determining module 541, the second determining module 542, the establishing sub-module 543, the storing module 610, the grouping module 710, and the generating module 720 may be combined into one module to be implemented, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the first obtaining module 510, the cutting module 520, the second obtaining module 530, the establishing module 540, the first determining module 541, the second determining module 542, the establishing sub-module 543, the storing module 610, the grouping module 710, and the generating module 720 may be implemented at least in part 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 any other reasonable manner in which a circuit may be integrated or packaged, as hardware or firmware, or as a suitable combination of three implementations of software, hardware, and firmware. Alternatively, at least one of the first obtaining module 510, the cutting module 520, the second obtaining module 530, the establishing module 540, the first determining module 541, the second determining module 542, the establishing sub-module 543, the storing module 610, the grouping module 710, and the generating module 720 may be implemented at least in part as computer program modules that, when executed by a computer, may perform the functions of the respective modules.
FIG. 10 schematically shows a block diagram of a computer system of an electronic device according to an embodiment of the disclosure. The computer system illustrated in FIG. 10 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 10, a computer system 800 of an electronic device (e.g., the electronic device may be the algorithm processor 150 in fig. 1) according to an embodiment of the present disclosure includes a processor 801, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing the different actions of the method flows described with reference to fig. 2-5 in accordance with embodiments of the present disclosure.
In the RAM 803, various programs and data necessary for the operation of the system 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. The processor 801 executes various steps of the information processing method described above with reference to fig. 2 to 5 by executing programs in the ROM 802 and/or the RAM 803. Note that the program may also be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 may also perform various steps of the information processing method described above with reference to fig. 2 to 5 by executing the program stored in the one or more memories.
According to an embodiment of the present disclosure, the system 800 may also include an input/output (I/O) interface 807, the input/output (I/O) interface 807 also being connected to the bus 804. The system 800 may also include one or more of the following components connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
According to an embodiment of the present disclosure, the method described above with reference to the flow chart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program, when executed by the processor 801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing. According to embodiments of the present disclosure, a computer-readable medium may include one or more memories other than the ROM 802 and/or the RAM 803 and/or the ROM 802 and the RAM 803 described above.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The above-mentioned computer-readable medium carries one or more programs that, when executed by one of the apparatuses, cause the apparatus to execute the information processing method according to the embodiment of the present disclosure. The method comprises the following steps: acquiring an x-ray map of a group of parcels; cutting the x-ray image to obtain a plurality of wrapped images; obtaining information of the plurality of packages; and establishing the corresponding relation between the information of the plurality of parcels and the images of the plurality of parcels according to the images of the plurality of parcels and the information of the plurality of parcels.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (12)

1. An information processing method comprising:
acquiring an x-ray map of a group of parcels;
cutting the x-ray image to obtain a plurality of wrapped images;
obtaining information of the plurality of packages;
and establishing the corresponding relation between the information of the plurality of parcels and the images of the plurality of parcels according to the images of the plurality of parcels and the information of the plurality of parcels.
2. The method of claim 1, wherein the method further comprises:
storing the images of the plurality of parcels, the information of the plurality of parcels, and the corresponding relation between the information of the plurality of parcels and the images of the plurality of parcels.
3. The method of claim 1, wherein the method further comprises:
grouping the plurality of packages according to the information of the plurality of packages to obtain grouping information of the plurality of packages;
and generating an x-ray map of each group of parcels according to the grouping information of the parcels.
4. The method of claim 1, wherein cutting the x-ray map to obtain images of a plurality of parcels comprises:
and determining gaps of adjacent parcel images in the x-ray image by using a cutting image algorithm, and cutting the image according to the gaps of the adjacent parcel images to obtain the images of the parcels.
5. The method of claim 4, wherein the graph cut algorithm comprises any one or more of: a binarization algorithm, a connected domain algorithm, a region growing algorithm and a direction projection algorithm.
6. The method of claim 1, wherein the information of the plurality of parcels comprises physical information of the plurality of parcels and security information of the plurality of parcels.
7. The method of claim 6, wherein establishing a correspondence of the information of the plurality of parcels to the images of the plurality of parcels from the images of the plurality of parcels and the information of the plurality of parcels comprises:
determining relative positions among the plurality of parcels according to the security inspection information of the plurality of parcels;
determining relative positions of images of the plurality of parcels in the x-ray map according to the relative positions of the plurality of parcels;
and establishing a corresponding relation between the real object information of the parcels and the images of the parcels according to the relative positions of the parcels and the relative positions of the images of the parcels in the x-ray map.
8. The method of claim 7, wherein the security information for the plurality of parcels comprises coordinates and time each parcel entered the scanning area, coordinates and time each parcel left the sensor;
determining the relative position between the plurality of parcels according to the security inspection information of the plurality of parcels comprises:
and determining the front-back position relation between the adjacent parcels in the plurality of parcels according to the coordinate and the time of each parcel in the plurality of parcels entering the scanning area and the coordinate and the time of each parcel leaving the sensor.
9. The method of claim 8, wherein determining the relative position of the images of the plurality of parcels in the x-ray map from the relative positions between the plurality of parcels comprises:
and determining the front-back position relation of the images of the adjacent parcels in the plurality of parcels in the x-ray map according to the front-back position relation between the adjacent parcels in the plurality of parcels.
10. An information processing apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring an x-ray image of a group of parcels;
the cutting module is used for cutting the X-ray image to obtain a plurality of wrapped images;
the second acquisition module is used for acquiring the information of the plurality of parcels;
and the establishing module is used for establishing the corresponding relation between the information of the plurality of parcels and the images of the plurality of parcels according to the images of the plurality of parcels and the information of the plurality of parcels.
11. An electronic device, comprising:
one or more processors; and
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-9.
12. A computer readable medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 9.
CN201811591385.8A 2018-12-25 2018-12-25 Information processing method, information processing apparatus, electronic device, and medium Pending CN111368836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811591385.8A CN111368836A (en) 2018-12-25 2018-12-25 Information processing method, information processing apparatus, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811591385.8A CN111368836A (en) 2018-12-25 2018-12-25 Information processing method, information processing apparatus, electronic device, and medium

Publications (1)

Publication Number Publication Date
CN111368836A true CN111368836A (en) 2020-07-03

Family

ID=71208106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811591385.8A Pending CN111368836A (en) 2018-12-25 2018-12-25 Information processing method, information processing apparatus, electronic device, and medium

Country Status (1)

Country Link
CN (1) CN111368836A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112668574A (en) * 2020-12-28 2021-04-16 深圳前海百递网络有限公司 Parcel image processing method and device, computer equipment and storage medium
WO2022052845A1 (en) * 2020-09-14 2022-03-17 上海奕瑞光电子科技股份有限公司 Linear array detector-based high-speed big data transmission system and method, terminal, and medium
CN115423996A (en) * 2022-08-18 2022-12-02 成都智元汇信息技术股份有限公司 Method for extracting parcel picture based on parcel motion, electronic device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205404838U (en) * 2016-03-08 2016-07-27 龙靖 A full automated system for coordinating safety inspection of express delivery commodity circulation X -ray security check machine
CN107766829A (en) * 2017-10-27 2018-03-06 浙江大华技术股份有限公司 A kind of method and apparatus of Articles detecting
CN108195855A (en) * 2017-12-27 2018-06-22 同方威视技术股份有限公司 Safety check system and its method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205404838U (en) * 2016-03-08 2016-07-27 龙靖 A full automated system for coordinating safety inspection of express delivery commodity circulation X -ray security check machine
CN107766829A (en) * 2017-10-27 2018-03-06 浙江大华技术股份有限公司 A kind of method and apparatus of Articles detecting
CN108195855A (en) * 2017-12-27 2018-06-22 同方威视技术股份有限公司 Safety check system and its method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022052845A1 (en) * 2020-09-14 2022-03-17 上海奕瑞光电子科技股份有限公司 Linear array detector-based high-speed big data transmission system and method, terminal, and medium
CN112668574A (en) * 2020-12-28 2021-04-16 深圳前海百递网络有限公司 Parcel image processing method and device, computer equipment and storage medium
CN115423996A (en) * 2022-08-18 2022-12-02 成都智元汇信息技术股份有限公司 Method for extracting parcel picture based on parcel motion, electronic device and medium
CN115423996B (en) * 2022-08-18 2023-09-22 成都智元汇信息技术股份有限公司 Method, electronic equipment and medium for extracting parcel pictures based on parcel movement

Similar Documents

Publication Publication Date Title
CN110286387B (en) Obstacle detection method and device applied to automatic driving system and storage medium
CN111368836A (en) Information processing method, information processing apparatus, electronic device, and medium
US10204268B2 (en) Method and system for identifying train number and train type, and method and system for security inspection
CN114255436B (en) Security check image recognition system and method based on artificial intelligence
CN110399831B (en) Inspection method and device
CN112052696B (en) Bar product warehouse-out label identification method, device and equipment based on machine vision
JP2020008501A (en) Surface defect detection device and surface defect detection method
CN111988524A (en) Unmanned aerial vehicle and camera collaborative obstacle avoidance method, server and storage medium
CN112897345A (en) Method for aligning container truck and crane and related equipment
CN112150048B (en) Transport control method, device, electronic equipment and storage medium
US11544839B2 (en) System, apparatus and method for facilitating inspection of a target object
CN112000109B (en) Position correction method for power inspection robot, power inspection robot and medium
CN104052638B (en) Intermodule collision detection method, device and server
CN114904798B (en) Automatic coal gangue sorting method, system and medium based on image recognition
CN115953759A (en) Method and device for detecting parking space limiter, electronic equipment and storage medium
CN109146916A (en) A kind of moving body track method and device
CN113936493B (en) Image processing method, apparatus, computer device and medium for automatic driving
CN114359376A (en) Parcel positioning method and device, electronic equipment and storage medium
CN111024705A (en) Method, device, equipment and storage medium for detecting broken power line
CN113781327A (en) Security inspection image artifact removing method and device, security inspection machine, electronic device and medium
CN115512283A (en) Parcel image processing method and device, computer equipment and storage medium
CN112598690A (en) Package segmentation method, device, equipment and medium
CN111822365A (en) Express sorting device and express sorting method
CN110399956A (en) The method, apparatus of two dimensional code, electronic equipment and medium for identification
CN111768410B (en) Image processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20210309

Address after: 6 / F, 76 Zhichun Road, Haidian District, Beijing 100086

Applicant after: Beijing Jingdong Zhenshi Information Technology Co.,Ltd.

Address before: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080

Applicant before: Beijing Jingbangda Trading Co.,Ltd.

Effective date of registration: 20210309

Address after: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080

Applicant after: Beijing Jingbangda Trading Co.,Ltd.

Address before: 100086 8th Floor, 76 Zhichun Road, Haidian District, Beijing

Applicant before: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: BEIJING JINGDONG CENTURY TRADING Co.,Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination