WO2021018241A1 - Information processing - Google Patents

Information processing Download PDF

Info

Publication number
WO2021018241A1
WO2021018241A1 PCT/CN2020/105819 CN2020105819W WO2021018241A1 WO 2021018241 A1 WO2021018241 A1 WO 2021018241A1 CN 2020105819 W CN2020105819 W CN 2020105819W WO 2021018241 A1 WO2021018241 A1 WO 2021018241A1
Authority
WO
WIPO (PCT)
Prior art keywords
express
information
image
document
package
Prior art date
Application number
PCT/CN2020/105819
Other languages
French (fr)
Chinese (zh)
Inventor
陈楷佳
李延存
李刚
王艺然
董亚魁
于志兴
Original Assignee
北京市商汤科技开发有限公司
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
Priority claimed from CN201910700137.0A external-priority patent/CN111753608A/en
Priority claimed from CN201910702528.6A external-priority patent/CN111753568B/en
Application filed by 北京市商汤科技开发有限公司 filed Critical 北京市商汤科技开发有限公司
Priority to KR1020217020538A priority Critical patent/KR20210098509A/en
Priority to JP2021538702A priority patent/JP2022516550A/en
Publication of WO2021018241A1 publication Critical patent/WO2021018241A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0832Special goods or special handling procedures, e.g. handling of hazardous or fragile goods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms

Definitions

  • the present disclosure relates to the field of computer technology, in particular to an information processing method, an express delivery method and device, electronic equipment, and a storage medium.
  • the embodiments of the present disclosure provide an information processing method, an express delivery method and device, electronic equipment, and a storage medium.
  • a first aspect of the embodiments of the present disclosure provides an information processing method, which is applied to a courier terminal, and the method includes: collecting a first courier image corresponding to a first courier package; and acquiring the first courier image included in the first courier image Express document information of the express package, the express document information includes at least one of recipient information and express identification information of the first express package; collecting the first face of the person who picked up the first express package Image; based on the courier bill information of the first courier package and the first face image, perform the courier outbound operation of the first courier package.
  • a second aspect of the embodiments of the present disclosure provides an express delivery method, the method comprising: obtaining an express image of an express package collected by at least one camera of a terminal device, wherein the express image is used to obtain the express package Obtain the first facial image collected by the at least one camera; perform the delivery operation of the express package based on the express image and the first facial image.
  • a third aspect of the embodiments of the present disclosure provides an express delivery method, the method includes: receiving an express delivery request message sent by a terminal device, the express delivery request message includes: first face data and express data, wherein The first face data includes the first face image of the pickup person collected by the terminal device and/or the characteristic information of the first face image, and the express delivery data includes at least the first face image of the express package. Part of and/or the express document information obtained from the express image; based on the first face data and express data, perform outbound verification of express parcels; send to the terminal device to indicate the outbound The warehouse check whether the express delivery response is passed.
  • a fourth aspect of the embodiments of the present disclosure provides an electronic device, including a processor and a memory, the memory is used to store one or more programs, the one or more programs are configured to be executed by the processor, and The program includes some or all of the steps described in the first aspect, the second aspect, or the third aspect of the embodiment of the present disclosure.
  • a fifth aspect of the embodiments of the present disclosure provides an information processing device, which is applied to a courier terminal, and the device includes: an image acquisition module for collecting a first courier image corresponding to a first courier package, and collecting the first courier The first face image of the person who picked up the package; an information acquisition module for acquiring the express document information of the first express package included in the first express image, the express document information including recipient information, At least one of the courier identification information of the first courier package; an operation execution module for executing the processing of the first courier package based on the courier document information of the first courier package and the first face image Express delivery operation.
  • a sixth aspect of the embodiments of the present disclosure provides an express delivery device.
  • the device includes an image acquisition module for acquiring an express image of an express package collected by at least one camera of a terminal device, wherein the express image is used for Obtain the courier document information of the express package; and, obtain the first facial image collected by the at least one camera; the warehouse-out processing module is configured to execute based on the express image and the first facial image The delivery operation of the express package.
  • a seventh aspect of the embodiments of the present disclosure provides an express delivery device.
  • the device includes: a message receiving module configured to receive an express delivery request message sent by a terminal device, the express delivery request message including: first face data And express data, wherein the first facial data includes the first facial image of the pickup person collected by the terminal device and/or the characteristic information of the first facial image, and the express data includes the express package At least a part of the express image and/or express document information obtained from the express image; a verification processing module, configured to perform outbound verification of express parcels based on the first face data and express data;
  • the response sending module is configured to send an express delivery response indicating whether the delivery check is passed to the terminal device.
  • An eighth aspect of the embodiments of the present disclosure provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, wherein the computer program enables a computer to execute the first aspect or the second aspect of the embodiments of the present disclosure Or part or all of the steps described in any method of the third aspect.
  • FIG. 1 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of another information processing method disclosed in an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart of an express query method disclosed in an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart of a method for binding a face and a mobile phone number disclosed in an embodiment of the present disclosure
  • FIG. 9 is a schematic flowchart of an express delivery storage method disclosed in an embodiment of the present disclosure.
  • FIG. 10 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure.
  • FIG. 11 is a schematic flowchart of an express delivery method disclosed in an embodiment of the present disclosure.
  • FIG. 12 is a schematic flowchart of an express delivery method disclosed in an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a terminal device provided by an embodiment of the present disclosure.
  • 15 is a schematic structural diagram of an information processing device provided by an embodiment of the present disclosure.
  • 16 is a schematic structural diagram of an information processing device provided by an embodiment of the present disclosure.
  • Figure 17 is a schematic structural diagram of an express delivery device provided by an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of an express delivery device provided by an embodiment of the present disclosure.
  • Fig. 19 is a schematic structural diagram of an express delivery device provided by an embodiment of the present disclosure.
  • the staff will first enter the courier information into the system (warehouse), such as the tracking number, the user’s mobile phone number, etc., and then send a text message to the user to inform the user of a pickup code. Pick up with the pickup code. After the user comes to the courier collection point, he informs the staff of the pickup code, and the staff goes to the warehouse to find the express, and then delivers the express to the user.
  • the system warehouse
  • the embodiments of the present disclosure provide an information processing method, and the following describes the embodiments of the present disclosure in detail.
  • the embodiments of the present disclosure may be executed by a terminal device, and the terminal device may include, but is not limited to, an information processing device (express terminal) applied to express delivery management, a mobile phone with a touch-sensitive surface (for example, a touch screen display and/or a touch panel) , Laptop or tablet computer and other portable devices. It should also be understood that, in some embodiments, the terminal device is not a portable communication device, but may be a desktop computer with a touch-sensitive surface (for example, a touch screen display and/or a touch pad).
  • FIG. 1 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure, and the method can be applied to a courier terminal. As shown in Figure 1, the method may include:
  • step 101 a first express image corresponding to the first express package is collected.
  • the above-mentioned first express image can be understood as including the image of the first express package, such as the image collected within the camera range of the first express package, specifically the image collected when the express package enters and exits the warehouse, or the user receives Images collected during express delivery, etc.
  • the express package to be shipped out of the warehouse can be called the first express package.
  • the user can hold the first express package and stand in the image collection area of the express terminal, and the express terminal can collect the express image of the first express package.
  • the image can be called the first express image.
  • step 102 obtain the courier document information of the first courier package included in the first courier image, where the courier document information includes at least one of recipient information and courier identification information of the first courier package .
  • the first express parcel is usually pasted with the express receipt, and the express receipt information on the first express parcel can be identified by processing the first express image.
  • the express document information includes, but is not limited to: the recipient information of the first express package (such as the recipient’s name, mobile phone number, etc.), express identification information (such as the express number that uniquely identifies the express package) ) One or more items. At least one of recipient information and express delivery identification information can be obtained.
  • the identification of the courier document information can be performed by the courier terminal, or the courier terminal can send the collected first courier image to the server and receive the courier document information identified by the server, which is not limited in the embodiment of the present disclosure.
  • step 103 the first face image of the picker of the first express package is collected.
  • the pickup person is a user who receives the first express package, and the face image of the pickup person can be collected through the express terminal, and the face image may be called the first face image.
  • the express terminal in the embodiment of the present disclosure may periodically collect images, and optionally include a face recognition function, and use face recognition technology to detect whether the collected first face image contains a face, or to identify the Face, or you can use the camera set on the express terminal to track the face in the scene.
  • the face recognition involved in the embodiments of the present disclosure uses image processing technology to analyze static pictures or video sequences to find faces and output one or more effective information such as the number, location and size of the faces, and identity; secondly
  • human faces can be tracked, that is, on the premise that the human face is detected in the previous image frame, information such as the position and size of the human face should be captured in subsequent frames.
  • the image collection may be performed periodically.
  • the camera of the express terminal may obtain an image every 2 seconds and execute a process of determining whether a human face is included to obtain a human face image. If the acquired image does not contain a human face, you can delete the acquired image above, or save it for a period of time and delete it to save storage space.
  • the courier terminal may include, but is not limited to, a first camera, a second camera, a transceiver, and a display screen, where the first face image can be collected through the first camera of the courier terminal, and the courier terminal
  • the second camera captures the first express image.
  • the first camera used to collect facial images and the second camera used to collect express images may be the same or different cameras.
  • the second camera used to collect the first express image may be an industrial camera camera. The black and white or color image is collected through the industrial camera camera to facilitate the subsequent verification of express document information (such as express bar code, express text, etc.). Information) identification and acquisition.
  • express document information such as express bar code, express text, etc.
  • Information identification and acquisition.
  • the order in which the first express image and the first face image are collected is not limited.
  • the first express image and the first face image may be collected at the same time after the user issues an express delivery instruction, where the first express image and the first face image may be collected separately, or the first express image and The first face image is contained in an image, for example, an image taken by the user placing a courier package in front of him; or the first camera is activated to collect the first face image after detecting the proximity of a person Or when it is detected that there are items placed in the package placement area, the second camera is activated to collect the first express image, which is not limited in the embodiment of the present disclosure.
  • step 104 an express delivery operation of the first express package is performed based on the express receipt information of the first express package and the first face image.
  • the identity verification of the pickup person can be performed through the above-mentioned express document information and the first face image, that is, the outbound verification is performed.
  • the first identity information matched by the first face image may be determined, and in the case that the first identity information is consistent with the recipient information of the first express package, it is confirmed that the express delivery verification of the first express package is passed.
  • the first account information corresponding to the recipient information in the first express package can be determined. If the first biometric information corresponding to the first face image has a binding relationship with the first account information, determine The warehouse verification of the first express parcel passed.
  • the first account information matched by the first face image can be determined, and the to-be-collected courier information corresponding to the first account information can be queried, and if the courier-to-be-collected information matches the courier identification information of the first courier package, determine The warehouse verification of the first express parcel passed.
  • the embodiments of the present disclosure do not limit the specific implementation of identity verification.
  • the express delivery operation can also be performed immediately, and the aforementioned information is recorded to confirm whether the first express package is delivered from the warehouse There is an abnormality.
  • it can be determined that the first express package is out of the warehouse normally when the first face image matches the express receipt information, but in the case where the first face image does not match the express receipt information Confirm that the first express package is out of the warehouse abnormally, and optionally send an alarm if an abnormality is found.
  • the information processing method of the embodiment of the present disclosure collects the first face image corresponding to the pickup person of the express package and the first express image of the express package, and the express receipt information and the first face image obtained based on the first express image
  • the image determines whether the express package is out of the warehouse, so that the parcel is checked out between the picker and the package information when it is out of the warehouse, and the identity verification of the user in the process of taking the express is realized, thereby increasing the security of the express delivery management Sex.
  • FIG. 2 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure, in which a process of receiving an express package through an express terminal is described, and the first person who compares the pickup person in the embodiment of the present disclosure Whether the identity information matched by the face image is consistent with the recipient information of the express package is used to verify the delivery of the express package.
  • the method may include:
  • step 201 the first express image corresponding to the first express package is collected, and the express document information of the first express package included in the first express image is obtained.
  • step 202 the first face image of the person who picked up the first express package is collected.
  • step 203 first identity information matched by the first face image is obtained.
  • the aforementioned express terminal or server may store a face database, including multiple face templates and identity information corresponding to the face templates, where the face templates may include facial images and/or feature information of the face images, and the aforementioned identity information It can include one or more of the user's name, contact number, address, etc. That is, users can bind their face and identity information through courier terminals or mobile phone applications.
  • the courier terminal stores a human face database, and the courier terminal can determine the user's identity through face recognition processing on the first facial image, and obtain the first identity information that matches the first facial image.
  • the courier terminal may send the first face image and/or the feature information of the first face image to the server, and the server determines the first face image and/or the first face image based on the stored face database.
  • the first identity information matched by the image is returned to the express terminal.
  • the express terminal may send the first face image to the server, and the server recognizes the first face image, and determines the face template matching the first face image in the face template set.
  • the first identity information corresponding to the face template matching the first face image can be queried.
  • the server in the embodiment of the present disclosure is also called a server, which is a device that provides computing services and can allow multiple terminals to access.
  • the above-mentioned express terminal may communicate with the server through a transceiver.
  • the above-mentioned first face image and/or characteristic information of the first face image may be sent to the server through the transceiver for the server to search for and the first face image. Image matching first identity information.
  • the aforementioned server may compare the first face image or the feature information of the first face image with the face template one by one to determine whether there is a matching face template in the set of face templates.
  • the face template includes a face image. Accordingly, the server may determine the similarity between the first face image and each face image in the set of face templates, and determine the face based on the similarity. The face template that matches the first face image in the template set. In some embodiments, the face template includes face feature information.
  • the server can obtain the feature information of the first face image sent by the express terminal, or perform feature extraction on the first face image sent by the express terminal to obtain The feature information of the first face image, and compare the feature information of the first face image with the face feature information included in each face template to determine the face template that matches the first face image, but
  • the embodiments of the present disclosure are not limited thereto.
  • the acquisition of the first identity information matched by the first face image may also be based on other information that can uniquely identify the user's identity other than facial features, for example, may be based on iris features.
  • the server may obtain the iris characteristics of the person picking up the express package according to the first face image, and obtain a similarly matched person by comparing it with the template in the iris feature library, and then obtain the identity such as the mobile phone number corresponding to the person Information, and then compare the mobile phone number with the mobile phone number in the express receipt information of the express package to determine whether it is the real recipient.
  • the server may store the aforementioned preset threshold, such as 95% or 90%, but the embodiment of the present disclosure is not limited thereto.
  • step 204 may be executed. If a face template matching the first face image is not found in the face database, it can be determined that the verification fails, or the user is prompted to enter account information.
  • step 204 it is determined whether the first identity information is consistent with the recipient information of the first express package.
  • the express terminal may compare the first identity information with the recipient information to determine whether the two are consistent.
  • any multiple pieces of information such as user name or account name, contact number, address, etc. can be compared separately.
  • stricter verification can be performed. Accordingly, if one of the information is inconsistent In the case of, it is determined that the user identity verification has failed, and if the comparison of multiple pieces of information is consistent, it is determined that the user identity verification is successful.
  • a looser comparison can be performed. For example, only one item of information, such as name, account name, or contact phone number, can be compared, and if the information is consistent, it is determined that the user identity verification is successful .
  • multiple pieces of information can be compared, and if one of the pieces of information is consistent, it is determined that the user identity verification is successful, which is not limited in the embodiment of the present disclosure.
  • step 205 in the case that the first identity information is consistent with the recipient information of the first express package, it is confirmed that the express delivery verification of the first express package has passed, and/or the first The storage status corresponding to the express package is updated to the out-of-warehouse status.
  • the picker can take the express package. It is also possible to update the storage status corresponding to the express identification information of the first express package to the out-of-warehouse state.
  • the aforementioned express delivery information may also include relevant information such as delivery (collection) time, which is not limited here.
  • the express terminal in the embodiment of the present disclosure can interact with the express management system through business interface services.
  • the express outbound information can be sent to the express delivery management system for registration, and the express delivery or receipt can be recorded, so as to facilitate the update of express delivery management.
  • the aforementioned express delivery management system may be a third-party inventory management system, but the embodiments of the present disclosure are not limited thereto.
  • step 206 when the above-mentioned first identity information is inconsistent with the recipient information of the first express package, output warning information, or put the express package into the express lock device, or prompt to input user verification information.
  • warning information may include voice information, such as a prompt: "Pick-up person does not match, please confirm! or a preset prompt sound.
  • voice information such as a prompt: "Pick-up person does not match, please confirm!” or a preset prompt sound.
  • multiple warning methods such as text information displayed on the display interface may also be included, which is not limited here.
  • the express terminal may also drop the first express package into the express locking device.
  • the express delivery lock device may be a storage space connected to the carrier (used to place express parcels) on the express terminal.
  • the express terminal can control to automatically open the storage space and make the carrier
  • the express package on the object table automatically enters the storage space and locks, so as to achieve the purpose of no longer allowing the picker to take the express package, so as to protect the express package from being taken away by fraud.
  • the express terminal may also prompt the picker to enter user verification information when the identity comparison is abnormal, for example, prompt the user to enter other identification information such as mobile phone number and ID number.
  • other handling methods when the identity comparison is abnormal may also be adopted, which is not limited in this embodiment.
  • the express terminal can perform the outbound verification of the express package by judging whether the first identity information corresponding to the picker is consistent with the recipient information of the first express package.
  • the courier terminal can also send the collected first courier image and the first facial image to the server side, and the server recognizes the courier document information according to the first courier image, and performs the matching between the courier document information and the first facial image After verification, the verification result is returned to the express terminal.
  • the express terminal may also send one of the first express image and the first face image to the server, and the server is responsible for acquiring image information, for example, identifying the first express The express bill information in the image, or the corresponding personal identity information obtained from the first face image, the server returns the identified information to the express terminal, and the express terminal continues to verify and compare.
  • the server may obtain the corresponding identity information or express receipt information according to the images, The obtained information is returned to the express terminal, and the express terminal will verify the information.
  • Other implementation methods will not be listed.
  • the server and the courier terminal cooperate to implement the process of verifying the delivery of the express package. There are multiple implementation methods, and the server and the express terminal respectively cooperate to perform different processing of the verification process.
  • the information processing method of the embodiment of the present disclosure compares the identity information corresponding to the face image of the pickup person with the recipient information of the express package, and confirms that the express package delivery verification is passed only when the two are consistent. Improved the security control of express parcels out of the warehouse, and prevent the express parcels from being falsely collected.
  • FIG. 3 is a schematic flowchart of another information processing method disclosed in an embodiment of the present disclosure, in which another process of receiving a courier package through an express terminal is described, and in the embodiment of the present disclosure, it is compared with the picker Whether the biological feature corresponding to the first face image has a binding relationship with the first account information included in the recipient information of the express package is used to verify the delivery of the express package.
  • the method may include:
  • step 301 the first face image corresponding to the person picking up the first express package is collected.
  • step 302 it is determined whether the first biological feature corresponding to the first face image has a binding relationship with the first account information.
  • the first biological feature may be obtained by performing face recognition on a first face image, and the first biological feature may include: facial features and/or iris features that can uniquely identify the user.
  • the courier document image on the collected courier package can also be automatically detected and identified to obtain the courier document information.
  • the courier document information may include the first One account information, in this way, the binding relationship between the first biological feature and the first account information can be determined without the user's special operation.
  • the first account information includes at least one of the following: a mobile communication identifier; an instant communication identifier; an identity identifier.
  • the mobile communication identifier includes but is not limited to a mobile phone number;
  • the instant communication identifier may include various instant messaging application accounts, such as WeChat ID, Weibo account, Fetion ID, etc.;
  • the identity identifier includes but is not limited to The ID number of the ID card and the passport number on the passport.
  • the account database can be queried based on the express bill information of the express package to obtain the first account information corresponding to the express bill information.
  • the first account information includes but is not limited to an ID number, WeChat ID, etc.
  • the corresponding registered face data can be queried according to the first account information.
  • the registered face data may be the user's pre-established association relationship between his first account information and the registered face data.
  • the data may be, for example, registered facial images and/or facial features. Then you can compare whether the first face image of the pickup person of the express package matches with the registered face data. If they match, you can confirm that the pickup person is the true recipient of the express package, and you can confirm the express package The outbound verification passed.
  • the account information corresponding to the biometrics may be obtained by querying the first biometrics corresponding to the first face image, and the user may pre-register the association between his own account information and the biometrics. After obtaining the account information, you can obtain the pending courier information corresponding to the account information, and determine whether the pending courier information contains the courier package currently to be taken away, that is to say, determine whether the pending courier information contains the same as the first courier.
  • the item that matches the courier document information of the image for example, determining whether at least one courier number to be retrieved included in the courier information to be retrieved is consistent with the courier identification included in the courier document information, etc., and the embodiment of the present disclosure does not limit this .
  • step 303 in the case that the first biometric feature has a binding relationship with the first account information, it is determined that the verification of the predetermined operation of the storage or the storage operation of the collection object is passed. For example, if there is a binding relationship, it can be considered that the identity feature verification of the current pickup person has passed, and it is determined that the outbound verification of the first express package has passed, and the predetermined operation can be performed.
  • the predetermined operation may include: the delivery of the document or the delivery operation of the express package where the document is located.
  • the document is a courier document, and the courier document is usually affixed to the courier package.
  • the first biometric characteristic is bound to the first account information, it means that the recipient of the courier is currently picking up the goods, and the picker After passing the identity verification, it is the real picker, so you can perform the shipment operation of the express package.
  • Performing the shipping operation of the express package may include: opening the counter of the storage cabinet where the express package is located.
  • the express terminal can send out a prompt sound such as "verification passed", and then the picker can take the express package away.
  • the method further includes: outputting a verification prompt for inputting verification information when the binding relationship between the first biometric feature and the first account information is not established. Based on the inputted verification information, it is determined that the verification of the warehouse entry or exit operation of the collection object is passed, for example, the express delivery operation of the first express package may be performed based on the verification information.
  • the execution verification of the execution of the predetermined operation is performed based on the collected first image information of the pickup person and based on the pre-established binding relationship. In this way, the user does not need to input the document number, the pickup number or their own account number. Information, etc., simplify user operations.
  • an embodiment of the present disclosure provides an information processing method, which is used to describe a process of establishing a binding relationship between biometric characteristics of a face image and account information.
  • the method can include:
  • a face image is collected.
  • the collection of the face image can be implemented in the process of warehousing and/or delivery of documents or express parcels, or the face image can also be performed in the process of face registration, such as user Face registration can be performed through the display man-machine interface of the express terminal or your own mobile phone application APP, and the biological characteristics of the face image and the account information can be bound during the registration.
  • step 402 the account information of the express bill is obtained.
  • step 403 according to the biological characteristics corresponding to the face image and the account information, the biological characteristics and the account information are correlated to obtain an association relationship.
  • the biometric feature may be a biometric feature extracted from a face image, for example, the user's facial feature and/or the user's iris feature, etc.
  • the biometric feature can uniquely identify the biometric information of the user.
  • the camera will be activated to collect facial images during the delivery and/or warehousing of documents or express parcels, or even during the document filling process or registration process. Obtain the biological characteristics from the collected face images, and then associate them with the account information on the express receipts of the warehouse or the warehouse to establish an association relationship.
  • the account information includes at least one of the following: mobile communication identification; instant messaging identification; identity identification.
  • users can establish an association between their account information and registered facial data, and the registered facial data may include, but are not limited to, facial features and/or iris features, etc. , So as to be able to obtain the corresponding registered face data according to the account information and the association relationship later, and use it for comparison with the face image of the picker.
  • the corresponding relationship between account information and courier bill information can be stored in the account database during the registration process, so that the corresponding account information can be found according to the bill information of the courier package during subsequent verification of the delivery of the courier package.
  • step 404 in the case that the number of associations between the biometric feature and the account information meets the set binding condition, the binding relationship between the biometric feature and the account information is established based on the association relationship.
  • the number of associations is increased by 1; when the number of associations reaches a predetermined number, it can be considered that the number of associations meets the preset binding conditions, and it can be further considered that the user account corresponds to
  • the biological characteristics of the legal user of is the biological characteristics; at this time, the association relationship can be formally converted into a binding relationship.
  • the method may include: determining a confidence value of the association relationship according to the number of associations; when the confidence value reaches a preset value, converting the association relationship into a binding relationship. For example, when the association relationship is established for the first time, the confidence value is determined to be 40%; when the same association relationship is established for the second time, the confidence value is determined to be 60%; when the same association relationship is established for the third time, all The confidence value increases to 70%; and so on; the more the number of associations of an association relationship, the higher the confidence value. When the confidence value of the association relationship reaches the preset value, the relationship is directly Convert to binding relationship.
  • association relationship into the binding relationship.
  • Two alternative ways are provided as follows: adding the association relationship to the relationship table containing the binding relationship; adding the type field of the association relationship Change to the type field of the binding relationship.
  • the delivery verification of the express package when the delivery verification of the express package is performed, the first express image corresponding to the collection of the express package is detected and identified, and the express document information included in the first express image is obtained.
  • the following will explain how to perform the identification processing of the express document information on the first express image, and perform the outbound verification based on the express document information and the face image in the foregoing embodiment after the express document information is detected.
  • the method described below can be used in the process of obtaining express delivery document information based on the express delivery image.
  • FIG. 5 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure.
  • the method can be applied to various document processing terminal devices or information systems formed by terminal devices and cloud devices, such as express delivery terminals. As shown in Figure 5, the method may include:
  • step 501 the first express image corresponding to the express package within the predetermined depth of field is collected.
  • the express terminal may collect the first express image corresponding to the express package through the image acquisition module.
  • the depth of field range of the image acquisition module may be predetermined. If the express package is located in this area, the first express package The image is clear.
  • the upper limit of the predetermined range of depth of field is greater than a preset value, for example, 50 cm, 60 cm, etc.
  • the image acquisition module that collects the first express image may include: an industrial camera, which is pre-configured with a predetermined depth of field range, for example, within 0-50cm, if the distance between the express package and the industrial camera is less than or equal to 50cm At that time, the first express image collected is clear.
  • the express terminal may detect whether a collection object enters a predetermined depth of field.
  • the image capture function is turned on.
  • the express terminal may acquire the first express image corresponding to the acquisition object (for example, express package) located within the predetermined depth of field.
  • a distance sensor may be used to collect whether the collection object has entered the predetermined depth of field.
  • the distance sensor includes but is not limited to: infrared sensor, visible light sensor, laser sensor, etc. It is very energy consuming to keep the camera turned on, but image acquisition based on user triggers, although the execution can be performed, will introduce acquisition delay.
  • a sensor whose power consumption in the on state is less than that in the on state of the image acquisition module is used to collect through distance to trigger the image acquisition module to enter the acquisition state from the off state, or enter from the sleep state
  • image acquisition is performed, on the one hand, the power consumption of the terminal is saved, on the other hand, the acquisition of unnecessary images is reduced, and the power consumption caused by processing unnecessary images is reduced.
  • a camera with a larger predetermined depth of field can be used to collect the face image of the pickup person of the express package, so that the pickup person only needs to enter the predetermined depth of field.
  • the camera of the express terminal will be triggered to collect face images.
  • the verification can be completed by querying the binding relationship between the facial biometric characteristics of the pickup person and the account information of the express package described in the foregoing embodiment.
  • the pickup person For example, according to the pickup person’s face image and the information of each express package stored in the warehouse, query the location of the container where the express package that the pickup person wants to pick up (the query of the express package will be implemented in the subsequent As described in the example), when the pickup user is close to the camera of the express terminal, he can complete the verification of the delivery of the express package, and can display on the display of the express terminal that the package to be picked up is displayed on the display of the express terminal.
  • the storage location in the container (the storage location can also be played by voice). In this way, the user walks to the express terminal to complete the verification and obtains the storage location of the express package. The user can go directly to the corresponding pickup container to pick up the package, which simplifies the user operating.
  • the picker first queries the storage location of the courier he wants to pick up on the courier terminal (similarly, for related query content, refer to the description of the subsequent embodiment), and then go to the storage location to receive After receiving the express package, the picker is approaching the express terminal with the received express package. Because the camera of the express terminal has a large predetermined depth of field, it can quickly trigger the automatic collection of the face of the picker The image and the express image of the express package, and the matching verification between the two is performed according to the method of any of the foregoing embodiments. After the verification is passed, the package can be prompted by voice or other means to verify that the package is out of the warehouse, and the picker can pick it up directly Express parcels, thus speeding up the verification process when parcels are delivered.
  • step 502 the target area where the express document is located is obtained from the first express image.
  • the required target area can be determined according to the requirements for obtaining document information. For example, when the acquisition requirement is to acquire the document number, it is determined that the required target area is the imaging area of the barcode in the express document. For another example, when the acquired information is the acquired document number and other information other than the document number, it is determined that the required target area is the imaging area of the entire express document. For example, when a document is put into the warehouse, it is considered that the acquisition requirement includes document information other than the document number; for another example, when the warehoused document is out of the warehouse, it can be considered that the acquisition requirement only includes the document number.
  • the above is only an example, and it can be specifically implemented according to the requirements for obtaining document information to meet different requirements in different scenarios.
  • the target area may be an imaging area of the document graph formed by the entire document being collected.
  • the imaging area of the document in the first express image that is, the document image
  • the background area outside the imaging area of the document directly identify the entire first express image.
  • this will cause the background area to interfere with the recognition of the imaging area of the document. Therefore, it is also possible to initially identify the imaging area of the document (that is, the document image), and then only further identify the document imaging area, which improves the recognition rate of the document. , On the other hand, reduce unnecessary interference.
  • the document image is an imaging of the document.
  • the documents may be various types of documents, for example, express documents, invoices, tickets, or waybills.
  • the document has document information, and the document information includes at least one of the following: the document number of the document, for example, the courier number of the courier ticket; the ticket number of the ticket, and the invoice number of the invoice.
  • the document information further includes: related information of the document holder on the document, for example, the contact information of the holder, the address information of the holder, the issuance time information of the document, and the validity of the document. Other document information such as time information is not limited to the document number.
  • the target area may also be the imaging area of the barcode in the receipt.
  • the information on the bill may have been recorded in the network device, but the current user operating with the bill needs to obtain at least the bill identification corresponding to the barcode in the bill, and then the bill information of the entire bill can be obtained from the network device.
  • the barcode includes: a one-dimensional code and/or a two-dimensional code; the two-dimensional code includes: a rectangular two-dimensional code and/or a circular two-dimensional code.
  • the barcode may be: one or more.
  • the document is the express document corresponding to the express package.
  • the target area where the express document is obtained from the first express image may be the area corresponding to the entire express document as the target area, or it may be Use at least part of the area where the express documents are located as the target area.
  • the express delivery document information may include at least one of recipient information and express delivery identification information of the first express package.
  • the recognition and acquisition of the recipient information and the express identification information may include at least one of the following: the text area of the express document is determined from the first express image as the target area, wherein the text area is the Chinese of the express document
  • the imaging area of the character the recipient information can be obtained by recognizing the character area.
  • the barcode area of the express document is determined from the first express image as the target area, wherein the barcode area is the imaging area of the barcode in the express document, and the express identification can be obtained by identifying the barcode area information.
  • the text area of the express receipt is not limited to: numbers, letters and/or Chinese, etc.
  • the imaging area where these text are located is the text area. Therefore, the text area can also be obtained by identifying the text area.
  • Express identification information, and the form of the barcode area includes but not limited to two-dimensional code/one-dimensional code, etc., and the express identification information can also be obtained by identifying the barcode area.
  • the detection of the receipt information may be realized by a detection model.
  • the method further includes: deforming the target area cut out from the first express image Processing, so that the target area after deformation processing meets the image processing requirements of the detection model.
  • the deformation processing may include at least one of the following: transforming the target area of the first shape by stretching and/or compressing to obtain the target area of the second shape, wherein the second shape may be a standard shape , And/or the first shape is a non-standard shape. Pixel up-sampling is performed on the target area lower than the preset image resolution to obtain the target area at least equal to the preset image scenic spot.
  • the target area in the first direction is rotated and/or mirrored to obtain the target area in the second direction, for example, the target area in which the text direction is reversed is flipped to the target area with the correct text orientation.
  • Perform inverse perspective transformation on the target area to obtain the target area with the same depth of field in each sub-area. For example, when collecting express receipts, if a certain part of the receipt is closer to the separate camera of another part, the depth of field of each part of the collected receipt may be different, and a perspective effect is shown in the first image.
  • a target area with no difference in perspective effect is obtained. In this way, after the target area after the deformation process is input into the detection model, on the one hand, the detection model can quickly detect the receipt information, and on the other hand, the detection accuracy can be improved.
  • edge detection processing may be performed on the first express image to determine the position information of the barcode area in the first express image; For the location information of the barcode area in the express image, crop the first express image to obtain the image of the barcode area; identify the image of the barcode area to obtain the express identification information of the first express package.
  • the cropped barcode area is inclined, after obtaining the image of the barcode area, the image of the barcode area may be corrected; the image of the corrected barcode area may be recognized to obtain the express identification information.
  • the edge detection involved in the embodiments of the present disclosure is a basic problem in image processing and computer vision.
  • the purpose of the edge detection is to identify points with obvious brightness changes in a digital image.
  • Significant changes in image attributes usually reflect important events and changes in attributes, including (i) discontinuities in depth, (ii) discontinuities in surface orientation, (iii) changes in material properties, and (iv) changes in scene lighting.
  • Edge detection is a research field in image processing and computer vision, especially in feature extraction. Through edge detection, the barcode area in the first express image can be extracted, and through the affine transformation method, the image of the barcode area after the correction is cut to obtain the image of the barcode area after the correction, and then the OCR recognition is performed.
  • the target area by determining the target area from the first express image, it is equivalent to separating the target area and the background area containing the express document information. In this way, only the target area can be detected. On the one hand, unnecessary detection is reduced and the rate of obtaining receipt information is increased. On the other hand, after the target area is obtained through preliminary recognition, only the target area is detected, reducing the number of areas outside the target area. The background area interferes with the detection of document information, thereby reducing the phenomenon of low detection accuracy caused by interference, and improving the detection accuracy.
  • step 503 the image of the target area is detected, and the express bill information contained in the express bill is obtained.
  • the image of the target area can be input to the detection model, and the detection model can output the bill information by means such as feature extraction.
  • the detection model may be a machine learning model or a deep learning model.
  • the express delivery document information may include: the delivery record of the express delivery, and the delivery record includes the document information and the delivery information, and the delivery information may include: delivery time, delivery location, delivery equipment, etc. .
  • express delivery document information may also include: delivery record of express delivery, the delivery record includes the document information and delivery information, and the delivery information may include: delivery time, delivery location, and delivery equipment And other information.
  • the recognized document information may also include: electronic inventory information of the invoice.
  • the express delivery document information may include at least one of recipient information and express delivery identification information.
  • the process of obtaining the recipient information and the express delivery identification information may include: identifying the barcode area in the first express delivery image to obtain the express delivery identification information of the first express delivery package; performing image text recognition on the first express delivery image to obtain the first express delivery image The recipient information of the package. Performing image character recognition on the collected first express image can obtain the recipient information and express identification information of the first express package described in the first express image.
  • optical character recognition generally refers to an electronic device (such as a scanner or a digital camera) inspecting characters printed on paper, and detecting dark characters. The bright pattern determines its shape, and then uses character recognition to translate the shape into computer text; that is, for printed characters, optically convert the text in a paper document into a black and white dot matrix image file, and A technology that converts the text in an image into a text format through recognition software for further editing and processing by word processing software.
  • the above-mentioned image and text recognition of the collected first express image can mainly perform OCR recognition for the information on the packaging (parcel) of the first express, and may include the identification of the express order, which includes the identification of the barcode area of the express document, to Obtain the recipient information of the first express package and the express identification information of the first express package described in the first express image.
  • the recipient information of the aforementioned first express package may include the recipient's name, contact number, address, etc.
  • the barcode area in the first courier image is cut to obtain the image of the barcode area, and the image of the barcode area is corrected to identify the corrected image.
  • Image of barcode area After the image of the barcode area is corrected, it further includes: verifying whether the image of the barcode area after the correction is valid; if the image of the barcode area after the correction is valid, trigger the step of identifying the image of the barcode area after the correction .
  • the verification of whether the barcode information is valid includes: judging whether the barcode length in the barcode area is equal to the length threshold; in the case that the barcode length in the barcode area is equal to the length threshold, determining the barcode area after the correction The image is valid; or, it is determined whether the barcode in the barcode area meets the barcode encoding rules; if the barcode in the barcode area meets the barcode encoding rules, it is determined that the image in the corrected barcode area is valid.
  • the express terminal can determine whether the barcode in the first express image is a preset length threshold, and if not, the barcode is determined to be invalid, for example, due to factors such as occlusion, angle, etc., it can output a prompt message to re-collect the image. Exemplarily, it can also be judged whether the above barcode meets the barcode encoding rules, so as to filter invalid barcode information.
  • the foregoing barcode encoding rules may be barcode rules set according to the needs of various existing express companies, and invalid barcode filtering may be performed according to regular matching.
  • Regular matching is a matching filtering rule based on regular expressions. Regular expression is a kind of logical formula for string manipulation. It uses some pre-defined specific characters and the combination of these specific characters to form a "rule string”. This "rule string" is used to express the pair of characters.
  • a filtering logic for strings is a kind of logical formula for string manipulation. It uses some pre-defined specific characters and the combination of these specific characters to form a "
  • the express terminal may verify the above-mentioned barcode information through the express inventory management interface, that is, the above-mentioned OCR identification and/or the above-mentioned verification process may be completed through the cloud server, or may be completed locally at the express terminal, which is not done in the embodiment of the present disclosure. limit.
  • the above model may be trained based on a sample image with a relatively fixed background (the input image is a grayscale image).
  • a smaller algorithm model can be used to integrate face recognition algorithms, OCR algorithms, etc., and run on low-profile open source boards. Compared with running on hosts and servers, it greatly saves equipment costs. And reduce the difficulty of deployment.
  • the information obtained by identifying the text area of the express document is called the first identification information
  • the information obtained by identifying the barcode area of the express document is called the second identification information
  • it may be based on the first identification.
  • the information and the second identification information are cross-checked, and the accuracy of the information is ensured through the cross-checking.
  • OCR optical character recognition
  • the first identification information is obtained by recognizing text information in the image through OCR technology or the like.
  • the text area is sent to the cloud device, and the first identification information obtained by the cloud device recognizing the text area is received.
  • the barcode area may also be sent to the cloud device, and the second identification information obtained by the cloud device identifying the barcode area may be received.
  • the terminal device may also recognize the text area and the barcode area by itself to obtain the first identification information and the second identification information.
  • the express delivery document information contained in the express delivery document is obtained according to the first identification information and/or the second identification information.
  • the degree of matching between the first identification information and the second identification information reaches a preset matching degree value
  • the document number in the first identification information and the second document number in the second identification information are compared one by one to count the number of matches; according to the number of matches and the total number of characters, The degree of matching is determined. For example, when the matching degree reaches 90% or more than 95%, it is determined that the matching degree between the first identification information and the second identification information reaches the preset matching degree value.
  • the express delivery document information of the express delivery document is determined according to the first identification information or the second identification information.
  • the express delivery bill information is determined according to the identification status information of the first identification information and the second identification information. For example, if the document number contains a certain number of characters, or the encoding of the document number satisfies certain rules, if one of the first identification information and the second identification information has fewer or more characters, etc. When one of the matching rules of the document number is used, the express document information is determined according to the other.
  • the method further includes: when the first identification information and the second identification information do not meet a preset matching condition, outputting prompt information to be collected again. If the match between the first identification information and the second identification information does not meet the preset matching conditions, a prompt message will be output, which will trigger a re-collection. In this way, it can be reduced automatically when accurate express receipt information cannot be obtained due to one collection. Trigger another collection to obtain accurate express information.
  • the delivery verification of the express parcel can be performed based on the express delivery document information and the first face image of the pickup person of the express parcel. For details, please refer to the foregoing embodiment.
  • the courier terminal may include, but is not limited to, a first camera, a transceiver, and a display screen.
  • This method describes the process of express inquiry. For example, the pickup person can check whether he has an express package to be picked up through the express terminal.
  • the information processing method includes the following steps.
  • step 601 a second face image is collected.
  • the express terminal may include a face recognition system, which may collect images periodically, for example, may collect a second face image corresponding to a user who comes to inquire about express packages.
  • step 602 the second face image is sent to the server through the transceiver; the first face image is used to instruct the server to find the second identity information that matches the second face image.
  • step 603 the to-be-taken express delivery information determined by the server based on the second identity information is received through the transceiver.
  • the courier information to be fetched that is determined by the server and matches the second identity information may include: storage location information of the courier package.
  • the foregoing storage location information may be used to indicate the shelf information of the warehouse where the foregoing express package is located, so as to quickly find the express storage location.
  • the identity information of the user to which the express package belongs can be bound when generating the storage location information of the express package, and the courier package to be received can be found through the above identity information, and the storage location of the express package can be determined.
  • the above-mentioned second identity information may be a target mobile phone number
  • the server may query the express delivery information bound to the target mobile phone number.
  • the aforementioned express delivery information to be picked up may include express delivery information that the user has not picked up.
  • the server can query the pickup express information associated with the target mobile phone number, and then obtain the storage location information of the express package.
  • the server may send the foregoing storage location information to the express terminal.
  • step 604 the pending delivery information is displayed on the display screen.
  • the aforementioned storage location information may include at least one of the following information: warehouse identification information, shelf identification information, identification information of storage compartments in the shelf, and express delivery identification information.
  • the aforementioned warehouse identification information can be used to indicate the warehouse where the express is stored
  • the aforementioned shelf identification information can be used to indicate the shelf for express storage
  • the identification information of the storage compartment in the aforementioned shelf can be used to indicate the storage compartment for express storage
  • the aforementioned express delivery identification information can include but It is not limited to the information used to identify the courier, such as the express number and the express barcode.
  • the courier terminal can receive the storage location information through the transceiver, and then display the storage location information on the display of the courier terminal to indicate to the user the courier and its storage location, so that the courier can be found quickly. Carry out outbound or pickup.
  • the user after obtaining the storage location information, the user can go to the corresponding storage location to pick up the courier without requiring staff to go to the warehouse to find the courier. On the one hand, it can quickly find and locate the courier storage location, on the other hand. Save labor costs and improve processing efficiency in the express delivery process.
  • the storage location information is information obtained after the user's identity verification is passed, the identity verification during the user's delivery process can also be implemented, which increases the security of express delivery management.
  • Fig. 7 shows a schematic flow chart of an express inquiry method.
  • the express terminal can interact with a server and a third-party service server.
  • the express inquiry method may include the following steps:
  • step 701 the express terminal detects an image change through the first camera. That is, the first camera may periodically obtain images to detect whether a user, a face, etc. appear in the scene.
  • a face image is obtained and sent to module 1 of the server.
  • the acquired face image may be sent to the server, and the module 1 may be a business service module for face image processing, and specifically may be a face recognition software program.
  • module 1 is a collection of development tools used by software engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, and the like. That is, a toolkit provided by a third-party service provider to realize a certain function of a software product.
  • step 703 according to the face image group returned by the server, the most likely face image is filtered and selected.
  • Module 1 can provide a face recognition function, query and return a face image group that meets the similarity requirements (the similarity exceeds a preset threshold), and the express terminal can determine a face image as a face recognition result.
  • step 704 the face image is sent to module 2 of the server, and module 2 matches the mobile phone number bound to the face.
  • the stored face image has a binding relationship with the mobile phone number.
  • Module 2 can provide a cloud business service for querying identity information in the server. The server can determine the user’s target mobile phone number through the cloud business service and feed it back to Express terminal.
  • step 705 query and obtain the pending express list of the mobile phone number through the third-party service server.
  • the express terminal may send a query instruction containing the target mobile phone number to a third-party service server (such as a third-party inventory management system server), and the third-party service server may obtain a pending express list of the target mobile phone number and feed it back to the express terminal.
  • a third-party service server such as a third-party inventory management system server
  • multiple express terminals can be deployed in multiple regions. After the facial data is uploaded to the cloud platform, it can be distinguished by device number, etc., to achieve the smallest possible range of facial feature matching, improve matching speed, Reduce the false recognition rate. Exemplarily, the above-mentioned binding relationship between the face template image and the identity information can be lifted or changed as required.
  • the above device number can default to the collected courier terminal machine number. If not, one can be generated when the courier terminal runs the application for the first time to ensure the uniqueness of the device number.
  • other user terminal devices may also communicate with the above-mentioned express terminal via the network.
  • the specific method may be that the user can interact with the above-mentioned express terminal through an application (APP) installed on the terminal device (such as a mobile phone) .
  • APP application
  • prompt information indicating that the personal registration information is missing can be output, such as when the user manually enters the mobile phone number, etc.
  • identity information is inquired by express delivery, for a user who has not been registered, the user may be prompted to collect face and bind face image information with identity information.
  • the binding of the face and the identity information can also be completed through the aforementioned express terminal.
  • a prompt message indicating the lack of personal registration information can be output, for example, when the user manually enters personal information such as mobile phone number for express delivery
  • the user can be prompted to collect face and bind face feature information with identity information.
  • the method further includes: receiving a query instruction containing third identity information; in response to the query instruction, obtaining a face template image corresponding to the third identity information; In the case of face template image information corresponding to the information, a third face image is collected through the first camera; the third identity information and the corresponding third face image are sent to the server through the transceiver.
  • the user can make a manual query on the courier terminal.
  • the user can input the third identity information to trigger the above query instruction, and the courier terminal can obtain the face template image corresponding to the third identity information.
  • the exemplary The aforementioned obtaining of the face template image corresponding to the aforementioned third identity information can be executed in the courier terminal or the cloud server, and will not be repeated here. If the face template image corresponding to the third identity information is not found, that is, the user has not registered the face information, the express terminal may collect the third face image of the user through the first camera. Further, the third identity information and the corresponding third face image may be sent to the server through the transceiver, and the server may store the information to complete the user information registration.
  • the courier terminal may receive information input by the user to make a query.
  • the user may input the aforementioned third identity information at the courier terminal to query whether there is a courier to be picked up.
  • the express terminal can query the corresponding bound express information through the mobile phone number entered by the user, and display it to the user.
  • the method may include the following steps, wherein the following steps have been described in the previous embodiment and will not be repeated here:
  • step 801 the first camera detects an image change.
  • step 802 a face image is acquired and sent.
  • the server can realize face recognition by module 3.
  • step 803 according to the returned face group, filter and select the most probable face.
  • step 804 the mobile phone number is bound to the module 4 of the face picture sending server.
  • the stored face pictures have a corresponding relationship with the mobile phone number, and the user's target mobile phone number can be determined through the cloud service of the module 4.
  • the binding information is sent to the third-party service server.
  • the courier terminal can send the above-mentioned binding information to a third-party service server (such as a courier management system), and the third-party service server can store the binding information of the user, and then the user can pick up the package through the aforementioned methods (including face recognition) ,Inquire.
  • This scenario is suitable for the user to enter the mobile phone number for manual query, and if the corresponding express order is found, the binding interface can be called to perform face binding.
  • the express terminal in the embodiment of the present disclosure may also be applied to information registration in the express delivery storage scenario.
  • the method includes the following steps: collecting the express image of the express package through the camera of the express terminal, and obtaining the recipient information of the express package and the express identification information of the express package described in the express image; The courier warehousing information of the person information and the courier identification information; the above-mentioned express warehousing information is sent to the third-party management system for storage registration. .
  • the aforementioned express image may be understood to include an image of a courier package, such as an image collected within a camera range when the courier is in storage, such as an image collected when a worker carries the courier when the courier is in storage.
  • the above-mentioned express terminal includes a camera for collecting express images, that is, the staff can hold the express station in the image collection area of the express terminal, and the express terminal can collect and recognize express images through the camera.
  • the face recognition described above can also be combined to determine or register the identity of the staff responsible for the courier warehousing, and the facial image acquisition and identity verification can also be performed through the camera.
  • the courier warehousing information can include the staff’s identity. Face image.
  • you can also inquire about the inbound express information that different staff are responsible for. The process is similar to express pickup inquiry, so I won't repeat it here.
  • the express delivery can be more standardized and safer and easier to inquire.
  • FIG. 9 is a schematic flowchart of an express delivery storage method disclosed in an embodiment of the present disclosure.
  • the execution subject in the embodiment of the present disclosure may be the aforementioned express terminal, which can interact with the server and the third-party service server.
  • the method may include:
  • the second camera detects an image change; sends camera frame data.
  • the second camera is different from the first camera for face recognition, and may be an industrial camera camera to obtain black and white images, which is convenient for barcode recognition.
  • the above-mentioned camera frame data is the collected express image, which can be sent to the module 5 in the figure (such as the express order picture clipping SDK) for processing.
  • step 902 through the image processing service provided by the module 5, the barcode area can be cropped and the image can be corrected, and then returned to the express terminal.
  • step 903 the forwarded courier note is sent.
  • the converted express order can be sent to the server, and the server can use module 6, such as a cloud service with express order identification function, to perform the cloud identification of the express order and obtain the information of the converted express order.
  • step 904 the mobile phone number, barcode, other OCR information, etc. are returned to the express terminal.
  • step 905 storage (express number, recipient's mobile phone number).
  • the express terminal sends the storage information including the above-mentioned express number and the recipient's mobile phone number to a third-party service server (such as a third-party inventory management system server), and the third-party service server can register, so as to facilitate accurate and safe inventory management.
  • a third-party service server such as a third-party inventory management system server
  • the express terminal can also carry out advertisement recommendations.
  • the express terminal may also: obtain a target feature tag matching the first face image of the pickup person from the server, and at least one target recommendation information corresponding to the target feature tag; The above-mentioned at least one target recommendation information is displayed on the display screen.
  • the express terminal may obtain a target feature tag matching the first facial image of the pickup person from the server, and the server may store a plurality of feature tags for describing facial feature attributes.
  • the face feature information of the first face image can be obtained through the trained neural network model, that is, the face feature is extracted, and the target feature tag that matches the first face image is determined, so as to realize the directional information recommendation .
  • Facial features are more accurately extracted and analyzed through face recognition to determine the user's feature label.
  • the feature label may include user attributes (such as gender, age, race, etc.) and user behavior (smiling, calm, etc.).
  • a variety of feature tags and the mapping relationship between the feature tags and the recommendation information can be preset, and at least one target recommendation information can be determined through the target feature tags.
  • the foregoing target information recommendation may be performed in a scenario where the user queries express delivery or express pickup.
  • the foregoing target recommendation information may be displayed while the express terminal displays storage location information for the user.
  • the characteristic tags of the user can also be determined by recognizing the user's wear, so as to recommend corresponding advertisements, such as clothing of similar style, which is not limited here.
  • the above information recommendation can be implemented based on cloud services (such as advertising Software Development Kit).
  • the existing delivery application can be used to achieve advertisement pull, and finally the corresponding advertisement is displayed on the express terminal.
  • the above method can quickly track and capture the facial features of the express pickup person under the premise of a general-purpose common camera, and realize the directional information recommendation to the user by obtaining accurate feature tags.
  • the multimedia information corresponding to the user portrait corresponding to the facial information is output.
  • One or more kinds of information that can identify the user's identity can be extracted from the face information.
  • the user portrait of the user who is currently processing the receipt can be obtained according to the face information.
  • the user portrait may be used to indicate at least one of the following information: the user's preferences; the user's dislikes; the user's consumption needs; the user's consumption habits; the user's ability to pay; the user's aesthetic ability, etc.
  • the multimedia information is output according to the user portrait.
  • the terminal device may have waiting time such as information entry in the process of document entry or exit, during which time multimedia information suitable for the user portrait can be output, which can improve user experience.
  • the multimedia information includes various promotion information, for example, advertisements of goods and/or services.
  • FIG. 10 shows a schematic flowchart of another information processing method. As shown in FIG. 10, the above method includes:
  • the aforementioned storage location information includes at least one of the following information: warehouse identification information, shelf identification information, identification information of storage compartments in the shelf, and express delivery identification information.
  • the information processing apparatus includes hardware structures and/or software modules corresponding to each function.
  • the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the present disclosure.
  • the embodiments of the present disclosure may divide the information processing apparatus into functional units according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present disclosure is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • Example 1 provides an information processing method. This solution is mainly based on express OCR recognition and extracts all text information on the express delivery note. Among them, the identification of the express order number uses both text OCR recognition and bar code recognition, and a cross-checking method is used to ensure high accuracy in this complex scene.
  • the advertising machine detects the express order, takes a picture and cuts out the part of the express order; the advertising machine returns the part of the express order to the cloud, and the cloud server performs OCR detection, and the barcode area and the express order The number area is detected, and barcode recognition and OCR recognition are used respectively.
  • Obtain one identification information for the barcode at the same time, obtain another identification information based on OCR identification; through the cross comparison of these two identification information, the cross comparison result of this express tracking number will be obtained.
  • the cloud then cross-checks the two results to get a high-confidence result; if the comparison results are inconsistent, the confidence is low, and you can re-detect, take pictures and identify.
  • Face recognition verification When the express delivery is out of the warehouse, the user scans the express order to identify the tracking number and mobile phone number, and the all-in-one machine recognizes the user's face at the same time, and associates the user according to the previously completed face and mobile phone number binding relationship
  • the account number ie mobile phone number
  • the self-service delivery method only takes 1 to 2 seconds, which greatly improves the processing efficiency.
  • Example 2 This example provides a method for non-sense binding between mobile phone number and face, which can specifically include:
  • This product adopts a non-sense binding method. Because the user's delivery of express delivery is greatly related to his identity, the relationship between the user's face and mobile phone number can be gradually enhanced by tracking the user's delivery behavior; , User A receives a courier (mobile phone number is A), assuming the association relationship is 60%, if next time A receives a courier with mobile phone number A again, it can increase to 90%, if it happens again, it can be considered 99 %.
  • This parameter is a hypothetical parameter, which is actually a big data predicted value. Then we set a threshold as the threshold of the association relationship (corresponding to the aforementioned preset value), and then the binding relationship between the user's face and the mobile phone number can be completed.
  • the user's portrait After obtaining the user's facial feature information and other identifying user identity information, the user's portrait can be obtained according to the user's identity, thereby realizing the targeted placement of target recommendation information.
  • FIG. 11 shows a schematic flowchart of an express delivery method in an exemplary embodiment.
  • the method may be executed by any device, for example, may be executed by an express terminal, or may be executed by a server.
  • the method may include the following processing, wherein the execution order between the steps is not limited in specific implementation, and the processing that has been described in any of the previous embodiments will not be described in detail:
  • step 1101 an express image of the express package collected by at least one camera of the terminal device is acquired, where the express image is used to acquire the express document information of the express package.
  • the terminal device in the embodiment of the present disclosure may include, but is not limited to, a courier terminal.
  • the terminal device can collect the courier image and the first face image through the same camera, or it can collect the courier image and the first person through different cameras. Face image.
  • the express package may be a package to be out of the warehouse, and the express document information includes but is limited to at least one of the recipient information of the express package and the express identification information.
  • a first face image collected by the at least one camera is acquired.
  • the first facial image may be the facial image of the person who picked up the parcel.
  • step 1103 based on the express image and the first face image, perform the delivery operation of the express package.
  • the execution of the operation can be performed by judging whether the first facial image matches the express document information obtained from the express image. Delivery operations of express parcels.
  • the terminal device can collect the first face image and the express image through a camera, and perform the delivery operation of the express package based on the express image and the first face image. For example, the terminal device can verify the express image and the first face image, obtain the verification result, and perform the outbound operation of the express package based on this. For another example, the terminal device may send a request to the server to check out the warehouse, and the server will check the check result based on the request, and return the check result to the terminal device. The terminal device may check the express package based on the check result. Outbound operation.
  • the delivery request may include the first facial image and the express image, or the terminal device processes the first facial image and the express image, for example, one or more of feature extraction, document detection, text recognition, barcode recognition, etc. Item, and send the library out request included in the processed result to the server, which is not limited in the embodiment of the present disclosure.
  • the method can be applied to a server, and the server can receive a warehouse-out request sent by a terminal device.
  • the warehouse-out request includes the first face image and the express image, and the first facial image and the express image are verified to obtain the verification result , And determine the outbound operation of the express package based on this, or the server may return an instruction for the outbound operation of the express package to the terminal device, so that the terminal device performs the outbound operation of the express package.
  • the account database can be queried based on the express receipt information to obtain the first account information; by judging the first face image Whether the registered face data corresponding to the first account information matches, it is determined whether the express package passes through the warehouse.
  • the first account information may include, but is not limited to, mobile phone number, ID number and other information.
  • the registered face data corresponding to the first account information may be obtained based on the binding relationship between the user's pre-bound account information and the face data. If the first face image matches the registered face data, it can be shipped out after the verification is passed.
  • the above-mentioned registered face data can be information that uniquely identifies a person's identity, such as facial features/iris features, etc.
  • the registered face data can be compared with the person's face image to determine whether the person who picked up is genuine Recipient.
  • the first face image when determining whether the first face image matches the express receipt information obtained from the express image, it may also be based on the first face image to query the face database to obtain the The person identity information of the first face image; by judging whether the face identity information is consistent with the recipient information included in the courier receipt information, and/or by judging whether the face identity information corresponds to waiting Whether the express delivery information is consistent with the express delivery identification information included in the express delivery document information, it is determined whether the express package passes through the warehouse.
  • the facial identity information can be a mobile phone number, which is to obtain the mobile phone number of the pickup person based on the face image of the pickup person, and check whether the mobile phone number is consistent with the recipient's mobile phone number written in the express receipt on the express package. Or, find the corresponding mobile phone number based on the person's face image, and then find the corresponding courier to be picked up based on the mobile phone number, and check whether the courier to be picked up is consistent with the courier logo on the courier package currently to be taken . If the above comparisons are consistent, the verification is confirmed and the express package can be passed out of the warehouse.
  • the above-mentioned comparison method based on whether the courier information to be retrieved corresponding to the facial identity information is consistent with the courier identification information realizes the express delivery out of the warehouse, so that text recognition is not required, so that the recipient information of the express is not the real name.
  • the download can also be successfully released.
  • the express package in the case that the first face image matches the express document information obtained from the express package image, it is determined that the express package passes through the warehouse; and the status of the express package can be checked Update to the state of being shipped out. Of course, whether to change the outbound status can be an optional operation.
  • the express package in a case where the first face image does not match the obtained express delivery document information, it is determined that the express package is abnormally shipped out of the warehouse.
  • warning information for example, voice prompt
  • the express package can be put into the express locking device, or the user verification information can be prompted to input.
  • the picker can place the courier package to be taken on the shelf of the courier terminal.
  • the courier locking device on the courier terminal can be opened, such as the courier locking device It can be a storage space connected to the supporting platform, and the storage space can be automatically opened, so that the express package enters the storage space automatically, thereby protecting the express package from being taken away by fraud.
  • document identification processing is performed on at least a part of the express image to obtain the express document information, wherein the express document information includes at least one of the recipient information of the express package and the express identification information One kind.
  • the express document information includes at least one of the recipient information of the express package and the express identification information One kind.
  • the courier document information and the first face image Based on the courier document information and the first face image, perform an outbound operation of the courier package. For example, barcode recognition processing may be performed on the barcode area of the express image to obtain the express delivery identification information; and/or text recognition processing may be performed on the text area of the express image to obtain the recipient information and the At least one of express delivery identification information.
  • Performing document identification processing on at least a part of the express image to obtain the express document information may include: performing edge detection processing on at least a part of the express image to obtain position information of the barcode area; At least a part of the barcode area is cropped to obtain the image of the barcode area; the image of the barcode area is recognized to obtain the express delivery identification information.
  • the method further includes: verifying whether the image of the barcode area is valid by comparing at least one of the barcode length and the barcode content contained in the image of the barcode area; Recognizing the image of the barcode area includes: when it is determined that the image of the barcode area is valid, recognizing the image of the barcode area.
  • the performing document identification processing on at least a part of the express image to obtain the express document information includes: performing express document detection on the express image to obtain position information of the express document in the express image; based on the The location information of the express document is obtained from the express image including at least a part of the target area image of the express document; the target area image is recognized to obtain the express document information.
  • the express delivery identification information includes: first express delivery identification information obtained by performing text recognition processing on at least a part of the express delivery image, and second express delivery identification information obtained by performing barcode recognition processing on at least a part of the express delivery image;
  • the execution of the outbound operation of the express package based on the express delivery document information and the first face image includes: determining whether the first express delivery identification information and the second express delivery identification information match; In the case where the first express delivery identification information and the second express delivery identification information match, based on the first express delivery identification information or the first identification information and the first face image, perform a check on the express package Outbound operation.
  • the matching comparison between the first express identification information and the second express identification please refer to the matching comparison between the first identification information and the second identification information in the foregoing embodiment for details, which will not be described in detail.
  • the performing the outbound operation of the express package based on the express delivery receipt information and the first face image includes: querying an account database based on the express delivery receipt information to obtain first account information; Whether the first face image matches the registered face data corresponding to the first account information, it is determined whether the express package passes through the warehouse.
  • the performing an outbound operation of the express package based on the express receipt information and the first face image includes: querying a face database based on the first face image to obtain the first face image The facial identity information of the image; by judging whether the facial identity information is consistent with the recipient information included in the courier receipt information, and/or by judging whether the courier information to be fetched corresponding to the facial identity information is consistent with Whether the express delivery identification information included in the express delivery bill information is consistent, it is determined whether the express package passes through the warehouse.
  • the acquiring the express image and the first face image included in the express collected by at least one camera of the terminal device includes: receiving the express delivery request message sent by the terminal device, and the express delivery
  • the library request message includes at least one of the express image and the first face image.
  • this scenario can be that the picker puts the courier package to be taken on the courier terminal.
  • the courier terminal can collect the courier image of the courier package and the first face image of the picker.
  • the courier terminal can Both images are sent to the server by express delivery request message, and the server extracts the express document information in the express image, and performs matching verification between the first face image and the express document information; or, the express terminal will express The image is sent to the server, and the server returns the courier document information recognized by the courier terminal, and the courier terminal performs matching verification between the first face image and the courier document information. Or, it can also be that the courier terminal sends the first face image to the server, and the server returns the identity information of the pickup person identified by the courier terminal, and the courier terminal itself based on the identity information and the courier identified in the courier image Document information is compared.
  • the express terminal can send at least one of the collected express image and the first face image to the server, and the server assists in image recognition or Match checking and other processing.
  • the method further includes: in response to receiving a courier query request, obtaining a second face image collected by the at least one camera; based on the second facial image, obtaining information about the storage location of the courier to be taken by the user; The storage location information is displayed on the display screen of the terminal device.
  • the courier terminal can receive the courier query request and collect the second face image of the picker. Among them, the storage location information of the courier to be picked up by the user is obtained. The face image is sent to the server, and the storage location information returned by the server is received.
  • the express terminal may forward the express inquiry request to the server after receiving the express inquiry request of the pickup person, and also send the collected second face image to the server, and the server obtains the storage The location information is then sent to the courier terminal, and the courier terminal side displays the storage location information.
  • the method further includes: obtaining a target feature tag matching the first face image, and obtaining at least one target recommendation information corresponding to the target feature tag; and displaying the at least one target feature tag on the display screen of the terminal device Target recommendation information.
  • the executing the delivery operation of the express package based on the express image and the first facial image includes: sending the first facial data and express data to a server, So that the server determines whether the first face image matches the express image, wherein the first face data includes the first face image and/or the features of the first face image Information, the courier data includes at least a part of the courier image and/or the courier document information obtained from the courier image; receiving instruction information sent by the server, wherein the instruction information is used to indicate Whether the express parcel passes out of the warehouse.
  • the server performs outbound verification, that is, the server performs matching verification between the express receipt information and the first facial image.
  • the express image and the first face image are both collected by the express terminal.
  • the express terminal can directly send the first face image to the server, or send the first face image through feature extraction.
  • the face feature data, or the first face image and face feature data can be sent.
  • the express delivery data may be at least a part of the express image corresponding to the express package, or at least a part of the express image and/or express document information.
  • the express document information may be express identification information obtained by identifying the barcode area, or through Perform text detection in the text area to obtain recipient information.
  • the express terminal or server may also send an express delivery notification message to the express management system after the express package is delivered, where the express delivery notification message includes the information of the express package and the first face image
  • the information of the express package may include at least a part of the express image corresponding to the express package and/or the express document information, so that the express management system performs the outbound record.
  • the express delivery method of the embodiments of the present disclosure can be executed by a terminal device or a server, and the processing described in the foregoing embodiments of the information processing method can be flexibly executed on the terminal device side or on the server side.
  • the disclosed embodiments do not limit the specific execution device of the method, as long as the terminal device and the server cooperate to realize the outbound control of the express package.
  • the processing related to the detection and identification of the courier document information in the courier image can be executed on the terminal device, on the server side, or by the two in cooperation.
  • the recognition processing of the face image, or the matching verification based on the face image and the express receipt information can also be performed on any device.
  • the express delivery method of the embodiment of the present disclosure performs the delivery control of the express package by verifying the express image of the express package and the face image of the picker, so that the identity of the picker can be verified. Verify whether the picker is the real recipient of the express package, so that the express package is safer from the warehouse.
  • FIG. 12 shows a schematic flow chart of an express delivery method in an exemplary embodiment.
  • the method may be executed by a server. As shown in FIG. 12, the method may include:
  • an express delivery request message sent by a terminal device is received.
  • the express delivery request message includes: first facial data and express data, wherein the first facial data includes data collected by the terminal device.
  • the first face image of the pickup person and/or the characteristic information of the first face image, the express delivery data includes at least a part of the express image of the express package and/or the express receipt obtained from the express image information.
  • step 1202 based on the first face data and courier data, the delivery check of the courier package is performed.
  • step 1203 an express delivery response indicating whether the delivery check is passed is sent to the terminal device.
  • performing the outbound verification of the express package may include: judging based on the first facial data that the corresponding facial identity information corresponds to the express data Whether the recipient information included in the courier document information is consistent, and/or the courier package is determined by determining whether the courier information to be retrieved corresponding to the facial identity information is consistent with the courier identification information included in the courier document information Whether it is out of the library.
  • it may also be determined whether the express package is out of the warehouse by determining whether the first facial image matches the registered facial data corresponding to the first account information obtained from the express data.
  • the express delivery document detection can also be performed on the express delivery image to obtain the location information of the express delivery document in the express delivery image. Based on the location information of the express document, a target area image containing at least a part of the express document is obtained from the express image, and the target area image is recognized to obtain express document information.
  • the server can also perform the processing of obtaining corresponding personal identity information based on the first face image.
  • the server can also perform the detection of the text area, the detection of the barcode area, and the validity judgment of the barcode area.
  • the express delivery method of the embodiment of the present disclosure performs the delivery control of the express package by verifying the express data of the express package and the face data of the picker, so that the identity of the picker can be verified. Verify whether the picker is the real recipient of the express package, so that the express package is safer from the warehouse.
  • an embodiment of the present disclosure provides an electronic device that includes a processor 1301 and a memory 1302.
  • the electronic device 1300 may also include a bus 1303, and the processor 1301 and the memory 1302 may communicate with each other through the bus 1303.
  • the bus 1303 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 1303 can be divided into an address bus, a data bus, a control bus, and so on. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
  • the electronic device 1300 may further include an input/output device 1304, and the input/output device 1304 may include a display screen, such as a liquid crystal display screen.
  • the memory 1302 is used to store one or more programs containing instructions; the processor 1301 is used to call the instructions stored in the memory 1302 to execute some or all of the method steps mentioned in any embodiment of the present disclosure.
  • the memory may be various types of memory, such as random access memory, read-only memory, flash memory, etc.
  • the memory can be used for information storage, for example, storing computer executable instructions and the like.
  • the computer-executable instructions may be various program instructions, for example, target program instructions and/or source program instructions.
  • the processor may be various types of processors, for example, a central processing unit, a microprocessor, a digital signal processor, a programmable array, a digital signal processor, an application specific integrated circuit, or an image processor.
  • the processor may be connected to the memory through a bus.
  • the bus may be an integrated circuit bus or the like.
  • the electronic device may further include: a communication interface, and the communication interface may include: a network interface, for example, a local area network interface, a transceiver antenna, and the like.
  • the communication interface is also connected to the processor and can be used for information transmission and reception.
  • the electronic device further includes a human-computer interaction interface.
  • the human-computer interaction interface may include various input and output devices, such as a keyboard, a touch screen, and the like.
  • the above electronic device is implemented to collect a second face image through a camera; the second face image is sent to the server through a transceiver; the second face image is used to instruct the server to find the The second identity information matched by the second face image, and the storage location information of the express package matching the second identity information is determined; the storage location information is received through the transceiver; wherein the storage location information is used to indicate the express package The shelf information of the warehouse; the above storage location information is displayed on the display screen.
  • implementing the above electronic device can receive the second face image sent by the express terminal; search for the second identity information that matches the second face image; determine the express delivery that matches the second identity information
  • the storage location information of the package sending the storage location information to the express terminal, and the storage location information is used to indicate the shelf information of the warehouse where the express package is located.
  • the above-mentioned electronic device may be a terminal device (for example, an express terminal) shown in FIG. 14.
  • the terminal equipment includes: a top camera, which can scan the courier package placed in the placement area to obtain the first courier image, or scan the courier document on the package to obtain the courier document image; the terminal device also includes: face recognition The camera can collect face images and extract biological characteristics.
  • the terminal device may also include a human-computer interaction interface such as a touch display screen for receiving user operations and processing based on user operations.
  • the touch display screen can be used for man-machine interactive operations of express parcel storage or storage.
  • the device shown in FIG. 14 is a network terminal connected to the network; that is, the terminal device has a communication module. After the communication device discovers that the package carrying documents such as the courier is distributed to the terminal device, the terminal device will automatically scan the document information on the courier note during the parcel storage process. After obtaining the account information in the bill information, the user terminal that has a binding relationship established between the account information and the account information sends pickup information. The pickup information can remind the user to pick up the goods.
  • the pick-up information includes at least: pick-up address. In some embodiments, the pick-up information may further include: pick-up voucher and so on.
  • a document warehousing staff such as a courier can place the document in the placement area for scanning, and then can simply complete the document warehousing, without manually editing a message to notify the corresponding customer to pick up the goods.
  • a fill light is also provided on the top of the terminal device. In the case of insufficient ambient light, the fill light can be turned on or the brightness Adjust to collect images of express parcels and/or faces with sufficient brightness.
  • the device may include: an image acquisition module 1501, an information acquisition module 1502, and an operation execution module 1503.
  • the image acquisition module 1501 is used to collect the first express image corresponding to the first express package, and to collect the first face image of the picker of the first express package.
  • the information obtaining module 1502 is configured to obtain the courier document information of the first courier package included in the first courier image, and the courier document information includes recipient information and the courier identification information of the first express package At least one of.
  • the operation execution module 1503 is configured to execute an express delivery operation of the first express package based on the express receipt information of the first express package and the first face image.
  • the operation execution module 1503 is specifically configured to: obtain the first identity information matching the first face image; when the first identity information matches the recipient of the first express package If the information is consistent, confirm that the express delivery verification of the first express package is passed, and/or update the storage status corresponding to the first express package to the delivered state.
  • the operation execution module 1503 is further configured to output warning information when the first identity information is inconsistent with the recipient information of the first express package.
  • the apparatus may further include: an information display module 1504.
  • the image acquisition module 1501 is also used to acquire a second face image.
  • the information acquisition module 1502 is further configured to send the second face image to a server; the second face image is used by the server to search for second identity information that matches the second face image;
  • the server determines to-be-obtained express delivery information based on the second identity information.
  • the information display module 1504 is configured to display the pending express delivery information on the display screen.
  • the information acquiring module 1502 when used to acquire the express document information of the first express package included in the first express image, it includes: performing edge detection processing on the first express image, and determining The position information of the barcode area in the first express image; based on the position information of the barcode area in the first express image, crop the first express image to obtain the image of the barcode area; identify the barcode The image of the area, the express identification information of the first express package is obtained.
  • the information obtaining module 1502 when used to obtain the courier document information of the first courier package included in the first courier image, it includes: obtaining the destination of the courier document from the first courier image. Area; detecting the image of the target area to obtain express delivery document information contained in the express delivery document, the express delivery document information including at least one of the recipient information and the express delivery identification information.
  • the device further includes: an acquisition trigger module 1505, configured to detect whether an acquisition object enters a predetermined depth of field before the image acquisition module acquires the first express image , And when it is detected that the first express package has entered the predetermined depth of field, the image capturing function of the image capturing module is turned on.
  • an acquisition trigger module 1505 configured to detect whether an acquisition object enters a predetermined depth of field before the image acquisition module acquires the first express image , And when it is detected that the first express package has entered the predetermined depth of field, the image capturing function of the image capturing module is turned on.
  • the information acquisition module 1502 when used to acquire the target area where the express document is located from the first express image, it includes at least one of the following: the first express image determines the express The text area of the document is used as the target area, where the text area is the imaging area of the text in the express document; the barcode area of the express document is determined from the first express image as the target area, wherein, The barcode area is an imaging area of the barcode in the express receipt.
  • the information acquisition module 1502 when used to detect the image of the target area and obtain the express document information contained in the express document, it includes: acquiring the first document obtained by detecting the text area of the express document. Identification information; acquiring the second identification information obtained by detecting the barcode area of the courier document; in the case that the first identification information and the second identification information meet a preset matching condition, according to the first identification information and /Or the second identification information obtains the express delivery document information contained in the express delivery document.
  • the operation execution module 1503 is specifically configured to: when it is determined that the first biological feature corresponding to the first face image has a binding relationship with the first account information, determine to The delivery verification of the express package is passed; wherein, the recipient information of the first express package includes: the first account information.
  • the operation execution module 1503 is further configured to: output a verification prompt for inputting verification information in a case where the binding relationship between the first biometric feature and the first account information is not established; The entered verification information is used to perform an express delivery operation of the first express package.
  • FIG. 17 is a structural diagram of an express delivery device provided by an embodiment of the present disclosure.
  • the device may include: an image acquisition module 1701 and a warehouse delivery processing module 1702.
  • the image acquisition module 1701 is configured to acquire the express image of the express package collected by at least one camera of the terminal device, wherein the express image is used to acquire the express document information of the express package;
  • the outbound processing module 1702 is configured to perform the outbound operation of the express package based on the express image and the first face image.
  • the outbound processing module 1702 is specifically configured to perform the outbound operation of the express package by determining whether the first face image matches the express delivery document information obtained from the express image.
  • the outbound processing module 1702 is configured to perform the outbound operation of the express package based on the express image and the first face image, including : Sending the first face data and express delivery data to the server, so that the server determines whether the first face image matches the express delivery image, wherein the first face data includes the first face Image and/or feature information of the first face image, the express delivery data includes at least a part of the express image and/or the express document information obtained from the express image; receiving the information sent by the server The instruction information, wherein the instruction information is used to indicate whether the express package passes through the warehouse.
  • the outbound processing module 1702 when used to perform the outbound operation of the express package based on the express image and the first face image, includes: performing at least part of the express image Perform document identification processing to obtain the express document information, where the express document information includes at least one of the recipient information of the express package and express identification information; based on the express document information and the first The face image is used to perform the delivery operation of the express package.
  • the outbound processing module 1702 is used to perform document recognition processing on at least a part of the express image to obtain the express document information, including: performing barcode recognition processing on the barcode area of the express image , Obtain the express delivery identification information; and/or perform text recognition processing on the text area of the express delivery image to obtain at least one of the recipient information and the express delivery identification information.
  • the outbound processing module 1702 is configured to perform document recognition processing on at least a part of the express image, and when obtaining the express document information, it includes: performing edge detection processing on at least a part of the express image , Obtain the location information of the barcode area; perform cropping processing on at least a part of the express image to obtain the image of the barcode area; identify the image of the barcode area to obtain the express identification information.
  • the outbound processing module 1702 is further configured to: before identifying the image of the barcode area, compare at least one of the barcode length and the barcode content contained in the image of the barcode area , Verifying whether the image of the barcode area is valid; the identifying the image of the barcode area includes: identifying the image of the barcode area when it is determined that the image of the barcode area is valid.
  • the outbound processing module 1702 is used to perform document identification processing on at least a part of the express image to obtain the express document information, including: performing express document inspection on the express image to obtain the express document information.
  • the outbound processing module 1702 when used to perform the outbound operation of the express package based on the express delivery receipt information and the first face image, includes: determining the first express delivery identification information And the second express identification information; in the case that the first express identification information matches the second express identification information, based on the first express identification information or the first identification information and the first Face image, execute the outbound operation of the express package; wherein the express delivery identification information includes: the first express delivery identification information obtained by performing text recognition processing on at least a part of the express delivery image, The second express delivery identification information obtained by performing barcode recognition processing on at least a part of the express delivery image.
  • the outbound processing module 1702 when used to perform the outbound operation of the express package based on the express document information and the first face image, includes: based on the express document information The account database is queried to obtain the first account information; by judging whether the first face image matches the registered face data corresponding to the first account information, it is determined whether the express package passes through the warehouse.
  • the outbound processing module 1702 when used to perform the outbound operation of the express package based on the express receipt information and the first face image, includes: based on the first person The face image queries the face database to obtain the face identity information of the first face image; by judging whether the face identity information is consistent with the recipient information included in the express receipt information, and/or, It is determined whether the express delivery information corresponding to the facial identity information is consistent with the express delivery identification information included in the express delivery document information, and it is determined whether the express package passes through the warehouse.
  • the image acquisition module 1701 when the device is applied to a server, the image acquisition module 1701, when acquiring the express image and the first face image, includes: receiving the express delivery request message sent by the terminal device, the express delivery request message At least one of the express image and the first face image is included.
  • the device further includes a query processing module 1703, configured to: in response to receiving an express query request, obtain a second face image collected by the at least one camera; based on the The second face image obtains the storage location information of the courier to be picked up by the user; the storage location information is displayed on the display screen of the terminal device.
  • a query processing module 1703 configured to: in response to receiving an express query request, obtain a second face image collected by the at least one camera; based on the The second face image obtains the storage location information of the courier to be picked up by the user; the storage location information is displayed on the display screen of the terminal device.
  • the device further includes an information recommendation module 1704, configured to obtain a target feature tag matching the first face image, and to obtain at least one corresponding to the target feature tag.
  • an information recommendation module 1704 configured to obtain a target feature tag matching the first face image, and to obtain at least one corresponding to the target feature tag.
  • One piece of target recommendation information; the at least one piece of target recommendation information is displayed on the display screen of the terminal device.
  • FIG. 19 is a structural diagram of an express delivery device provided by an embodiment of the present disclosure.
  • the device may include: a message receiving module 1901, a verification processing module 1902, and a response sending module 1903.
  • the message receiving module 1901 is configured to receive an express delivery request message sent by a terminal device.
  • the express delivery request message includes: first face data and express delivery data, where the first face data includes the The first facial image of the pickup person and/or the characteristic information of the first facial image collected by the terminal device, the express data includes at least a part of the express image of the express package and/or is obtained from the express image Courier receipt information that arrives.
  • the verification processing module 1902 is configured to perform delivery verification of express parcels based on the first face data and express data.
  • the response sending module 1903 is configured to send an express delivery response indicating whether the delivery check is passed to the terminal device.
  • the verification processing module 1902 is specifically configured to: query a face database based on the first face image to obtain the person identity information of the first face image; and determine the face identity information Whether it is consistent with the recipient information included in the courier bill information, and/or, by determining whether the to-be-taken courier information corresponding to the facial identity information is consistent with the courier identification information included in the courier bill information, it is determined Whether the express parcel passes out of the warehouse.
  • the verification processing module 1902 is specifically configured to: query an account database based on the express receipt information to obtain first account information; and determine that the first face image corresponds to the first account information Whether the registered face data matches, it is determined whether the express package passes through the warehouse.
  • the verification processing module 1902 when used to perform outbound verification of express parcels based on the first face data and express data, includes: performing express document inspection on the express image to obtain the express The location information of the document in the express image; based on the location information of the express document, obtain a target area image containing at least a part of the express document from the express image; perform recognition processing on the target area image to obtain State the courier bill information.
  • the embodiments of the present disclosure provide a computer storage medium that stores computer-executable instructions; after the computer-executable instructions are executed, the information processing method or express delivery provided by one or more of the foregoing embodiments can be implemented. Library method.
  • the computer storage medium may include various recording media with recording functions, for example, various storage media such as CD, floppy disk, hard disk, magnetic tape, optical disk, U disk, or mobile hard disk.
  • the optional computer storage medium may be a non-transitory storage medium, which can be read by the processor, so that the computer executable instructions stored on the computer storage medium can be obtained and executed by the processor to realize the foregoing The information processing method or express delivery method provided by any technical solution.
  • the embodiments of the present disclosure also provide a computer program product, the computer program product includes computer-executable instructions; after the computer-executable instructions are executed, they can implement the information processing method or express delivery provided by one or more of the foregoing embodiments. Library method.
  • the computer program includes a computer program tangibly contained on a computer storage medium.
  • the computer program includes program code for executing the method shown in the flowchart.
  • the program code may include instructions corresponding to the steps of the method provided in the embodiments of the present disclosure.
  • the disclosed devices and methods provided in the present disclosure can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined or integrated To another system, or some features can be ignored or not implemented.
  • the coupling, or direct coupling, or communication connection between the displayed or discussed components, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical, or other forms.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, which may be located in one place or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present disclosure.
  • the functional units in the various embodiments of the present disclosure can be all integrated into one processing module, or each unit can be individually used as a unit, or two or more units can be integrated into one unit;
  • the unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
  • any embodiment of the present disclosure can be arbitrarily combined to form a new method embodiment or device embodiment without conflict.
  • the method embodiments disclosed in any embodiment of the present disclosure can be combined arbitrarily to form a new method embodiment if there is no conflict.
  • the device embodiments disclosed in any embodiment of the present disclosure can be combined arbitrarily to form a new device embodiment if there is no conflict.

Abstract

The present disclosure relates to an information processing method and apparatus, a method and apparatus for taking an express delivery parcel out of storage, an electronic device, and a storage medium. The information processing method can be applied to an express delivery terminal, and comprises: acquiring a first express delivery image corresponding to a first express delivery parcel; obtaining express delivery waybill information, comprised in the first express delivery image, of the first express delivery parcel, wherein the express delivery waybill information comprises at least one of recipient information and express delivery identification information of the first express delivery parcel; acquiring a first facial image of a person who collects the first express delivery parcel; and executing an operation for taking an express delivery parcel out of storage on the first express delivery parcel on the basis of the express delivery waybill information of the first express delivery parcel and the first facial image.

Description

信息处理Information processing 技术领域Technical field
本公开涉及计算机技术领域,具体涉及一种信息处理方法、快递出库方法及装置、电子设备及存储介质。The present disclosure relates to the field of computer technology, in particular to an information processing method, an express delivery method and device, electronic equipment, and a storage medium.
背景技术Background technique
如今快递行业快速发展,日均快递件的数量很大。由于快递派送时间在白天的工作时间,而这个时间居民很多是在上班,不方便收快递,因此快递代收点应运而生。快递员会将快递放在快递代收点中,居民再从快递代收点将快递领走。Nowadays, the express delivery industry is developing rapidly, and the number of daily express items is very large. Since the express delivery time is during working hours during the day, and many residents at this time are at work, it is not convenient to receive express delivery, so express delivery collection points came into being. The courier will put the courier in the courier collection point, and the residents will pick it away from the courier collection point.
发明内容Summary of the invention
本公开实施例提供了一种信息处理方法、快递出库方法及装置、电子设备及存储介质。The embodiments of the present disclosure provide an information processing method, an express delivery method and device, electronic equipment, and a storage medium.
本公开实施例第一方面提供一种信息处理方法,应用于快递终端,所述方法包括:采集第一快递包裹对应的第一快递图像;获取所述第一快递图像中包括的所述第一快递包裹的快递单据信息,所述快递单据信息包括收件人信息、所述第一快递包裹的快递标识信息中的至少一种;采集所述第一快递包裹的取件人的第一人脸图像;基于所述第一快递包裹的快递单据信息以及所述第一人脸图像,执行第一快递包裹的快递出库操作。A first aspect of the embodiments of the present disclosure provides an information processing method, which is applied to a courier terminal, and the method includes: collecting a first courier image corresponding to a first courier package; and acquiring the first courier image included in the first courier image Express document information of the express package, the express document information includes at least one of recipient information and express identification information of the first express package; collecting the first face of the person who picked up the first express package Image; based on the courier bill information of the first courier package and the first face image, perform the courier outbound operation of the first courier package.
本公开实施例第二方面提供一种快递出库方法,所述方法包括:获取通过终端设备的至少一个摄像头采集到的快递包裹的快递图像,其中,所述快递图像用于获取所述快递包裹的快递单据信息;获取通过所述至少一个摄像头采集到的第一人脸图像;基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作。A second aspect of the embodiments of the present disclosure provides an express delivery method, the method comprising: obtaining an express image of an express package collected by at least one camera of a terminal device, wherein the express image is used to obtain the express package Obtain the first facial image collected by the at least one camera; perform the delivery operation of the express package based on the express image and the first facial image.
本公开实施例第三方面提供一种快递出库方法,所述方法包括:接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括:第一人脸数据和快递数据,其中,所述第一人脸数据包括所述终端设备采集的取件人的第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括快递包裹的快递图像的至少一部分和/或从所述快递图像中获取到的快递单据信息;基于所述第一人脸数据和快递数据,进行快递包裹的出库校验;向所述终端设备发送用于指示所述出库校验是否通过的快递出库响应。A third aspect of the embodiments of the present disclosure provides an express delivery method, the method includes: receiving an express delivery request message sent by a terminal device, the express delivery request message includes: first face data and express data, wherein The first face data includes the first face image of the pickup person collected by the terminal device and/or the characteristic information of the first face image, and the express delivery data includes at least the first face image of the express package. Part of and/or the express document information obtained from the express image; based on the first face data and express data, perform outbound verification of express parcels; send to the terminal device to indicate the outbound The warehouse check whether the express delivery response is passed.
本公开实施例第四方面提供一种电子设备,包括处理器以及存储器,所述存储器用于存储一个或多个程序,所述一个或多个程序被配置成由所述处理器执行,所述程序包括用于执行如本公开实施例第一方面或第二方面或第三方面任一方法中所描述的部分或全部步骤。A fourth aspect of the embodiments of the present disclosure provides an electronic device, including a processor and a memory, the memory is used to store one or more programs, the one or more programs are configured to be executed by the processor, and The program includes some or all of the steps described in the first aspect, the second aspect, or the third aspect of the embodiment of the present disclosure.
本公开实施例第五方面提供一种信息处理装置,该装置应用于快递终端,该装置包括:图像采集模块,用于采集第一快递包裹对应的第一快递图像,以及采集所述第一快递包裹的取件人的第一人脸图像;信息获取模块,用于获取所述第一快递图像中包括的所述第一快递包裹的快递单据信息,所述快递单据信息包括收件人信息、所述第一快递 包裹的快递标识信息中的至少一种;操作执行模块,用于基于所述第一快递包裹的快递单据信息以及所述第一人脸图像,执行所述第一快递包裹的快递出库操作。A fifth aspect of the embodiments of the present disclosure provides an information processing device, which is applied to a courier terminal, and the device includes: an image acquisition module for collecting a first courier image corresponding to a first courier package, and collecting the first courier The first face image of the person who picked up the package; an information acquisition module for acquiring the express document information of the first express package included in the first express image, the express document information including recipient information, At least one of the courier identification information of the first courier package; an operation execution module for executing the processing of the first courier package based on the courier document information of the first courier package and the first face image Express delivery operation.
本公开实施例第六方面提供一种快递出库装置,该装置包括:图像获取模块,用于获取通过终端设备的至少一个摄像头采集到的快递包裹的快递图像,其中,所述快递图像用于获取所述快递包裹的快递单据信息;以及,获取通过所述至少一个摄像头采集到的第一人脸图像;出库处理模块,用于基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作。A sixth aspect of the embodiments of the present disclosure provides an express delivery device. The device includes an image acquisition module for acquiring an express image of an express package collected by at least one camera of a terminal device, wherein the express image is used for Obtain the courier document information of the express package; and, obtain the first facial image collected by the at least one camera; the warehouse-out processing module is configured to execute based on the express image and the first facial image The delivery operation of the express package.
本公开实施例第七方面提供一种快递出库装置,该装置包括:消息接收模块,用于接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括:第一人脸数据和快递数据,其中,所述第一人脸数据包括所述终端设备采集的取件人的第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括快递包裹的快递图像的至少一部分和/或从所述快递图像中获取到的快递单据信息;校验处理模块,用于基于所述第一人脸数据和快递数据,进行快递包裹的出库校验;响应发送模块,用于向所述终端设备发送用于指示所述出库校验是否通过的快递出库响应。A seventh aspect of the embodiments of the present disclosure provides an express delivery device. The device includes: a message receiving module configured to receive an express delivery request message sent by a terminal device, the express delivery request message including: first face data And express data, wherein the first facial data includes the first facial image of the pickup person collected by the terminal device and/or the characteristic information of the first facial image, and the express data includes the express package At least a part of the express image and/or express document information obtained from the express image; a verification processing module, configured to perform outbound verification of express parcels based on the first face data and express data; The response sending module is configured to send an express delivery response indicating whether the delivery check is passed to the terminal device.
本公开实施例第八方面提供一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,其中,所述计算机程序使得计算机执行如本公开实施例第一方面或第二方面或第三方面任一方法中所描述的部分或全部步骤。An eighth aspect of the embodiments of the present disclosure provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, wherein the computer program enables a computer to execute the first aspect or the second aspect of the embodiments of the present disclosure Or part or all of the steps described in any method of the third aspect.
附图说明Description of the drawings
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly describe the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art.
图1是本公开实施例公开的一种信息处理方法的流程示意图;FIG. 1 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure;
图2是本公开实施例公开的一种信息处理方法的流程示意图;2 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure;
图3是本公开实施例公开的另一种信息处理方法的流程示意图;3 is a schematic flowchart of another information processing method disclosed in an embodiment of the present disclosure;
图4是本公开实施例公开的一种信息处理方法的流程示意图;4 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure;
图5是本公开实施例公开的一种信息处理方法的流程示意图;FIG. 5 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure;
图6是本公开实施例公开的一种信息处理方法的流程示意图;FIG. 6 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure;
图7是本公开实施例公开的一种快递查询方法的流程示意图;FIG. 7 is a schematic flowchart of an express query method disclosed in an embodiment of the present disclosure;
图8是本公开实施例公开的一种人脸与手机号绑定方法流程示意图;FIG. 8 is a schematic flowchart of a method for binding a face and a mobile phone number disclosed in an embodiment of the present disclosure;
图9是本公开实施例公开的一种快递入库方法的流程示意图;FIG. 9 is a schematic flowchart of an express delivery storage method disclosed in an embodiment of the present disclosure;
图10是本公开实施例公开的一种信息处理方法的流程示意图;FIG. 10 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure;
图11是本公开实施例公开的一种快递出库方法的流程示意图;FIG. 11 is a schematic flowchart of an express delivery method disclosed in an embodiment of the present disclosure;
图12是本公开实施例公开的一种快递出库方法的流程示意图;FIG. 12 is a schematic flowchart of an express delivery method disclosed in an embodiment of the present disclosure;
图13是本公开实施例公开的一种电子设备的结构示意图;FIG. 13 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present disclosure;
图14是本公开实施例提供的一种终端设备的结构示意图;FIG. 14 is a schematic structural diagram of a terminal device provided by an embodiment of the present disclosure;
图15是本公开实施例提供的一种信息处理装置的结构示意图;15 is a schematic structural diagram of an information processing device provided by an embodiment of the present disclosure;
图16是本公开实施例提供的一种信息处理装置的结构示意图;16 is a schematic structural diagram of an information processing device provided by an embodiment of the present disclosure;
图17是本公开实施例提供的一种快递出库装置的结构示意图;Figure 17 is a schematic structural diagram of an express delivery device provided by an embodiment of the present disclosure;
图18是本公开实施例提供的一种快递出库装置的结构示意图;18 is a schematic structural diagram of an express delivery device provided by an embodiment of the present disclosure;
图19是本公开实施例提供的一种快递出库装置的结构示意图。Fig. 19 is a schematic structural diagram of an express delivery device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本公开部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to enable those skilled in the art to better understand the solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only These are part of the embodiments of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms “first”, “second”, etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本公开的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present disclosure. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
通常,对于放入快递代收点的快递,工作人员首先会将快递信息录入系统(入库),比如单号、用户手机号等,然后再给用户发送短信,告知用户一个取件码,用户凭取件码进行领取。用户来到快递代收点后,将取件码告知工作人员,工作人员去仓库寻找快递,再把快递交给用户。Normally, for the courier placed in the courier collection point, the staff will first enter the courier information into the system (warehouse), such as the tracking number, the user’s mobile phone number, etc., and then send a text message to the user to inform the user of a pickup code. Pick up with the pickup code. After the user comes to the courier collection point, he informs the staff of the pickup code, and the staff goes to the warehouse to find the express, and then delivers the express to the user.
有鉴于此,本公开实施例提供了一种信息处理方法,下面对本公开实施例进行详细介绍。In view of this, the embodiments of the present disclosure provide an information processing method, and the following describes the embodiments of the present disclosure in detail.
本公开实施例可以由终端设备来执行,终端设备可以包括但不限于诸如应用于快递管理的信息处理装置(快递终端)、具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的移动电话、膝上型计算机或平板计算机之类的其它便携式设备。还应当理解的是,在某些实施例中,所述终端设备并非便携式通信设备,而是可以为具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的台式计算机。The embodiments of the present disclosure may be executed by a terminal device, and the terminal device may include, but is not limited to, an information processing device (express terminal) applied to express delivery management, a mobile phone with a touch-sensitive surface (for example, a touch screen display and/or a touch panel) , Laptop or tablet computer and other portable devices. It should also be understood that, in some embodiments, the terminal device is not a portable communication device, but may be a desktop computer with a touch-sensitive surface (for example, a touch screen display and/or a touch pad).
图1是本公开实施例公开的一种信息处理方法的流程示意图,该方法可以应用于快递终端。如图1所示,该方法可以包括:FIG. 1 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure, and the method can be applied to a courier terminal. As shown in Figure 1, the method may include:
在步骤101中,采集第一快递包裹对应的第一快递图像。In step 101, a first express image corresponding to the first express package is collected.
其中,上述第一快递图像可以理解为包含第一快递包裹的图像,比如在该第一快递包裹处于摄像头范围内采集到的图像,具体如快递包裹出入库时采集到的图像,或者用户在领取快递时采集到的图像,等等。可以将待出库的快递包裹称为第一快递包裹,用户可以拿着第一快递包裹站在快递终端的图像采集区域,快递终端即可对该第一快递包裹进行快递图像的采集,采集到的图像可以称为第一快递图像。Among them, the above-mentioned first express image can be understood as including the image of the first express package, such as the image collected within the camera range of the first express package, specifically the image collected when the express package enters and exits the warehouse, or the user receives Images collected during express delivery, etc. The express package to be shipped out of the warehouse can be called the first express package. The user can hold the first express package and stand in the image collection area of the express terminal, and the express terminal can collect the express image of the first express package. The image can be called the first express image.
在步骤102中,获取第一快递图像中包括的所述第一快递包裹的快递单据信息,所述快递单据信息包括收件人信息、所述第一快递包裹的快递标识信息中的至少一种。In step 102, obtain the courier document information of the first courier package included in the first courier image, where the courier document information includes at least one of recipient information and courier identification information of the first courier package .
第一快递包裹上通常都会粘贴有快递单据,可通过对第一快递图像的处理来识别第一快递包裹上的快递单据信息。例如,该快递单据信息包括但不限于:该第一快递包裹的收件人信息(如,收件人的姓名、手机号等)、快递标识信息(如,唯一标识该快递包裹的快递单号)等一项或多项。可获取收件人信息和快递标识信息中的至少一种。此外,快递单据信息的识别可由快递终端执行,也可由快递终端将采集的第一快递图像发送至服务器,并接收服务器识别得到的快递单据信息,本公开实施例对此不进行限制。The first express parcel is usually pasted with the express receipt, and the express receipt information on the first express parcel can be identified by processing the first express image. For example, the express document information includes, but is not limited to: the recipient information of the first express package (such as the recipient’s name, mobile phone number, etc.), express identification information (such as the express number that uniquely identifies the express package) ) One or more items. At least one of recipient information and express delivery identification information can be obtained. In addition, the identification of the courier document information can be performed by the courier terminal, or the courier terminal can send the collected first courier image to the server and receive the courier document information identified by the server, which is not limited in the embodiment of the present disclosure.
在步骤103中,采集所述第一快递包裹的取件人的第一人脸图像。In step 103, the first face image of the picker of the first express package is collected.
该取件人是领取第一快递包裹的用户,可以通过快递终端采集取件人的人脸图像,该人脸图像可以称为第一人脸图像。The pickup person is a user who receives the first express package, and the face image of the pickup person can be collected through the express terminal, and the face image may be called the first face image.
本公开实施例中的快递终端可以周期性地采集图像,并可选地包括人脸识别功能,通过人脸识别技术检测采集到的第一人脸图像中是否包含人脸,或者识别其中包含的人脸,或者,可以利用快递终端上设置的摄像头进行场景中的人脸追踪。The express terminal in the embodiment of the present disclosure may periodically collect images, and optionally include a face recognition function, and use face recognition technology to detect whether the collected first face image contains a face, or to identify the Face, or you can use the camera set on the express terminal to track the face in the scene.
本公开实施例涉及的人脸识别,就是利用图像处理技术分析静态图片或视频序列,从中找出人脸并输出人脸的数目、位置及其大小、身份等一种或多种有效信息;其次,在一些实施例中,可以跟踪人脸,即要在在前面的图像帧中检测到人脸的前提下,在后续帧中继续捕获人脸的位置及其大小等信息。示例性的,对于图像的采集可以周期性的进行,比如,快递终端的摄像头可以每2秒获取一次图像,并执行是否包含人脸的判断过程,以获取人脸图像。若获取的图像中不包含人脸,可以删除上述获取的图像,或者保存一段时间后删除,以节省存储空间。The face recognition involved in the embodiments of the present disclosure uses image processing technology to analyze static pictures or video sequences to find faces and output one or more effective information such as the number, location and size of the faces, and identity; secondly In some embodiments, human faces can be tracked, that is, on the premise that the human face is detected in the previous image frame, information such as the position and size of the human face should be captured in subsequent frames. Exemplarily, the image collection may be performed periodically. For example, the camera of the express terminal may obtain an image every 2 seconds and execute a process of determining whether a human face is included to obtain a human face image. If the acquired image does not contain a human face, you can delete the acquired image above, or save it for a period of time and delete it to save storage space.
在一示例性的实现方式中,快递终端可以包括但不限于第一摄像头、第二摄像头、收发器和显示屏,其中,可以通过快递终端的第一摄像头采集第一人脸图像,通过快递终端的第二摄像头采集第一快递图像。在本公开实施例中,用于采集人脸图像的第一摄像头和用于采集快递图像的第二摄像头可以是相同或不同的摄像头。示例性的,用于采集第一快递图像的第二摄像头可以是工业相机摄像头,通过工业相机摄像头采集黑白或彩色图像,便于后续对快递单据信息(例如快递条码、快递文本等一项或多项信息)的识别和获取。并且,第一快递图像和第一人脸图像的采集顺序不限制。例如,可以在用户发出快递出库指令后同时采集第一快递图像和第一人脸图像,其中,该第一快递图像和第一人脸图像可以是分别采集的,或者是第一快递图像和第一人脸图像是包含在一张图像中的,例如,用户将快递包裹置于身前拍摄的一张图像;或者在检测到人物的靠近后启动第一摄像头进行第一人脸图像的采集;或者在检测到包裹放置区域放置有物品时启动第二摄像头进行第一快递图像的采集,本公开实施例对此不做限定。In an exemplary implementation, the courier terminal may include, but is not limited to, a first camera, a second camera, a transceiver, and a display screen, where the first face image can be collected through the first camera of the courier terminal, and the courier terminal The second camera captures the first express image. In the embodiment of the present disclosure, the first camera used to collect facial images and the second camera used to collect express images may be the same or different cameras. Exemplarily, the second camera used to collect the first express image may be an industrial camera camera. The black and white or color image is collected through the industrial camera camera to facilitate the subsequent verification of express document information (such as express bar code, express text, etc.). Information) identification and acquisition. Moreover, the order in which the first express image and the first face image are collected is not limited. For example, the first express image and the first face image may be collected at the same time after the user issues an express delivery instruction, where the first express image and the first face image may be collected separately, or the first express image and The first face image is contained in an image, for example, an image taken by the user placing a courier package in front of him; or the first camera is activated to collect the first face image after detecting the proximity of a person Or when it is detected that there are items placed in the package placement area, the second camera is activated to collect the first express image, which is not limited in the embodiment of the present disclosure.
在步骤104中,基于所述第一快递包裹的快递单据信息以及所述第一人脸图像,执行所述第一快递包裹的快递出库操作。In step 104, an express delivery operation of the first express package is performed based on the express receipt information of the first express package and the first face image.
在第一快递包裹出库前,可以通过上述的快递单据信息和第一人脸图像,对取件人进行身份验证,即进行出库验证。比如,可以确定所述第一人脸图像匹配的第一身份信息,在第一身份信息与第一快递包裹的收件人信息一致的情况下,确认第一快递包裹的快递出库验证通过。又比如,可以确定第一快递包裹中的收件人信息对应的第一账号信息,若第一人脸图像所对应的第一生物特征信息与第一账号信息具有绑定关系的情况下,确定对第一快递包裹的出库验证通过。又比如,可以确定第一人脸图像匹配的第一账号信息,并查询第一账号信息对应的待取快递信息,在待取快递信息与第一快递包裹的快递标识信息匹配的情况下,确定对第一快递包裹的出库验证通过。等等,本公开实施例对身份验证的具体实现不做限定。Before the first express parcel leaves the warehouse, the identity verification of the pickup person can be performed through the above-mentioned express document information and the first face image, that is, the outbound verification is performed. For example, the first identity information matched by the first face image may be determined, and in the case that the first identity information is consistent with the recipient information of the first express package, it is confirmed that the express delivery verification of the first express package is passed. For another example, the first account information corresponding to the recipient information in the first express package can be determined. If the first biometric information corresponding to the first face image has a binding relationship with the first account information, determine The warehouse verification of the first express parcel passed. For another example, the first account information matched by the first face image can be determined, and the to-be-collected courier information corresponding to the first account information can be queried, and if the courier-to-be-collected information matches the courier identification information of the first courier package, determine The warehouse verification of the first express parcel passed. And so on, the embodiments of the present disclosure do not limit the specific implementation of identity verification.
示例性的,在获得第一快递图像包括的快递单据信息以及上述的第一人脸图像之后,也可以立即执行快递出库操作,并将上述这些信息记录下来以确认第一快递包裹出库是否存在异常,其中,在一些实施例中,可以在第一人脸图像与快递单据信息匹配的情况下确定第一快递包裹出库正常,而在第一人脸图像与快递单据信息不匹配的情况下确定第一快递包裹出库异常,并可选地在发现异常的情况下发出告警。Exemplarily, after obtaining the express document information included in the first express image and the aforementioned first face image, the express delivery operation can also be performed immediately, and the aforementioned information is recorded to confirm whether the first express package is delivered from the warehouse There is an abnormality. Among them, in some embodiments, it can be determined that the first express package is out of the warehouse normally when the first face image matches the express receipt information, but in the case where the first face image does not match the express receipt information Confirm that the first express package is out of the warehouse abnormally, and optionally send an alarm if an abnormality is found.
本公开实施例的信息处理方法,通过采集快递包裹的取件人对应的第一人脸图像以及快递包裹的第一快递图像,并基于该第一快递图像得到的快递单据信息与第一人脸图像确定快递包裹是否出库,使得该快递包裹出库时经过了取件人与包裹信息之间的校验,实现了在用户取快递过程中的身份核实,从而增加了快递出库管理的安全性。The information processing method of the embodiment of the present disclosure collects the first face image corresponding to the pickup person of the express package and the first express image of the express package, and the express receipt information and the first face image obtained based on the first express image The image determines whether the express package is out of the warehouse, so that the parcel is checked out between the picker and the package information when it is out of the warehouse, and the identity verification of the user in the process of taking the express is realized, thereby increasing the security of the express delivery management Sex.
图2是本公开实施例公开的一种信息处理方法的流程示意图,其中,描述了一种通过快递终端领取快递包裹的流程,并且,本公开实施例中通过比对取件人的第一人脸图像匹配的身份信息与快递包裹的收件人信息是否一致,来进行快递包裹的出库验证。如图2所示,该方法可以包括:FIG. 2 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure, in which a process of receiving an express package through an express terminal is described, and the first person who compares the pickup person in the embodiment of the present disclosure Whether the identity information matched by the face image is consistent with the recipient information of the express package is used to verify the delivery of the express package. As shown in Figure 2, the method may include:
在步骤201中,采集第一快递包裹对应的第一快递图像,并获取第一快递图像中包括的所述第一快递包裹的快递单据信息。In step 201, the first express image corresponding to the first express package is collected, and the express document information of the first express package included in the first express image is obtained.
在步骤202中,采集所述第一快递包裹的取件人的第一人脸图像。In step 202, the first face image of the person who picked up the first express package is collected.
在步骤203中,获取所述第一人脸图像匹配的第一身份信息。In step 203, first identity information matched by the first face image is obtained.
上述快递终端或服务器中可以存储有人脸数据库,包括多个人脸模板以及人脸模板对应的身份信息,其中,上述人脸模板可以包括人脸图像和/或人脸图像的特征信息,上述身份信息可以包括用户的姓名、联系电话、地址等一项或任意多项。即用户可通过快递终端或者手机应用等方式绑定自己的人脸和身份信息。在一些实施例中,快递终端存储有人脸数据库,快递终端可通过对第一人脸图像的人脸识别处理确定用户身份,获得与上述第一人脸图像匹配的第一身份信息。在一些实施例中,服务器存储有人脸数据库情况下,快递终端可向服务器发送第一人脸图像和/或第一人脸图像的特征信息,服务器基于存储的人脸数据库确定与第一人脸图像匹配的第一身份信息,并向快递终端返回。The aforementioned express terminal or server may store a face database, including multiple face templates and identity information corresponding to the face templates, where the face templates may include facial images and/or feature information of the face images, and the aforementioned identity information It can include one or more of the user's name, contact number, address, etc. That is, users can bind their face and identity information through courier terminals or mobile phone applications. In some embodiments, the courier terminal stores a human face database, and the courier terminal can determine the user's identity through face recognition processing on the first facial image, and obtain the first identity information that matches the first facial image. In some embodiments, when the server stores the face database, the courier terminal may send the first face image and/or the feature information of the first face image to the server, and the server determines the first face image and/or the first face image based on the stored face database. The first identity information matched by the image is returned to the express terminal.
在一种实施方式中,快递终端可以将第一人脸图像发送至服务器,由服务器识别第 一人脸图像,并在人脸模板集合中确定与上述第一人脸图像匹配的人脸模板,进而可以查询到与上述第一人脸图像匹配的人脸模板对应的第一身份信息。In an implementation manner, the express terminal may send the first face image to the server, and the server recognizes the first face image, and determines the face template matching the first face image in the face template set. In turn, the first identity information corresponding to the face template matching the first face image can be queried.
其中,本公开实施例中的服务器也称伺服器,是提供计算服务的设备,可以允许多个终端进行访问。上述快递终端可以通过收发器与服务器进行通信,例如,可以通过收发器将上述第一人脸图像和/或第一人脸图像的特征信息发送给服务器,以用于服务器查找与第一人脸图像匹配的第一身份信息。Among them, the server in the embodiment of the present disclosure is also called a server, which is a device that provides computing services and can allow multiple terminals to access. The above-mentioned express terminal may communicate with the server through a transceiver. For example, the above-mentioned first face image and/or characteristic information of the first face image may be sent to the server through the transceiver for the server to search for and the first face image. Image matching first identity information.
下面以服务器查找与第一人脸图像匹配的第一身份信息为例进行说明,但是本领域普通技术人员可以理解,该说明也可以适用于快递终端。The following description will be made by taking the server searching for the first identity information matching the first face image as an example, but those of ordinary skill in the art can understand that the description can also be applied to the express terminal.
具体地,上述服务器可以将第一人脸图像或者第一人脸图像的特征信息与人脸模板进行一一比对,以判断出该人脸模板集合中是否存在与之匹配的人脸模板。在一些实施例中,人脸模板包括人脸图像,相应地,服务器可以分别确定第一人脸图像和人脸模板集合中的各个人脸图像之间的相似度,并基于相似度确定人脸模板集合中与第一人脸图像匹配的人脸模板。在一些实施例中,人脸模板包括人脸特征信息,相应地,服务器可以获取快递终端发送的第一人脸图像的特征信息,或者对快递终端发送的第一人脸图像进行特征提取,得到第一人脸图像的特征信息,并将第一人脸图像的特征信息与各个人脸模板中包括的人脸特征信息进行比对,以确定与第一人脸图像匹配的人脸模板,但本公开实施例不限于此。Specifically, the aforementioned server may compare the first face image or the feature information of the first face image with the face template one by one to determine whether there is a matching face template in the set of face templates. In some embodiments, the face template includes a face image. Accordingly, the server may determine the similarity between the first face image and each face image in the set of face templates, and determine the face based on the similarity. The face template that matches the first face image in the template set. In some embodiments, the face template includes face feature information. Accordingly, the server can obtain the feature information of the first face image sent by the express terminal, or perform feature extraction on the first face image sent by the express terminal to obtain The feature information of the first face image, and compare the feature information of the first face image with the face feature information included in each face template to determine the face template that matches the first face image, but The embodiments of the present disclosure are not limited thereto.
此外,在其他的实现方式中,第一人脸图像匹配的第一身份信息的获取,也可以依据人脸特征之外的其他能够唯一标识用户身份的信息,比如可以依据虹膜特征。示例性的,服务器可以根据第一人脸图像获得快递包裹的取件人的虹膜特征,并通过与虹膜特征库中的模板比对得到相似匹配的人物,进而获得该人物对应的手机号等身份信息,再将该手机号与快递包裹的快递单据信息中的手机号比对,来确定是否是真正的收件人。In addition, in other implementation manners, the acquisition of the first identity information matched by the first face image may also be based on other information that can uniquely identify the user's identity other than facial features, for example, may be based on iris features. Exemplarily, the server may obtain the iris characteristics of the person picking up the express package according to the first face image, and obtain a similarly matched person by comparing it with the template in the iris feature library, and then obtain the identity such as the mobile phone number corresponding to the person Information, and then compare the mobile phone number with the mobile phone number in the express receipt information of the express package to determine whether it is the real recipient.
在一些实施例中,可以判断第一人脸图像或第一人脸图像的特征信息与人脸模板之间的相似度是否大于预设阈值,并将大于预设阈值的人脸模板确定为与第一人脸图像匹配的人脸模板。在一些可选实现方式中,服务器可以存储有上述预设阈值,比如95%或者90%,但本公开实施例不限于此。In some embodiments, it can be determined whether the similarity between the first face image or the feature information of the first face image and the face template is greater than a preset threshold, and the face template greater than the preset threshold is determined as the same The face template that matches the first face image. In some optional implementation manners, the server may store the aforementioned preset threshold, such as 95% or 90%, but the embodiment of the present disclosure is not limited thereto.
在一些实施例中,如果在人脸数据库中找到与第一人脸图像匹配的人脸模板,则可以执行步骤204。而如果在人脸数据库中未找到与第一人脸图像匹配的人脸模板,则可以确定验证未通过,或者提示用户输入账号信息。In some embodiments, if a face template matching the first face image is found in the face database, step 204 may be executed. If a face template matching the first face image is not found in the face database, it can be determined that the verification fails, or the user is prompted to enter account information.
在步骤204中,判断第一身份信息与所述第一快递包裹的收件人信息是否一致。In step 204, it is determined whether the first identity information is consistent with the recipient information of the first express package.
在获得上述第一快递包裹的收件人信息和上述第一身份信息之后,快递终端可以将第一身份信息与收件人信息进行比对,确定两者是否一致。具体的,可以将用户姓名或者账号名、联系电话、地址等任意多项信息分别进行比对,其中,在一些实施例中,可以进行较为严格的验证,相应地,若其中一项信息存在不一致的情况,则确定用户身份验证失败,而若多项信息的比对均一致,则确定确认用户身份验证成功。或者,也可以进行较为宽松的比对,例如,可以仅对其中的一项信息进行比对,例如姓名、账号名或联系电话等,并在该项信息一致的情况下,确定用户身份验证成功。再例如,可以对其 中的多项信息进行比对,并在其中有一项信息比对一致的情况下,即确定用户身份验证成功,本公开实施例对此不做限定。After obtaining the recipient information of the first express package and the first identity information, the express terminal may compare the first identity information with the recipient information to determine whether the two are consistent. Specifically, any multiple pieces of information such as user name or account name, contact number, address, etc. can be compared separately. Among them, in some embodiments, stricter verification can be performed. Accordingly, if one of the information is inconsistent In the case of, it is determined that the user identity verification has failed, and if the comparison of multiple pieces of information is consistent, it is determined that the user identity verification is successful. Alternatively, a looser comparison can be performed. For example, only one item of information, such as name, account name, or contact phone number, can be compared, and if the information is consistent, it is determined that the user identity verification is successful . For another example, multiple pieces of information can be compared, and if one of the pieces of information is consistent, it is determined that the user identity verification is successful, which is not limited in the embodiment of the present disclosure.
若判断结果为一致,继续执行步骤205;否则,继续执行步骤206。If the judgment result is consistent, continue to execute step 205; otherwise, continue to execute step 206.
在步骤205中,在所述第一身份信息与所述第一快递包裹的收件人信息一致的情况下,确认所述第一快递包裹的快递出库验证通过,和/或,将第一快递包裹对应的存放状态更新为已出库状态。In step 205, in the case that the first identity information is consistent with the recipient information of the first express package, it is confirmed that the express delivery verification of the first express package has passed, and/or the first The storage status corresponding to the express package is updated to the out-of-warehouse status.
本步骤中,在上述第一身份信息与上述第一快递包裹的收件人信息一致的情况下,可以确认第一快递包裹出库验证通过,取件人可以拿走该快递包裹。还可以将第一快递包裹的快递标识信息对应的存放状态更新为已出库状态。In this step, in the case where the first identity information is consistent with the recipient information of the first express package, it can be confirmed that the first express package has passed the warehouse verification, and the picker can take the express package. It is also possible to update the storage status corresponding to the express identification information of the first express package to the out-of-warehouse state.
在一种实施方式中,若上述第一身份信息与上述收件人信息一致,还可以生成包含上述第一快递包裹的快递单据信息以及上述第一人脸图像的快递出库信息,并向快递管理系统发送上述快递出库信息,以指示记录该快递包裹的领用详情。其中,在一些实施例中,上述快递出库信息还可以包括出库(领取)时间等相关信息,此处不作限制。In an embodiment, if the first identity information is consistent with the recipient information, it is also possible to generate the express receipt information of the first express package and the express delivery information of the first face image, and send it to the express The management system sends the aforementioned express delivery information to instruct to record the receipt details of the express package. Among them, in some embodiments, the aforementioned express delivery information may also include relevant information such as delivery (collection) time, which is not limited here.
本公开实施例中的快递终端可以通过业务接口服务与快递管理系统进行交互。对于出库或者取件场景,可以向上述快递管理系统发送上述快递出库信息以进行登记,记录该快递出库或被领取,便于更新快递管理。在一些实施例中,上述快递管理系统可以为第三方库存管理系统,但本公开实施例不限于此。The express terminal in the embodiment of the present disclosure can interact with the express management system through business interface services. For outbound or pickup scenarios, the express outbound information can be sent to the express delivery management system for registration, and the express delivery or receipt can be recorded, so as to facilitate the update of express delivery management. In some embodiments, the aforementioned express delivery management system may be a third-party inventory management system, but the embodiments of the present disclosure are not limited thereto.
在步骤206中,在上述第一身份信息与第一快递包裹的收件人信息不一致的情况下,输出警示信息,或者将快递包裹投入快递锁定装置内,或者提示输入用户验证信息。In step 206, when the above-mentioned first identity information is inconsistent with the recipient information of the first express package, output warning information, or put the express package into the express lock device, or prompt to input user verification information.
若上述第一身份信息与第一快递包裹的收件人信息不一致,则验证失败,则表示领取该快递离开的用户不是真正的快递取件人,可以输出上述警示信息。上述警示信息可以包括语音信息,如提示:“取件人不符,请确认!”或者发出预设提示音等。示例性的,还可以包括在显示界面显示的文字信息等多种警示方式,此处不做限制。If the above first identity information is inconsistent with the recipient information of the first express package, the verification fails, which means that the user who picked up the express and left is not the real express picker, and the above warning information can be output. The above-mentioned warning information may include voice information, such as a prompt: "Pick-up person does not match, please confirm!" or a preset prompt sound. Exemplarily, multiple warning methods such as text information displayed on the display interface may also be included, which is not limited here.
除了发出上述的警示信息之外,在另一实施方式中,快递终端还可以将第一快递包裹投入快递锁定装置内。例如,该快递锁定装置可以是与快递终端上的承物台(用于放置快递包裹)连通的一个储物空间,当身份比对异常时快递终端可以控制自动开启该储物空间,并使得承物台上的快递包裹自动进入该储物空间中锁定,达到不再允许取件人取走该快递包裹的目的,从而对快递包裹起到保护作用,避免被冒领取走。在又一实施方式中,快递终端还可以在身份比对异常时,提示取件人输入用户验证信息,比如提示用户输入手机号、身份证号等其他身份标识信息。实际实施中还可以采取其他身份比对异常时的处理方式,本实施例不做限制。In addition to issuing the above warning message, in another embodiment, the express terminal may also drop the first express package into the express locking device. For example, the express delivery lock device may be a storage space connected to the carrier (used to place express parcels) on the express terminal. When the identity comparison is abnormal, the express terminal can control to automatically open the storage space and make the carrier The express package on the object table automatically enters the storage space and locks, so as to achieve the purpose of no longer allowing the picker to take the express package, so as to protect the express package from being taken away by fraud. In another embodiment, the express terminal may also prompt the picker to enter user verification information when the identity comparison is abnormal, for example, prompt the user to enter other identification information such as mobile phone number and ID number. In actual implementation, other handling methods when the identity comparison is abnormal may also be adopted, which is not limited in this embodiment.
在本公开实施例中,快递终端可以通过判断取件人对应的第一身份信息与第一快递包裹的收件人信息是否一致来进行快递包裹的出库校验,在一些其他可行的实现方式中,快递终端也可将采集的第一快递图像和第一人脸图像都发送至服务器侧,由服务器根据第一快递图像识别快递单据信息,并执行快递单据信息与第一人脸图像的匹配校验后,将验证结果返回给快递终端。或者,在另一些可行的实现方式中,快递终端也可是将第一快递图像和第一人脸图像中的其中一种图像发给服务器,服务器负责进行图像信 息的获取,比如,识别第一快递图像中的快递单据信息,或者根据第一人脸图像获取对应的人物身份信息,服务器将识别到的信息返给快递终端,快递终端继续进行验证比对。或者,在又一些可行的实现方式中,即使快递终端将第一快递图像和第一人脸图像两种图像都发送给服务器,服务器也可是根据图像获取到对应的身份信息或者快递单据信息后,将获取的信息返回给快递终端,由快递终端进行信息比对验证。其他实现方式不再列举,本领域技术人员可理解,服务器和快递终端配合实现对快递包裹的出库验证的过程,可由多种实现方式,由服务器和快递终端分别配合执行验证流程的不同处理。In the embodiment of the present disclosure, the express terminal can perform the outbound verification of the express package by judging whether the first identity information corresponding to the picker is consistent with the recipient information of the first express package. In some other feasible implementation manners , The courier terminal can also send the collected first courier image and the first facial image to the server side, and the server recognizes the courier document information according to the first courier image, and performs the matching between the courier document information and the first facial image After verification, the verification result is returned to the express terminal. Or, in some other feasible implementation manners, the express terminal may also send one of the first express image and the first face image to the server, and the server is responsible for acquiring image information, for example, identifying the first express The express bill information in the image, or the corresponding personal identity information obtained from the first face image, the server returns the identified information to the express terminal, and the express terminal continues to verify and compare. Or, in some other feasible implementation manners, even if the express terminal sends both the first express image and the first face image to the server, the server may obtain the corresponding identity information or express receipt information according to the images, The obtained information is returned to the express terminal, and the express terminal will verify the information. Other implementation methods will not be listed. Those skilled in the art can understand that the server and the courier terminal cooperate to implement the process of verifying the delivery of the express package. There are multiple implementation methods, and the server and the express terminal respectively cooperate to perform different processing of the verification process.
本公开实施例的信息处理方法,通过将取件人的人脸图像对应的身份信息与快递包裹的收件人信息进行比对,在两者一致的情况下才确认快递包裹出库验证通过,提高了快递包裹出库的安全性控制,防止快递包裹被冒领等现象。The information processing method of the embodiment of the present disclosure compares the identity information corresponding to the face image of the pickup person with the recipient information of the express package, and confirms that the express package delivery verification is passed only when the two are consistent. Improved the security control of express parcels out of the warehouse, and prevent the express parcels from being falsely collected.
图3是本公开实施例公开的另一种信息处理方法的流程示意图,其中,描述了另一种通过快递终端领取快递包裹的流程,并且,本公开实施例中是通过比对取件人的第一人脸图像对应的生物特征与快递包裹的收件人信息包括的第一账号信息是否具有绑定关系,来进行快递包裹的出库验证。如图3所示,该方法可以包括:FIG. 3 is a schematic flowchart of another information processing method disclosed in an embodiment of the present disclosure, in which another process of receiving a courier package through an express terminal is described, and in the embodiment of the present disclosure, it is compared with the picker Whether the biological feature corresponding to the first face image has a binding relationship with the first account information included in the recipient information of the express package is used to verify the delivery of the express package. As shown in Figure 3, the method may include:
在步骤301中,采集第一快递包裹的取件人对应的第一人脸图像。In step 301, the first face image corresponding to the person picking up the first express package is collected.
在步骤302中,确定所述第一人脸图像所对应的第一生物特征与第一账号信息是否建立有绑定关系。所述第一生物特征可以是对第一人脸图像进行人脸识别得到,该第一生物特征可以包括:人脸特征和/或虹膜特征等可以唯一识别用户的特征。In step 302, it is determined whether the first biological feature corresponding to the first face image has a binding relationship with the first account information. The first biological feature may be obtained by performing face recognition on a first face image, and the first biological feature may include: facial features and/or iris features that can uniquely identify the user.
在一些实施例中,在采集到第一生物特征之后,还可以根据采集的快递包裹上的快递单据图像,自动对该快递单据图像进行检测识别获得快递单据信息,该快递单据信息中可以包括第一账号信息,如此,可以无需在用户特意操作的情况下,可以确定第一生物特征及所述第一账号信息之间的绑定关系。In some embodiments, after the first biometric feature is collected, the courier document image on the collected courier package can also be automatically detected and identified to obtain the courier document information. The courier document information may include the first One account information, in this way, the binding relationship between the first biological feature and the first account information can be determined without the user's special operation.
在一些实施例中,所述第一账号信息包括以下至少之一:移动通信标识;即时通信标识;身份标识。其中,所述移动通信标识包括但不限于手机号;所述即时通信标识可包括各种即时通信应用的账号,例如,微信号、微博号、飞信号等;所述身份标识包括但不限于身份证的身份证号及护照上的护照号。In some embodiments, the first account information includes at least one of the following: a mobile communication identifier; an instant communication identifier; an identity identifier. Wherein, the mobile communication identifier includes but is not limited to a mobile phone number; the instant communication identifier may include various instant messaging application accounts, such as WeChat ID, Weibo account, Fetion ID, etc.; the identity identifier includes but is not limited to The ID number of the ID card and the passport number on the passport.
在一些实现方式中,可以基于快递包裹的快递单据信息查询账号数据库,得到该快递单据信息对应的第一账号信息,比如,该第一账号信息包括但不限于身份证号、微信号等。并且,还可以根据该第一账号信息查询对应的注册人脸数据,注册人脸数据可以是用户之前预先建立了自己的第一账号信息与注册人脸数据的关联关系,所述的注册人脸数据例如可以是注册人脸图像和/或人脸特征。然后可以比对快递包裹的取件人的第一人脸图像与所述的注册人脸数据之间是否匹配,如果匹配就可以确认取件人就是快递包裹的真正收件人,可以确认快递包裹的出库验证通过。In some implementations, the account database can be queried based on the express bill information of the express package to obtain the first account information corresponding to the express bill information. For example, the first account information includes but is not limited to an ID number, WeChat ID, etc. In addition, the corresponding registered face data can be queried according to the first account information. The registered face data may be the user's pre-established association relationship between his first account information and the registered face data. The data may be, for example, registered facial images and/or facial features. Then you can compare whether the first face image of the pickup person of the express package matches with the registered face data. If they match, you can confirm that the pickup person is the true recipient of the express package, and you can confirm the express package The outbound verification passed.
在其他的实现方式中,还可以是根据第一人脸图像对应的第一生物特征,查询获得对应该生物特征的账号信息,用户可以预先注册了自己的账号信息与生物特征之间的关联。在得到账号信息后,可以获取该账号信息对应的待取快递信息,判断待取快递信息中是否有当前要取走的快递包裹,也就是说,判断待取快递信息中是否包含与第一快递 图像的快递单据信息匹配的项,例如,判断待取快递信息中包括的至少一个待取快递单号是否与快递单据信息中包括的快递标识一致,等等,本公开实施例对此不做限定。In other implementation manners, the account information corresponding to the biometrics may be obtained by querying the first biometrics corresponding to the first face image, and the user may pre-register the association between his own account information and the biometrics. After obtaining the account information, you can obtain the pending courier information corresponding to the account information, and determine whether the pending courier information contains the courier package currently to be taken away, that is to say, determine whether the pending courier information contains the same as the first courier The item that matches the courier document information of the image, for example, determining whether at least one courier number to be retrieved included in the courier information to be retrieved is consistent with the courier identification included in the courier document information, etc., and the embodiment of the present disclosure does not limit this .
在步骤303中,在所述第一生物特征与所述第一账号信息具有绑定关系的情况下,确定对采集对象进行入库或者出库操作预定操作执行的验证通过。比如,若存在绑定关系,可认为当前取件人的身份特征验证通过,确定对第一快递包裹的出库验证通过,可以执行预定操作。该预定操作可包括:单据的出库或者单据所在的快递包裹的出货操作。例如,所述单据为快递单据,所述快递单据通常贴在快递包裹上,若第一生物特征与第一账号信息具有绑定关系,说明当前是快递的接收方来取货了,取件人通过了身份验证,是真正的取件人,所以可以执行快递包裹的出货操作。执行所述快递包裹的出货操作可包括:打开快递包裹所在的存储柜的柜面。在其他的实现方式中,也可以是当验证通过时,快递终端可以发出“验证通过”等提示音,然后取件人就可以将快递包裹取走。In step 303, in the case that the first biometric feature has a binding relationship with the first account information, it is determined that the verification of the predetermined operation of the storage or the storage operation of the collection object is passed. For example, if there is a binding relationship, it can be considered that the identity feature verification of the current pickup person has passed, and it is determined that the outbound verification of the first express package has passed, and the predetermined operation can be performed. The predetermined operation may include: the delivery of the document or the delivery operation of the express package where the document is located. For example, the document is a courier document, and the courier document is usually affixed to the courier package. If the first biometric characteristic is bound to the first account information, it means that the recipient of the courier is currently picking up the goods, and the picker After passing the identity verification, it is the real picker, so you can perform the shipment operation of the express package. Performing the shipping operation of the express package may include: opening the counter of the storage cabinet where the express package is located. In other implementations, when the verification is passed, the express terminal can send out a prompt sound such as "verification passed", and then the picker can take the express package away.
在一示例性的实现方式中,该方法还包括:在所述第一生物特征与所述第一账号信息未建立有所述绑定关系的情况下,输出输入验证信息的验证提示。基于输入的所述验证信息,确定对采集对象进行入库或者出库操作的验证通过,比如可以基于验证信息进行对第一快递包裹的快递出库操作。In an exemplary implementation, the method further includes: outputting a verification prompt for inputting verification information when the binding relationship between the first biometric feature and the first account information is not established. Based on the inputted verification information, it is determined that the verification of the warehouse entry or exit operation of the collection object is passed, for example, the express delivery operation of the first express package may be performed based on the verification information.
本公开实施例中,通过基于采集的取件人的第一图像信息,并基于预先建立的绑定关系来进行执行预定操作的执行验证,如此,不用用户输入单据号、取货号或者自己的账号信息等,简化了用户操作。In the embodiment of the present disclosure, the execution verification of the execution of the predetermined operation is performed based on the collected first image information of the pickup person and based on the pre-established binding relationship. In this way, the user does not need to input the document number, the pickup number or their own account number. Information, etc., simplify user operations.
如图4所示,本公开实施例提供一种信息处理方法,该方法用于描述建立人脸图像的生物特征与账号信息的绑定关系的流程。该方法可以包括:As shown in FIG. 4, an embodiment of the present disclosure provides an information processing method, which is used to describe a process of establishing a binding relationship between biometric characteristics of a face image and account information. The method can include:
在步骤401中,采集人脸图像。在本公开实施例中,所述人脸图像的采集可为单据或快递包裹在入库和/或出库过程中实现,或者,该人脸图像也可以在人脸注册过程中执行,比如用户可以通过快递终端的显示屏人机操作界面或者自己的手机应用APP专门进行人脸注册,并在注册中进行人脸图像的生物特征与账号信息的绑定。In step 401, a face image is collected. In the embodiment of the present disclosure, the collection of the face image can be implemented in the process of warehousing and/or delivery of documents or express parcels, or the face image can also be performed in the process of face registration, such as user Face registration can be performed through the display man-machine interface of the express terminal or your own mobile phone application APP, and the biological characteristics of the face image and the account information can be bound during the registration.
在步骤402中,获取快递单据的账号信息。In step 402, the account information of the express bill is obtained.
在步骤403中,根据人脸图像所对应的生物特征及所述账号信息,关联所述生物特征及账号信息得到关联关系。In step 403, according to the biological characteristics corresponding to the face image and the account information, the biological characteristics and the account information are correlated to obtain an association relationship.
所述生物特征可为从人脸图像中提取的生物特征,例如,用户的脸部特征和/或用户的虹膜特征等。总之,所述生物特征能够唯一标识用户的生物特征信息。在本公开实施例中,会在单据或快递包裹的出库和/或入库的过程中,甚至单据的填写过程中,或者注册过程中启动摄像头进行人脸图像的采集。从采集的人脸图像中获取生物特征,再和入库或者出库的快递单据上的账号信息进行关联,建立关联关系。在一些实施例中,所述账号信息包括以下至少之一:移动通信标识;即时通信标识;身份标识。The biometric feature may be a biometric feature extracted from a face image, for example, the user's facial feature and/or the user's iris feature, etc. In short, the biometric feature can uniquely identify the biometric information of the user. In the embodiment of the present disclosure, the camera will be activated to collect facial images during the delivery and/or warehousing of documents or express parcels, or even during the document filling process or registration process. Obtain the biological characteristics from the collected face images, and then associate them with the account information on the express receipts of the warehouse or the warehouse to establish an association relationship. In some embodiments, the account information includes at least one of the following: mobile communication identification; instant messaging identification; identity identification.
在一些实现方式中,在注册过程中,用户可建立自己的账号信息与注册人脸数据之间的关联关系,所述的注册人脸数据可包括但不限于人脸特征和/或虹膜特征等,以备后续能够根据账号信息和该关联关系得到对应的注册人脸数据,用于与取件人的人脸图像进行比对。此外,还可在注册过程中将账号信息与快递单据信息的对应关系存储进账号 数据库,以备后续快递包裹出库验证时根据快递包裹的单据信息查找对应的账号信息。In some implementations, during the registration process, users can establish an association between their account information and registered facial data, and the registered facial data may include, but are not limited to, facial features and/or iris features, etc. , So as to be able to obtain the corresponding registered face data according to the account information and the association relationship later, and use it for comparison with the face image of the picker. In addition, the corresponding relationship between account information and courier bill information can be stored in the account database during the registration process, so that the corresponding account information can be found according to the bill information of the courier package during subsequent verification of the delivery of the courier package.
在步骤404中,在生物特征和账号信息的关联次数满足设定的绑定条件的情况下,基于所述关联关系建立所述生物特征和账号信息的绑定关系。In step 404, in the case that the number of associations between the biometric feature and the account information meets the set binding condition, the binding relationship between the biometric feature and the account information is established based on the association relationship.
每执行一次所述步骤S401至步骤403,所述关联次数就加1;当所述关联次数达到预定次数时,可认为关联次数满足了预设的绑定条件,进一步可认为该用户账号所对应的合法用户的生物特征即为所述生物特征;此时,可以将关联关系正式转换为绑定关系。Each time the steps S401 to 403 are executed, the number of associations is increased by 1; when the number of associations reaches a predetermined number, it can be considered that the number of associations meets the preset binding conditions, and it can be further considered that the user account corresponds to The biological characteristics of the legal user of is the biological characteristics; at this time, the association relationship can be formally converted into a binding relationship.
在一些实施例中,该方法可以包括:根据所述关联次数,确定所述关联关系的置信度值;当所述置信度值达到预设值时,将所述关联关系转换为绑定关系。例如,第一次建立关联关系时,确定置信度值为40%;第二次建立一个相同的关联关系时,确定所述置信度值为60%;第三次建立同一个关联关系时,所述置信度值增加到70%;依次类推;一个关联关系的关联次数越多,则所述置信度值越高,当所述关联关系的置信度值达到预设值时,直接将所述关系转换为绑定关系。In some embodiments, the method may include: determining a confidence value of the association relationship according to the number of associations; when the confidence value reaches a preset value, converting the association relationship into a binding relationship. For example, when the association relationship is established for the first time, the confidence value is determined to be 40%; when the same association relationship is established for the second time, the confidence value is determined to be 60%; when the same association relationship is established for the third time, all The confidence value increases to 70%; and so on; the more the number of associations of an association relationship, the higher the confidence value. When the confidence value of the association relationship reaches the preset value, the relationship is directly Convert to binding relationship.
将所述关联关系转换为所述绑定关系的方式有多种,以下提供两种可选方式:将所述关联关系添加到包含绑定关系的关系表中;将所述关联关系的类型字段更改为绑定关系的类型字段。There are many ways to convert the association relationship into the binding relationship. Two alternative ways are provided as follows: adding the association relationship to the relationship table containing the binding relationship; adding the type field of the association relationship Change to the type field of the binding relationship.
如上所述的,在对快递包裹进行出库验证时,都对快递包裹对应采集的第一快递图像进行检测识别,获得第一快递图像中包括的快递单据信息。如下将说明如何对第一快递图像进行其中快递单据信息的识别处理,在检测得到快递单据信息后才执行前述实施例的基于快递单据信息和人脸图像的出库校验。前述的本公开任一实施例在基于快递图像获得快递单据信息的过程都可以采用如下所述的方法。As described above, when the delivery verification of the express package is performed, the first express image corresponding to the collection of the express package is detected and identified, and the express document information included in the first express image is obtained. The following will explain how to perform the identification processing of the express document information on the first express image, and perform the outbound verification based on the express document information and the face image in the foregoing embodiment after the express document information is detected. In any of the foregoing embodiments of the present disclosure, the method described below can be used in the process of obtaining express delivery document information based on the express delivery image.
图5是本公开实施例公开的一种信息处理方法的流程示意图,该方法可以应用于各种单据处理的终端设备或者终端设备和云端设备形成的信息系统中,例如可以应用于快递终端。如图5所示,该方法可以包括:FIG. 5 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure. The method can be applied to various document processing terminal devices or information systems formed by terminal devices and cloud devices, such as express delivery terminals. As shown in Figure 5, the method may include:
在步骤501中,采集位于预定景深范围内的快递包裹对应的第一快递图像。In step 501, the first express image corresponding to the express package within the predetermined depth of field is collected.
在本公开实施例中,快递终端可以通过图像采集模组采集快递包裹对应的第一快递图像,该图像采集模组的景深范围可以是预定的,若快递包裹位于该区域内,则第一快递图像就是清晰的。所述预定景深范围的上限值大于预设值,例如,50cm、60cm等。例如,采集所述第一快递图像的图像采集模组可包括:工业摄像头,该工业摄像头被预先配置了预定景深范围,例如,0-50cm之内,若快递包裹距离该工业摄像头小于或等于50cm时,采集的第一快递图像是清晰的。如此,减少了采集过程中使用景深范围较小的摄像头需要通过调焦控制当前景深距离图像采集模组距离导致的调焦操作,从而简化了用户操作,并减少了因为调焦导致的识别延时等。如此,在采集第一快递图像时,摄像头不用再对焦,减少了因对焦不好导致的第一快递图像的清晰度不够的现象;同时减少了因为对焦导致的采集延时大的现象。In the embodiment of the present disclosure, the express terminal may collect the first express image corresponding to the express package through the image acquisition module. The depth of field range of the image acquisition module may be predetermined. If the express package is located in this area, the first express package The image is clear. The upper limit of the predetermined range of depth of field is greater than a preset value, for example, 50 cm, 60 cm, etc. For example, the image acquisition module that collects the first express image may include: an industrial camera, which is pre-configured with a predetermined depth of field range, for example, within 0-50cm, if the distance between the express package and the industrial camera is less than or equal to 50cm At that time, the first express image collected is clear. In this way, it reduces the focus operation caused by the use of a camera with a small depth of field range during the acquisition process that needs to control the current depth of field distance and the distance of the image acquisition module by focusing, thereby simplifying user operations and reducing the recognition delay caused by focusing Wait. In this way, when collecting the first express image, the camera does not need to focus again, which reduces the phenomenon of insufficient clarity of the first express image due to poor focus; at the same time, it reduces the phenomenon of large collection delay caused by focusing.
在本公开实施例中,采集单据时不要求整个采集区域的大部分对准单据的条码区域,故可以减少手动对焦或者自动对焦所产生的时间,仅需采集到清晰的包括单据的第一图像即可;从而提高了采集速率。并且,快递终端在采集待出库的快递包裹对应的 快递图像时,只要该图像中包含快递单据的图像即可,也不要求整个采集区域的大部分都对准快递单据所在的图像区域,提高对快递包裹图像的采集效率。In the embodiment of the present disclosure, when collecting documents, most of the entire collection area is not required to be aligned with the barcode area of the document, so the time for manual focus or auto focus can be reduced, and only a clear first image including the document needs to be collected. That's it; thereby increasing the collection rate. Moreover, when the express terminal collects the express image corresponding to the express parcel to be out of the warehouse, it is sufficient as long as the image contains the image of the express document, and it is not required that most of the entire collection area is aligned with the image area where the express document is located. The collection efficiency of express package images.
在一示例性的实现方式中,在采集所述第一快递图像之前,快递终端可以检测是否有采集对象进入到预定景深范围内。当快递终端检测到第一快递包裹进入到所述预定景深范围内的情况下,开启图像采集功能。在开启所述图像采集功能后,快递终端可以采集位于所述预定景深范围内的采集对象(例如,快递包裹)对应的第一快递图像。In an exemplary implementation, before collecting the first express image, the express terminal may detect whether a collection object enters a predetermined depth of field. When the express terminal detects that the first express package has entered the predetermined depth of field, the image capture function is turned on. After the image acquisition function is turned on, the express terminal may acquire the first express image corresponding to the acquisition object (for example, express package) located within the predetermined depth of field.
例如,可以利用距离传感器进行所述是否有采集对象进入到所述预定景深范围内的采集。所述距离传感器包括但不限于:红外传感器、可见光传感器、激光传感器等。摄像头保持开启状态是非常耗能的,但是基于用户触发进行图像采集,虽然执行可以,但是会引入采集时延。在本公开实施例中,利用一个开启状态下功耗小于图像采集模组开启状态下功耗的传感器通过距离的采集,触发图像采集模组从关闭状态进入到采集状态,或者,从休眠状态进入到采集状态,进行图像采集,一方面节省了终端的功耗,另一方面减少了不必要图像的采集,减少了因为处理不必要图像导致的功耗。For example, a distance sensor may be used to collect whether the collection object has entered the predetermined depth of field. The distance sensor includes but is not limited to: infrared sensor, visible light sensor, laser sensor, etc. It is very energy consuming to keep the camera turned on, but image acquisition based on user triggers, although the execution can be performed, will introduce acquisition delay. In the embodiment of the present disclosure, a sensor whose power consumption in the on state is less than that in the on state of the image acquisition module is used to collect through distance to trigger the image acquisition module to enter the acquisition state from the off state, or enter from the sleep state In the acquisition state, image acquisition is performed, on the one hand, the power consumption of the terminal is saved, on the other hand, the acquisition of unnecessary images is reduced, and the power consumption caused by processing unnecessary images is reduced.
对于快递包裹存放在取货柜中的场景,可以利用具有较大的预定景深范围的摄像头采集快递包裹的取件人的人脸图像,如此取件人仅需要进入到所述预定景深范围内,就会触发快递终端的摄像头进行人脸图像的采集。采集完之后,就可以通过前述实施例中描述的取件人的人脸生物特征与快递包裹的账户信息之间绑定关系的查询就能完成验证。比如,根据取件人的人脸图像以及入库时存储的各个快递包裹的信息,查询获取到该取件人要取的快递包裹是取货柜什么位置的包裹(快递包裹的查询在后续的实施例中描述),从而当取件人用户在靠近快递终端的摄像头的过程中就能够完成对快递包裹的出库验证,并可以在快递终端的显示屏上显示取件人要取的包裹在取货柜中的存放位置(也可以语音播放存放位置),如此,用户走近快递终端就完成了验证,并且获取到了快递包裹的存放位置,用户直接到对应的取货柜取包裹即可,简化了用户操作。For the scene where the express package is stored in the pickup container, a camera with a larger predetermined depth of field can be used to collect the face image of the pickup person of the express package, so that the pickup person only needs to enter the predetermined depth of field. The camera of the express terminal will be triggered to collect face images. After the collection is completed, the verification can be completed by querying the binding relationship between the facial biometric characteristics of the pickup person and the account information of the express package described in the foregoing embodiment. For example, according to the pickup person’s face image and the information of each express package stored in the warehouse, query the location of the container where the express package that the pickup person wants to pick up (the query of the express package will be implemented in the subsequent As described in the example), when the pickup user is close to the camera of the express terminal, he can complete the verification of the delivery of the express package, and can display on the display of the express terminal that the package to be picked up is displayed on the display of the express terminal. The storage location in the container (the storage location can also be played by voice). In this way, the user walks to the express terminal to complete the verification and obtains the storage location of the express package. The user can go directly to the corresponding pickup container to pick up the package, which simplifies the user operating.
在其他的一些实现方式中,也可以是取件人先在快递终端上查询自己要取的快递的存放位置(同理,相关查询内容参见后续的实施例描述),在去所述存放位置领取了快递包裹后,取件人在拿着已领取的快递包裹走近快递终端的过程中,由于该快递终端的摄像头具有较大的预定景深范围,可以很快触发自动采集取件人的人脸图像和快递包裹的快递图像,并按照前述任一实施例的方法进行两者之间的匹配校验,验证通过后可以通过语音等方式提示包裹出库验证通过,则取件人可以直接领走快递包裹,从而加快了包裹出库时的校验过程。In some other implementations, it is also possible that the picker first queries the storage location of the courier he wants to pick up on the courier terminal (similarly, for related query content, refer to the description of the subsequent embodiment), and then go to the storage location to receive After receiving the express package, the picker is approaching the express terminal with the received express package. Because the camera of the express terminal has a large predetermined depth of field, it can quickly trigger the automatic collection of the face of the picker The image and the express image of the express package, and the matching verification between the two is performed according to the method of any of the foregoing embodiments. After the verification is passed, the package can be prompted by voice or other means to verify that the package is out of the warehouse, and the picker can pick it up directly Express parcels, thus speeding up the verification process when parcels are delivered.
在步骤502中,由所述第一快递图像中获取快递单据所在的目标区域。In step 502, the target area where the express document is located is obtained from the first express image.
在一些实施例中,可根据单据信息的获取需求,确定所需的目标区域。例如,在所述获取需求为获取单据号时,确定所需的目标区域为快递单据中条码的成像区域。再例如,在所述获取信息为获取单据号及单据号以外的其他信息时,确定所需的目标区域为整个快递单据的成像区域。例如,单据入库时,则认为获取需求包括单据号以外的单据信息;再例如,对入库的单据进行出库时,则可认为获取需求仅包括单据号。当然,以上仅是举例,具体可根据单据信息的获取需求来实现,以满足不同场景下的不同需求。In some embodiments, the required target area can be determined according to the requirements for obtaining document information. For example, when the acquisition requirement is to acquire the document number, it is determined that the required target area is the imaging area of the barcode in the express document. For another example, when the acquired information is the acquired document number and other information other than the document number, it is determined that the required target area is the imaging area of the entire express document. For example, when a document is put into the warehouse, it is considered that the acquisition requirement includes document information other than the document number; for another example, when the warehoused document is out of the warehouse, it can be considered that the acquisition requirement only includes the document number. Of course, the above is only an example, and it can be specifically implemented according to the requirements for obtaining document information to meet different requirements in different scenarios.
在一些实施例中,所述目标区域可为整个单据被采集形成的单据图形的成像区 域。例如,第一快递图像中单据的成像区域(即单据图形)和单据的成像区域以外的背景区域,直接对整个第一快递图像进行识别。但这样会使得背景区域干扰单据的成像区域的识别,因此也可先初步识别出单据的成像区域(即所述单据图形),然后仅对单据成像区域进行进一步识别,一方面提升单据的识别速率,另一方面减少不必要的干扰。In some embodiments, the target area may be an imaging area of the document graph formed by the entire document being collected. For example, the imaging area of the document in the first express image (that is, the document image) and the background area outside the imaging area of the document directly identify the entire first express image. However, this will cause the background area to interfere with the recognition of the imaging area of the document. Therefore, it is also possible to initially identify the imaging area of the document (that is, the document image), and then only further identify the document imaging area, which improves the recognition rate of the document. , On the other hand, reduce unnecessary interference.
在一些实施例中,所述单据图形为单据的成像。所述单据可为各种类型的单据,例如,快递单据、发票、门票或运货单等。所述单据上有单据信息,所述单据信息至少包括以下至少之一:单据的单据号,例如,快递单的快递单号;门票的门票号、发票的发票号。在一些实施例中,所述单据信息还包括:单据上的单据持有人的关联信息,例如,持有人的联系方式、持有人的地址信息、单据的签发时间信息、单据有的有效时间信息等其他单据信息,不限于所述单据号。In some embodiments, the document image is an imaging of the document. The documents may be various types of documents, for example, express documents, invoices, tickets, or waybills. The document has document information, and the document information includes at least one of the following: the document number of the document, for example, the courier number of the courier ticket; the ticket number of the ticket, and the invoice number of the invoice. In some embodiments, the document information further includes: related information of the document holder on the document, for example, the contact information of the holder, the address information of the holder, the issuance time information of the document, and the validity of the document. Other document information such as time information is not limited to the document number.
在另一些实施例中,所述目标区域也可以是所述单据中条码的成像区域。此时,单据上的信息也许在网络设备中已经记录,但是当前用户持单据进行操作,需要至少获取单据中条码所对应的单据标识等,进而可以从网络设备中获取整个单据的单据信息。所述条码包括:一维码和/或二维码;所述二维码包括:矩形二维码和/或圆形二维码。在一些实施例中,所述条码可为:一个或多个。In other embodiments, the target area may also be the imaging area of the barcode in the receipt. At this time, the information on the bill may have been recorded in the network device, but the current user operating with the bill needs to obtain at least the bill identification corresponding to the barcode in the bill, and then the bill information of the entire bill can be obtained from the network device. The barcode includes: a one-dimensional code and/or a two-dimensional code; the two-dimensional code includes: a rectangular two-dimensional code and/or a circular two-dimensional code. In some embodiments, the barcode may be: one or more.
在一些实施例中,单据是快递包裹对应的快递单据,这种情况下,由第一快递图像中获取快递单据所在的目标区域,可以是将整个快递单据对应的区域作为目标区域,也可以是将快递单据所在区域的至少一部分作为目标区域。例如,快递单据信息可以包括第一快递包裹的收件人信息和快递标识信息中的至少一种。上述收件人信息和快递标识信息的识别获取可以包括如下至少一项:由第一快递图像中确定出所述快递单据的文字区域作为目标区域,其中,所述文字区域为所述快递单据中文字的成像区域,通过对该文字区域的识别就可以获得收件人信息。或者,由第一快递图像中确定出快递单据的条码区域作为所述目标区域,其中,所述条码区域为所述快递单据中条码的成像区域,通过对该条码区域的识别就可以获得快递标识信息。此外,快递单据的文字区域包括的文字不限于:数字、字母和/或中文等,总之,这些文字所在的成像区域即为所述文字区域,因此,也可以通过对文字区域的识别获得以数字表示的快递标识信息,而条码区域的形式包括但不限于二维码/一维码等,识别条码区域也可以获得快递标识信息。In some embodiments, the document is the express document corresponding to the express package. In this case, the target area where the express document is obtained from the first express image may be the area corresponding to the entire express document as the target area, or it may be Use at least part of the area where the express documents are located as the target area. For example, the express delivery document information may include at least one of recipient information and express delivery identification information of the first express package. The recognition and acquisition of the recipient information and the express identification information may include at least one of the following: the text area of the express document is determined from the first express image as the target area, wherein the text area is the Chinese of the express document The imaging area of the character, the recipient information can be obtained by recognizing the character area. Alternatively, the barcode area of the express document is determined from the first express image as the target area, wherein the barcode area is the imaging area of the barcode in the express document, and the express identification can be obtained by identifying the barcode area information. In addition, the text area of the express receipt is not limited to: numbers, letters and/or Chinese, etc. In short, the imaging area where these text are located is the text area. Therefore, the text area can also be obtained by identifying the text area. Express identification information, and the form of the barcode area includes but not limited to two-dimensional code/one-dimensional code, etc., and the express identification information can also be obtained by identifying the barcode area.
此外,在一些实施例中,单据信息的检测可以是通过检测模型实现,为了提升所述单据信息的检测精确度,所述方法还包括:将从第一快递图像中裁剪出的目标区域进行变形处理,使得变形处理之后的目标区域满足检测模型的图像处理要求。所述变形处理可包括以下至少之一:将第一形状的所述目标区域,通过拉伸和/或压缩等形状变换得到第二形状的目标区域,其中,所述第二形状可为标准形状,和/或所述第一形状为非标准形状。对低于预设图像分辨率的目标区域进行像素上采样,得到至少等于预设图像景区度的目标区域。将第一方向的所述目标区域,进行旋转和/或镜像处理等朝向变换得到朝向第二方向的所述目标区域,例如,将文字方向颠倒的目标区域翻转为文字朝向正确的目标区域。对所述目标区域进行逆透视变换,得到各子区域景深深度一致的所述目标区域。例如,在采集快递单据时,若单据的某一个部分比另一个部分离摄像头更近,就可能出现采集的单据的各部分景深不一样,在第一图像中呈现出透视效果。在本公开实施例中,通过透视变换的逆向处理,得到不再有透视效果差异的目标区域。如此,通 过变形处理后的目标区域,输入到所述检测模型之后,一方面使得检测模型可以快速检测出所述单据信息,另一方面可以提升检测精确度。In addition, in some embodiments, the detection of the receipt information may be realized by a detection model. In order to improve the detection accuracy of the receipt information, the method further includes: deforming the target area cut out from the first express image Processing, so that the target area after deformation processing meets the image processing requirements of the detection model. The deformation processing may include at least one of the following: transforming the target area of the first shape by stretching and/or compressing to obtain the target area of the second shape, wherein the second shape may be a standard shape , And/or the first shape is a non-standard shape. Pixel up-sampling is performed on the target area lower than the preset image resolution to obtain the target area at least equal to the preset image scenic spot. The target area in the first direction is rotated and/or mirrored to obtain the target area in the second direction, for example, the target area in which the text direction is reversed is flipped to the target area with the correct text orientation. Perform inverse perspective transformation on the target area to obtain the target area with the same depth of field in each sub-area. For example, when collecting express receipts, if a certain part of the receipt is closer to the separate camera of another part, the depth of field of each part of the collected receipt may be different, and a perspective effect is shown in the first image. In the embodiment of the present disclosure, through the inverse processing of the perspective transformation, a target area with no difference in perspective effect is obtained. In this way, after the target area after the deformation process is input into the detection model, on the one hand, the detection model can quickly detect the receipt information, and on the other hand, the detection accuracy can be improved.
在一些实施例中,在进行快递单据的条码区域的识别时,可以对所述第一快递图像进行边缘检测处理,确定所述第一快递图像中的条码区域的位置信息;基于所述第一快递图像中的条码区域的位置信息,对所述第一快递图像进行裁剪,获得所述条码区域的图像;识别所述条码区域的图像,获得所述第一快递包裹的快递标识信息。此外,在另一些实施例中,如果裁剪得到的条码区域倾斜,还可以在获得条码区域图像后,将上述条码区域的图像进行转正处理;识别转正后的条码区域的图像,获得快递标识信息。In some embodiments, when the barcode area of the express delivery document is identified, edge detection processing may be performed on the first express image to determine the position information of the barcode area in the first express image; For the location information of the barcode area in the express image, crop the first express image to obtain the image of the barcode area; identify the image of the barcode area to obtain the express identification information of the first express package. In addition, in other embodiments, if the cropped barcode area is inclined, after obtaining the image of the barcode area, the image of the barcode area may be corrected; the image of the corrected barcode area may be recognized to obtain the express identification information.
本公开实施例中涉及的边缘检测,是图像处理和计算机视觉中的基本问题,边缘检测的目的是标识数字图像中亮度变化明显的点。图像属性中的显著变化通常反映了属性的重要事件和变化,包括(i)深度上的不连续、(ii)表面方向不连续、(iii)物质属性变化和(iv)场景照明变化。边缘检测是图像处理和计算机视觉中,尤其是特征提取中的一个研究领域。通过边缘检测可以提取上述第一快递图像中的条码区域,并通过仿射变换方式,转正后截取,获得转正后的条码区域的图像,再进行上述OCR识别。The edge detection involved in the embodiments of the present disclosure is a basic problem in image processing and computer vision. The purpose of the edge detection is to identify points with obvious brightness changes in a digital image. Significant changes in image attributes usually reflect important events and changes in attributes, including (i) discontinuities in depth, (ii) discontinuities in surface orientation, (iii) changes in material properties, and (iv) changes in scene lighting. Edge detection is a research field in image processing and computer vision, especially in feature extraction. Through edge detection, the barcode area in the first express image can be extracted, and through the affine transformation method, the image of the barcode area after the correction is cut to obtain the image of the barcode area after the correction, and then the OCR recognition is performed.
如上,通过从第一快递图像中确定出目标区域,相当于会使得包含有快递单据信息的目标区域和背景区域进行分离。如此,可以仅检测目标区域,一方面减少了不必要的检测,提升了单据信息的获取速率,另一方面,由于通过初步识别得到目标区域之后,仅对目标区域进行检测,减少了目标区域以外的背景区域对单据信息检测的干扰,从而减少了因为干扰导致的检测精确度低的现象,提升了检测精确度。As above, by determining the target area from the first express image, it is equivalent to separating the target area and the background area containing the express document information. In this way, only the target area can be detected. On the one hand, unnecessary detection is reduced and the rate of obtaining receipt information is increased. On the other hand, after the target area is obtained through preliminary recognition, only the target area is detected, reducing the number of areas outside the target area. The background area interferes with the detection of document information, thereby reducing the phenomenon of low detection accuracy caused by interference, and improving the detection accuracy.
在步骤503中,检测目标区域的图像,得到快递单据所包含的快递单据信息。In step 503, the image of the target area is detected, and the express bill information contained in the express bill is obtained.
在一些实施例中,可以将目标区域的图像输入到检测模型,由检测模型通过特征的提取等方式,输出单据信息。例如,所述检测模型可为机器学习模型或者深度学习模型。例如,快递单据信息可包括:快递入库的入库记录,该入库记录包含所述单据信息及入库信息,该入库信息可包括:入库时间、入库地点、入库设备等信息。再例如,快递单据信息还可包括:快递出库的出库记录,该出库记录包含所述单据信息及出库信息,该出库信息可包括:出库时间、出库地点、出库设备等信息。再例如,当检测的对象是发票时,识别的单据信息还可包括:发票的电子入库信息。In some embodiments, the image of the target area can be input to the detection model, and the detection model can output the bill information by means such as feature extraction. For example, the detection model may be a machine learning model or a deep learning model. For example, the express delivery document information may include: the delivery record of the express delivery, and the delivery record includes the document information and the delivery information, and the delivery information may include: delivery time, delivery location, delivery equipment, etc. . For another example, express delivery document information may also include: delivery record of express delivery, the delivery record includes the document information and delivery information, and the delivery information may include: delivery time, delivery location, and delivery equipment And other information. For another example, when the detected object is an invoice, the recognized document information may also include: electronic inventory information of the invoice.
在一示例性场景中,所述快递单据信息可以包括收件人信息和快递标识信息中的至少一种。获取该收件人信息和快递标识信息的过程可以包括:识别第一快递图像中的条码区域,获得第一快递包裹的快递标识信息;对上述第一快递图像进行图像文字识别,获得第一快递包裹的收件人信息。对采集的第一快递图像进行图像文字识别,可以获得上述第一快递图像中描述的第一快递包裹的收件人信息、快递标识信息。In an exemplary scenario, the express delivery document information may include at least one of recipient information and express delivery identification information. The process of obtaining the recipient information and the express delivery identification information may include: identifying the barcode area in the first express delivery image to obtain the express delivery identification information of the first express delivery package; performing image text recognition on the first express delivery image to obtain the first express delivery image The recipient information of the package. Performing image character recognition on the collected first express image can obtain the recipient information and express identification information of the first express package described in the first express image.
本公开实施例中的图像文字识别可以基于光学字符识别实现,上述光学字符识别(Optical Character Recognition,OCR)一般是指电子设备(例如扫描仪或数码相机)检查纸上打印的字符,通过检测暗、亮的模式确定其形状,然后用字符识别方法将形状翻译成计算机文字的过程;即,针对印刷体字符,采用光学的方式将纸质文档中的文字转换成为黑白点阵的图像文件,并通过识别软件将图像中的文字转换成文本格式,供文字处理软件进一步编辑加工的技术。上述对采集的第一快递图像进行图像文字识别,主 要可以为该第一快递的包装(包裹)上的信息进行OCR识别,可以包括快递单识别,其中包括对快递单据的条码区域的识别,以获得第一快递图像中描述的第一快递包裹的收件人信息、第一快递包裹的快递标识信息。上述第一快递包裹的收件人信息可包括收件人的姓名、联系电话、地址等。The image character recognition in the embodiments of the present disclosure can be realized based on optical character recognition. The above-mentioned optical character recognition (OCR) generally refers to an electronic device (such as a scanner or a digital camera) inspecting characters printed on paper, and detecting dark characters. The bright pattern determines its shape, and then uses character recognition to translate the shape into computer text; that is, for printed characters, optically convert the text in a paper document into a black and white dot matrix image file, and A technology that converts the text in an image into a text format through recognition software for further editing and processing by word processing software. The above-mentioned image and text recognition of the collected first express image can mainly perform OCR recognition for the information on the packaging (parcel) of the first express, and may include the identification of the express order, which includes the identification of the barcode area of the express document, to Obtain the recipient information of the first express package and the express identification information of the first express package described in the first express image. The recipient information of the aforementioned first express package may include the recipient's name, contact number, address, etc.
在一些实施例中,在识别快递单据的条码区域的快递标识信息时,剪裁第一快递图像中的条码区域,获得上述条码区域的图像,将上述条码区域的图像进行转正处理,识别转正后的条码区域的图像。上述将条码区域的图像进行转正处理之后,还包括:验证上述转正后的条码区域的图像是否有效;若上述转正后的条码区域的图像有效,触发上述识别上述转正后的条码区域的图像的步骤。进一步的,上述验证上述条码信息是否有效,包括:判断上述条码区域中的条码长度是否等于长度阈值;在上述条码区域中的条码长度等于上述长度阈值的情况下,确定上述转正后的条码区域的图像有效;或者,判断上述条码区域中的条码是否满足条码编码规则;在上述条码区域中的条码满足上述条码编码规则的情况下,确定上述转正后的条码区域的图像有效。In some embodiments, when identifying the courier identification information in the barcode area of the courier document, the barcode area in the first courier image is cut to obtain the image of the barcode area, and the image of the barcode area is corrected to identify the corrected image. Image of barcode area. After the image of the barcode area is corrected, it further includes: verifying whether the image of the barcode area after the correction is valid; if the image of the barcode area after the correction is valid, trigger the step of identifying the image of the barcode area after the correction . Further, the verification of whether the barcode information is valid includes: judging whether the barcode length in the barcode area is equal to the length threshold; in the case that the barcode length in the barcode area is equal to the length threshold, determining the barcode area after the correction The image is valid; or, it is determined whether the barcode in the barcode area meets the barcode encoding rules; if the barcode in the barcode area meets the barcode encoding rules, it is determined that the image in the corrected barcode area is valid.
快递终端可判断第一快递图像中的条码是否为预设的长度阈值,若不是,则判定该条码无效,比如因为遮挡、角度等因素影响,可输出重新采集图像的提示信息。示例性的,还可判断上述条码是否满足条码编码规则,以过滤无效条码信息。上述条码编码规则可以是根据现有各种快递公司需求设置的条码规则,并可根据正则匹配进行无效条码过滤。正则匹配是基于正则表达式实现的匹配过滤规则。正则表达式是对字符串操作的一种逻辑公式,就是用事先定义好的一些特定字符、及这些特定字符的组合,组成一个“规则字符串”,这个“规则字符串”用来表达对字符串的一种过滤逻辑。The express terminal can determine whether the barcode in the first express image is a preset length threshold, and if not, the barcode is determined to be invalid, for example, due to factors such as occlusion, angle, etc., it can output a prompt message to re-collect the image. Exemplarily, it can also be judged whether the above barcode meets the barcode encoding rules, so as to filter invalid barcode information. The foregoing barcode encoding rules may be barcode rules set according to the needs of various existing express companies, and invalid barcode filtering may be performed according to regular matching. Regular matching is a matching filtering rule based on regular expressions. Regular expression is a kind of logical formula for string manipulation. It uses some pre-defined specific characters and the combination of these specific characters to form a "rule string". This "rule string" is used to express the pair of characters. A filtering logic for strings.
示例性的,快递终端可以通过快递库存管理接口对上述条码信息进行验证,即可以通过云端服务器完成上述OCR识别和/或上述验证过程,也可以在快递终端本地完成,本公开实施例对此不作限制。在一种实施方式中,上述模型可以基于背景相对固定的样图(输入图像为灰度图)训练而成。本公开实施例中可采用较小的算法模型,将人脸识别算法、OCR算法等集成,并运行在低配开源板上,相比于运行于主机、服务器上,极大节省了设备开支,并降低了部署难度。Exemplarily, the express terminal may verify the above-mentioned barcode information through the express inventory management interface, that is, the above-mentioned OCR identification and/or the above-mentioned verification process may be completed through the cloud server, or may be completed locally at the express terminal, which is not done in the embodiment of the present disclosure. limit. In an embodiment, the above model may be trained based on a sample image with a relatively fixed background (the input image is a grayscale image). In the embodiments of the present disclosure, a smaller algorithm model can be used to integrate face recognition algorithms, OCR algorithms, etc., and run on low-profile open source boards. Compared with running on hosts and servers, it greatly saves equipment costs. And reduce the difficulty of deployment.
在一些实施例中,如果将检测快递单据的文字区域识别得到的信息称为第一识别信息,将检测快递单据的条码区域识别得到的信息称为第二识别信息,可以基于所述第一识别信息和所述第二识别信息进行交叉比对,通过交叉比对确保信息的准确性。具体包括,在本公开实施例中可以光学字符识别(Optical Character Recognition,OCR)识别所述文字区域,得到第一识别信息。例如,通过OCR技术等识别出图像中的文字信息得到所述第一识别信息。在一些实施例中,将所述文字区域发送给云端设备,接收云端设备识别文字区域得到的第一识别信息。在另一些实施例中,也可以将条码区域发送给云端设备,接收云端设备识别所述条码区域得到的第二识别信息。当然在一些实施例中,终端设备也可以自身识别文字区域和条码区域得到第一识别信息及第二识别信息。In some embodiments, if the information obtained by identifying the text area of the express document is called the first identification information, and the information obtained by identifying the barcode area of the express document is called the second identification information, it may be based on the first identification. The information and the second identification information are cross-checked, and the accuracy of the information is ensured through the cross-checking. Specifically, in the embodiment of the present disclosure, optical character recognition (OCR) may be used to recognize the text area to obtain the first identification information. For example, the first identification information is obtained by recognizing text information in the image through OCR technology or the like. In some embodiments, the text area is sent to the cloud device, and the first identification information obtained by the cloud device recognizing the text area is received. In other embodiments, the barcode area may also be sent to the cloud device, and the second identification information obtained by the cloud device identifying the barcode area may be received. Of course, in some embodiments, the terminal device may also recognize the text area and the barcode area by itself to obtain the first identification information and the second identification information.
在所述第一识别信息和所述第二识别信息满足预设匹配条件的情况下,根据所述第一识别信息和/或所述第二识别信息,得到快递单据所包含的快递单据信息。例如,所述第一识别信息和第二识别信息的匹配度达到预设匹配度值时,认为所述第一识别信 息和所述第二识别信息满足所述预设匹配条件。比如,将第一识别信息中的单据号和所述第二识别信息中的第二单据号,逐个号码的比对,统计匹配一致的个数;根据匹配一致的个数和总字符个数,确定出所述匹配度。例如,当匹配度达到90%或者95%以上,确定所述第一识别信息和所述第二识别信息的匹配度达到预设匹配度值。In the case that the first identification information and the second identification information satisfy a preset matching condition, the express delivery document information contained in the express delivery document is obtained according to the first identification information and/or the second identification information. For example, when the degree of matching between the first identification information and the second identification information reaches a preset matching degree value, it is considered that the first identification information and the second identification information satisfy the preset matching condition. For example, the document number in the first identification information and the second document number in the second identification information are compared one by one to count the number of matches; according to the number of matches and the total number of characters, The degree of matching is determined. For example, when the matching degree reaches 90% or more than 95%, it is determined that the matching degree between the first identification information and the second identification information reaches the preset matching degree value.
当所述第一识别信息和所述第二识别信息完全匹配时,根据所述第一识别信息或所述第二识别信息,确定快递单据的快递单据信息。当所述第一识别信息和所述第二识别信息不完全匹配时,根据第一识别信息和第二识别信息的识别状况信息,确定快递单据信息。例如,单据号所包含的字符数一定的,或者,单据号的编码是满足一定规则的,若第一识别信息和第二识别信息中某一个出现了字符数少了或多了等不满足单据号的匹配规则的一个时,根据另一个确定快递单据信息。在还有一些实施例中,根据所述文字区域和所述条码区域的状况信息,确定是根据第一识别信息还是第二识别信息确定快递单据信息。例如,比对文字区域和条码区域的清晰度,确定出清晰度较高的一个;根据清晰度较高的一个所对应的识别信息,最终得到快递单据信息。When the first identification information and the second identification information completely match, the express delivery document information of the express delivery document is determined according to the first identification information or the second identification information. When the first identification information and the second identification information do not completely match, the express delivery bill information is determined according to the identification status information of the first identification information and the second identification information. For example, if the document number contains a certain number of characters, or the encoding of the document number satisfies certain rules, if one of the first identification information and the second identification information has fewer or more characters, etc. When one of the matching rules of the document number is used, the express document information is determined according to the other. In some other embodiments, it is determined whether to determine the express receipt information based on the first identification information or the second identification information according to the status information of the text area and the barcode area. For example, by comparing the clarity of the text area and the barcode area, the one with higher clarity is determined; according to the identification information corresponding to the one with higher clarity, the express receipt information is finally obtained.
在一些实施例中,所述方法还包括:在所述第一识别信息和所述第二识别信息不满足预设匹配条件的情况下,输出重新采集的提示信息。若第一识别信息和第二识别信息的匹配不满足预设匹配条件,将输出提示信息,该提示信息将触发重新采集,如此,可以减少因为一次采集无法获得精准的快递单据信息时,将自动触发再次采集以获得精准的快递单据信息。In some embodiments, the method further includes: when the first identification information and the second identification information do not meet a preset matching condition, outputting prompt information to be collected again. If the match between the first identification information and the second identification information does not meet the preset matching conditions, a prompt message will be output, which will trigger a re-collection. In this way, it can be reduced automatically when accurate express receipt information cannot be obtained due to one collection. Trigger another collection to obtain accurate express information.
在识别得到快递单据信息之后,就可以依据快递单据信息与快递包裹的取件人的第一人脸图像,进行快递包裹的出库验证,详细可以参见前述的实施例。After the express delivery document information is identified, the delivery verification of the express parcel can be performed based on the express delivery document information and the first face image of the pickup person of the express parcel. For details, please refer to the foregoing embodiment.
图6是本公开实施例公开的一种信息处理方法的流程示意图,本公开实施例中的方法在应用于快递终端的情况下,快递终端可以包括但不限于第一摄像头、收发器、显示屏。该方法描述快递查询的流程,例如,取件人可以通过快递终端查询自己是否有待取的快递包裹。如图6所示,该信息处理方法包括如下步骤。其中,前述的任一实施例已经描述过的内容,本公开实施例不再详述,可以结合参见前述实施例。6 is a schematic flowchart of an information processing method disclosed in an embodiment of the present disclosure. When the method in the embodiment of the present disclosure is applied to a courier terminal, the courier terminal may include, but is not limited to, a first camera, a transceiver, and a display screen. . This method describes the process of express inquiry. For example, the pickup person can check whether he has an express package to be picked up through the express terminal. As shown in Fig. 6, the information processing method includes the following steps. Wherein, for the content that has been described in any of the foregoing embodiments, the embodiments of the present disclosure will not be described in detail, and reference may be made to the foregoing embodiments in combination.
在步骤601中,采集第二人脸图像。In step 601, a second face image is collected.
本公开实施例中,快递终端可以包括人脸识别系统,可以周期性地采集图像,比如,可以采集到来查询快递包裹的用户对应的第二人脸图像。In the embodiment of the present disclosure, the express terminal may include a face recognition system, which may collect images periodically, for example, may collect a second face image corresponding to a user who comes to inquire about express packages.
在步骤602中,通过收发器将上述第二人脸图像发送给服务器;上述第一人脸图像用于指示上述服务器查找与上述第二人脸图像匹配的第二身份信息。In step 602, the second face image is sent to the server through the transceiver; the first face image is used to instruct the server to find the second identity information that matches the second face image.
在步骤603中,通过收发器接收所述服务器基于所述第二身份信息确定的待取快递信息。In step 603, the to-be-taken express delivery information determined by the server based on the second identity information is received through the transceiver.
其中,服务器确定的与上述第二身份信息匹配的待取快递信息,可以包括:快递包裹的存放位置信息。例如,上述存放位置信息可以用于指示上述快递包裹所在仓库的货架信息,以便于快速找到该快递存放位置。在一实施例中,可以在生成快递包裹的存放位置信息时绑定该快递包裹所属用户的身份信息,通过上述身份信息可以查找到待收的快递包裹,进而确定该快递包裹的存放位置。Wherein, the courier information to be fetched that is determined by the server and matches the second identity information may include: storage location information of the courier package. For example, the foregoing storage location information may be used to indicate the shelf information of the warehouse where the foregoing express package is located, so as to quickly find the express storage location. In an embodiment, the identity information of the user to which the express package belongs can be bound when generating the storage location information of the express package, and the courier package to be received can be found through the above identity information, and the storage location of the express package can be determined.
在一实施例中,上述第二身份信息可以为目标手机号,服务器可以查询与该目标手机号绑定的待取快递信息。上述待取快递信息可包括该用户未取件的快递信息。在确定上述目标手机号之后,服务器可以查询该目标手机号关联的代取快递信息,进而获得该快递包裹的存放位置信息。在获得与第二身份信息匹配的快递包裹的存放位置信息之后,服务器可以向快递终端发送上述存放位置信息。In an embodiment, the above-mentioned second identity information may be a target mobile phone number, and the server may query the express delivery information bound to the target mobile phone number. The aforementioned express delivery information to be picked up may include express delivery information that the user has not picked up. After determining the above-mentioned target mobile phone number, the server can query the pickup express information associated with the target mobile phone number, and then obtain the storage location information of the express package. After obtaining the storage location information of the express package matching the second identity information, the server may send the foregoing storage location information to the express terminal.
在步骤604中,在显示屏上显示所述待取快递信息。In step 604, the pending delivery information is displayed on the display screen.
其中,上述存放位置信息可以包括以下信息中的至少一种:仓库标识信息、货架标识信息、货架中储物格的标识信息、快递标识信息。Wherein, the aforementioned storage location information may include at least one of the following information: warehouse identification information, shelf identification information, identification information of storage compartments in the shelf, and express delivery identification information.
上述仓库标识信息可用于指示快递存放的仓库,上述货架标识信息可用于指示快递存放的货架,上述货架中储物格的标识信息可用于指示快递存放的储物格,上述快递标识信息可以包括但不限于快递编号、快递条码等用于识别该快递的信息。The aforementioned warehouse identification information can be used to indicate the warehouse where the express is stored, the aforementioned shelf identification information can be used to indicate the shelf for express storage, the identification information of the storage compartment in the aforementioned shelf can be used to indicate the storage compartment for express storage, and the aforementioned express delivery identification information can include but It is not limited to the information used to identify the courier, such as the express number and the express barcode.
该快递终端可以通过上述收发器接收上述存放位置信息,然后在该快递终端的显示屏上显示上述存放位置信息,以向用户指示查询到的快递以及其存放的位置,便于快速查找到该快递,进行出库或者取件。The courier terminal can receive the storage location information through the transceiver, and then display the storage location information on the display of the courier terminal to indicate to the user the courier and its storage location, so that the courier can be found quickly. Carry out outbound or pickup.
利用本公开实施例,用户在得到存放位置信息之后,便可以自行去对应的存放位置处取快递,无需工作人员再去仓库中寻找快递,一方面可以快速查找定位快递存放位置,另一方面也节省人力成本,提高快递分发过程中的处理效率。并且,由于存放位置信息是经过对用户的身份验证通过之后得到的信息,故,也可以实现在用户取快递的过程中的身份核实,增加快递管理的安全性。With the embodiment of the present disclosure, after obtaining the storage location information, the user can go to the corresponding storage location to pick up the courier without requiring staff to go to the warehouse to find the courier. On the one hand, it can quickly find and locate the courier storage location, on the other hand. Save labor costs and improve processing efficiency in the express delivery process. Moreover, since the storage location information is information obtained after the user's identity verification is passed, the identity verification during the user's delivery process can also be implemented, which increases the security of express delivery management.
图7示出了一种快递查询方法流程示意图,如图7所示,其中快递终端可以与服务器以及第三方业务服务器进行交互,该快递查询方法可包括以下步骤:Fig. 7 shows a schematic flow chart of an express inquiry method. As shown in Fig. 7, the express terminal can interact with a server and a third-party service server. The express inquiry method may include the following steps:
在步骤701中,快递终端通过第一摄像头检测图像变化。即第一摄像头可以周期性地获取图像,以检测场景中是否出现用户、人脸等。In step 701, the express terminal detects an image change through the first camera. That is, the first camera may periodically obtain images to detect whether a user, a face, etc. appear in the scene.
在步骤702中,获取人脸图像并发送至服务器的模块1。具体的,可以向服务器发送获取的人脸图像,模块1可以为进行人脸图像处理的业务服务模块,具体可以为人脸识别软件程序。在一些实施例中,模块1是一些被软件工程师用于为特定的软件包、软件框架、硬件平台、操作系统等建立应用软件的开发工具的集合。即由第三方服务商提供的实现软件产品某项功能的工具包。In step 702, a face image is obtained and sent to module 1 of the server. Specifically, the acquired face image may be sent to the server, and the module 1 may be a business service module for face image processing, and specifically may be a face recognition software program. In some embodiments, module 1 is a collection of development tools used by software engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, and the like. That is, a toolkit provided by a third-party service provider to realize a certain function of a software product.
在步骤703中,根据服务器返回的人脸图像组,过滤并选择最可能的一个人脸图像。模块1可以提供人脸识别功能,查询到符合相似度要求(相似度超过预设阈值)的人脸图像组并返回,快递终端可以在其中确定一个人脸图像作为人脸识别结果。In step 703, according to the face image group returned by the server, the most likely face image is filtered and selected. Module 1 can provide a face recognition function, query and return a face image group that meets the similarity requirements (the similarity exceeds a preset threshold), and the express terminal can determine a face image as a face recognition result.
在步骤704中,将人脸图像发送至服务器的模块2,模块2匹配出人脸绑定的手机号。如前述所述,已经存储的人脸图像与手机号具有绑定关系,模块2可以为服务器中提供身份信息查询的云端业务服务,服务器可通过云端业务服务确定该用户的目标手机号并反馈给快递终端。In step 704, the face image is sent to module 2 of the server, and module 2 matches the mobile phone number bound to the face. As mentioned above, the stored face image has a binding relationship with the mobile phone number. Module 2 can provide a cloud business service for querying identity information in the server. The server can determine the user’s target mobile phone number through the cloud business service and feed it back to Express terminal.
在步骤705,通过第三方业务服务器查询并获取该手机号的待取快递列表。快递 终端可向第三方业务服务器(如第三方库存管理系统服务器)发送包含目标手机号的查询指令,第三方业务服务器可获取该目标手机号的待取快递列表并反馈给快递终端。In step 705, query and obtain the pending express list of the mobile phone number through the third-party service server. The express terminal may send a query instruction containing the target mobile phone number to a third-party service server (such as a third-party inventory management system server), and the third-party service server may obtain a pending express list of the target mobile phone number and feed it back to the express terminal.
在一实施例中,可以在多个地区部署多个快递终端,其中,人脸数据上传云平台后,可通过设备号等区分,做到尽可能小范围的人脸特征匹配,提升匹配速度、降低误识别率。示例性的,上述人脸模板图像与身份信息绑定关系可按需求解除或变更。上述设备号可默认为采集的快递终端机器号,如果没有,可在初次启动快递终端运行应用程序时生成一个,保证设备号的唯一。In one embodiment, multiple express terminals can be deployed in multiple regions. After the facial data is uploaded to the cloud platform, it can be distinguished by device number, etc., to achieve the smallest possible range of facial feature matching, improve matching speed, Reduce the false recognition rate. Exemplarily, the above-mentioned binding relationship between the face template image and the identity information can be lifted or changed as required. The above device number can default to the collected courier terminal machine number. If not, one can be generated when the courier terminal runs the application for the first time to ensure the uniqueness of the device number.
示例性的,其他用户终端设备也可以通过网络与上述快递终端通信,其具体的方式可以为,用户可以通过终端设备(如手机)上安装的应用程序(Application,APP)与上述快递终端进行交互。Exemplarily, other user terminal devices may also communicate with the above-mentioned express terminal via the network. The specific method may be that the user can interact with the above-mentioned express terminal through an application (APP) installed on the terminal device (such as a mobile phone) .
通常针对快递,只能记录快递出库,并不能核验快递的取件人身份,也不能记录快递取件人的具体信息。且如今在各地都有较多快递收发点店面,还包括通过店铺代收发的快递收发点,由于快递数量多,工作人员工作量大,负责快递收发的店铺店员还有其他工作,在取件时常常没时间仔细核验取件人与快递的收件人信息是否匹配,也不能记录取件人的信息。本公开实施例可以通过两个摄像头分别采集人脸图像与快递包裹的图像,对取件人进行身份核验,在快递出库场景可以记录快递出库信息便于查询,还可以在取件场景实现异常时提醒店员,并且记录了取件人的信息,减少冒领。Usually, for express delivery, only the delivery of the express delivery can be recorded, and the identity of the express pickup person cannot be verified, and the specific information of the express pickup person cannot be recorded. And now there are many express delivery points storefronts all over the country, including express delivery points that are sent and received through the store. Due to the large number of express delivery, the staff workload is large, and the store clerk responsible for express delivery has other tasks. There is often no time to carefully check whether the pickup person and the courier's recipient information match, nor can the pickup person’s information be recorded. The embodiment of the present disclosure can separately collect the face image and the image of the express package through two cameras, and verify the identity of the picker. In the express delivery scene, the express delivery information can be recorded for easy query, and abnormalities can also be realized in the pickup scene. Remind the clerk at time and recorded the information of the person who picked it up to reduce fraudulent claims.
示例性的,对于取件或者出库场景的快递取件人,若无与之对应的人脸图像信息,可以输出用于表示个人登记信息缺失的提示信息,比如在用户通过手动输入手机号等身份信息进行快递查询时,对于未进行登记的用户,可提示该用户进行人脸采集以及人脸图像信息与身份信息的绑定,具体可参见图8所述实施例的相关描述。Exemplarily, for the express picker in the pick-up or out-of-warehouse scene, if there is no corresponding face image information, prompt information indicating that the personal registration information is missing can be output, such as when the user manually enters the mobile phone number, etc. When the identity information is inquired by express delivery, for a user who has not been registered, the user may be prompted to collect face and bind face image information with identity information. For details, please refer to the relevant description of the embodiment described in FIG. 8.
具体的,通过上述快递终端还可以完成人脸与身份信息的绑定。对于取件或者出库场景的快递领用人,若无与之对应的人脸特征信息,可以输出用于表示个人登记信息缺失的提示信息,比如在用户通过手动输入手机号等个人信息进行快递查询时,对于未进行登记的用户,可提示该用户进行人脸采集以及人脸特征信息与身份信息的绑定。Specifically, the binding of the face and the identity information can also be completed through the aforementioned express terminal. For the express recipient in the pickup or delivery scene, if there is no corresponding facial feature information, a prompt message indicating the lack of personal registration information can be output, for example, when the user manually enters personal information such as mobile phone number for express delivery When inquiring, for a user who has not registered, the user can be prompted to collect face and bind face feature information with identity information.
即在一种实施方式中,该方法还包括:接收包含第三身份信息的查询指令;响应于上述查询指令,获取上述第三身份信息对应的人脸模板图像;在未获取到上述第三身份信息对应的人脸模板图像信息的情况下,通过上述第一摄像头采集第三人脸图像;通过上述收发器向上述服务器发送上述第三身份信息以及对应的上述第三人脸图像。That is, in an embodiment, the method further includes: receiving a query instruction containing third identity information; in response to the query instruction, obtaining a face template image corresponding to the third identity information; In the case of face template image information corresponding to the information, a third face image is collected through the first camera; the third identity information and the corresponding third face image are sent to the server through the transceiver.
用户在快递终端上可以进行手动查询,用户可以输入第三身份信息,触发上述查询指令,进而该快递终端可以获取上述第三身份信息对应的人脸模板图像,其中如前所述,示例性的,上述获取上述第三身份信息对应的人脸模板图像可以在快递终端或者云端服务器中执行,此处不再赘述。如果未查找到上述第三身份信息对应的人脸模板图像,即该用户还未登记人脸信息,快递终端可以通过第一摄像头采集该用户的第三人脸图像。进一步地,可以通过上述收发器向服务器发送上述第三身份信息以及对应的上述第三人脸图像,服务器可以进行存储,完成用户信息登记。之后,用户即可以通过人脸识别完成快递查询、取件等功能。具体的,快递终端可以接收用户输入的信息进行查询,举例来讲,用户可以在快递终端输入上述第三身份信息,以查询是否存在待取快递。The user can make a manual query on the courier terminal. The user can input the third identity information to trigger the above query instruction, and the courier terminal can obtain the face template image corresponding to the third identity information. As described above, the exemplary The aforementioned obtaining of the face template image corresponding to the aforementioned third identity information can be executed in the courier terminal or the cloud server, and will not be repeated here. If the face template image corresponding to the third identity information is not found, that is, the user has not registered the face information, the express terminal may collect the third face image of the user through the first camera. Further, the third identity information and the corresponding third face image may be sent to the server through the transceiver, and the server may store the information to complete the user information registration. After that, the user can complete functions such as express inquiry and pickup through face recognition. Specifically, the courier terminal may receive information input by the user to make a query. For example, the user may input the aforementioned third identity information at the courier terminal to query whether there is a courier to be picked up.
快递终端通过用户输入的手机号可以查询对应绑定的快递信息,,向用户展示。具体地,可以参考图8所示的人脸与手机号绑定方法流程示意图,该方法可包括以下步骤,其中,以下步骤在前面实施例已经描述的,此处不再赘述:The express terminal can query the corresponding bound express information through the mobile phone number entered by the user, and display it to the user. Specifically, reference may be made to the schematic flow chart of the method for binding a face and a mobile phone number shown in FIG. 8. The method may include the following steps, wherein the following steps have been described in the previous embodiment and will not be repeated here:
在步骤801中,第一摄像头检测图像变化。In step 801, the first camera detects an image change.
在步骤802中,获取人脸图像并发送。其中服务器可以由模块3实现人脸识别。In step 802, a face image is acquired and sent. The server can realize face recognition by module 3.
在步骤803中,根据返回的人脸组,过滤并选择最可能的一个人脸。In step 803, according to the returned face group, filter and select the most probable face.
在步骤804中,将手机号与人脸图片发送服务器的模块4做绑定。如前述所述,已经存储的人脸图片与手机号具有对应关系,可以通过模块4的云端业务服务确定该用户的目标手机号。In step 804, the mobile phone number is bound to the module 4 of the face picture sending server. As mentioned above, the stored face pictures have a corresponding relationship with the mobile phone number, and the user's target mobile phone number can be determined through the cloud service of the module 4.
在步骤805中,将绑定信息发送给第三方业务服务器。快递终端可向第三方业务服务器(如快递管理系统)发送上述绑定信息,第三方业务服务器可以存储该用户的绑定信息,之后该用户即可通过前述方式(包括人脸识别)进行取件、查询。In step 805, the binding information is sent to the third-party service server. The courier terminal can send the above-mentioned binding information to a third-party service server (such as a courier management system), and the third-party service server can store the binding information of the user, and then the user can pick up the package through the aforementioned methods (including face recognition) ,Inquire.
此场景适用于用户输入手机号进行手动查询后,若查询到对应的快递单,可以进行绑定接口调用,进行人脸绑定。This scenario is suitable for the user to enter the mobile phone number for manual query, and if the corresponding express order is found, the binding interface can be called to perform face binding.
在一种实施方式中,本公开实施例中的快递终端还可以应用于快递入库场景的信息登记。该方法包括如下步骤:通过快递终端的摄像头采集快递包裹的快递图像,并获取上述快递图像中描述的快递包裹的收件人信息、快递包裹的快递标识信息;生成包含上述快递图像中描述的收件人信息、快递标识信息的快递入库信息;向第三方管理系统发送上述快递入库信息,以进行入库登记。。In an implementation manner, the express terminal in the embodiment of the present disclosure may also be applied to information registration in the express delivery storage scenario. The method includes the following steps: collecting the express image of the express package through the camera of the express terminal, and obtaining the recipient information of the express package and the express identification information of the express package described in the express image; The courier warehousing information of the person information and the courier identification information; the above-mentioned express warehousing information is sent to the third-party management system for storage registration. .
具体的,上述快递图像可以理解为包括快递包裹的图像,比如在该快递入库时处于摄像头范围内采集到的图像,如快递入库时工作人员搬运该快递时采集到的图像。上述快递终端包括用于采集快递图像的摄像头,即工作人员可以拿着快递站在该快递终端的图像采集区域,该快递终端可以通过摄像头进行快递图像的采集和识别。Specifically, the aforementioned express image may be understood to include an image of a courier package, such as an image collected within a camera range when the courier is in storage, such as an image collected when a worker carries the courier when the courier is in storage. The above-mentioned express terminal includes a camera for collecting express images, that is, the staff can hold the express station in the image collection area of the express terminal, and the express terminal can collect and recognize express images through the camera.
上述图像信息提取的方法可以参考前述任一实施例的描述,此处不再赘述。For the method of extracting the above image information, reference may be made to the description of any of the foregoing embodiments, and details are not described herein again.
示例性的,还可以结合前述描述的人脸识别确定或者登记负责该快递入库的工作人员的身份,同样通过摄像头进行人脸图像获取和身份验证,快递入库信息中可以包含该工作人员的人脸图像。进一步,通过人脸识别还能查询不同工作人员负责的入库快递信息,该过程类似于快递取件查询,此处不再赘述。通过上述方案可以使快递入库更加规范安全,便于查询。Exemplarily, the face recognition described above can also be combined to determine or register the identity of the staff responsible for the courier warehousing, and the facial image acquisition and identity verification can also be performed through the camera. The courier warehousing information can include the staff’s identity. Face image. Further, through face recognition, you can also inquire about the inbound express information that different staff are responsible for. The process is similar to express pickup inquiry, so I won't repeat it here. Through the above scheme, the express delivery can be more standardized and safer and easier to inquire.
图9是本公开实施例公开的一种快递入库方法的流程示意图,本公开实施例中的执行主体可以为上述快递终端,可以与服务器以及第三方业务服务器进行交互。如图9所示,该方法可包括:FIG. 9 is a schematic flowchart of an express delivery storage method disclosed in an embodiment of the present disclosure. The execution subject in the embodiment of the present disclosure may be the aforementioned express terminal, which can interact with the server and the third-party service server. As shown in Figure 9, the method may include:
在步骤901中、第二摄像头检测图像变化;发送相机帧数据。其中可以具体参见前述任一实施例的描述,该第二摄像头与人脸识别的第一摄像头不同,可以为工业相机摄像头,获取黑白图像,便于条码识别等。上述相机帧数据即为采集的快递图像,可以发送到图中的模块5(如快递单图片剪裁SDK)进行处理。In step 901, the second camera detects an image change; sends camera frame data. For details, please refer to the description of any one of the foregoing embodiments. The second camera is different from the first camera for face recognition, and may be an industrial camera camera to obtain black and white images, which is convenient for barcode recognition. The above-mentioned camera frame data is the collected express image, which can be sent to the module 5 in the figure (such as the express order picture clipping SDK) for processing.
在步骤902中,通过模块5提供的图像处理服务,可剪裁出条码区域并转正图像,返回快递终端。In step 902, through the image processing service provided by the module 5, the barcode area can be cropped and the image can be corrected, and then returned to the express terminal.
在步骤903中、发送转正的快递单。在转正之后可以向服务器发送转正的快递单,服务器可以通过模块6,比如具有快递单识别功能的云服务,以进行快递单云端识别,获得转正的快递单快递信息。In step 903, the forwarded courier note is sent. After the conversion, the converted express order can be sent to the server, and the server can use module 6, such as a cloud service with express order identification function, to perform the cloud identification of the express order and obtain the information of the converted express order.
在步骤904中,返回手机号、条形码、其他OCR信息等给快递终端。In step 904, the mobile phone number, barcode, other OCR information, etc. are returned to the express terminal.
在步骤905中、入库(快递号、收件人手机号)。快递终端向第三方业务服务器(如第三方库存管理系统服务器)发送包含上述快递号、收件人手机号的入库信息,第三方业务服务器可以进行登记,便于准确、安全进行库存管理。In step 905, storage (express number, recipient's mobile phone number). The express terminal sends the storage information including the above-mentioned express number and the recipient's mobile phone number to a third-party service server (such as a third-party inventory management system server), and the third-party service server can register, so as to facilitate accurate and safe inventory management.
该快递终端还可进行广告推荐。在一种实施方式中,该快递终端还可:从服务器获取与取件人的第一人脸图像匹配的目标特征标签,以及与上述目标特征标签对应的至少一个目标推荐信息;在快递终端的显示屏上显示上述至少一个目标推荐信息。The express terminal can also carry out advertisement recommendations. In one embodiment, the express terminal may also: obtain a target feature tag matching the first face image of the pickup person from the server, and at least one target recommendation information corresponding to the target feature tag; The above-mentioned at least one target recommendation information is displayed on the display screen.
在一实施例中,快递终端可以从服务器中获取与取件人的第一人脸图像匹配的目标特征标签,服务器中可以存储有多个用于描述人脸特征属性的特征标签。示例性的,可以通过训练的神经网络模型获得上述第一人脸图像的人脸特征信息,即提取该人脸特征,确定与该第一人脸图像匹配的目标特征标签,以实现定向信息推荐。In an embodiment, the express terminal may obtain a target feature tag matching the first facial image of the pickup person from the server, and the server may store a plurality of feature tags for describing facial feature attributes. Exemplarily, the face feature information of the first face image can be obtained through the trained neural network model, that is, the face feature is extracted, and the target feature tag that matches the first face image is determined, so as to realize the directional information recommendation .
通过人脸识别较为精准地提取人脸特征进行分析,确定用户的特征标签,比如上述特征标签可以包括用户属性(如性别、年龄、种族等)以及用户行为(微笑、平静等)。通过确定第一人脸图像信息对应的一个或者多个目标特征标签,可以获取对应的至少一个推荐信息进行展示,以向用户实现定向推荐,即推荐符合其身份、状态的广告。Facial features are more accurately extracted and analyzed through face recognition to determine the user's feature label. For example, the feature label may include user attributes (such as gender, age, race, etc.) and user behavior (smiling, calm, etc.). By determining one or more target feature tags corresponding to the first face image information, at least one piece of corresponding recommendation information can be obtained for display, so as to implement targeted recommendation to users, that is, to recommend advertisements that meet their identity and status.
在一实施例中,可以预先设置多种特征标签,以及特征标签与推荐信息的映射关系,通过上述目标特征标签可以确定至少一个目标推荐信息。上述目标信息推荐可以在用户查询快递或者快递取件的场景下执行,比如,可以在快递终端为用户展示存放位置信息的同时展示上述目标推荐信息。In an embodiment, a variety of feature tags and the mapping relationship between the feature tags and the recommendation information can be preset, and at least one target recommendation information can be determined through the target feature tags. The foregoing target information recommendation may be performed in a scenario where the user queries express delivery or express pickup. For example, the foregoing target recommendation information may be displayed while the express terminal displays storage location information for the user.
示例性的,还可以通过识别用户的穿着确定其特征标签,以推荐相应的广告,比如相似风格的服饰等,此处不作限制。Exemplarily, the characteristic tags of the user can also be determined by recognizing the user's wear, so as to recommend corresponding advertisements, such as clothing of similar style, which is not limited here.
上述信息推荐可基于云端服务(比如广告Software Development Kit)实现。示例性的,可借助现有投放应用程序实现广告拉取,最终在快递终端上展示相应的广告。The above information recommendation can be implemented based on cloud services (such as advertising Software Development Kit). Exemplarily, the existing delivery application can be used to achieve advertisement pull, and finally the corresponding advertisement is displayed on the express terminal.
上述方法可以在通用普通摄像头前提下,快速跟踪并捕捉快递取件人的面部特征,通过获取精准的特征标签,实现对用户的定向信息推荐。The above method can quickly track and capture the facial features of the express pickup person under the premise of a general-purpose common camera, and realize the directional information recommendation to the user by obtaining accurate feature tags.
在另一实施例中,根据所述人脸信息,输出所述人脸信息所对应用户画像对应的多媒体信息。所述人脸信息中可以提取出一种或多种能够标识用户身份的信息。在本公开实施例中,根据所述人脸信息将可以获得当前正在处理单据用户的用户画像。所述用户画像可用于指示以下信息至少之一:用户的喜好;用户的厌恶;用户的消费需求;用户的消费习惯;用户的支付能力;用户的审美能力等。In another embodiment, according to the facial information, the multimedia information corresponding to the user portrait corresponding to the facial information is output. One or more kinds of information that can identify the user's identity can be extracted from the face information. In the embodiment of the present disclosure, the user portrait of the user who is currently processing the receipt can be obtained according to the face information. The user portrait may be used to indicate at least one of the following information: the user's preferences; the user's dislikes; the user's consumption needs; the user's consumption habits; the user's ability to pay; the user's aesthetic ability, etc.
在本公开实施例中,会根据所述用户画像输出所述多媒体信息。所述终端设备 在进行单据的入库或出库的过程中,可能会存在信息录入等等待时间,在该时间内输出与用户画像相适配的多媒体信息,可以提升用户体验。所述多媒体信息包括各种推广信息,例如,商品和/或服务的广告。In the embodiment of the present disclosure, the multimedia information is output according to the user portrait. The terminal device may have waiting time such as information entry in the process of document entry or exit, during which time multimedia information suitable for the user portrait can be output, which can improve user experience. The multimedia information includes various promotion information, for example, advertisements of goods and/or services.
本公开实施例还提供一种信息处理方法,应用于服务器中。图10示出了另一种信息处理方法的流程示意图,如图10所示,上述方法包括:The embodiment of the present disclosure also provides an information processing method, which is applied in a server. FIG. 10 shows a schematic flowchart of another information processing method. As shown in FIG. 10, the above method includes:
1001、接收快递终端发送的第二人脸图像;1001. Receive a second face image sent by an express terminal;
1002、查找与第二人脸图像匹配的第二身份信息;1002. Search for second identity information matching the second face image;
1003、确定与上述第二身份信息匹配的快递的存放位置信息;向上述快递终端发送上述存放位置信息,上述存放位置信息用于指示上述快递的位置信息。1003. Determine the storage location information of the courier that matches the second identity information; send the storage location information to the courier terminal, and the storage location information is used to indicate the location information of the courier.
在一实施例中,上述存放位置信息包括以下信息中的至少一种:仓库标识信息、货架标识信息、货架中储物格的标识信息、快递标识信息。In an embodiment, the aforementioned storage location information includes at least one of the following information: warehouse identification information, shelf identification information, identification information of storage compartments in the shelf, and express delivery identification information.
其中,有关服务器侧执行的信息处理方法的具体过程可参见上述实施例中与服务器有关的描述,这里不再展开说明。For the specific process of the information processing method executed on the server side, reference may be made to the server-related description in the foregoing embodiment, and the description is not repeated here.
上述主要从方法侧执行过程的角度对本公开实施例的方案进行了介绍。可以理解的是,信息处理装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本公开能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。The foregoing mainly introduces the solutions of the embodiments of the present disclosure from the perspective of the execution process on the method side. It can be understood that, in order to realize the above-mentioned functions, the information processing apparatus includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should be aware that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the present disclosure.
本公开实施例可以根据上述方法示例对信息处理装置进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本公开实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present disclosure may divide the information processing apparatus into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present disclosure is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
以下结合上述任意实施例提供两个具体示例:Two specific examples are provided below in conjunction with any of the foregoing embodiments:
示例1:本示例提供一种信息处理方法,本方案主要基于快递OCR识别,提取快递面单上的所有文字信息。其中,快递单号的识别同时采用了文字OCR识别和条码识别,并采用了交叉校验的方式,保证了在该复杂场景下的高准确率。Example 1: This example provides an information processing method. This solution is mainly based on express OCR recognition and extracts all text information on the express delivery note. Among them, the identification of the express order number uses both text OCR recognition and bar code recognition, and a cross-checking method is used to ensure high accuracy in this complex scene.
同时,通过人脸识别和快递单识别的方式进行验证,保证了快递的正确高效领取。At the same time, verification is carried out by means of face recognition and courier note recognition to ensure the correct and efficient delivery of couriers.
快递单号识别:本场景使用快递单号主要由以下步骤完成:Courier tracking number identification: The use of express tracking number in this scenario is mainly completed by the following steps:
首先,广告机端(安卓端)检测到快递单,进行拍照并将快递单部分抠图;广告机端将快递单部分图片回传至云端,由云服务器进行OCR检测,将条码区域和快递单号区域检测出来,并分别使用条码识别及OCR识别。针对条码得到一个识别信息;同时基于OCR识别得到另一个识别信息;通过这两个识别信息的交叉比对,将得到这 个快递单号的交叉比对结果。First, the advertising machine (Android) detects the express order, takes a picture and cuts out the part of the express order; the advertising machine returns the part of the express order to the cloud, and the cloud server performs OCR detection, and the barcode area and the express order The number area is detected, and barcode recognition and OCR recognition are used respectively. Obtain one identification information for the barcode; at the same time, obtain another identification information based on OCR identification; through the cross comparison of these two identification information, the cross comparison result of this express tracking number will be obtained.
云端再将两个结果进行交叉比对,从而得出高置信度的结果;若比对结果不一致,则置信度较低,可重新检测拍照及识别。The cloud then cross-checks the two results to get a high-confidence result; if the comparison results are inconsistent, the confidence is low, and you can re-detect, take pictures and identify.
人脸识别验证:在快递出库时,用户扫描快递单识别单号和手机号的同时,一体机同时识别用户人脸,并根据事先完成的人脸和手机号绑定关系,关联出该用户账号(即手机号),并与快递面单收件人手机号进行比对,若比对正确,则验证通过。该方式可以极大提升快递出库效率,传统的方式是人工签字并撕下底单,总耗时约15至30s,而该自助出库方式仅需1至2s时间,大大提升处理效率。Face recognition verification: When the express delivery is out of the warehouse, the user scans the express order to identify the tracking number and mobile phone number, and the all-in-one machine recognizes the user's face at the same time, and associates the user according to the previously completed face and mobile phone number binding relationship The account number (ie mobile phone number) is compared with the mobile phone number of the recipient of the express face bill. If the comparison is correct, the verification is passed. This method can greatly improve the efficiency of express delivery. The traditional method is to manually sign and tear off the bottom sheet, which takes about 15 to 30 seconds. The self-service delivery method only takes 1 to 2 seconds, which greatly improves the processing efficiency.
示例2:本示例提供以一种手机号和人脸之间无感绑定的方法,具体可包括:Example 2: This example provides a method for non-sense binding between mobile phone number and face, which can specifically include:
由于初期未有用户人脸和手机号的关联关系,因此需要有一套关联机制。本产品采用无感绑定的方式,由于用户领取快递和其本人身份有极大的关联关系,因此,可通过追踪用户领取快递的行为,来逐步增强用户人脸与手机号的关联关系;如,用户甲领取一个快递(手机号为A),则假定关联关系为60%,若下次甲又一次领取手机号为A的快递,则可递增为90%,若再次发生,则可认为99%,此参数为假设参数,实际为大数据预测数值。然后我们设定一个阈值作为关联关系的阈值(对应于前述预设值),则可以完成用户人脸与手机号的绑定关系。Since there is no association between the user's face and the phone number in the initial stage, a set of association mechanism is needed. This product adopts a non-sense binding method. Because the user's delivery of express delivery is greatly related to his identity, the relationship between the user's face and mobile phone number can be gradually enhanced by tracking the user's delivery behavior; , User A receives a courier (mobile phone number is A), assuming the association relationship is 60%, if next time A receives a courier with mobile phone number A again, it can increase to 90%, if it happens again, it can be considered 99 %. This parameter is a hypothetical parameter, which is actually a big data predicted value. Then we set a threshold as the threshold of the association relationship (corresponding to the aforementioned preset value), and then the binding relationship between the user's face and the mobile phone number can be completed.
在获得用户的人脸特征信息等标识用户身份信息之后,就可以根据用户身份获得用户画像,从而实现目标推荐信息的定向投放。After obtaining the user's facial feature information and other identifying user identity information, the user's portrait can be obtained according to the user's identity, thereby realizing the targeted placement of target recommendation information.
图11示出了一个示例性实施例中的快递出库方法的流程示意图,该方法可以由任意设备执行,例如,可以由快递终端执行,或者,可以由服务器执行。如图11所示,该方法可以包括如下处理,其中,具体实施中不限制各步骤之间的执行顺序,并且,对于已经在前面的任一实施例描述过的处理,将不再详述:FIG. 11 shows a schematic flowchart of an express delivery method in an exemplary embodiment. The method may be executed by any device, for example, may be executed by an express terminal, or may be executed by a server. As shown in FIG. 11, the method may include the following processing, wherein the execution order between the steps is not limited in specific implementation, and the processing that has been described in any of the previous embodiments will not be described in detail:
在步骤1101中,获取通过终端设备的至少一个摄像头采集到的快递包裹的快递图像,其中,所述快递图像用于获取所述快递包裹的快递单据信息。In step 1101, an express image of the express package collected by at least one camera of the terminal device is acquired, where the express image is used to acquire the express document information of the express package.
例如,本公开实施例中的终端设备可以包括但不限于快递终端,该终端设备可以通过同一个摄像头采集快递图像和第一人脸图像,也可以分别通过不同的摄像头采集快递图像和第一人脸图像。所述的快递包裹可以是待出库的包裹,所述的快递单据信息包括但限于快递包裹的收件人信息和快递标识信息中的至少一种。For example, the terminal device in the embodiment of the present disclosure may include, but is not limited to, a courier terminal. The terminal device can collect the courier image and the first face image through the same camera, or it can collect the courier image and the first person through different cameras. Face image. The express package may be a package to be out of the warehouse, and the express document information includes but is limited to at least one of the recipient information of the express package and the express identification information.
在步骤1102中,获取通过所述至少一个摄像头采集到的第一人脸图像。例如,该第一人脸图像可以是快递包裹的取件人的人脸图像。In step 1102, a first face image collected by the at least one camera is acquired. For example, the first facial image may be the facial image of the person who picked up the parcel.
在步骤1103中,基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作。In step 1103, based on the express image and the first face image, perform the delivery operation of the express package.
例如,在基于快递图像和第一人脸图像进行快递包裹的出库操作时,可通过判断所述第一人脸图像与从所述快递图像中获取到的快递单据信息是否匹配,执行所述快递包裹的出库操作。For example, when the delivery operation of express parcels is performed based on the express image and the first face image, the execution of the operation can be performed by judging whether the first facial image matches the express document information obtained from the express image. Delivery operations of express parcels.
该方法可应用于终端设备,终端设备可通过摄像头采集第一人脸图像和快递图 像,并基于快递图像和第一人脸图像,执行所述快递包裹的出库操作。例如,终端设备可对快递图像和第一人脸图像进行校验,得到校验结果,并据此执行对快递包裹的出库操作。再例如,终端设备可向服务器发送出库请求,由服务器基于出库请求进行校验得到校验结果,并向终端设备返回该校验结果,终端设备可基于该校验结果进行对快递包裹的出库操作。该出库请求可包括该第一人脸图像和快递图像,或者终端设备对第一人脸图像和快递图像进行处理,例如,特征提取、单据检测、文本识别、条码识别等一项或任意多项,并将处理得到的结果包括的出库请求中发送给服务器,本公开实施例对此不做限定。This method can be applied to a terminal device. The terminal device can collect the first face image and the express image through a camera, and perform the delivery operation of the express package based on the express image and the first face image. For example, the terminal device can verify the express image and the first face image, obtain the verification result, and perform the outbound operation of the express package based on this. For another example, the terminal device may send a request to the server to check out the warehouse, and the server will check the check result based on the request, and return the check result to the terminal device. The terminal device may check the express package based on the check result. Outbound operation. The delivery request may include the first facial image and the express image, or the terminal device processes the first facial image and the express image, for example, one or more of feature extraction, document detection, text recognition, barcode recognition, etc. Item, and send the library out request included in the processed result to the server, which is not limited in the embodiment of the present disclosure.
该方法可应用于服务器,服务器可接收终端设备发送的出库请求,该出库请求包括第一人脸图像和快递图像,并对第一人脸图像和快递图像进行校验,得到校验结果,并据此确定对快递包裹进行的出库操作,或者,服务器可向终端设备返回对快递包裹进行的出库操作的指示,以使得终端设备进行对快递包裹的出库操作。The method can be applied to a server, and the server can receive a warehouse-out request sent by a terminal device. The warehouse-out request includes the first face image and the express image, and the first facial image and the express image are verified to obtain the verification result , And determine the outbound operation of the express package based on this, or the server may return an instruction for the outbound operation of the express package to the terminal device, so that the terminal device performs the outbound operation of the express package.
在判断第一人脸图像与从所述快递图像中获取到的快递单据信息是否匹配时,可基于所述快递单据信息查询账号数据库,得到第一账号信息;通过判断所述第一人脸图像与所述第一账号信息对应的注册人脸数据是否匹配,确定所述快递包裹是否出库通过。比如,第一账号信息可包括但不限于手机号、身份证号等信息。第一账号信息对应的注册人脸数据可以是基于用户预先绑定的账号信息与人脸数据的绑定关系得到。如果第一人脸图像与注册人脸数据匹配,则校验通过可出库。其中,上述的注册人脸数据可以是人脸特征/虹膜特征等唯一标识人物身份的信息,可通过比对注册人脸数据与取件人的人脸图像,来确定取件人是否是真正的收件人。When judging whether the first face image matches the express receipt information obtained from the express image, the account database can be queried based on the express receipt information to obtain the first account information; by judging the first face image Whether the registered face data corresponding to the first account information matches, it is determined whether the express package passes through the warehouse. For example, the first account information may include, but is not limited to, mobile phone number, ID number and other information. The registered face data corresponding to the first account information may be obtained based on the binding relationship between the user's pre-bound account information and the face data. If the first face image matches the registered face data, it can be shipped out after the verification is passed. Among them, the above-mentioned registered face data can be information that uniquely identifies a person's identity, such as facial features/iris features, etc. The registered face data can be compared with the person's face image to determine whether the person who picked up is genuine Recipient.
在另一些实施例中,在判断第一人脸图像与从所述快递图像中获取到的快递单据信息是否匹配时,还可以是基于所述第一人脸图像查询人脸数据库,得到所述第一人脸图像的人物身份信息;通过判断所述人脸身份信息与所述快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,确定所述快递包裹是否出库通过。In other embodiments, when determining whether the first face image matches the express receipt information obtained from the express image, it may also be based on the first face image to query the face database to obtain the The person identity information of the first face image; by judging whether the face identity information is consistent with the recipient information included in the courier receipt information, and/or by judging whether the face identity information corresponds to waiting Whether the express delivery information is consistent with the express delivery identification information included in the express delivery document information, it is determined whether the express package passes through the warehouse.
比如,人脸身份信息可以是手机号,那就是根据取件人的人脸图像获得其手机号,查看该手机号是否与快递包裹上的快递单据中写的收件人手机号是否一致。或者还可以是,根据取件人的人脸图像找到对应的手机号,再根据手机号找到对应的待取快递,查看该待取快递是否与当前要取走的快递包裹上的快递标识是否一致。如果上述比对一致,则确认校验通过,快递包裹可以出库通过。此外,上述这种基于人脸身份信息对应的待取快递信息与快递标识信息是否一致的比对方式实现快递出库,使得无需进行文本识别,从而使得快递的收件人信息不是真实姓名的情况下也能成功出库。For example, the facial identity information can be a mobile phone number, which is to obtain the mobile phone number of the pickup person based on the face image of the pickup person, and check whether the mobile phone number is consistent with the recipient's mobile phone number written in the express receipt on the express package. Or, find the corresponding mobile phone number based on the person's face image, and then find the corresponding courier to be picked up based on the mobile phone number, and check whether the courier to be picked up is consistent with the courier logo on the courier package currently to be taken . If the above comparisons are consistent, the verification is confirmed and the express package can be passed out of the warehouse. In addition, the above-mentioned comparison method based on whether the courier information to be retrieved corresponding to the facial identity information is consistent with the courier identification information realizes the express delivery out of the warehouse, so that text recognition is not required, so that the recipient information of the express is not the real name. The download can also be successfully released.
在一些实施例中,在所述第一人脸图像与从所述快递包裹图像中获取到的快递单据信息匹配的情况下,确定所述快递包裹出库通过;并且,可以将快递包裹的状态更新为已出库状态。当然,是否更改出库状态可以作为可选的操作。In some embodiments, in the case that the first face image matches the express document information obtained from the express package image, it is determined that the express package passes through the warehouse; and the status of the express package can be checked Update to the state of being shipped out. Of course, whether to change the outbound status can be an optional operation.
在一些实施例中,在所述第一人脸图像与所述获取到的快递单据信息不匹配的情况下,确定所述快递包裹出库异常。当出库异常时,可以输出警示信息(比如,语音提示),或者,还可以将所述快递包裹投入快递锁定装置内,或者,还可以提示输入用 户验证信息。比如,取件人可以将要取走的快递包裹放在快递终端的承物台上,如果校验人脸图像与快递单据信息不匹配,快递终端上的快递锁定装置可以打开,例如该快递锁定装置可以是与承物台连通的一个储物空间,可以自动开启该储物空间,使得快递包裹自动进入该储物空间中,从而对快递包裹起到保护作用,避免被冒领取走。In some embodiments, in a case where the first face image does not match the obtained express delivery document information, it is determined that the express package is abnormally shipped out of the warehouse. When the warehouse is abnormal, warning information (for example, voice prompt) can be output, or the express package can be put into the express locking device, or the user verification information can be prompted to input. For example, the picker can place the courier package to be taken on the shelf of the courier terminal. If the verification face image does not match the courier document information, the courier locking device on the courier terminal can be opened, such as the courier locking device It can be a storage space connected to the supporting platform, and the storage space can be automatically opened, so that the express package enters the storage space automatically, thereby protecting the express package from being taken away by fraud.
在一些实施例中,对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息,其中,所述快递单据信息包括所述快递包裹的收件人信息和快递标识信息中的至少一种。基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作。例如,可以对所述快递图像的条码区域进行条码识别处理,得到所述快递标识信息;和/或,对所述快递图像的文本区域进行文本识别处理,得到所述收件人信息和所述快递标识信息中的至少一种。In some embodiments, document identification processing is performed on at least a part of the express image to obtain the express document information, wherein the express document information includes at least one of the recipient information of the express package and the express identification information One kind. Based on the courier document information and the first face image, perform an outbound operation of the courier package. For example, barcode recognition processing may be performed on the barcode area of the express image to obtain the express delivery identification information; and/or text recognition processing may be performed on the text area of the express image to obtain the recipient information and the At least one of express delivery identification information.
在对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息时,可以包括:对所述快递图像的至少一部分进行边缘检测处理,得到条码区域的位置信息;对所述快递图像的至少一部分进行裁剪处理,得到所述条码区域的图像;识别所述条码区域的图像,得到所述快递标识信息。Performing document identification processing on at least a part of the express image to obtain the express document information may include: performing edge detection processing on at least a part of the express image to obtain position information of the barcode area; At least a part of the barcode area is cropped to obtain the image of the barcode area; the image of the barcode area is recognized to obtain the express delivery identification information.
在所述识别所述条码区域的图像之前,还包括:通过比对所述条码区域的图像中包含的条码长度和条码内容中的至少一种,验证所述条码区域的图像是否有效;所述识别所述条码区域的图像,包括:在确定所述条码区域的图像有效的情况下,进行所述条码区域图像的识别。Before the identifying the image of the barcode area, the method further includes: verifying whether the image of the barcode area is valid by comparing at least one of the barcode length and the barcode content contained in the image of the barcode area; Recognizing the image of the barcode area includes: when it is determined that the image of the barcode area is valid, recognizing the image of the barcode area.
例如,通过比对条码区域的图像中包含的条码长度与长度阈值,来验证所述条码区域的图像是否有效。或者,通过判断所述条码区域的图像中的条码是否满足条码编码规则,来验证所述条码区域的图像是否有效。具体的判断规则可以参见前述实施例。For example, by comparing the length of the barcode contained in the image of the barcode area with a length threshold, it is verified whether the image of the barcode area is valid. Alternatively, it is verified whether the image of the barcode area is valid by determining whether the barcode in the image of the barcode area meets the barcode encoding rule. For specific judgment rules, refer to the foregoing embodiment.
所述对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息,包括:对所述快递图像进行快递单据检测,得到快递单据在所述快递图像中的位置信息;基于所述快递单据的位置信息,从所述快递图像中获取包含快递单据的至少一部分的目标区域图像;对所述目标区域图像进行识别处理,得到所述快递单据信息。The performing document identification processing on at least a part of the express image to obtain the express document information includes: performing express document detection on the express image to obtain position information of the express document in the express image; based on the The location information of the express document is obtained from the express image including at least a part of the target area image of the express document; the target area image is recognized to obtain the express document information.
所述快递标识信息包括:通过对所述快递图像的至少一部分进行文本识别处理得到的第一快递标识信息、通过对所述快递图像的至少一部分进行条码识别处理得到的第二快递标识信息;所述基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作,包括:确定所述第一快递标识信息和所述第二快递标识信息是否匹配;在所述第一快递标识信息和所述第二快递标识信息匹配的情况下,基于所述第一快递标识信息或所述第一标识信息以及所述第一人脸图像,执行对所述快递包裹的出库操作。这里的第一快递标识信息和第二快递标识的匹配比较,具体请参见前述实施例的第一标识信息和第二标识信息之间的匹配比较,不再详述。The express delivery identification information includes: first express delivery identification information obtained by performing text recognition processing on at least a part of the express delivery image, and second express delivery identification information obtained by performing barcode recognition processing on at least a part of the express delivery image; The execution of the outbound operation of the express package based on the express delivery document information and the first face image includes: determining whether the first express delivery identification information and the second express delivery identification information match; In the case where the first express delivery identification information and the second express delivery identification information match, based on the first express delivery identification information or the first identification information and the first face image, perform a check on the express package Outbound operation. For the matching comparison between the first express identification information and the second express identification here, please refer to the matching comparison between the first identification information and the second identification information in the foregoing embodiment for details, which will not be described in detail.
所述基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作,包括:基于所述快递单据信息查询账号数据库,得到第一账号信息;通过判断所述第一人脸图像与所述第一账号信息对应的注册人脸数据是否匹配,确定所述快递包裹是否出库通过。The performing the outbound operation of the express package based on the express delivery receipt information and the first face image includes: querying an account database based on the express delivery receipt information to obtain first account information; Whether the first face image matches the registered face data corresponding to the first account information, it is determined whether the express package passes through the warehouse.
所述基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作,包括:基于所述第一人脸图像查询人脸数据库,得到所述第一人脸图像的人脸身份信息;通过判断所述人脸身份信息与所述快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,确定所述快递包裹是否出库通过。The performing an outbound operation of the express package based on the express receipt information and the first face image includes: querying a face database based on the first face image to obtain the first face image The facial identity information of the image; by judging whether the facial identity information is consistent with the recipient information included in the courier receipt information, and/or by judging whether the courier information to be fetched corresponding to the facial identity information is consistent with Whether the express delivery identification information included in the express delivery bill information is consistent, it is determined whether the express package passes through the warehouse.
当该方法应用于服务器时,所述获取通过终端设备的至少一个摄像头采集到的快递包括的快递图像和第一人脸图像,包括:接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括所述快递图像和所述第一人脸图像中的至少一种。比如,这种场景可以是,取件人将待取走的快递包裹放在快递终端上,快递终端可以采集快递包裹的快递图像以及取件人的第一人脸图像,其中,快递终端可以将这两种图像都通过快递出库请求消息发送到服务器,由服务器提取快递图像中的快递单据信息,并进行第一人脸图像与快递单据信息的匹配校验;还可以是,快递终端将快递图像发给服务器,服务器返回给快递终端其识别到的快递单据信息,由快递终端进行第一人脸图像与快递单据信息的匹配校验。或者,也可以是,快递终端将第一人脸图像发送给服务器,由服务器返回给快递终端其识别到的取件人的身份信息,由快递终端自己根据身份信息以及快递图像中识别到的快递单据信息进行比对。实际实施中不局限于上述举例的方式,还可以有其他方式,总之,快递终端可以将采集到的快递图像和第一人脸图像中的至少一种发送给服务器,由服务器协助进行图像识别或者匹配校验等处理。When the method is applied to a server, the acquiring the express image and the first face image included in the express collected by at least one camera of the terminal device includes: receiving the express delivery request message sent by the terminal device, and the express delivery The library request message includes at least one of the express image and the first face image. For example, this scenario can be that the picker puts the courier package to be taken on the courier terminal. The courier terminal can collect the courier image of the courier package and the first face image of the picker. The courier terminal can Both images are sent to the server by express delivery request message, and the server extracts the express document information in the express image, and performs matching verification between the first face image and the express document information; or, the express terminal will express The image is sent to the server, and the server returns the courier document information recognized by the courier terminal, and the courier terminal performs matching verification between the first face image and the courier document information. Or, it can also be that the courier terminal sends the first face image to the server, and the server returns the identity information of the pickup person identified by the courier terminal, and the courier terminal itself based on the identity information and the courier identified in the courier image Document information is compared. The actual implementation is not limited to the above-mentioned examples, and there are other ways. In short, the express terminal can send at least one of the collected express image and the first face image to the server, and the server assists in image recognition or Match checking and other processing.
所述方法还包括:响应于接收到快递查询请求,获取通过所述至少一个摄像头采集的第二人脸图像;基于所述第二人脸图像,得到用户待取快递的存放位置信息;在所述终端设备的显示屏上显示所述存放位置信息。The method further includes: in response to receiving a courier query request, obtaining a second face image collected by the at least one camera; based on the second facial image, obtaining information about the storage location of the courier to be taken by the user; The storage location information is displayed on the display screen of the terminal device.
比如,当该方法由快递终端执行时,快递终端可以接收快递查询请求,采集取件人的第二人脸图像,其中的得到用户待取快递的存放位置信息,可以是由快递终端将第二人脸图像发送给服务器,并接收服务器返回的存放位置信息。当该方法由服务器执行时,可以是快递终端接收到取件人的快递查询请求后,将该快递查询请求转发给服务器,并且将采集到的第二人脸图像也发送给服务器,服务器获得存放位置信息后发送给快递终端,由快递终端侧进行存放位置信息的显示。For example, when the method is executed by the courier terminal, the courier terminal can receive the courier query request and collect the second face image of the picker. Among them, the storage location information of the courier to be picked up by the user is obtained. The face image is sent to the server, and the storage location information returned by the server is received. When the method is executed by the server, the express terminal may forward the express inquiry request to the server after receiving the express inquiry request of the pickup person, and also send the collected second face image to the server, and the server obtains the storage The location information is then sent to the courier terminal, and the courier terminal side displays the storage location information.
所述方法还包括:获取与所述第一人脸图像匹配的目标特征标签,以及,获取与所述目标特征标签对应的至少一个目标推荐信息;在终端设备的显示屏上显示所述至少一个目标推荐信息。The method further includes: obtaining a target feature tag matching the first face image, and obtaining at least one target recommendation information corresponding to the target feature tag; and displaying the at least one target feature tag on the display screen of the terminal device Target recommendation information.
当所述方法应用于终端设备时,所述基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作,包括:向服务器发送第一人脸数据和快递数据,以使得所述服务器确定所述第一人脸图像与所述快递图像是否匹配,其中,所述第一人脸数据包括所述第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括所述快递图像的至少一部分和/或从所述快递图像中获取到的所述快递单据信息;接收所述服务器发送的指示信息,其中,所述指示信息用于指示所述快递包裹是否出库通过。When the method is applied to a terminal device, the executing the delivery operation of the express package based on the express image and the first facial image includes: sending the first facial data and express data to a server, So that the server determines whether the first face image matches the express image, wherein the first face data includes the first face image and/or the features of the first face image Information, the courier data includes at least a part of the courier image and/or the courier document information obtained from the courier image; receiving instruction information sent by the server, wherein the instruction information is used to indicate Whether the express parcel passes out of the warehouse.
也就是说,这种情况可以是由服务器进行出库校验,即由服务器进行快递单据信息与第一人脸图像的匹配校验。而快递图像和第一人脸图像都是由快递终端侧采集获 取,具体实施时,快递终端可以直接将第一人脸图像发给服务器,或者发送通过对第一人脸图像进行特征提取得到的人脸特征数据,或者发送第一人脸图像和人脸特征数据,均可。快递数据可以是快递包裹对应的快递图像的至少一部分,或者是快递图像的至少一部分和/或快递单据信息,该快递单据信息可以是通过对条码区域进行识别得到的快递标识信息,或者是通过对文本区域进行文本检测得到收件人信息。That is to say, in this case, the server performs outbound verification, that is, the server performs matching verification between the express receipt information and the first facial image. The express image and the first face image are both collected by the express terminal. In specific implementation, the express terminal can directly send the first face image to the server, or send the first face image through feature extraction. The face feature data, or the first face image and face feature data can be sent. The express delivery data may be at least a part of the express image corresponding to the express package, or at least a part of the express image and/or express document information. The express document information may be express identification information obtained by identifying the barcode area, or through Perform text detection in the text area to obtain recipient information.
在一些实施例中,快递终端或者服务器还可以在快递包裹出库后,向快递管理系统发送快递出库通知消息,其中,所述快递出库通知消息包括快递包裹的信息以及第一人脸图像,其中,所述快递包裹的信息可以包括快递包裹对应的快递图像的至少一部分和/或快递单据信息,以使得快递管理系统进行出库记录。In some embodiments, the express terminal or server may also send an express delivery notification message to the express management system after the express package is delivered, where the express delivery notification message includes the information of the express package and the first face image Wherein, the information of the express package may include at least a part of the express image corresponding to the express package and/or the express document information, so that the express management system performs the outbound record.
本公开实施例的快递出库方法可由终端设备或者服务器执行均可,并且前面的信息处理方法的实施例中所述的处理,都可灵活的在终端设备侧执行,或者在服务器侧执行,本公开实施例不限制方法的具体执行设备,只要终端设备和服务器配合能够实现快递包裹的出库控制即可。例如,对快递图像中的快递单据信息的检测识别的相关处理,既可以在终端设备执行,也可在服务器侧执行,也可两者配合执行。又例如,对人脸图像的识别处理,或者基于人脸图像与快递单据信息的匹配校验,同样可在任意设备执行。The express delivery method of the embodiments of the present disclosure can be executed by a terminal device or a server, and the processing described in the foregoing embodiments of the information processing method can be flexibly executed on the terminal device side or on the server side. The disclosed embodiments do not limit the specific execution device of the method, as long as the terminal device and the server cooperate to realize the outbound control of the express package. For example, the processing related to the detection and identification of the courier document information in the courier image can be executed on the terminal device, on the server side, or by the two in cooperation. For another example, the recognition processing of the face image, or the matching verification based on the face image and the express receipt information, can also be performed on any device.
本公开实施例的快递出库方法,通过基于快递包裹的快递图像与取件人的人脸图像进行校验,来执行对快递包裹的出库控制,使得能够对取件人进行身份校验,验证取件人是否是真正的快递包裹的收件人,从而使得快递包裹出库更加安全。The express delivery method of the embodiment of the present disclosure performs the delivery control of the express package by verifying the express image of the express package and the face image of the picker, so that the identity of the picker can be verified. Verify whether the picker is the real recipient of the express package, so that the express package is safer from the warehouse.
图12示出了一个示例性实施例中的快递出库方法的流程示意图,该方法可以由服务器执行,如图12所示,该方法可以包括:FIG. 12 shows a schematic flow chart of an express delivery method in an exemplary embodiment. The method may be executed by a server. As shown in FIG. 12, the method may include:
在步骤1201中,接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括:第一人脸数据和快递数据,其中,所述第一人脸数据包括所述终端设备采集的取件人的第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括快递包裹的快递图像的至少一部分和/或从所述快递图像中获取到的快递单据信息。In step 1201, an express delivery request message sent by a terminal device is received. The express delivery request message includes: first facial data and express data, wherein the first facial data includes data collected by the terminal device. The first face image of the pickup person and/or the characteristic information of the first face image, the express delivery data includes at least a part of the express image of the express package and/or the express receipt obtained from the express image information.
在步骤1202中,基于所述第一人脸数据和快递数据,进行快递包裹的出库校验。In step 1202, based on the first face data and courier data, the delivery check of the courier package is performed.
在步骤1203中,向所述终端设备发送用于指示所述出库校验是否通过的快递出库响应。In step 1203, an express delivery response indicating whether the delivery check is passed is sent to the terminal device.
其中,在步骤1202,基于所述第一人脸数据和快递数据,进行快递包裹的出库校验,可包括:基于第一人脸数据判断对应的人脸身份信息与所述快递数据对应的快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,来确定快递包裹是否出库。或者,还可通过判断第一人脸图像与根据快递数据得到的第一账号信息对应的注册人脸数据是否匹配,来确定所述快递包裹是否出库。具体处理可参见本公开任一实施例。Wherein, in step 1202, based on the first facial data and the express data, performing the outbound verification of the express package may include: judging based on the first facial data that the corresponding facial identity information corresponds to the express data Whether the recipient information included in the courier document information is consistent, and/or the courier package is determined by determining whether the courier information to be retrieved corresponding to the facial identity information is consistent with the courier identification information included in the courier document information Whether it is out of the library. Alternatively, it may also be determined whether the express package is out of the warehouse by determining whether the first facial image matches the registered facial data corresponding to the first account information obtained from the express data. For specific processing, please refer to any embodiment of the present disclosure.
在一些实施例中,服务器接收到的快递数据是快递图像的至少一部分时,还可以对快递图像进行快递单据检测,得到快递单据在所述快递图像中的位置信息。基于所述快递单据的位置信息,从所述快递图像中获取包含快递单据的至少一部分的目标区域图像,并对所述目标区域图像进行识别处理,得到快递单据信息。In some embodiments, when the express delivery data received by the server is at least a part of the express delivery image, the express delivery document detection can also be performed on the express delivery image to obtain the location information of the express delivery document in the express delivery image. Based on the location information of the express document, a target area image containing at least a part of the express document is obtained from the express image, and the target area image is recognized to obtain express document information.
此外,服务器还可执行基于第一人脸图像获取对应的人物身份信息的处理,在快递单据信息的检测识别时,也可执行对文字区域的检测、条码区域的检测、条码区域的有效性判断、条码图形的转正处理等多种处理,具体可参见本公开任一实施例。In addition, the server can also perform the processing of obtaining corresponding personal identity information based on the first face image. When detecting and identifying express bill information, it can also perform the detection of the text area, the detection of the barcode area, and the validity judgment of the barcode area. , The conversion of barcode graphics and other processing, for details, please refer to any embodiment of the present disclosure.
本公开实施例的快递出库方法,通过基于快递包裹的快递数据与取件人的人脸数据进行校验,来执行对快递包裹的出库控制,使得能够对取件人进行身份校验,验证取件人是否是真正的快递包裹的收件人,从而使得快递包裹出库更加安全。The express delivery method of the embodiment of the present disclosure performs the delivery control of the express package by verifying the express data of the express package and the face data of the picker, so that the identity of the picker can be verified. Verify whether the picker is the real recipient of the express package, so that the express package is safer from the warehouse.
如图13所示,本公开实施例提供了一种电子设备,该电子设备包括处理器1301和存储器1302,其中,电子设备1300还可以包括总线1303,处理器1301和存储器1302可以通过总线1303相互连接,总线1303可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线1303可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中,电子设备1300还可以包括输入输出设备1304,输入输出设备1304可以包括显示屏,例如液晶显示屏。存储器1302用于存储包含指令的一个或多个程序;处理器1301用于调用存储在存储器1302中的指令执行本公开任一实施例中提到的部分或全部方法步骤。As shown in FIG. 13, an embodiment of the present disclosure provides an electronic device that includes a processor 1301 and a memory 1302. The electronic device 1300 may also include a bus 1303, and the processor 1301 and the memory 1302 may communicate with each other through the bus 1303. For connection, the bus 1303 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 1303 can be divided into an address bus, a data bus, a control bus, and so on. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus. The electronic device 1300 may further include an input/output device 1304, and the input/output device 1304 may include a display screen, such as a liquid crystal display screen. The memory 1302 is used to store one or more programs containing instructions; the processor 1301 is used to call the instructions stored in the memory 1302 to execute some or all of the method steps mentioned in any embodiment of the present disclosure.
例如,该存储器可为各种类型的存储器,可为随机存储器、只读存储器、闪存等。所述存储器可用于信息存储,例如,存储计算机可执行指令等。所述计算机可执行指令可为各种程序指令,例如,目标程序指令和/或源程序指令等。For example, the memory may be various types of memory, such as random access memory, read-only memory, flash memory, etc. The memory can be used for information storage, for example, storing computer executable instructions and the like. The computer-executable instructions may be various program instructions, for example, target program instructions and/or source program instructions.
所述处理器可为各种类型的处理器,例如,中央处理器、微处理器、数字信号处理器、可编程阵列、数字信号处理器、专用集成电路或图像处理器等。The processor may be various types of processors, for example, a central processing unit, a microprocessor, a digital signal processor, a programmable array, a digital signal processor, an application specific integrated circuit, or an image processor.
所述处理器可以通过总线与所述存储器连接。所述总线可为集成电路总线等。The processor may be connected to the memory through a bus. The bus may be an integrated circuit bus or the like.
在一些实施例中,所述电子设备还可包括:通信接口,该通信接口可包括:网络接口、例如,局域网接口、收发天线等。所述通信接口同样与所述处理器连接,能够用于信息收发。In some embodiments, the electronic device may further include: a communication interface, and the communication interface may include: a network interface, for example, a local area network interface, a transceiver antenna, and the like. The communication interface is also connected to the processor and can be used for information transmission and reception.
在一些实施例中,所述电子设备还包括人机交互接口,例如,所述人机交互接口可包括各种输入输出设备,例如,键盘、触摸屏等。In some embodiments, the electronic device further includes a human-computer interaction interface. For example, the human-computer interaction interface may include various input and output devices, such as a keyboard, a touch screen, and the like.
一种可能的实施方式中,实施上述的电子设备,通过摄像头采集第二人脸图像;通过收发器将上述第二人脸图像发送给服务器;上述第二人脸图像用于指示服务器查找与上述第二人脸图像匹配的第二身份信息,并确定与上述第二身份信息匹配的快递包裹的存放位置信息;通过收发器接收上述存放位置信息;其中,上述存放位置信息用于指示上述快递包裹所在仓库的货架信息;在显示屏上显示上述存放位置信息。In a possible implementation manner, the above electronic device is implemented to collect a second face image through a camera; the second face image is sent to the server through a transceiver; the second face image is used to instruct the server to find the The second identity information matched by the second face image, and the storage location information of the express package matching the second identity information is determined; the storage location information is received through the transceiver; wherein the storage location information is used to indicate the express package The shelf information of the warehouse; the above storage location information is displayed on the display screen.
另一种可能的实施方式中,实施上述的电子设备,可以接收快递终端发送的第二人脸图像;查找与第二人脸图像匹配的第二身份信息;确定与第二身份信息匹配的快递包裹的存放位置信息;向所述快递终端发送所述存放位置信息,所述存放位置信息用于指示所述快递包裹所在仓库的货架信息。In another possible implementation manner, implementing the above electronic device can receive the second face image sent by the express terminal; search for the second identity information that matches the second face image; determine the express delivery that matches the second identity information The storage location information of the package; sending the storage location information to the express terminal, and the storage location information is used to indicate the shelf information of the warehouse where the express package is located.
又一种可能的实施方式中,上述的电子设备可以是图14所示的一种终端设备(如,快递终端)。该终端设备包括:顶部摄像头,该顶部摄像头可以扫描放置在放置 区上的快递包裹得到第一快递图像,也可以扫描包裹上的快递单据得到快递单据图像;该终端设备还包括:人脸识别的摄像头,可采集到人脸图像,并提取出生物特征来。所述终端设备还可包括触摸显示屏等人机交互接口,用于接收用户操作,并基于用户操作进行处理。该触摸显示屏可以用于进行快递包裹入库或出库的人机交互操作。In another possible implementation manner, the above-mentioned electronic device may be a terminal device (for example, an express terminal) shown in FIG. 14. The terminal equipment includes: a top camera, which can scan the courier package placed in the placement area to obtain the first courier image, or scan the courier document on the package to obtain the courier document image; the terminal device also includes: face recognition The camera can collect face images and extract biological characteristics. The terminal device may also include a human-computer interaction interface such as a touch display screen for receiving user operations and processing based on user operations. The touch display screen can be used for man-machine interactive operations of express parcel storage or storage.
在一些实施例中,所述图14所示的设备为一种连接到网络的网络终端;即所述终端设备具有通信模组。所述通信设备发现快递员等携带有单据的包裹分发到终端设备后,终端设备会自动在包裹入库过程中扫描快递单上的单据信息。在获得所述单据信息中的账号信息之后,根据所述账号信息与所述账号信息建立有绑定关系的用户终端发送取货信息。该取货信息可以提醒用户来取货。所述取货信息中至少包括:取货地址。在一些实施例中,所述取货信息还可包括:取货凭证等。In some embodiments, the device shown in FIG. 14 is a network terminal connected to the network; that is, the terminal device has a communication module. After the communication device discovers that the package carrying documents such as the courier is distributed to the terminal device, the terminal device will automatically scan the document information on the courier note during the parcel storage process. After obtaining the account information in the bill information, the user terminal that has a binding relationship established between the account information and the account information sends pickup information. The pickup information can remind the user to pick up the goods. The pick-up information includes at least: pick-up address. In some embodiments, the pick-up information may further include: pick-up voucher and so on.
若用户自身没有时间取货,可以请人帮忙取货,此时,可以人脸图像不用自动取货,故替人取货的用户就可以拼着取货凭证进行取货。这样,快递员等单据入库员,可以将所述单据放到放置区扫描之后,就可以简便的完成单据入库,无需在手动编辑消息通知对应的客户进行取货。在一些实施例中,为了清晰采集快递包裹的图像和/或人脸图像,在终端设备的顶部还设置有补光灯,在环境光照不够的情况下,能够通过补光灯的开启或者亮度的调整,以采集到足够亮度的快递包裹的图像和/或人脸图像。If the user does not have time to pick up the goods himself, he can ask someone to help pick up the goods. At this time, the face image does not need to be picked up automatically, so the user who picks up the goods for others can pick up the goods with the pick-up voucher. In this way, a document warehousing staff such as a courier can place the document in the placement area for scanning, and then can simply complete the document warehousing, without manually editing a message to notify the corresponding customer to pick up the goods. In some embodiments, in order to clearly collect the image of the express package and/or the face image, a fill light is also provided on the top of the terminal device. In the case of insufficient ambient light, the fill light can be turned on or the brightness Adjust to collect images of express parcels and/or faces with sufficient brightness.
图15为本公开实施例提供的一种信息处理装置的结构图,如图15所示,该装置可以包括:图像采集模块1501、信息获取模块1502和操作执行模块1503。其中,图像采集模块1501,用于采集第一快递包裹对应的第一快递图像,以及采集第一快递包裹的取件人的第一人脸图像。信息获取模块1502,用于获取所述第一快递图像中包括的所述第一快递包裹的快递单据信息,所述快递单据信息包括收件人信息、所述第一快递包裹的快递标识信息中的至少一种。操作执行模块1503,用于基于所述第一快递包裹的快递单据信息以及所述第一人脸图像,执行所述第一快递包裹的快递出库操作。15 is a structural diagram of an information processing device provided by an embodiment of the disclosure. As shown in FIG. 15, the device may include: an image acquisition module 1501, an information acquisition module 1502, and an operation execution module 1503. Among them, the image acquisition module 1501 is used to collect the first express image corresponding to the first express package, and to collect the first face image of the picker of the first express package. The information obtaining module 1502 is configured to obtain the courier document information of the first courier package included in the first courier image, and the courier document information includes recipient information and the courier identification information of the first express package At least one of. The operation execution module 1503 is configured to execute an express delivery operation of the first express package based on the express receipt information of the first express package and the first face image.
在一些实施例中,所述操作执行模块1503,具体用于:获取所述第一人脸图像匹配的第一身份信息;在所述第一身份信息与所述第一快递包裹的收件人信息一致的情况下,确认所述第一快递包裹的快递出库验证通过,和/或,将所述第一快递包裹对应的存放状态更新为已出库状态。In some embodiments, the operation execution module 1503 is specifically configured to: obtain the first identity information matching the first face image; when the first identity information matches the recipient of the first express package If the information is consistent, confirm that the express delivery verification of the first express package is passed, and/or update the storage status corresponding to the first express package to the delivered state.
在一些实施例中,所述操作执行模块1503,还用于在所述第一身份信息与第一快递包裹的收件人信息不一致的情况下,输出警示信息。In some embodiments, the operation execution module 1503 is further configured to output warning information when the first identity information is inconsistent with the recipient information of the first express package.
在一些实施例中,如图16所示,该装置还可以包括:信息显示模块1504。其中,图像采集模块1501,还用于采集第二人脸图像。信息获取模块1502,还用于将所述第二人脸图像发送给服务器;所述第二人脸图像用于所述服务器查找与所述第二脸图像匹配的第二身份信息;接收所述服务器基于所述第二身份信息确定的待取快递信息。信息显示模块1504,用于在显示屏上显示所述待取快递信息。In some embodiments, as shown in FIG. 16, the apparatus may further include: an information display module 1504. Among them, the image acquisition module 1501 is also used to acquire a second face image. The information acquisition module 1502 is further configured to send the second face image to a server; the second face image is used by the server to search for second identity information that matches the second face image; The server determines to-be-obtained express delivery information based on the second identity information. The information display module 1504 is configured to display the pending express delivery information on the display screen.
在一些实施例中,信息获取模块1502,在用于获取所述第一快递图像中包括的第一快递包裹的快递单据信息时,包括:对所述第一快递图像进行边缘检测处理,确定所述第一快递图像中的条码区域的位置信息;基于所述第一快递图像中的条码区域的位置信息,对所述第一快递图像进行裁剪,获得所述条码区域的图像;识别所述条码区域 的图像,获得所述第一快递包裹的快递标识信息。In some embodiments, when the information acquiring module 1502 is used to acquire the express document information of the first express package included in the first express image, it includes: performing edge detection processing on the first express image, and determining The position information of the barcode area in the first express image; based on the position information of the barcode area in the first express image, crop the first express image to obtain the image of the barcode area; identify the barcode The image of the area, the express identification information of the first express package is obtained.
在一些实施例中,信息获取模块1502,在用于获取所述第一快递图像中包括的第一快递包裹的快递单据信息时,包括:由所述第一快递图像中获取快递单据所在的目标区域;检测所述目标区域的图像,得到所述快递单据所包含的快递单据信息,所述快递单据信息包括所述收件人信息和所述快递标识信息中的至少一种。In some embodiments, when the information obtaining module 1502 is used to obtain the courier document information of the first courier package included in the first courier image, it includes: obtaining the destination of the courier document from the first courier image. Area; detecting the image of the target area to obtain express delivery document information contained in the express delivery document, the express delivery document information including at least one of the recipient information and the express delivery identification information.
在一些实施例中,如图16所示,该装置还包括:采集触发模块1505,用于在所述图像采集模块采集所述第一快递图像之前,检测是否有采集对象进入到预定景深范围内,并在检测到所述第一快递包裹进入到所述预定景深范围内的情况下,开启所述图像采集模块的图像采集功能。In some embodiments, as shown in FIG. 16, the device further includes: an acquisition trigger module 1505, configured to detect whether an acquisition object enters a predetermined depth of field before the image acquisition module acquires the first express image , And when it is detected that the first express package has entered the predetermined depth of field, the image capturing function of the image capturing module is turned on.
在一些实施例中,信息获取模块1502,在用于由所述第一快递图像中获取快递单据所在的目标区域时,包括如下至少一项:由所述第一快递图像中确定出所述快递单据的文字区域作为目标区域,其中,所述文字区域为所述快递单据中文字的成像区域;由所述第一快递图像中确定出所述快递单据的条码区域作为所述目标区域,其中,所述条码区域为所述快递单据中条码的成像区域。In some embodiments, when the information acquisition module 1502 is used to acquire the target area where the express document is located from the first express image, it includes at least one of the following: the first express image determines the express The text area of the document is used as the target area, where the text area is the imaging area of the text in the express document; the barcode area of the express document is determined from the first express image as the target area, wherein, The barcode area is an imaging area of the barcode in the express receipt.
在一些实施例中,信息获取模块1502,在用于检测所述目标区域的图像,得到所述快递单据所包含的快递单据信息时,包括:获取检测所述快递单据的文字区域得到的第一识别信息;获取检测所述快递单据的条码区域得到的第二识别信息;在所述第一识别信息和所述第二识别信息满足预设匹配条件的情况下,根据所述第一识别信息和/或所述第二识别信息,得到所述快递单据所包含的所述快递单据信息。In some embodiments, when the information acquisition module 1502 is used to detect the image of the target area and obtain the express document information contained in the express document, it includes: acquiring the first document obtained by detecting the text area of the express document. Identification information; acquiring the second identification information obtained by detecting the barcode area of the courier document; in the case that the first identification information and the second identification information meet a preset matching condition, according to the first identification information and /Or the second identification information obtains the express delivery document information contained in the express delivery document.
在一些实施例中,操作执行模块1503,具体用于:当确定所述第一人脸图像所对应的第一生物特征与第一账号信息具有绑定关系的情况下,确定对所述第一快递包裹的出库验证通过;其中,所述第一快递包裹的收件人信息包括:所述第一账号信息。In some embodiments, the operation execution module 1503 is specifically configured to: when it is determined that the first biological feature corresponding to the first face image has a binding relationship with the first account information, determine to The delivery verification of the express package is passed; wherein, the recipient information of the first express package includes: the first account information.
在一些实施例中,操作执行模块1503,还用于:在所述第一生物特征与所述第一账号信息未建立有所述绑定关系的情况下,输出输入验证信息的验证提示;基于输入的所述验证信息,进行对所述第一快递包裹的快递出库操作。In some embodiments, the operation execution module 1503 is further configured to: output a verification prompt for inputting verification information in a case where the binding relationship between the first biometric feature and the first account information is not established; The entered verification information is used to perform an express delivery operation of the first express package.
图17为本公开实施例提供的一种快递出库装置的结构图,如图17所示,该装置可以包括:图像获取模块1701和出库处理模块1702。其中,图像获取模块1701,用于获取通过终端设备的至少一个摄像头采集到的快递包裹的快递图像,其中,所述快递图像用于获取所述快递包裹的快递单据信息;以及,获取通过所述至少一个摄像头采集到的第一人脸图像。出库处理模块1702,用于基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作。FIG. 17 is a structural diagram of an express delivery device provided by an embodiment of the present disclosure. As shown in FIG. 17, the device may include: an image acquisition module 1701 and a warehouse delivery processing module 1702. Wherein, the image acquisition module 1701 is configured to acquire the express image of the express package collected by at least one camera of the terminal device, wherein the express image is used to acquire the express document information of the express package; The first face image collected by at least one camera. The outbound processing module 1702 is configured to perform the outbound operation of the express package based on the express image and the first face image.
在一些实施例中,出库处理模块1702,具体用于通过判断所述第一人脸图像与从所述快递图像中获取到的快递单据信息是否匹配,执行所述快递包裹的出库操作。In some embodiments, the outbound processing module 1702 is specifically configured to perform the outbound operation of the express package by determining whether the first face image matches the express delivery document information obtained from the express image.
在一些实施例中,当该装置应用于终端设备时,出库处理模块1702,在用于基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作时,包括:向服务器发送第一人脸数据和快递数据,以使得所述服务器确定所述第一人脸图像与所述快递图像是否匹配,其中,所述第一人脸数据包括所述第一人脸图像和/或所述第一人脸图 像的特征信息,所述快递数据包括所述快递图像的至少一部分和/或从所述快递图像中获取到的所述快递单据信息;接收所述服务器发送的指示信息,其中,所述指示信息用于指示所述快递包裹是否出库通过。In some embodiments, when the device is applied to a terminal device, the outbound processing module 1702 is configured to perform the outbound operation of the express package based on the express image and the first face image, including : Sending the first face data and express delivery data to the server, so that the server determines whether the first face image matches the express delivery image, wherein the first face data includes the first face Image and/or feature information of the first face image, the express delivery data includes at least a part of the express image and/or the express document information obtained from the express image; receiving the information sent by the server The instruction information, wherein the instruction information is used to indicate whether the express package passes through the warehouse.
在一些实施例中,出库处理模块1702,在用于基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作时,包括:对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息,其中,所述快递单据信息包括所述快递包裹的收件人信息和快递标识信息中的至少一种;基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作。In some embodiments, the outbound processing module 1702, when used to perform the outbound operation of the express package based on the express image and the first face image, includes: performing at least part of the express image Perform document identification processing to obtain the express document information, where the express document information includes at least one of the recipient information of the express package and express identification information; based on the express document information and the first The face image is used to perform the delivery operation of the express package.
在一些实施例中,出库处理模块1702,在用于对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息时,包括:对所述快递图像的条码区域进行条码识别处理,得到所述快递标识信息;和/或,对所述快递图像的文本区域进行文本识别处理,得到所述收件人信息和所述快递标识信息中的至少一种。In some embodiments, the outbound processing module 1702 is used to perform document recognition processing on at least a part of the express image to obtain the express document information, including: performing barcode recognition processing on the barcode area of the express image , Obtain the express delivery identification information; and/or perform text recognition processing on the text area of the express delivery image to obtain at least one of the recipient information and the express delivery identification information.
在一些实施例中,出库处理模块1702,在用于对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息时,包括:对所述快递图像的至少一部分进行边缘检测处理,得到条码区域的位置信息;对所述快递图像的至少一部分进行裁剪处理,得到所述条码区域的图像;识别所述条码区域的图像,得到所述快递标识信息。In some embodiments, the outbound processing module 1702 is configured to perform document recognition processing on at least a part of the express image, and when obtaining the express document information, it includes: performing edge detection processing on at least a part of the express image , Obtain the location information of the barcode area; perform cropping processing on at least a part of the express image to obtain the image of the barcode area; identify the image of the barcode area to obtain the express identification information.
在一些实施例中,出库处理模块1702,还用于:在所述识别所述条码区域的图像之前,通过比对所述条码区域的图像中包含的条码长度和条码内容中的至少一种,验证所述条码区域的图像是否有效;所述识别所述条码区域的图像,包括:在确定所述条码区域的图像有效的情况下,进行所述条码区域图像的识别。In some embodiments, the outbound processing module 1702 is further configured to: before identifying the image of the barcode area, compare at least one of the barcode length and the barcode content contained in the image of the barcode area , Verifying whether the image of the barcode area is valid; the identifying the image of the barcode area includes: identifying the image of the barcode area when it is determined that the image of the barcode area is valid.
在一些实施例中,出库处理模块1702,在用于对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息时,包括:对所述快递图像进行快递单据检测,得到快递单据在所述快递图像中的位置信息;基于所述快递单据的位置信息,从所述快递图像中获取包含快递单据的至少一部分的目标区域图像;对所述目标区域图像进行识别处理,得到所述快递单据信息。In some embodiments, the outbound processing module 1702 is used to perform document identification processing on at least a part of the express image to obtain the express document information, including: performing express document inspection on the express image to obtain the express document information. The location information of the document in the express image; based on the location information of the express document, obtain a target area image containing at least a part of the express document from the express image; perform recognition processing on the target area image to obtain State the courier bill information.
在一些实施例中,出库处理模块1702,在用于基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作时,包括:确定第一快递标识信息和第二快递标识信息是否匹配;在所述第一快递标识信息和所述第二快递标识信息匹配的情况下,基于所述第一快递标识信息或所述第一标识信息以及所述第一人脸图像,执行对所述快递包裹的出库操作;其中,所述快递标识信息包括:通过对所述快递图像的至少一部分进行文本识别处理得到的所述第一快递标识信息、通过对所述快递图像的至少一部分进行条码识别处理得到的所述第二快递标识信息。In some embodiments, the outbound processing module 1702, when used to perform the outbound operation of the express package based on the express delivery receipt information and the first face image, includes: determining the first express delivery identification information And the second express identification information; in the case that the first express identification information matches the second express identification information, based on the first express identification information or the first identification information and the first Face image, execute the outbound operation of the express package; wherein the express delivery identification information includes: the first express delivery identification information obtained by performing text recognition processing on at least a part of the express delivery image, The second express delivery identification information obtained by performing barcode recognition processing on at least a part of the express delivery image.
在一些实施例中,出库处理模块1702,在用于基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作时,包括:基于所述快递单据信息查询账号数据库,得到第一账号信息;通过判断所述第一人脸图像与所述第一账号信息对应的注册人脸数据是否匹配,确定所述快递包裹是否出库通过。In some embodiments, the outbound processing module 1702, when used to perform the outbound operation of the express package based on the express document information and the first face image, includes: based on the express document information The account database is queried to obtain the first account information; by judging whether the first face image matches the registered face data corresponding to the first account information, it is determined whether the express package passes through the warehouse.
在一些实施例中,出库处理模块1702,在用于基于所述快递单据信息和所述第 一人脸图像,执行对所述快递包裹的出库操作时,包括:基于所述第一人脸图像查询人脸数据库,得到所述第一人脸图像的人脸身份信息;通过判断所述人脸身份信息与所述快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,确定所述快递包裹是否出库通过。In some embodiments, the outbound processing module 1702, when used to perform the outbound operation of the express package based on the express receipt information and the first face image, includes: based on the first person The face image queries the face database to obtain the face identity information of the first face image; by judging whether the face identity information is consistent with the recipient information included in the express receipt information, and/or, It is determined whether the express delivery information corresponding to the facial identity information is consistent with the express delivery identification information included in the express delivery document information, and it is determined whether the express package passes through the warehouse.
在一些实施例中,该装置应用于服务器时,图像获取模块1701,在获取快递图像和第一人脸图像时,包括:接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括所述快递图像和所述第一人脸图像中的至少一种。In some embodiments, when the device is applied to a server, the image acquisition module 1701, when acquiring the express image and the first face image, includes: receiving the express delivery request message sent by the terminal device, the express delivery request message At least one of the express image and the first face image is included.
在一些实施例中,如图18所示,该装置还包括查询处理模块1703,用于:响应于接收到快递查询请求,获取通过所述至少一个摄像头采集的第二人脸图像;基于所述第二人脸图像,得到用户待取快递的存放位置信息;在所述终端设备的显示屏上显示所述存放位置信息。In some embodiments, as shown in FIG. 18, the device further includes a query processing module 1703, configured to: in response to receiving an express query request, obtain a second face image collected by the at least one camera; based on the The second face image obtains the storage location information of the courier to be picked up by the user; the storage location information is displayed on the display screen of the terminal device.
在一些实施例中,如图18所示,该装置还包括信息推荐模块1704,用于获取与所述第一人脸图像匹配的目标特征标签,以及,获取与所述目标特征标签对应的至少一个目标推荐信息;在终端设备的显示屏上显示所述至少一个目标推荐信息。In some embodiments, as shown in FIG. 18, the device further includes an information recommendation module 1704, configured to obtain a target feature tag matching the first face image, and to obtain at least one corresponding to the target feature tag. One piece of target recommendation information; the at least one piece of target recommendation information is displayed on the display screen of the terminal device.
图19为本公开实施例提供的一种快递出库装置的结构图,如图19所示,该装置可以包括:消息接收模块1901、校验处理模块1902和响应发送模块1903。其中,消息接收模块1901,用于接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括:第一人脸数据和快递数据,其中,所述第一人脸数据包括所述终端设备采集的取件人的第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括快递包裹的快递图像的至少一部分和/或从所述快递图像中获取到的快递单据信息。校验处理模块1902,用于基于所述第一人脸数据和快递数据,进行快递包裹的出库校验。响应发送模块1903,用于向所述终端设备发送用于指示所述出库校验是否通过的快递出库响应。FIG. 19 is a structural diagram of an express delivery device provided by an embodiment of the present disclosure. As shown in FIG. 19, the device may include: a message receiving module 1901, a verification processing module 1902, and a response sending module 1903. Wherein, the message receiving module 1901 is configured to receive an express delivery request message sent by a terminal device. The express delivery request message includes: first face data and express delivery data, where the first face data includes the The first facial image of the pickup person and/or the characteristic information of the first facial image collected by the terminal device, the express data includes at least a part of the express image of the express package and/or is obtained from the express image Courier receipt information that arrives. The verification processing module 1902 is configured to perform delivery verification of express parcels based on the first face data and express data. The response sending module 1903 is configured to send an express delivery response indicating whether the delivery check is passed to the terminal device.
在一些实施例中,校验处理模块1902,具体用于:基于所述第一人脸图像查询人脸数据库,得到所述第一人脸图像的人物身份信息;通过判断所述人脸身份信息与所述快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,确定所述快递包裹是否出库通过。In some embodiments, the verification processing module 1902 is specifically configured to: query a face database based on the first face image to obtain the person identity information of the first face image; and determine the face identity information Whether it is consistent with the recipient information included in the courier bill information, and/or, by determining whether the to-be-taken courier information corresponding to the facial identity information is consistent with the courier identification information included in the courier bill information, it is determined Whether the express parcel passes out of the warehouse.
在一些实施例中,校验处理模块1902,具体用于:基于所述快递单据信息查询账号数据库,得到第一账号信息;通过判断所述第一人脸图像与所述第一账号信息对应的注册人脸数据是否匹配,确定所述快递包裹是否出库通过。In some embodiments, the verification processing module 1902 is specifically configured to: query an account database based on the express receipt information to obtain first account information; and determine that the first face image corresponds to the first account information Whether the registered face data matches, it is determined whether the express package passes through the warehouse.
在一些实施例中,校验处理模块1902,在用于基于所述第一人脸数据和快递数据进行快递包裹的出库校验时,包括:对所述快递图像进行快递单据检测,得到快递单据在所述快递图像中的位置信息;基于所述快递单据的位置信息,从所述快递图像中获取包含快递单据的至少一部分的目标区域图像;对所述目标区域图像进行识别处理,得到所述快递单据信息。In some embodiments, the verification processing module 1902, when used to perform outbound verification of express parcels based on the first face data and express data, includes: performing express document inspection on the express image to obtain the express The location information of the document in the express image; based on the location information of the express document, obtain a target area image containing at least a part of the express document from the express image; perform recognition processing on the target area image to obtain State the courier bill information.
本公开实施例提供一种计算机存储介质,所述计算机存储介质存储有计算机可 执行指令;所述计算机可执行指令被执行后,能够实现前述一个或多个实施例提供的信息处理方法或快递出库方法。The embodiments of the present disclosure provide a computer storage medium that stores computer-executable instructions; after the computer-executable instructions are executed, the information processing method or express delivery provided by one or more of the foregoing embodiments can be implemented. Library method.
所述计算机存储介质可为包括具有记录功能的各种记录介质,例如,CD、软盘、硬盘、磁带、光盘、U盘或移动硬盘等各种存储介质。可选的所述计算机存储介质可为非瞬间存储介质,该计算机存储介质可被处理器读取,从而使得存储在计算机存储介质上的计算机可执行指令被处理器获取并执行后,能够实现前述任意一个技术方案提供的信息处理方法或快递出库方法。The computer storage medium may include various recording media with recording functions, for example, various storage media such as CD, floppy disk, hard disk, magnetic tape, optical disk, U disk, or mobile hard disk. The optional computer storage medium may be a non-transitory storage medium, which can be read by the processor, so that the computer executable instructions stored on the computer storage medium can be obtained and executed by the processor to realize the foregoing The information processing method or express delivery method provided by any technical solution.
本公开实施例还提供一种计算机程序产品,所述计算机程序产品包括计算机可执行指令;所述计算机可执行指令被执行后,能够实现前述一个或多个实施例提供的信息处理方法或快递出库方法。The embodiments of the present disclosure also provide a computer program product, the computer program product includes computer-executable instructions; after the computer-executable instructions are executed, they can implement the information processing method or express delivery provided by one or more of the foregoing embodiments. Library method.
所述包括有形地包含在计算机存储介质上的计算机程序,计算机程序包含用于执行流程图所示的方法的程序代码,程序代码可包括对应执行本公开实施例提供的方法步骤对应的指令。The computer program includes a computer program tangibly contained on a computer storage medium. The computer program includes program code for executing the method shown in the flowchart. The program code may include instructions corresponding to the steps of the method provided in the embodiments of the present disclosure.
在本公开所提供的所揭露的设备和方法,可通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分仅为一种逻辑功能划分,实际实现时可有另外的划分方式,如:多个单元或组件可结合,或集成到另一个系统,或一些特征可忽略或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接,设备或单元的间接耦合或通信连接,可是电性的、机械的或其它形式的。The disclosed devices and methods provided in the present disclosure can be implemented in other ways. The device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined or integrated To another system, or some features can be ignored or not implemented. In addition, the coupling, or direct coupling, or communication connection between the displayed or discussed components, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical, or other forms.
上述作为分离部件说明的单元可以是、或不是物理上分开的,作为单元显示的部件可以是、或不是物理单元,即可位于一个地方,也可分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本公开实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, which may be located in one place or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present disclosure.
另外,在本公开各实施例中的各功能单元可全部集成在一个处理模块中,也可各单元分别单独作为一个单元,也可两个或两个以上单元集成在一个单元中;上述集成的单元既可采用硬件的形式实现,也可采用硬件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present disclosure can be all integrated into one processing module, or each unit can be individually used as a unit, or two or more units can be integrated into one unit; The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
本公开任意实施例公开的技术特征,在不冲突的情况下,可以任意组合形成新的方法实施例或设备实施例。本公开任意实施例公开的方法实施例,在不冲突的情况下,可以任意组合形成新的方法实施例。本公开任意实施例公开的设备实施例,在不冲突的情况下,可以任意组合形成新的设备实施例。The technical features disclosed in any embodiment of the present disclosure can be arbitrarily combined to form a new method embodiment or device embodiment without conflict. The method embodiments disclosed in any embodiment of the present disclosure can be combined arbitrarily to form a new method embodiment if there is no conflict. The device embodiments disclosed in any embodiment of the present disclosure can be combined arbitrarily to form a new device embodiment if there is no conflict.
本领域普通技术人员可理解:实现上述方法实施例的全部或部分步骤可通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware. The foregoing program can be stored in a computer readable storage medium, and when the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc. A medium that can store program codes.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present disclosure. It should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (60)

  1. 一种信息处理方法,应用于快递终端,其中,所述方法包括:An information processing method applied to a courier terminal, wherein the method includes:
    采集第一快递包裹对应的第一快递图像;Collect the first express image corresponding to the first express package;
    获取所述第一快递图像中包括的所述第一快递包裹的快递单据信息,所述快递单据信息包括收件人信息、所述第一快递包裹的快递标识信息中的至少一种;Acquiring courier document information of the first courier package included in the first courier image, where the courier document information includes at least one of recipient information and courier identification information of the first courier package;
    采集所述第一快递包裹的取件人的第一人脸图像;Collecting the first face image of the picker of the first express package;
    基于所述第一快递包裹的快递单据信息以及所述第一人脸图像,执行所述第一快递包裹的快递出库操作。Based on the express document information of the first express package and the first face image, perform an express delivery operation of the first express package.
  2. 根据权利要求1所述的方法,其中,所述基于所述第一快递包裹的快递单据信息以及所述第一人脸图像,执行快递出库操作,包括:The method according to claim 1, wherein the performing an express delivery operation based on the express receipt information of the first express package and the first face image comprises:
    获取所述第一人脸图像匹配的第一身份信息;Acquiring first identity information matched by the first face image;
    在所述第一身份信息与所述第一快递包裹的收件人信息一致的情况下,确认所述第一快递包裹的快递出库验证通过,和/或,将所述第一快递包裹对应的存放状态更新为已出库状态。In the case that the first identity information is consistent with the recipient information of the first express package, confirm that the express delivery verification of the first express package is passed, and/or correspond to the first express package The storage status of is updated to the out of library status.
  3. 根据权利要求2所述的方法,其中,所述方法还包括:在所述第一身份信息与第一快递包裹的收件人信息不一致的情况下,输出警示信息。The method according to claim 2, wherein the method further comprises: outputting a warning message when the first identity information is inconsistent with the recipient information of the first express package.
  4. 根据权利要求1至3中任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    采集第二人脸图像;Collect the second face image;
    将所述第二人脸图像发送给服务器;所述第二人脸图像用于所述服务器查找与所述第二脸图像匹配的第二身份信息;Sending the second face image to a server; the second face image is used by the server to search for second identity information matching the second face image;
    接收所述服务器基于所述第二身份信息确定的待取快递信息;Receiving the courier information to be picked up determined by the server based on the second identity information;
    在显示屏上显示所述待取快递信息。Display the pending delivery information on the display screen.
  5. 根据权利要求1~4任一所述的方法,其中,所述获取所述第一快递图像中包括的第一快递包裹的快递单据信息,包括:The method according to any one of claims 1 to 4, wherein said obtaining the express document information of the first express package included in the first express image comprises:
    对所述第一快递图像进行边缘检测处理,确定所述第一快递图像中的条码区域的位置信息;Performing edge detection processing on the first express image to determine the position information of the barcode area in the first express image;
    基于所述第一快递图像中的条码区域的位置信息,对所述第一快递图像进行裁剪,获得所述条码区域的图像;Crop the first express image based on the location information of the barcode area in the first express image to obtain the image of the barcode area;
    识别所述条码区域的图像,获得所述第一快递包裹的快递标识信息。Identify the image of the barcode area to obtain the express identification information of the first express package.
  6. 根据权利要求1~5任一所述的方法,其中,所述获取所述第一快递图像中包括的第一快递包裹的快递单据信息,包括:The method according to any one of claims 1 to 5, wherein said obtaining the express delivery document information of the first express package included in the first express image comprises:
    由所述第一快递图像中获取快递单据所在的目标区域;Obtaining the target area where the express document is located from the first express image;
    检测所述目标区域的图像,得到所述快递单据所包含的快递单据信息,所述快递单据信息包括所述收件人信息和所述快递标识信息中的至少一种。The image of the target area is detected to obtain express delivery document information contained in the express delivery document, and the express delivery document information includes at least one of the recipient information and the express delivery identification information.
  7. 根据权利要求6所述的方法,其中,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    在采集所述第一快递图像之前,检测是否有采集对象进入到预定景深范围内,并在检测到所述第一快递包裹进入到所述预定景深范围内的情况下,开启图像采集功能。Before collecting the first express image, it is detected whether there is a collection object within the predetermined depth of field range, and when it is detected that the first express package has entered the predetermined depth range, the image acquisition function is turned on.
  8. 根据权利要求6或7所述的方法,其中,所述由所述第一快递图像中获取快递单据所在的目标区域,包括如下至少一项:The method according to claim 6 or 7, wherein the obtaining the target area where the express document is located from the first express image includes at least one of the following:
    由所述第一快递图像中确定出所述快递单据的文字区域作为目标区域,其中,所述 文字区域为所述快递单据中文字的成像区域;Determining the text area of the courier document as a target area from the first courier image, wherein the text area is an imaging area of the text in the courier document;
    由所述第一快递图像中确定出所述快递单据的条码区域作为所述目标区域,其中,所述条码区域为所述快递单据中条码的成像区域。The barcode area of the express document is determined from the first express image as the target area, wherein the barcode area is an imaging area of the barcode in the express document.
  9. 根据权利要求6至8中任一项所述的方法,其中,所述检测所述目标区域的图像,得到所述快递单据所包含的快递单据信息,包括:8. The method according to any one of claims 6 to 8, wherein the detecting the image of the target area to obtain the express document information contained in the express document comprises:
    获取检测所述快递单据的文字区域得到的第一识别信息;Acquiring the first identification information obtained by detecting the text area of the express receipt;
    获取检测所述快递单据的条码区域得到的第二识别信息;Acquiring the second identification information obtained by detecting the barcode area of the express document;
    在所述第一识别信息和所述第二识别信息满足预设匹配条件的情况下,根据所述第一识别信息和/或所述第二识别信息,得到所述快递单据所包含的所述快递单据信息。In the case that the first identification information and the second identification information satisfy a preset matching condition, the first identification information and/or the second identification information are used to obtain the Courier bill information.
  10. 根据权利要求6所述的方法,其中,所述第一快递包裹的收件人信息包括:第一账号信息;所述基于所述第一快递包裹的快递单据信息以及所述第二人脸图像,执行所述第一快递包裹的快递出库操作,包括:The method according to claim 6, wherein the recipient information of the first express package comprises: first account information; the express receipt information based on the first express package and the second face image , To perform the express delivery operation of the first express package, including:
    当确定所述第一人脸图像所对应的第一生物特征与所述第一账号信息具有绑定关系的情况下,确定对所述第一快递包裹的出库验证通过。When it is determined that the first biometric characteristic corresponding to the first face image has a binding relationship with the first account information, it is determined that the verification of the first express package is passed.
  11. 根据权利要求10所述的方法,其中,所述方法还包括:The method according to claim 10, wherein the method further comprises:
    在所述第一生物特征与所述第一账号信息未建立有所述绑定关系的情况下,输出输入验证信息的验证提示;In the case where the binding relationship between the first biological feature and the first account information is not established, outputting a verification prompt for inputting verification information;
    基于输入的所述验证信息,进行对所述第一快递包裹的快递出库操作。Based on the input verification information, an express delivery operation of the first express package is performed.
  12. 一种快递出库方法,所述方法包括:An express delivery method, the method includes:
    获取通过终端设备的至少一个摄像头采集到的快递包裹的快递图像,其中,所述快递图像用于获取所述快递包裹的快递单据信息;Acquiring the express image of the express package collected by at least one camera of the terminal device, wherein the express image is used to acquire the express document information of the express package;
    获取通过所述至少一个摄像头采集到的第一人脸图像;Acquiring a first face image collected by the at least one camera;
    基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作。Based on the express image and the first face image, perform an outbound operation of the express package.
  13. 根据权利要求12所述的快递出库方法,其中,所述基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作,包括:The express delivery method of claim 12, wherein the executing the delivery operation of the express package based on the express image and the first face image comprises:
    通过判断所述第一人脸图像与从所述快递图像中获取到的快递单据信息是否匹配,执行所述快递包裹的出库操作。By judging whether the first face image matches the courier document information obtained from the courier image, the delivery operation of the courier package is performed.
  14. 根据权利要求12或13所述的快递出库方法,其中,所述方法应用于所述终端设备,所述基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作,包括:The express delivery method according to claim 12 or 13, wherein the method is applied to the terminal device, and the delivery of the express package is executed based on the express image and the first face image Operations, including:
    向服务器发送第一人脸数据和快递数据,以使得所述服务器确定所述第一人脸图像与所述快递图像是否匹配,其中,所述第一人脸数据包括所述第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括所述快递图像的至少一部分和/或从所述快递图像中获取到的所述快递单据信息;Send the first face data and express data to the server, so that the server determines whether the first face image matches the express image, wherein the first face data includes the first face image And/or the feature information of the first face image, the express delivery data includes at least a part of the express image and/or the express document information obtained from the express image;
    接收所述服务器发送的指示信息,其中,所述指示信息用于指示所述快递包裹是否出库通过。Receiving instruction information sent by the server, where the instruction information is used to indicate whether the express package passes through the warehouse.
  15. 根据权利要求12或13所述的快递出库方法,其中,所述基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作,包括:The express delivery method according to claim 12 or 13, wherein the executing the delivery operation of the express package based on the express image and the first face image includes:
    对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息,其中,所述快递单据信息包括所述快递包裹的收件人信息和快递标识信息中的至少一种;Performing document identification processing on at least a part of the express image to obtain the express document information, wherein the express document information includes at least one of the recipient information of the express package and the express identification information;
    基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作。Based on the courier document information and the first face image, perform an outbound operation of the courier package.
  16. 根据权利要求15所述的快递出库方法,其中,所述对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息,包括:The express delivery method according to claim 15, wherein said performing document identification processing on at least a part of said express delivery image to obtain said express delivery document information comprises:
    对所述快递图像的条码区域进行条码识别处理,得到所述快递标识信息;和/或,Perform barcode recognition processing on the barcode area of the express image to obtain the express identification information; and/or,
    对所述快递图像的文本区域进行文本识别处理,得到所述收件人信息和所述快递标识信息中的至少一种。Perform text recognition processing on the text area of the express delivery image to obtain at least one of the recipient information and the express delivery identification information.
  17. 根据权利要求15或16所述的快递出库方法,其中,所述对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息,包括:The express delivery method according to claim 15 or 16, wherein said performing document identification processing on at least a part of said express image to obtain said express document information comprises:
    对所述快递图像的至少一部分进行边缘检测处理,得到条码区域的位置信息;Performing edge detection processing on at least a part of the express image to obtain position information of the barcode area;
    对所述快递图像的至少一部分进行裁剪处理,得到所述条码区域的图像;Performing cropping processing on at least a part of the express image to obtain the image of the barcode area;
    识别所述条码区域的图像,得到所述快递标识信息。Identify the image of the barcode area to obtain the express delivery identification information.
  18. 根据权利要求17所述的快递出库方法,其中,在所述识别所述条码区域的图像之前,还包括:The express delivery method according to claim 17, wherein before said identifying the image of the barcode area, further comprising:
    通过比对所述条码区域的图像中包含的条码长度和条码内容中的至少一种,验证所述条码区域的图像是否有效;Verifying whether the image of the barcode area is valid by comparing at least one of the length of the barcode contained in the image of the barcode area and the content of the barcode;
    所述识别所述条码区域的图像,包括:在确定所述条码区域的图像有效的情况下,进行所述条码区域图像的识别。The recognizing the image of the barcode area includes: performing the recognition of the image of the barcode area when it is determined that the image of the barcode area is valid.
  19. 根据权利要求15至18中任一项所述的快递出库方法,其中,所述对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息,包括:The express delivery method according to any one of claims 15 to 18, wherein the performing document identification processing on at least a part of the express image to obtain the express document information comprises:
    对所述快递图像进行快递单据检测,得到快递单据在所述快递图像中的位置信息;Performing express document detection on the express image to obtain location information of the express document in the express image;
    基于所述快递单据的位置信息,从所述快递图像中获取包含快递单据的至少一部分的目标区域图像;Obtaining a target area image containing at least a part of the express document from the express image based on the location information of the express document;
    对所述目标区域图像进行识别处理,得到所述快递单据信息。Perform recognition processing on the target area image to obtain the express bill information.
  20. 根据权利要求15至19中任一项所述的快递出库方法,其中,所述快递标识信息包括:通过对所述快递图像的至少一部分进行文本识别处理得到的第一快递标识信息、通过对所述快递图像的至少一部分进行条码识别处理得到的第二快递标识信息;The express delivery method according to any one of claims 15 to 19, wherein the express delivery identification information comprises: first express delivery identification information obtained by performing text recognition processing on at least a part of the express delivery image, Second express delivery identification information obtained by performing barcode recognition processing on at least a part of the express delivery image;
    所述基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作,包括:The performing the outbound operation of the express package based on the express delivery document information and the first face image includes:
    确定所述第一快递标识信息和所述第二快递标识信息是否匹配;Determining whether the first express delivery identification information and the second express delivery identification information match;
    在所述第一快递标识信息和所述第二快递标识信息匹配的情况下,基于所述第一快递标识信息或所述第一标识信息以及所述第一人脸图像,执行对所述快递包裹的出库操作。In the case where the first express delivery identification information and the second express delivery identification information match, based on the first express delivery identification information or the first identification information and the first face image, performing the Outbound operation of parcels.
  21. 根据权利要求15至20任一项所述的快递出库方法,所述基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作,包括:The express delivery method according to any one of claims 15 to 20, the executing the delivery operation of the express package based on the express receipt information and the first face image includes:
    基于所述快递单据信息查询账号数据库,得到第一账号信息;Query the account database based on the express receipt information to obtain the first account information;
    通过判断所述第一人脸图像与所述第一账号信息对应的注册人脸数据是否匹配,确定所述快递包裹是否出库通过。By judging whether the first face image matches the registered face data corresponding to the first account information, it is determined whether the express package passes through the warehouse.
  22. 根据权利要求15至20任一项所述的快递出库方法,所述基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作,包括:The express delivery method according to any one of claims 15 to 20, wherein the executing the delivery operation of the express package based on the express receipt information and the first face image includes:
    基于所述第一人脸图像查询人脸数据库,得到所述第一人脸图像的人脸身份信息;Query a face database based on the first face image to obtain face identity information of the first face image;
    通过判断所述人脸身份信息与所述快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,确定所述快递包裹是否出库通过。By judging whether the facial identity information is consistent with the recipient information included in the courier document information, and/or by judging whether the courier information to be picked up corresponding to the facial identity information and the courier document information include Whether the courier identification information is consistent with each other, determine whether the courier package passes through the warehouse.
  23. 根据权利要求12所述的快递出库方法,所述方法应用于服务器,所述获取通过终端设备的至少一个摄像头采集到的快递包括的快递图像和第一人脸图像,包括:The express delivery method according to claim 12, wherein the method is applied to a server, and said acquiring the express image and the first face image included in the express collected by at least one camera of the terminal device includes:
    接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括所述快递图像和所述第一人脸图像中的至少一种。Receiving an express delivery request message sent by a terminal device, where the express delivery request message includes at least one of the express image and the first face image.
  24. 根据权利要求12至22中任一项所述的快递出库方法,所述方法还包括:The express delivery method according to any one of claims 12 to 22, the method further comprising:
    响应于接收到快递查询请求,获取通过所述至少一个摄像头采集的第二人脸图像;In response to receiving the express inquiry request, acquiring a second face image collected by the at least one camera;
    基于所述第二人脸图像,得到用户待取快递的存放位置信息;Based on the second face image, obtain the storage location information of the courier to be picked up by the user;
    在所述终端设备的显示屏上显示所述存放位置信息。The storage location information is displayed on the display screen of the terminal device.
  25. 根据权利要求12至24任一项所述的快递出库方法,所述方法还包括:The express delivery method according to any one of claims 12 to 24, the method further comprising:
    获取与所述第一人脸图像匹配的目标特征标签,以及,获取与所述目标特征标签对应的至少一个目标推荐信息;Acquiring a target feature tag that matches the first face image, and acquiring at least one target recommendation information corresponding to the target feature tag;
    在终端设备的显示屏上显示所述至少一个目标推荐信息。The at least one target recommendation information is displayed on the display screen of the terminal device.
  26. 一种快递出库方法,其中,所述方法包括:An express delivery method, wherein the method includes:
    接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括:第一人脸数据和快递数据,其中,所述第一人脸数据包括所述终端设备采集的取件人的第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括快递包裹的快递图像的至少一部分和/或从所述快递图像中获取到的快递单据信息;Receive an express delivery request message sent by a terminal device, where the express delivery request message includes: first face data and express data, wherein the first face data includes the first person's first face data collected by the terminal device A face image and/or feature information of the first face image, the courier data includes at least a part of the courier image of the courier package and/or the courier document information obtained from the courier image;
    基于所述第一人脸数据和快递数据,进行快递包裹的出库校验;Based on the first face data and express delivery data, performing outbound verification of express parcels;
    向所述终端设备发送用于指示所述出库校验是否通过的快递出库响应。Sending to the terminal device an express delivery response indicating whether the delivery check is passed.
  27. 根据权利要求26所述的方法,其中,所述基于所述第一人脸数据和快递数据,进行快递包裹的出库校验,包括:The method according to claim 26, wherein the performing the outbound verification of the express package based on the first face data and the express data comprises:
    基于所述第一人脸图像查询人脸数据库,得到所述第一人脸图像的人物身份信息;Query a face database based on the first face image to obtain the person identity information of the first face image;
    通过判断所述人脸身份信息与所述快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,确定所述快递包裹是否出库通过。By judging whether the facial identity information is consistent with the recipient information included in the courier document information, and/or by judging whether the courier information to be picked up corresponding to the facial identity information and the courier document information include Whether the express delivery identification information is consistent with each other, and determine whether the express package passes through the warehouse.
  28. 根据权利要求26所述的方法,其中,所述基于所述第一人脸数据和快递数据,进行快递包裹的出库校验,包括:The method according to claim 26, wherein the performing the outbound verification of the express package based on the first face data and express data includes:
    基于所述快递单据信息查询账号数据库,得到第一账号信息;Query the account database based on the express receipt information to obtain the first account information;
    通过判断所述第一人脸图像与所述第一账号信息对应的注册人脸数据是否匹配,确定所述快递包裹是否出库通过。By judging whether the first face image matches the registered face data corresponding to the first account information, it is determined whether the express package passes through the warehouse.
  29. 根据权利要求26所述的方法,其中,所述基于所述第一人脸数据和快递数据,进行快递包裹的出库校验,包括:The method according to claim 26, wherein the performing the outbound verification of the express package based on the first face data and the express data comprises:
    对所述快递图像进行快递单据检测,得到快递单据在所述快递图像中的位置信息;Performing express document detection on the express image to obtain location information of the express document in the express image;
    基于所述快递单据的位置信息,从所述快递图像中获取包含快递单据的至少一部分的目标区域图像;Obtaining a target area image containing at least a part of the express document from the express image based on the location information of the express document;
    对所述目标区域图像进行识别处理,得到所述快递单据信息。Perform recognition processing on the target area image to obtain the express bill information.
  30. 一种电子设备,其中,包括处理器以及存储器,所述存储器用于存储一个或多 个程序,所述一个或多个程序被配置成由所述处理器执行,所述程序包括用于执行权利要求1~11、12~25、26~29中任一项所述的方法。An electronic device, which includes a processor and a memory, the memory is used to store one or more programs, the one or more programs are configured to be executed by the processor, and the program includes rights for executing The method described in any one of 1-11, 12-25, 26-29 is required.
  31. 一种信息处理装置,应用于快递终端,其中,所述装置包括:An information processing device applied to an express terminal, wherein the device includes:
    图像采集模块,用于采集第一快递包裹对应的第一快递图像,以及采集所述第一快递包裹的取件人的第一人脸图像;An image collection module, configured to collect the first express image corresponding to the first express package, and to collect the first face image of the picker of the first express package;
    信息获取模块,用于获取所述第一快递图像中包括的所述第一快递包裹的快递单据信息,所述快递单据信息包括收件人信息、所述第一快递包裹的快递标识信息中的至少一种;The information acquisition module is configured to acquire the express document information of the first express package included in the first express image, where the express document information includes recipient information and the express identification information of the first express package At least one
    操作执行模块,用于基于所述第一快递包裹的快递单据信息以及所述第一人脸图像,执行所述第一快递包裹的快递出库操作。The operation execution module is configured to execute the express delivery operation of the first express package based on the express receipt information of the first express package and the first face image.
  32. 根据权利要求31所述的装置,其中,The device according to claim 31, wherein:
    所述操作执行模块,具体用于:获取所述第一人脸图像匹配的第一身份信息;在所述第一身份信息与所述第一快递包裹的收件人信息一致的情况下,确认所述第一快递包裹的快递出库验证通过,和/或,将所述第一快递包裹对应的存放状态更新为已出库状态。The operation execution module is specifically configured to: obtain the first identity information matched by the first face image; when the first identity information is consistent with the recipient information of the first express package, confirm The express delivery verification of the first express package is passed, and/or the storage status corresponding to the first express package is updated to the delivered state.
  33. 根据权利要求32所述的装置,其中,The device according to claim 32, wherein:
    所述操作执行模块,还用于在所述第一身份信息与第一快递包裹的收件人信息不一致的情况下,输出警示信息。The operation execution module is further configured to output warning information when the first identity information is inconsistent with the recipient information of the first express package.
  34. 根据权利要求31~33任一所述的装置,其中,The device according to any one of claims 31 to 33, wherein:
    所述图像采集模块,还用于采集第二人脸图像;The image acquisition module is also used to acquire a second face image;
    所述信息获取模块,还用于将所述第二人脸图像发送给服务器;所述第二人脸图像用于所述服务器查找与所述第二脸图像匹配的第二身份信息;接收所述服务器基于所述第二身份信息确定的待取快递信息;The information acquisition module is further configured to send the second face image to a server; the second face image is used by the server to search for second identity information that matches the second face image; The express information to be fetched determined by the server based on the second identity information;
    所述装置还包括:信息显示模块,用于在显示屏上显示所述待取快递信息。The device further includes: an information display module for displaying the pending express delivery information on the display screen.
  35. 根据权利要求31~34任一所述的装置,其中,The device according to any one of claims 31 to 34, wherein:
    所述信息获取模块,在用于获取所述第一快递图像中包括的第一快递包裹的快递单据信息时,包括:对所述第一快递图像进行边缘检测处理,确定所述第一快递图像中的条码区域的位置信息;基于所述第一快递图像中的条码区域的位置信息,对所述第一快递图像进行裁剪,获得所述条码区域的图像;识别所述条码区域的图像,获得所述第一快递包裹的快递标识信息。The information acquisition module, when used to acquire the express document information of the first express package included in the first express image, includes: performing edge detection processing on the first express image to determine the first express image The position information of the barcode area in the first express image; based on the position information of the barcode area in the first express image, crop the first express image to obtain the image of the barcode area; identify the image of the barcode area to obtain Express delivery identification information of the first express package.
  36. 根据权利要求31~35任一所述的装置,其中,The device according to any one of claims 31 to 35, wherein:
    所述信息获取模块,在用于获取所述第一快递图像中包括的第一快递包裹的快递单据信息时,包括:由所述第一快递图像中获取快递单据所在的目标区域;检测所述目标区域的图像,得到所述快递单据所包含的快递单据信息,所述快递单据信息包括所述收件人信息和所述快递标识信息中的至少一种。The information acquisition module, when used to acquire the express document information of the first express package included in the first express image, includes: acquiring the target area where the express document is located from the first express image; and detecting the The image of the target area obtains the express document information contained in the express document, and the express document information includes at least one of the recipient information and the express identification information.
  37. 根据权利要求36所述的装置,其中,The device according to claim 36, wherein:
    所述装置还包括:采集触发模块,用于在所述图像采集模块采集所述第一快递图像之前,检测是否有采集对象进入到预定景深范围内,并在检测到所述第一快递包裹进入到所述预定景深范围内的情况下,开启所述图像采集模块的图像采集功能。The device further includes: an acquisition trigger module, configured to detect whether a collection object enters a predetermined depth of field before the image acquisition module acquires the first express image, and when it is detected that the first express package enters When it is within the predetermined depth of field, the image acquisition function of the image acquisition module is turned on.
  38. 根据权利要求36或37所述的装置,其中,The device according to claim 36 or 37, wherein:
    所述信息获取模块,在用于由所述第一快递图像中获取快递单据所在的目标区域 时,包括如下至少一项:由所述第一快递图像中确定出所述快递单据的文字区域作为目标区域,其中,所述文字区域为所述快递单据中文字的成像区域;由所述第一快递图像中确定出所述快递单据的条码区域作为所述目标区域,其中,所述条码区域为所述快递单据中条码的成像区域。When the information acquisition module is used to acquire the target area where the express document is located from the first express image, it includes at least one of the following: the text area of the express document is determined in the first express image as The target area, wherein the text area is the imaging area of the text in the express delivery document; the barcode area of the express delivery document is determined from the first express image as the target area, wherein the barcode area is The imaging area of the barcode in the express receipt.
  39. 根据权利要求36~38任一所述的装置,其中,The device according to any one of claims 36 to 38, wherein:
    所述信息获取模块,在用于检测所述目标区域的图像,得到所述快递单据所包含的快递单据信息时,包括:获取检测所述快递单据的文字区域得到的第一识别信息;获取检测所述快递单据的条码区域得到的第二识别信息;在所述第一识别信息和所述第二识别信息满足预设匹配条件的情况下,根据所述第一识别信息和/或所述第二识别信息,得到所述快递单据所包含的所述快递单据信息。When the information acquisition module is used to detect the image of the target area and obtain the express document information contained in the express document, it includes: acquiring the first identification information obtained by detecting the text area of the express document; The second identification information obtained from the barcode area of the express receipt; in the case that the first identification information and the second identification information meet a preset matching condition, according to the first identification information and/or the first identification information 2. Identification information to obtain the express document information contained in the express document.
  40. 根据权利要求36所述的装置,其中,The device according to claim 36, wherein:
    所述操作执行模块,具体用于:当确定所述第一人脸图像所对应的第一生物特征与第一账号信息具有绑定关系的情况下,确定对所述第一快递包裹的出库验证通过;其中,所述第一快递包裹的收件人信息包括:所述第一账号信息。The operation execution module is specifically configured to: when it is determined that the first biometric characteristic corresponding to the first face image has a binding relationship with the first account information, determine the delivery of the first express package The verification is passed; wherein, the recipient information of the first express package includes: the first account information.
  41. 根据权利要求40所述的装置,其中,The device of claim 40, wherein:
    所述操作执行模块,还用于:在所述第一生物特征与所述第一账号信息未建立有所述绑定关系的情况下,输出输入验证信息的验证提示;基于输入的所述验证信息,进行对所述第一快递包裹的快递出库操作。The operation execution module is further configured to: in the case where the binding relationship between the first biometric feature and the first account information is not established, output a verification prompt for inputting verification information; and the verification based on the input Information, perform an express delivery operation of the first express package.
  42. 一种快递出库装置,其中,所述装置包括:An express delivery device, wherein the device includes:
    图像获取模块,用于获取通过终端设备的至少一个摄像头采集到的快递包裹的快递图像,其中,所述快递图像用于获取所述快递包裹的快递单据信息;以及,获取通过所述至少一个摄像头采集到的第一人脸图像;The image acquisition module is used to acquire the express image of the express package collected by at least one camera of the terminal device, wherein the express image is used to acquire the express document information of the express package; The first face image collected;
    出库处理模块,用于基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作。The outbound processing module is configured to execute the outbound operation of the express package based on the express image and the first face image.
  43. 根据权利要求42所述的装置,其中,The device of claim 42, wherein
    所述出库处理模块,具体用于通过判断所述第一人脸图像与从所述快递图像中获取到的快递单据信息是否匹配,执行所述快递包裹的出库操作。The outbound processing module is specifically configured to perform the outbound operation of the express package by determining whether the first face image matches the express document information obtained from the express image.
  44. 根据权利要求42或43所述的装置,其中,所述装置应用于终端设备;The device according to claim 42 or 43, wherein the device is applied to a terminal device;
    所述出库处理模块,在用于基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作时,包括:向服务器发送第一人脸数据和快递数据,以使得所述服务器确定所述第一人脸图像与所述快递图像是否匹配,其中,所述第一人脸数据包括所述第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括所述快递图像的至少一部分和/或从所述快递图像中获取到的所述快递单据信息;接收所述服务器发送的指示信息,其中,所述指示信息用于指示所述快递包裹是否出库通过。The outbound processing module, when used to execute the outbound operation of the express package based on the express image and the first face image, includes: sending the first face data and express data to a server to Enabling the server to determine whether the first face image matches the express image, wherein the first face data includes the first face image and/or feature information of the first face image The express data includes at least a part of the express image and/or the express document information obtained from the express image; receiving instruction information sent by the server, wherein the instruction information is used to indicate State whether the express parcel is delivered through the warehouse
  45. 根据权利要求42或43所述的装置,其中,The device according to claim 42 or 43, wherein:
    所述出库处理模块,在用于基于所述快递图像以及所述第一人脸图像,执行所述快递包裹的出库操作时,包括:对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息,其中,所述快递单据信息包括所述快递包裹的收件人信息和快递标识信息中的至少一种;基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作。The outbound processing module, when used to perform the outbound operation of the express package based on the express image and the first face image, includes: performing document recognition processing on at least a part of the express image, Obtain the courier document information, where the courier document information includes at least one of the recipient information of the courier package and the courier identification information; based on the courier document information and the first face image, execute The outbound operation of the express package.
  46. 根据权利要求45所述的装置,其中,The device of claim 45, wherein:
    所述出库处理模块,在用于对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息时,包括:对所述快递图像的条码区域进行条码识别处理,得到所述快递标识信息;和/或,对所述快递图像的文本区域进行文本识别处理,得到所述收件人信息和所述快递标识信息中的至少一种。The outbound processing module is used to perform document recognition processing on at least a part of the express image to obtain the express document information, including: performing barcode recognition processing on the barcode area of the express image to obtain the express image Identification information; and/or, performing text recognition processing on the text area of the express image to obtain at least one of the recipient information and the express identification information.
  47. 根据权利要求45或46所述的装置,其中,The device according to claim 45 or 46, wherein:
    所述出库处理模块,在用于对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息时,包括:对所述快递图像的至少一部分进行边缘检测处理,得到条码区域的位置信息;对所述快递图像的至少一部分进行裁剪处理,得到所述条码区域的图像;识别所述条码区域的图像,得到所述快递标识信息。The warehouse-out processing module is used to perform document recognition processing on at least a part of the express image to obtain the express document information, including: performing edge detection processing on at least a part of the express image to obtain the barcode area Location information; cropping at least a part of the express image to obtain the image of the barcode area; identifying the image of the barcode area to obtain the express identification information.
  48. 根据权利要求47所述的装置,其中,The device of claim 47, wherein:
    所述出库处理模块,还用于:在所述识别所述条码区域的图像之前,通过比对所述条码区域的图像中包含的条码长度和条码内容中的至少一种,验证所述条码区域的图像是否有效;所述识别所述条码区域的图像,包括:在确定所述条码区域的图像有效的情况下,进行所述条码区域图像的识别。The outbound processing module is further configured to verify the barcode by comparing at least one of the length of the barcode and the content of the barcode contained in the image of the barcode area before the image of the barcode area is identified. Whether the image of the area is valid; the recognizing the image of the barcode area includes: performing the recognition of the image of the barcode area when it is determined that the image of the barcode area is valid.
  49. 根据权利要求45~48任一项所述的装置,其中,The device according to any one of claims 45 to 48, wherein:
    所述出库处理模块,在用于对所述快递图像的至少一部分进行单据识别处理,得到所述快递单据信息时,包括:对所述快递图像进行快递单据检测,得到快递单据在所述快递图像中的位置信息;基于所述快递单据的位置信息,从所述快递图像中获取包含快递单据的至少一部分的目标区域图像;对所述目标区域图像进行识别处理,得到所述快递单据信息。The outbound processing module is used to perform document identification processing on at least a part of the express image to obtain the express document information, including: performing express document detection on the express image to obtain the express document in the express document Location information in the image; based on the location information of the courier document, obtain a target area image containing at least a part of the courier document from the courier image; perform recognition processing on the target area image to obtain the courier document information.
  50. 根据权利要求45~49任一所述的装置,其中,The device according to any one of claims 45 to 49, wherein:
    所述出库处理模块,在用于基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作时,包括:确定第一快递标识信息和第二快递标识信息是否匹配;在所述第一快递标识信息和所述第二快递标识信息匹配的情况下,基于所述第一快递标识信息或所述第一标识信息以及所述第一人脸图像,执行对所述快递包裹的出库操作;其中,所述快递标识信息包括:通过对所述快递图像的至少一部分进行文本识别处理得到的所述第一快递标识信息、通过对所述快递图像的至少一部分进行条码识别处理得到的所述第二快递标识信息。The outbound processing module is configured to perform an outbound operation on the express package based on the express delivery document information and the first face image, including: determining the first express delivery identification information and the second express delivery identification Whether the information matches; in the case that the first express delivery identification information matches the second express delivery identification information, execute based on the first delivery identification information or the first identification information and the first face image The delivery operation of the express package; wherein, the express delivery identification information includes: the first express delivery identification information obtained by performing text recognition processing on at least a part of the express image, and at least Part of the second express delivery identification information obtained by performing barcode recognition processing.
  51. 根据权利要求45~50任一所述的装置,其中,The device according to any one of claims 45-50, wherein:
    所述出库处理模块,在用于基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作时,包括:基于所述快递单据信息查询账号数据库,得到第一账号信息;通过判断所述第一人脸图像与所述第一账号信息对应的注册人脸数据是否匹配,确定所述快递包裹是否出库通过。The outbound processing module, when used to perform the outbound operation of the express package based on the express delivery document information and the first face image, includes: querying an account database based on the express delivery document information to obtain First account information; by determining whether the first face image matches the registered face data corresponding to the first account information, it is determined whether the express package passes through the warehouse.
  52. 根据权利要求45~50任一所述的装置,其中,The device according to any one of claims 45-50, wherein:
    所述出库处理模块,在用于基于所述快递单据信息和所述第一人脸图像,执行对所述快递包裹的出库操作时,包括:基于所述第一人脸图像查询人脸数据库,得到所述第一人脸图像的人脸身份信息;通过判断所述人脸身份信息与所述快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,确定所述快递包裹是否出库通过。The outbound processing module, when used to perform the outbound operation of the express package based on the express receipt information and the first face image, includes: querying the face based on the first face image Database to obtain the face identity information of the first face image; by judging whether the face identity information is consistent with the recipient information included in the express receipt information, and/or by judging the face Whether the courier information to be retrieved corresponding to the identity information is consistent with the courier identification information included in the courier document information, and whether the courier package passes through the warehouse is determined.
  53. 根据权利要求42所述的装置,其中,所述装置应用于服务器;The device according to claim 42, wherein the device is applied to a server;
    所述图像获取模块,在获取快递图像和第一人脸图像时,包括:接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括所述快递图像和所述第一人脸图像中的至少一种。The image acquisition module, when acquiring the express image and the first face image, includes: receiving an express delivery request message sent by a terminal device, the express delivery request message including the express image and the first face image At least one of the images.
  54. 根据权利要求42~52任一所述的装置,其中,所述装置还包括:The device according to any one of claims 42-52, wherein the device further comprises:
    查询处理模块,用于:响应于接收到快递查询请求,获取通过所述至少一个摄像头采集的第二人脸图像;基于所述第二人脸图像,得到用户待取快递的存放位置信息;在所述终端设备的显示屏上显示所述存放位置信息。The query processing module is configured to: in response to receiving a courier query request, obtain a second face image collected by the at least one camera; obtain the storage location information of the courier to be taken by the user based on the second face image; The storage location information is displayed on the display screen of the terminal device.
  55. 根据权利要求42~54任一所述的装置,其中,所述装置还包括:The device according to any one of claims 42-54, wherein the device further comprises:
    信息推荐模块,用于获取与所述第一人脸图像匹配的目标特征标签,以及,获取与所述目标特征标签对应的至少一个目标推荐信息;在终端设备的显示屏上显示所述至少一个目标推荐信息。An information recommendation module, configured to obtain a target feature tag matching the first face image, and obtain at least one target recommendation information corresponding to the target feature tag; and display the at least one target feature tag on the display screen of the terminal device Target recommendation information.
  56. 一种快递出库装置,其中,所述装置包括:An express delivery device, wherein the device includes:
    消息接收模块,用于接收终端设备发送的快递出库请求消息,所述快递出库请求消息包括:第一人脸数据和快递数据,其中,所述第一人脸数据包括所述终端设备采集的取件人的第一人脸图像和/或所述第一人脸图像的特征信息,所述快递数据包括快递包裹的快递图像的至少一部分和/或从所述快递图像中获取到的快递单据信息;The message receiving module is configured to receive an express delivery request message sent by a terminal device. The express delivery request message includes: first face data and express data, wherein the first face data includes the terminal device collection The first facial image of the pickup person and/or the feature information of the first facial image, the express delivery data includes at least a part of the express image of the express package and/or the express image obtained from the express image Document information;
    校验处理模块,用于基于所述第一人脸数据和快递数据,进行快递包裹的出库校验;The verification processing module is configured to perform the outbound verification of the express package based on the first face data and the express data;
    响应发送模块,用于向所述终端设备发送用于指示所述出库校验是否通过的快递出库响应。The response sending module is configured to send an express delivery response indicating whether the delivery check is passed to the terminal device.
  57. 根据权利要求56所述的装置,其中,The device of claim 56, wherein
    所述校验处理模块,具体用于:基于所述第一人脸图像查询人脸数据库,得到所述第一人脸图像的人物身份信息;通过判断所述人脸身份信息与所述快递单据信息中包括的收件人信息是否一致,和/或,通过判断所述人脸身份信息对应的待取快递信息与所述快递单据信息中包括的快递标识信息是否一致,确定所述快递包裹是否出库通过。The verification processing module is specifically configured to: query a face database based on the first face image to obtain the person identity information of the first face image; and judge the face identity information and the express receipt Whether the recipient information included in the information is consistent, and/or, by determining whether the courier information to be retrieved corresponding to the facial identity information is consistent with the courier identification information included in the courier document information, it is determined whether the courier package is Passed out of the library.
  58. 根据权利要求56所述的装置,其中,The device of claim 56, wherein
    所述校验处理模块,具体用于:基于所述快递单据信息查询账号数据库,得到第一账号信息;通过判断所述第一人脸图像与所述第一账号信息对应的注册人脸数据是否匹配,确定所述快递包裹是否出库通过。The verification processing module is specifically configured to: query an account database based on the express receipt information to obtain first account information; and determine whether the first face image corresponds to the registered face data corresponding to the first account information Matching, it is determined whether the express package passes through the warehouse.
  59. 根据权利要求56所述的装置,其中,The device of claim 56, wherein
    所述校验处理模块,在用于基于所述第一人脸数据和快递数据进行快递包裹的出库校验时,包括:对所述快递图像进行快递单据检测,得到快递单据在所述快递图像中的位置信息;基于所述快递单据的位置信息,从所述快递图像中获取包含快递单据的至少一部分的目标区域图像;对所述目标区域图像进行识别处理,得到所述快递单据信息。When the verification processing module is used to perform outbound verification of express parcels based on the first face data and express data, it includes: performing express document detection on the express image to obtain the express document in the express Location information in the image; based on the location information of the courier document, obtain a target area image containing at least a part of the courier document from the courier image; perform recognition processing on the target area image to obtain the courier document information.
  60. 一种计算机可读存储介质,用于存储计算机程序,其中,所述计算机程序使得计算机执行权利要求1~11、12~25、26~29中任一项所述的方法。A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1-11, 12-25, 26-29.
PCT/CN2020/105819 2019-07-31 2020-07-30 Information processing WO2021018241A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020217020538A KR20210098509A (en) 2019-07-31 2020-07-30 information processing
JP2021538702A JP2022516550A (en) 2019-07-31 2020-07-30 Information processing

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201910700137.0A CN111753608A (en) 2019-07-31 2019-07-31 Information processing method and device, electronic device and storage medium
CN201910700137.0 2019-07-31
CN201910702528.6A CN111753568B (en) 2019-07-31 2019-07-31 Receipt information processing method and device, electronic equipment and storage medium
CN201910702528.6 2019-07-31

Publications (1)

Publication Number Publication Date
WO2021018241A1 true WO2021018241A1 (en) 2021-02-04

Family

ID=74228610

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105819 WO2021018241A1 (en) 2019-07-31 2020-07-30 Information processing

Country Status (4)

Country Link
JP (1) JP2022516550A (en)
KR (1) KR20210098509A (en)
TW (1) TW202107402A (en)
WO (1) WO2021018241A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014642A (en) * 2021-02-24 2021-06-22 北京邮电大学 Intelligent express mail appointment delivery and pickup system
CN113148410A (en) * 2021-04-20 2021-07-23 长江师范学院 Novel environmental protection express delivery bag of intelligence
CN113591503A (en) * 2021-07-15 2021-11-02 上海东普信息科技有限公司 Information providing method, device and equipment based on QR two-dimensional code and storage medium
CN114332779A (en) * 2022-03-15 2022-04-12 云丁网络技术(北京)有限公司 Method for monitoring target object and related equipment
CN114554114A (en) * 2022-04-24 2022-05-27 浙江华眼视觉科技有限公司 Express item code recognition machine pickup evidence persistence method and device
CN115620358A (en) * 2022-09-21 2023-01-17 联通数字科技有限公司 Express delivery detection method and device and computer readable storage medium
CN116502974A (en) * 2023-06-25 2023-07-28 深圳市恒顺合鑫科技有限公司 Logistics information analysis method, device, equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113379347A (en) * 2021-06-09 2021-09-10 南京云柜网络科技有限公司 Express delivery warehouse-out management method and device, electronic equipment and storage medium
CN114554113B (en) * 2022-04-24 2022-08-16 浙江华眼视觉科技有限公司 Express item code recognition machine express item person drawing method and device
CN117575474B (en) * 2024-01-16 2024-03-22 天津海瑞致达企业管理合伙企业(有限合伙) Take acousto-optic guide's post intelligence goods shelves system to guide system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160216106A1 (en) * 2015-01-26 2016-07-28 Ricoh Company, Ltd. Digital Locker
CN107730759A (en) * 2017-09-26 2018-02-23 安徽特旺网络科技有限公司 A kind of intelligent express delivery cabinet pickup system based on face recognition technology
CN109637040A (en) * 2018-12-28 2019-04-16 深圳市丰巢科技有限公司 A kind of express delivery cabinet pickup method, apparatus, express delivery cabinet and storage medium
CN110009280A (en) * 2019-03-28 2019-07-12 上海中通吉网络技术有限公司 Self-service pickup system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10131254A1 (en) * 2001-07-01 2003-01-23 Deutsche Post Ag Procedure for checking the validity of digital postage indicia

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160216106A1 (en) * 2015-01-26 2016-07-28 Ricoh Company, Ltd. Digital Locker
CN107730759A (en) * 2017-09-26 2018-02-23 安徽特旺网络科技有限公司 A kind of intelligent express delivery cabinet pickup system based on face recognition technology
CN109637040A (en) * 2018-12-28 2019-04-16 深圳市丰巢科技有限公司 A kind of express delivery cabinet pickup method, apparatus, express delivery cabinet and storage medium
CN110009280A (en) * 2019-03-28 2019-07-12 上海中通吉网络技术有限公司 Self-service pickup system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014642A (en) * 2021-02-24 2021-06-22 北京邮电大学 Intelligent express mail appointment delivery and pickup system
CN113148410A (en) * 2021-04-20 2021-07-23 长江师范学院 Novel environmental protection express delivery bag of intelligence
CN113591503A (en) * 2021-07-15 2021-11-02 上海东普信息科技有限公司 Information providing method, device and equipment based on QR two-dimensional code and storage medium
CN114332779A (en) * 2022-03-15 2022-04-12 云丁网络技术(北京)有限公司 Method for monitoring target object and related equipment
CN114554114A (en) * 2022-04-24 2022-05-27 浙江华眼视觉科技有限公司 Express item code recognition machine pickup evidence persistence method and device
CN115620358A (en) * 2022-09-21 2023-01-17 联通数字科技有限公司 Express delivery detection method and device and computer readable storage medium
CN115620358B (en) * 2022-09-21 2024-02-09 联通数字科技有限公司 Express delivery detection method and device and computer readable storage medium
CN116502974A (en) * 2023-06-25 2023-07-28 深圳市恒顺合鑫科技有限公司 Logistics information analysis method, device, equipment and storage medium
CN116502974B (en) * 2023-06-25 2024-01-12 深圳市恒顺合鑫科技有限公司 Logistics information analysis method, device, equipment and storage medium

Also Published As

Publication number Publication date
KR20210098509A (en) 2021-08-10
JP2022516550A (en) 2022-02-28
TW202107402A (en) 2021-02-16

Similar Documents

Publication Publication Date Title
WO2021018241A1 (en) Information processing
US10600043B2 (en) Automated checkout system through mobile shopping units
US9679168B2 (en) System and method to automatically discriminate between different data types
WO2019134245A1 (en) Number arrangement method, server, and storage medium based on human face recognition
US11494573B2 (en) Self-checkout device to which hybrid product recognition technology is applied
WO2018112930A1 (en) Method and device for identifying commodities
US20210097517A1 (en) Object of interest selection for neural network systems at point of sale
US11881043B2 (en) Image processing system, image processing method, and program
US20210209393A1 (en) Image processing system, image processing method, and program
KR101417903B1 (en) Method and system for recognizing receipt based on mobile camera
US20210357883A1 (en) Payment method capable of automatically recognizing payment amount
CN111753608A (en) Information processing method and device, electronic device and storage medium
CN111612656A (en) Ordering method, device, system and storage medium
US20230132261A1 (en) Unified framework for analysis and recognition of identity documents
JP7070674B2 (en) Registration system, registration method and program
CN111753568B (en) Receipt information processing method and device, electronic equipment and storage medium
US20220292565A1 (en) Processing device, and processing method
CN113762429A (en) Self-service pickup method, device, equipment, electronic equipment and storage medium
WO2023171132A1 (en) Information processing system
US20230222803A1 (en) Processing apparatus, processing method, and non-transitory storage medium
US20240020995A1 (en) Systems and methods for automated extraction of target text strings
TW567446B (en) Screen image reading system of PDA/mobile phone
KR20220044919A (en) Method and apparatus for verifying customer claim
US20190130043A1 (en) System and method for determination of a digital destination based on a multi-part identifier
CN114596037A (en) Article warehousing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20848553

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021538702

Country of ref document: JP

Kind code of ref document: A

Ref document number: 20217020538

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20848553

Country of ref document: EP

Kind code of ref document: A1