CN117649671A - Express package main distribution site sorting method, device, equipment and storage medium - Google Patents
Express package main distribution site sorting method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117649671A CN117649671A CN202311396989.8A CN202311396989A CN117649671A CN 117649671 A CN117649671 A CN 117649671A CN 202311396989 A CN202311396989 A CN 202311396989A CN 117649671 A CN117649671 A CN 117649671A
- Authority
- CN
- China
- Prior art keywords
- site
- information
- sorting
- character
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/19—Recognition using electronic means
- G06V30/19007—Matching; Proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/62—Text, e.g. of license plates, overlay texts or captions on TV images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/18—Extraction of features or characteristics of the image
- G06V30/18105—Extraction of features or characteristics of the image related to colour
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Business, Economics & Management (AREA)
- Multimedia (AREA)
- Economics (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Operations Research (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Character Input (AREA)
Abstract
The invention relates to the technical field of logistics transportation, in particular to a method, a device, equipment and a storage medium for sorting express packages at a main distribution site, which are used for improving the success rate of express package identification by carrying out binarization processing on face image information, detecting outlines in the binarization image information by using a connected region analysis technology, integrating the outlines into character block regions, generating three-section code information according to the character block regions, converting the three-section code information into text information, matching the main distribution site corresponding to the text information, further intelligently obtaining the main distribution site corresponding to the express packages, greatly improving the sorting efficiency of the logistics express packages, preventing package accumulation, shortening distribution timeliness, generating site marking information according to the main distribution site, sending the site marking information to a sorting end, facilitating sorting staff to carry out check on intelligent sorting according to the site marking information, reducing the risk of wrong sorting of the express packages, and improving customer satisfaction.
Description
Technical Field
The invention relates to the technical field of logistics transportation, in particular to a method, a device, equipment and a storage medium for sorting express packages at a main distribution site.
Background
With the rapid development of the logistics express industry, the number of orders is increased, a large number of stations are arranged under each company, due to limited transport capacity resources, tickets of certain stations are uniformly distributed to a designated station, the station is equivalent to a transfer station, after express packages are uniformly pulled to the transfer station, the transfer station is subdivided for the second time, and the process of identifying which transfer station the tickets belong to is usually manual sorting, the manual sorting efficiency is low, package stacking is easy to cause, the risk of wrong package sorting of express packages is increased, the delivery time is prolonged, and the satisfaction degree of customers is reduced.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide the express parcel main distribution site sorting method, the device, the equipment and the storage medium for improving the success rate of express parcel identification, reducing the risk of wrong sorting of the express parcels, greatly improving the sorting efficiency of logistics express parcels by adopting intelligent sorting, preventing parcel accumulation, shortening the distribution time effect and improving the customer satisfaction.
The first aspect of the invention provides a sorting method for a main delivery site of an express package, comprising the following steps: acquiring face sheet image information shot by a sorting end, and performing binarization processing on the face sheet image information to obtain binarized image information; detecting the outline in the binarized image information by using a connected region analysis technology, and integrating the outline into a character block region; generating three-section code information according to the character block area, and judging whether the three-section code information is complete or not; if yes, converting the three-section code information into text information, and matching a main distribution site corresponding to the text information; and generating site marking information according to the main distribution site, and sending the site marking information to the sorting end.
Optionally, in a first implementation manner of the first aspect of the present invention, the acquiring the face sheet image information shot by the sorting end, and performing binarization processing on the face sheet image information to obtain binarized image information includes: acquiring the face sheet image information shot by a sorting end, and carrying out graying treatment on the face sheet image information to obtain a gray image; acquiring edge gradients of local image blocks corresponding to each character pixel point in the gray level image by adopting Sobel horizontal and vertical operators; performing enhancement processing on the edge gradient to obtain an enhanced image, and performing filtering processing on the enhanced image by using a Gaussian kernel filter to obtain a filtering processing image; and carrying out binarization processing on the filtering processing image according to a preset threshold value to obtain binarization image information.
Optionally, in a second implementation manner of the first aspect of the present invention, the detecting a contour in the binarized image information by using a connected region analysis technique, and integrating the contour into a character block region includes: detecting the outline in the binarized image information by using a connected region analysis technology; the pixels in the outline are thinned and deleted through eight neighborhood elements, and an optimized image with a character outline being a single pixel line is obtained; determining the position of the break point of the character contour line, and connecting two break points within a preset threshold range according to a nearby principle to obtain a repair image; and combining all the connected character pixel points in the repair image into a character block area.
Optionally, in a third implementation manner of the first aspect of the present invention, the generating three-segment code information according to the character block area and determining whether the three-segment code information is complete includes: identifying a first character separation position and a second character separation position in the binarized image information; dividing all the character block areas in front of the first character separation position to obtain a first segment code; dividing all the character block areas between the first character separation position and the second character separation position to obtain a second segment code; dividing all the character block areas with the rear second character separation positions to obtain a third segment code; integrating the first section code, the second section code and the third section code to obtain three-section code information; and inputting the three-section code information into a preset section code checking model, and judging whether the three-section code information is complete or not through the section code checking model.
Optionally, in a fourth implementation manner of the first aspect of the present invention, if yes, the converting the three-segment code information into text information, and matching a main distribution site corresponding to the text information, includes: if yes, a preset segment code information database is called to analyze the three-segment code information, and a segment code analysis result is obtained; analyzing the segment code analysis result into readable text information, wherein the text information comprises a destination city, a destination website branch company and a dispatcher; and calling a pre-established master site database, and inputting the text information into the master site database for pairing to obtain a master distribution site corresponding to a destination site company in the text information.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the calling a pre-established master site database, inputting the text information into the master site database to pair, and obtaining a master distribution site corresponding to a destination site division company in the text information, includes: creating a database table structure, wherein the database table structure comprises a main site field and secondary site fields, each secondary site field corresponds to one main site field, and each secondary site field has a subordinate relation with the corresponding main site field; creating a main site database according to the database table structure; inserting the text information into the master site database using a database management tool; pairing the text information in the main site database to obtain a secondary distribution site corresponding to a destination site branch company in the text information; and determining a main distribution site according to the affiliation corresponding to the secondary distribution site.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the generating site marking information according to the master distribution site, and sending the site marking information to the sorting end includes: identifying a site name corresponding to the main distribution site; acquiring a color mapping relation table of the site name and the display color, and matching display color information corresponding to the site name according to the site name and the color mapping relation table; acquiring an icon mapping relation table of the site name and the display icon, and matching display icon information corresponding to the site name according to the site name and the icon mapping relation table; generating a blank page corresponding to the ground color according to the display color information, and filling the site name and the display icon information into the blank page to obtain site marking information; and sending the site marking information to the sorting end so that the sorting end generates and displays a site page based on the site marking information.
The second aspect of the present invention provides a sorting apparatus for a main delivery site of an express package, comprising: the acquisition processing module is used for acquiring the face sheet image information shot by the sorting end, and carrying out binarization processing on the face sheet image information to obtain binarized image information; the detection integration module is used for detecting the outline in the binarized image information by using a connected region analysis technology and integrating the outline into a character block region; the generation judging module is used for generating three-section code information according to the character block area and judging whether the three-section code information is complete or not; the conversion matching module is used for converting the three-section code information into text information if yes, and matching a main distribution site corresponding to the text information; and the generation and transmission module is used for generating site marking information according to the main distribution site and transmitting the site marking information to the sorting end.
Optionally, in a first implementation manner of the second aspect of the present invention, the acquiring processing module includes: the method comprises the steps of acquiring a graying unit, wherein the graying unit is used for acquiring the face sheet image information shot by a sorting end and carrying out graying treatment on the face sheet image information to obtain a gray image; the acquisition unit is used for acquiring the edge gradient of the local image block corresponding to each character pixel point in the gray level image by adopting Sobel horizontal and vertical operators; the enhancement filtering unit is used for carrying out enhancement processing on the edge gradient to obtain an enhanced image, and carrying out filtering processing on the enhanced image by utilizing a Gaussian kernel filter to obtain a filtering processing image; and the binarization unit is used for carrying out binarization processing on the filtering processing image according to a preset threshold value by processing to obtain binarization image information.
Optionally, in a second implementation manner of the second aspect of the present invention, the detection integration module includes: a detection unit for detecting a contour in the binarized image information using a connected region analysis technique; the refinement and deletion unit is used for refining and deleting pixels in the outline through eight neighborhood elements to obtain an optimized image with a character outline being a single pixel line; a determining unit, configured to determine a position of a break point of the character contour line, and connect two break points within a preset threshold range according to a nearby principle, so as to obtain a repair image; and the combining unit is used for combining all the connected character pixel points in the repair image into a character block area.
Optionally, in a third implementation manner of the second aspect of the present invention, the generation judging module includes: a first recognition unit configured to recognize a first character separation position and a second character separation position in the binarized image information; the first segmentation unit is used for segmenting all the character block areas in front of the first character separation position to obtain a first segment code; a second segmentation unit, configured to segment all the character block areas between the first character separation position and the second character separation position, so as to obtain a second segment code; a third segmentation unit, configured to segment all the character block areas located at the rear position of the second character separation position, to obtain a third segment code; the integration unit is used for integrating the first section code, the second section code and the third section code to obtain three-section code information; and the input judging unit is used for inputting the three-section code information into a preset section code checking model and judging whether the three-section code information is complete or not through the section code checking model.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the conversion matching module includes: the calling analysis unit is used for calling a preset segment code information database to analyze the three-segment code information if yes, so as to obtain a segment code analysis result; the analysis unit is used for analyzing the segment code analysis result into readable text information, wherein the text information comprises a destination city, a destination branch company and a dispatcher; and the calling and pairing unit is used for calling a pre-established master site database, inputting the text information into the master site database for pairing, and obtaining a master distribution site corresponding to a destination site division company in the text information.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the call pairing unit is specifically configured to create a database table structure, where the database table structure includes a primary site field and a secondary site field, each secondary site field corresponds to one primary site field, and each secondary site field has a subordinate relationship with the corresponding primary site field; creating a main site database according to the database table structure; inserting the text information into the master site database using a database management tool; pairing the text information in the main site database to obtain a secondary distribution site corresponding to a destination site branch company in the text information; and determining a main distribution site according to the affiliation corresponding to the secondary distribution site.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the generating and sending module includes: the second identification unit is used for identifying the site name corresponding to the main distribution site; the first acquisition matching unit is used for acquiring a color mapping relation table of the site name and the display color, and matching display color information corresponding to the site name according to the site name and the color mapping relation table; the second obtaining and matching unit is used for obtaining an icon mapping relation table of the site name and the display icon and matching display icon information corresponding to the site name according to the site name and the icon mapping relation table; the generating and filling unit is used for generating a blank page corresponding to the ground color according to the display color information, and filling the site name and the display icon information into the blank page to obtain site marking information; and the sending unit is used for sending the site marking information to the sorting end so that the sorting end can generate and display site pages based on the site marking information.
A third aspect of the present invention provides an express package main distribution site sorting apparatus, including: a memory and at least one processor, the memory having instructions stored therein; at least one of the processors invokes the instructions in the memory to cause the express parcel master distribution site sorting apparatus to perform the steps of the express parcel master distribution site sorting method of any one of the above.
A fourth aspect of the present invention provides a computer readable storage medium having instructions stored thereon, which when executed by a processor, implement the steps of the express parcel master distribution site sorting method of any of the above.
According to the technical scheme, the success rate of express package identification is improved by carrying out binarization processing on the face sheet image information, the outline in the binarization image information is detected by utilizing a connected region analysis technology, the outline is integrated into a character block region, three-section code information is generated according to the character block region, the three-section code information is converted into text information, a main distribution site corresponding to the text information is matched, and further the main distribution site corresponding to the express package can be obtained intelligently, so that the sorting efficiency of the logistics express package can be greatly improved, package accumulation is prevented, the distribution time efficiency is shortened, site mark information is generated according to the main distribution site, the site mark information is sent to a sorting end, a sorter can conveniently check intelligent sorting according to the site mark information, the risk of wrong sorting of the express package is reduced, and the customer satisfaction is improved.
Drawings
Fig. 1 is a first flowchart of a sorting method of a main delivery site of an express package according to an embodiment of the present invention;
Fig. 2 is a second flowchart of a method for sorting a main delivery site of an express package according to an embodiment of the present invention;
fig. 3 is a third flowchart of a method for sorting a main delivery site of an express package according to an embodiment of the present invention;
fig. 4 is a fourth flowchart of a method for sorting a main delivery site of an express package according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a sorting device for a main delivery site of an express package according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a sorting device for a main delivery site of an express package according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of sorting equipment for a main delivery site of an express package according to an embodiment of the present invention.
Detailed Description
The invention provides a sorting method, a device, equipment and a storage medium for a main delivery site of an express package, which improve the success rate of express package identification, reduce the risk of wrong sorting of the express package, greatly improve the sorting efficiency of the logistics express package by adopting intelligent sorting, prevent package accumulation, shorten delivery time and improve customer satisfaction.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
For easy understanding, the following describes a specific flow of an embodiment of the present invention, referring to fig. 1, and an embodiment of a method for sorting a main delivery site of an express package in the embodiment of the present invention includes:
101. acquiring face sheet image information shot by a sorting end, and performing binarization processing on the face sheet image information to obtain binarized image information;
in this embodiment, the camera or other devices are used to obtain the information of the face sheet image shot by the sorting end, after the original face sheet image is obtained, some preprocessing operations may be performed on the face sheet image, for example, noise in the image is removed, brightness and contrast of the image are adjusted, which may be implemented through an image processing algorithm, for example, gaussian blur, histogram equalization, etc., the preprocessed image is converted into a binary image, and the binary image information is extracted, so that a matrix or image object only including black and white pixel values may be obtained.
102. Detecting the outline in the binarized image information by using a connected region analysis technology, and integrating the outline into a character block region;
in this embodiment, the connected region analysis is performed on the binarized image to find each connected region in the image, where the connected region is a group of pixels formed by adjacent pixels, the pixel values of the connected regions are the same or meet a specific condition, and the connected region analysis may be implemented by using a function or algorithm provided in an image processing library, for example, a connectincomponents function in an opencv library, where the function may mark the connected regions in the binary image, and return an attribute, such as the number of pixels, a bounding box, etc., of each connected region, extract a contour from the connected regions, and through traversing each connected region in the analysis result of the connected regions, a set of boundary points of each connected region may be obtained, so as to obtain corresponding contour information, integrate the contour into a character block region according to the specific rule, and output the integrated character block region, so as to perform subsequent character recognition or other processing.
103. Generating three-section code information according to the character block area, and judging whether the three-section code information is complete or not;
in this embodiment, for each character block area, a corresponding character block image is extracted from the original image so as to perform character recognition subsequently, character recognition is performed on each character block image, the character recognition is converted into a corresponding character or number, corresponding three-segment code information is generated according to the recognized character or number, and corresponding three-segment code information is generated according to the recognized character or number.
104. If yes, converting the three-section code information into text information, and matching a main distribution site corresponding to the text information;
in this embodiment, a set of main distribution sites and corresponding text information needs to be set first, the set of main distribution sites and the corresponding text information are converted into corresponding text information according to the generated three-segment code information, the converted text information is matched with the text information of the main distribution sites, so as to determine the most matched main distribution sites, and the matched main distribution sites are output or returned to the user as a final result.
105. Generating site marking information according to the main distribution site, and sending the site marking information to a sorting end;
in this embodiment, first, the format and content of the site marking information need to be defined, where the information may include a name, a geographic coordinate, a unique identifier, or other related information of the main distribution site, corresponding site marking information is generated according to the selected main distribution site, the name, the geographic coordinate, or other related information of the main distribution site is filled into a corresponding field of the site marking information according to the set format and content, the generated site marking information is sent to the sorting end, so that the sorting end can perform subsequent processing according to the information, at the sorting end, the received site marking information is received and parsed, so that subsequent sorting processing is performed, and the sorting end performs corresponding sorting operation according to the received site marking information, and can match with information of an article to be sorted according to the geographic coordinate or the unique identifier included in the site marking information, so as to determine to which position or area the article needs to be sorted.
According to the embodiment of the invention, the success rate of express package identification is improved by carrying out binarization processing on the face sheet image information, the contour in the binarization image information is detected by utilizing a connected region analysis technology, the contour is integrated into the character block region, three-section code information is generated according to the character block region, the three-section code information is converted into text information, and the main distribution sites corresponding to the text information are matched, so that the main distribution sites corresponding to the express packages can be obtained intelligently, the sorting efficiency of the logistics express packages can be greatly improved, package accumulation is prevented, the distribution time is shortened, site mark information is generated according to the main distribution sites, the site mark information is sent to the sorting end, a sorter can conveniently check intelligent sorting according to the site mark information, the risk of wrong sorting of the express packages is reduced, and the customer satisfaction is improved.
Referring to fig. 2, a second embodiment of a method for sorting a main delivery site of an express package according to an embodiment of the present invention includes:
201. acquiring face sheet image information shot by a sorting end, and carrying out graying treatment on the face sheet image information to obtain a gray image;
in this embodiment, it is ensured that the face sheet image information can be acquired from the sorting end, the acquired face sheet image information is subjected to grayscale processing to obtain a grayscale image, and an image processing library, such as OpenCV, may be used to call a corresponding function or method to load image data, and the image is subjected to grayscale processing.
202. Acquiring edge gradients of local image blocks corresponding to each character pixel point in the gray level image by adopting Sobel horizontal and vertical operators;
in this embodiment, the gray image obtained before the loading is needed first, and is converted into a suitable data structure (such as NumPy array) for further processing, a filter or convolution kernel is created according to the definition of the required Sobel operator, the convolution operation is performed on the image to obtain edge gradient information, the Sobel operator defined in the second step is used to perform the convolution operation on the gray image to obtain gradient strength and direction information of each pixel point, the corresponding local image block is obtained according to the preset character pixel point, and for each local image block, the edge gradient information of the corresponding position is extracted from the convolution result obtained in the third step.
203. Performing enhancement processing on the edge gradient to obtain an enhanced image, and performing filtering processing on the enhanced image by using a Gaussian kernel filter to obtain a filtering processed image;
in this embodiment, normalization processing is performed on the magnitude of the edge gradient, that is, the gradient value is divided by the maximum gradient value, so as to limit the gradient value range to between 0 and 1, square operation is performed on the normalized gradient value to strengthen the gradient value, thresholding is applied, the gradient value of the pixel point below a certain threshold is set to 0, the gradient value of the pixel point above the threshold is set to 1, the enhanced gradient image is converted back to an 8-bit gray image format by multiplying a constant (such as 255), then filtering processing is performed on the enhanced image by a gaussian kernel filter, a required gaussian kernel is defined, including parameters such as the size of the kernel and standard deviation of the kernel, the gaussian kernel is applied to each pixel point on the enhanced image, specifically, the weighted average of the pixel values in the area around each pixel point is calculated by convolution operation, so as to obtain the pixel value after the filtering processing, and the above operation is repeated until all the pixel points are processed.
204. Performing binarization processing on the filtering processing image according to a preset threshold value to obtain binarization image information;
in this embodiment, a binary threshold is set, where the binary threshold is a key for dividing a gray-scale image into two parts of black and white, the filtering-processed image is subjected to threshold segmentation by a test method or an empirical method, specifically, for pixels with gray values greater than the binary threshold, 255 (white), and for pixels with gray values less than or equal to the binary threshold, 0 (black), so as to obtain a binary image, and if further denoising is required, morphological processing methods, such as corrosion, expansion, and on operation, may be used to eliminate noise in the image.
205. Detecting the outline in the binarized image information by using a connected region analysis technology;
in this embodiment, the binarized image information is read, the connected region analysis is performed on the binarized image, the filtering and processing operations are performed on the detected contour, for example, filtering is performed based on attributes such as the contour area and the perimeter, or smoothing, approximation and the like are performed on the contour, then the contour is drawn, polygonal approximation is performed on the contour, or other morphological operations are used for processing the contour.
206. The pixels in the outline are thinned and deleted through eight neighborhood elements, and an optimized image with the character outline being a single pixel line is obtained;
in this embodiment, an image storing contour information is read, a function is defined for checking neighborhood elements around a pixel, judging whether deletion is required, judging in an eight neighborhood manner, if the sum of values of 8 neighborhood pixels around a current pixel is equal to or less than the sum of 7 maximum gray values 255, considering that the pixel needs to be deleted, performing thinning deletion processing on the contour image, traversing each pixel in the image, judging whether the pixel needs to be deleted, if so, setting the pixel value to 0 (black), and storing the optimized image.
207. Determining the position of a break point of a character contour line, and connecting two break points within a preset threshold range according to a nearby principle to obtain a repair image;
in this embodiment, an optimized image stored with character outline information is read, a function is defined to check whether a break point exists around a certain pixel and return to a break point coordinate list, based on the current pixel coordinate, a neighborhood pixel of 3×3 around is traversed, whether each pixel is a break point is checked, if the pixel is a break point, the coordinates of the pixel are added to the break point coordinate list, repair connection is performed on the position of the break point of the character outline, each pixel in the image is traversed, the break point around the pixel is searched, the found break point is connected, if only one break point is found, the pixels in the neighborhood are traversed to be connected, and if two break points are found, the two break points are directly connected.
208. Combining all connected character pixel points in the repair image into a character block area;
in this embodiment, the restored image is read, a function is defined for acquiring coordinates of adjacent pixels, offsets of 8 adjacent pixels are defined, coordinates of the adjacent pixels are obtained by traversing each offset and adding the coordinates of the current pixel, character block area extraction is performed, each pixel in the restored image is traversed, character block area extraction is performed on black pixels (character pixels), a depth-first search (DFS) algorithm is used, adjacent black pixels are continuously explored from each black pixel until new adjacent black pixels can not be found any more, pixel coordinates in the character block area are stored by using a set, a non-recursive form of DFS is realized by using a stack, finally, a blank image is created, and pixel coordinates in the character block area are drawn as white on the image.
In the embodiment of the invention, the character blocks and the outline information can be accurately processed and segmented through various image processing and analysis technologies, the noise and the interference in the image can be effectively processed by adopting various image processing algorithms and filters, the stability and the accuracy of the algorithm are improved, the character blocks and the outlines can be automatically extracted and segmented through the image processing and analysis algorithms without manual intervention, the processing efficiency is improved, and the processing of the face single image information and the combination of the character block areas can be completed in a short time by adopting various optimization and quick algorithms.
Referring to fig. 3, a third embodiment of a method for sorting a main delivery site of an express package according to an embodiment of the present invention includes:
301. identifying a first character separation position and a second character separation position in the binarized image information;
in this embodiment, a file storing a binarized image is read, a vertical projection line of a character is found, a summation operation is performed on pixel values of each column of the binarized image, the vertical projection line of the image is obtained, then, by normalizing the numerical value of the vertical projection line to be in a range from 0 to 1, the highest point of the projection line is 1, the subsequent processing is facilitated, a separation position of a first character is found, a continuous pixel value change condition on the vertical projection line is calculated by using a difference operation, then, a peak-valley change point in the difference image is found, a minimum distance between two peaks-valleys is specified, the separation position of the first character is the first peak-valley change point, and the separation position of a second character is found, because the first peak-valley change point is already found, the separation position of the second character is the second peak-valley change point.
302. Dividing all character block areas in front of a first character separation position to obtain a first segment code;
In this embodiment, all the character block areas in front of the first character separation position are segmented, all the columns in front of the first character separation position are traversed, the character block areas in which black pixels exist in each column are segmented, and the segmented character block areas are added to the list of the first segment codes.
303. Dividing all character block areas between the first character separation position and the second character separation position to obtain a second segment code;
in this embodiment, a first character separation position and a second character separation position are obtained, all columns between the first character separation position and the second character separation position are traversed, a character block area is extracted, all columns between the first character separation position and the second character separation position are traversed, a character block area with black pixels in each column is segmented, the segmented character block area is added into a list of a second segment code, row coordinates of all black pixels in the current column are found first, and then the whole character block area is segmented according to the highest point and the lowest point of the pixels.
304. Dividing all character block areas arranged behind the second character separation position to obtain a third segment code;
In this embodiment, all columns after the second character separation position are acquired for traversing, and a character block area is extracted, all columns after the second character separation position are traversed, a character block area with black pixels in each column is segmented, the segmented character block area is added into a list of a third segment code, row coordinates of all black pixels in the current column are found first, and then the whole character block area is segmented according to the highest point and the lowest point of the pixels.
305. Integrating the first section code, the second section code and the third section code to obtain three-section code information;
in this embodiment, the first segment code, the second segment code and the third segment code are connected, necessary character processing or correction is performed, for example, redundant space or special characters are removed, operations such as character replacement or missing character supplementing are performed, and the processed three-segment code is assigned to the final three-segment code information.
306. Inputting the three-section code information into a preset section code checking model, and judging whether the three-section code information is complete or not through the section code checking model;
in this embodiment, the three-segment code information is encoded appropriately so as to be able to be input into a model, for example, each character may be encoded into a corresponding numerical vector, a preset segment code checking model is imported, and loaded into a memory, the prepared three-segment code information is input into the model, the segment code checking model is used to infer the input three-segment code, an output result of the model is obtained, and whether the three-segment code information is complete is determined according to the output result of the model.
307. If yes, a preset segment code information database is called to analyze the three-segment code information, and a segment code analysis result is obtained;
in this embodiment, according to the three-segment code information, a preset segment code information database is queried, a corresponding record or data is found, the queried data is analyzed, and according to the analysis result, a segment code analysis result of the three-segment code information is obtained.
308. Analyzing the segment code analysis result into readable text information, wherein the text information comprises a destination city, a destination branch company and a dispatcher;
in this embodiment, relevant information of the destination city is extracted from the segment code analysis result, relevant information of the destination branch company is extracted from the segment code analysis result, if the segment code analysis result includes dispatcher information, appropriate technology is also used to extract dispatcher information, the analyzed destination city, the destination branch company and the dispatcher information are combined to construct readable text information, and the relevant information can be combined into a complete descriptive text by using methods such as character string splicing.
309. Creating a database table structure, wherein the database table structure comprises a main site field and secondary site fields, each secondary site field corresponds to a main site field, and each secondary site field has an subordinate relation with the corresponding main site field;
In this embodiment, a primary site table is created in a database using an interface provided by a database management tool or programming language, a secondary site table is created in the same database, an external key constraint is added in the secondary site table, the external key constraint is associated to a primary key field of the primary site table, corresponding fields are defined in the primary site table and the secondary site table, and data is inserted and modified using the interface provided by the database management tool or programming language.
310. Creating a main site database according to the database table structure;
in this embodiment, a suitable database management tool is used, in which a database is created using DDL (data definition language) statements, in which commands or interface operations are used to switch to the created database, a master site table is created in the created database using DDL statements, in which the created DDL statements are copied into an SQL editor and DDL statements are executed, and if no errors are reported, this indicates that the master site table has been successfully created.
311. Inserting text information into a master site database by using a database management tool;
in this embodiment, in the SQL editor of the database management tool, an INSERT statement is written to INSERT text information, the written INSERT statement is copied to the SQL editor, the SQL statement is executed, the SELECT statement is used to query the main site table to verify whether the inserted text information is successfully inserted, and if the query result contains the text information just inserted, the insertion operation is successfully described.
312. Pairing the text information in the master site database to obtain a secondary distribution site corresponding to a destination site division company in the text information;
in this embodiment, it is confirmed which tables in the primary site database contain information of the destination site affiliate and the secondary distribution site, in the SQL editor of the database management tool, JOIN the primary site table and the secondary distribution site table by using JOIN statements to achieve pairing, JOIN the written SELECT statements into the SQL editor according to the actual table structure and field names, and execute the SQL statements, which will find the secondary distribution site corresponding to the destination site affiliate in the primary site database according to the destination site affiliate, check the result set returned after executing the SELECT statements, and see whether the destination site affiliate and the corresponding secondary distribution site are paired correctly.
313. Determining a main distribution site according to the subordinate relation corresponding to the secondary distribution site;
in this embodiment, the relationship between the secondary distribution site table and the primary distribution site table is confirmed, and the secondary distribution site table and the primary distribution site table are connected so as to find the primary distribution site to which each secondary distribution site belongs, and the primary distribution site name to which each secondary distribution site belongs is returned.
In the embodiment of the invention, the character block area can be accurately segmented by identifying the character separation position in the binarized image, the accuracy of each code information is ensured, the strategy of segmentation based on the character separation position is adopted, each code information can be rapidly extracted, the processing efficiency is improved, the integrity and accuracy of the code information can be ensured by inputting three code information into a preset segment code inspection model for verification, new main sites, secondary sites and subordinate relations can be conveniently expanded and added based on the design of a database structure, related information such as destination cities, destination branch companies and dispatchers can be intuitively checked by analyzing text information with the analysis result of the segment codes, and the efficiency of data storage and management can be conveniently improved by using a database management tool.
Referring to fig. 4, a fourth embodiment of a method for sorting a main delivery site of an express package according to an embodiment of the present invention includes:
401. identifying a site name corresponding to the main distribution site;
in this embodiment, first, it is confirmed that the master distribution site table includes information of the master distribution site, the corresponding site names are screened out according to the site name ID of the master distribution site, and each master distribution site and the corresponding site name thereof are returned.
402. Acquiring a color mapping relation table of the site name and the display color, and matching display color information corresponding to the site name according to the site name and the color mapping relation table;
in this embodiment, it is confirmed that the site name table contains information of each site name, the color mapping relation table should contain fields such as color and its corresponding site ID, the site ID and the corresponding color field are selected from the color mapping relation table, the obtained mapping relation result set is used to compare with the site names in the site name table, a matching record is found, the site names are associated with the corresponding color information, and the display color information corresponding to the site names is obtained according to the matching result.
403. Acquiring an icon mapping relation table of the site name and the display icon, and matching display icon information corresponding to the site name according to the site name and the icon mapping relation table;
in this embodiment, it is confirmed that the site name table contains information of each site name, the icon mapping relation table should contain fields such as an icon and a corresponding site ID thereof, the site ID and the corresponding icon field are selected from the icon mapping relation table, the obtained mapping relation result set is used to compare with the site names in the site name table, a matched record is found, the site names are associated with the corresponding icon information, and the displayed icon information corresponding to the site names is obtained according to the matched result.
404. Generating a blank page corresponding to the ground color according to the display color information, and filling the site name and the display icon information into the blank page to obtain site marking information;
in this embodiment, a template of a blank page is designed, including the site name and the position of the display icon to be filled, in the CSS portion in the blank page template, the background color of the page or the color pattern of other elements is set according to the acquired display color information, the mapping relationship between the site name and the display icon acquired before is used, the site name and the display icon information to be filled are acquired according to the service logic, the acquired site name and the display icon information are filled in the position corresponding to the placeholder or ID in the blank page, and after the site name and the display icon are filled, the final page including the site marking information can be obtained.
405. The site marking information is sent to the sorting end, so that the sorting end generates and displays a site page based on the site marking information;
in this embodiment, a communication manner between the sorting end and the sending end is determined, a network protocol, a message queue or other suitable communication mechanisms may be selected and used, so that the sorting end can receive the sent information, package the information into a data packet or a message according to the format and content of the site marking information, send the packaged site marking information to the sorting end by using the selected communication manner, implement the function of receiving the site marking information in a server end or an application program of the sorting end, and perform relevant processing and calculation according to the received site marking information at the sorting end, generate a corresponding site page, and display the generated site page to a user of the sorting end.
In the embodiment of the invention, the site information can be accurately acquired by identifying the site name corresponding to the main distribution site, the accuracy of the site marking information is ensured, the visualized site marking information can be generated by acquiring the mapping relation table of the site name, the display color and the icon, the site sorting and displaying effect is improved, the site marking information can be quickly generated by adopting an automatic processing mode, the efficiency of site sorting and displaying is improved, the display effect of the site marking can be flexibly customized based on the design of the color mapping relation table and the icon mapping relation table, the new site information and the corresponding mapping relation can be conveniently expanded and added based on the design of the form data and the automatic filling page, and the information transmission and sharing can be conveniently realized by sending the site marking information to the sorting end for displaying.
The method for sorting the main delivery site of the express package in the embodiment of the present invention is described above, and the device for sorting the main delivery site of the express package in the embodiment of the present invention is described below, referring to fig. 5, one embodiment of the device for sorting the main delivery site of the express package in the embodiment of the present invention includes:
The acquiring and processing module 501 is configured to acquire the face sheet image information shot by the sorting end, and perform binarization processing on the face sheet image information to obtain binarized image information;
the detection integration module 502 is configured to detect a contour in the binarized image information by using a connected region analysis technique, and integrate the contour into a character block region;
a generation judging module 503, configured to generate three-segment code information according to the character block area, and judge whether the three-segment code information is complete;
the conversion matching module 504 is configured to convert the three-segment code information into text information if yes, and match a main distribution site corresponding to the text information;
the generation and transmission module 505 is configured to generate site marking information according to the master distribution site, and transmit the site marking information to the sorting end.
In the embodiment, the success rate of express package identification is improved by performing binarization processing on the face sheet image information, the contour in the binarization image information is detected by using a connected region analysis technology, the contour is integrated into a character block region, three-section code information is generated according to the character block region, the three-section code information is converted into text information, a main distribution site corresponding to the text information is matched, and further the main distribution site corresponding to the express package can be obtained intelligently, so that the sorting efficiency of the logistics express package can be greatly improved, package accumulation is prevented, the distribution time is shortened, site mark information is generated according to the main distribution site, the site mark information is sent to a sorting end, a sorter can conveniently check intelligent sorting according to the site mark information, the risk of wrong sorting of the express package is reduced, and the customer satisfaction is improved.
Referring to fig. 6, another embodiment of the sorting apparatus for a main delivery site of an express package according to the embodiment of the present invention includes:
the acquiring and processing module 501 is configured to acquire the face sheet image information shot by the sorting end, and perform binarization processing on the face sheet image information to obtain binarized image information;
the detection integration module 502 is configured to detect a contour in the binarized image information by using a connected region analysis technique, and integrate the contour into a character block region;
a generation judging module 503, configured to generate three-segment code information according to the character block area, and judge whether the three-segment code information is complete;
the conversion matching module 504 is configured to convert the three-segment code information into text information if yes, and match a main distribution site corresponding to the text information;
a generation and transmission module 505, configured to generate site marking information according to a master distribution site, and transmit the site marking information to a sorting end;
in this embodiment, the acquisition processing module 501 includes: the grayscale obtaining unit 5011 is configured to obtain face sheet image information shot by the sorting end, and perform grayscale processing on the face sheet image information to obtain a grayscale image; an obtaining unit 5012, configured to obtain an edge gradient of a local image block corresponding to each character pixel in the gray level image by using Sobel horizontal and vertical operators; the enhancement filtering unit 5013 is used for performing enhancement processing on the edge gradient to obtain an enhanced image, and performing filtering processing on the enhanced image by using a Gaussian kernel filter to obtain a filtering processed image; the binarization unit 5014 performs binarization processing on the filter processed image according to a preset threshold by processing to obtain binarized image information.
In this embodiment, the detection integration module 502 includes: a detection unit 5021 for detecting a contour in the binarized image information by using a connected region analysis technique; the refinement and deletion unit 5022 is used for refining and deleting pixels in the outline through eight neighborhood elements to obtain an optimized image with a character outline being a single pixel line; a determining unit 5023, configured to determine a position of a break point of a character contour line, and connect two break points within a preset threshold range according to a nearby principle, so as to obtain a repair image; and the combining unit 5024 is used for combining all the connected character pixel points in the repair image into a character block area.
In this embodiment, the generation determination module 503 includes: a first recognition unit 5031 for recognizing a first character separation position and a second character separation position in the binarized image information; a first segmentation unit 5032, configured to segment all character block areas in front of the first character separation position to obtain a first segment code; a second segmentation unit 5033, configured to segment all character block areas between the first character separation position and the second character separation position to obtain a second segment code; a third segmentation unit 5034, configured to segment all character block areas located at the rear position of the second character separation position, so as to obtain a third segment code; an integrating unit 5035, configured to integrate the first segment code, the second segment code, and the third segment code to obtain three-segment code information; the input judging unit 5036 is configured to input the three-segment code information into a preset segment code checking model, and judge whether the three-segment code information is complete through the segment code checking model.
In this embodiment, the conversion matching module 504 includes: the calling analysis unit 5041 is configured to call a preset segment code information database to analyze the three-segment code information if yes, so as to obtain a segment code analysis result; the parsing unit 5042 is configured to parse the segment code analysis result into readable text information, where the text information includes a destination city, a destination branch company, and a dispatcher; and the calling pairing unit 5043 is used for calling the pre-established master site database, inputting the text information into the master site database for pairing, and obtaining a master distribution site corresponding to the destination site division company in the text information.
In this embodiment, the call pairing unit 5043 is specifically configured to create a database table structure, where the database table structure includes a primary site field and a secondary site field, each secondary site field corresponds to a primary site field, and each secondary site field has a subordinate relationship with the corresponding primary site field; creating a main site database according to the database table structure; inserting text information into a master site database by using a database management tool; pairing the text information in the master site database to obtain a secondary distribution site corresponding to a destination site division company in the text information; and determining the main distribution site according to the subordinate relation corresponding to the secondary distribution site.
In this embodiment, the generating and transmitting module 505 includes: a second identifying unit 5051, configured to identify a site name corresponding to the master distribution site; the first obtaining matching unit 5052 is configured to obtain a color mapping relationship table of a site name and a display color, and match display color information corresponding to the site name according to the site name and the color mapping relationship table; a second obtaining matching unit 5053, configured to obtain an icon mapping relationship table of the site name and the display icon, and match display icon information corresponding to the site name according to the site name and the icon mapping relationship table; the generating and filling unit 5054 is configured to generate a blank page corresponding to the ground color according to the display color information, and fill the site name and the display icon information into the blank page to obtain site mark information; and a sending unit 5055, configured to send the site marking information to the sorting end, so that the sorting end generates and displays the site page based on the site marking information.
The express package main distribution site sorting device in the embodiment of the present invention is described in detail from the point of view of the modularized functional entity in fig. 5 and fig. 6, and the express package main distribution site sorting device in the embodiment of the present invention is described in detail from the point of view of hardware processing.
Fig. 7 is a schematic structural diagram of an express package main distribution site sorting device according to an embodiment of the present invention, where the express package main distribution site sorting device 600 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 610 (e.g., one or more processors) and a memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) storing application programs 633 or data 632. Wherein the memory 620 and the storage medium 630 may be transitory or persistent storage. The program stored on the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations in the express parcel master distribution site sorting apparatus 600. Still further, the processor 610 may be configured to communicate with the storage medium 630, and execute a series of instruction operations in the storage medium 630 on the sorting device 600 of the main delivery site of the package for express delivery, so as to implement the steps of the sorting method of the main delivery site of the package for express delivery provided by the above embodiments of the method.
The express package main distribution site sorting apparatus 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input/output interfaces 660, and/or one or more operating systems 631, such as Windows Server, mac OS X, unix, linux, freeBSD, etc. It will be appreciated by those skilled in the art that the express package main distribution site sorting apparatus structure shown in fig. 7 is not limiting on the express package main distribution site sorting apparatus, and may include more or less components than those illustrated, or may combine certain components, or may be a different arrangement of components.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and may also be a volatile computer readable storage medium, where instructions are stored that, when executed on a computer, cause the computer to perform the steps of a method for sorting an express package main distribution site.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system or apparatus and unit described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing is merely a preferred example of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. The method for sorting the express package main distribution site is characterized by comprising the following steps of:
acquiring face sheet image information shot by a sorting end, and performing binarization processing on the face sheet image information to obtain binarized image information;
detecting the outline in the binarized image information by using a connected region analysis technology, and integrating the outline into a character block region;
generating three-section code information according to the character block area, and judging whether the three-section code information is complete or not;
if yes, converting the three-section code information into text information, and matching a main distribution site corresponding to the text information;
and generating site marking information according to the main distribution site, and sending the site marking information to the sorting end.
2. The method for sorting the express package main distribution site according to claim 1, wherein the step of obtaining the face sheet image information shot by the sorting end, and performing binarization processing on the face sheet image information to obtain binarized image information comprises the steps of:
acquiring the face sheet image information shot by a sorting end, and carrying out graying treatment on the face sheet image information to obtain a gray image;
acquiring edge gradients of local image blocks corresponding to each character pixel point in the gray level image by adopting Sobel horizontal and vertical operators;
performing enhancement processing on the edge gradient to obtain an enhanced image, and performing filtering processing on the enhanced image by using a Gaussian kernel filter to obtain a filtering processing image;
and carrying out binarization processing on the filtering processing image according to a preset threshold value to obtain binarization image information.
3. The method of claim 1, wherein detecting the outline in the binary image information by using a connected region analysis technique and integrating the outline into a character block region comprises:
detecting the outline in the binarized image information by using a connected region analysis technology;
The pixels in the outline are thinned and deleted through eight neighborhood elements, and an optimized image with a character outline being a single pixel line is obtained;
determining the position of the break point of the character contour line, and connecting two break points within a preset threshold range according to a nearby principle to obtain a repair image;
and combining all the connected character pixel points in the repair image into a character block area.
4. The method for sorting the express package main distribution site according to claim 1, wherein the generating three-section code information according to the character block area and judging whether the three-section code information is complete comprises:
identifying a first character separation position and a second character separation position in the binarized image information;
dividing all the character block areas in front of the first character separation position to obtain a first segment code;
dividing all the character block areas between the first character separation position and the second character separation position to obtain a second segment code;
dividing all the character block areas with the rear second character separation positions to obtain a third segment code;
integrating the first section code, the second section code and the third section code to obtain three-section code information;
And inputting the three-section code information into a preset section code checking model, and judging whether the three-section code information is complete or not through the section code checking model.
5. The method for sorting the main delivery sites of the express packages according to claim 1, wherein if yes, the three-segment code information is converted into text information, and the main delivery sites corresponding to the text information are matched, which comprises the following steps:
if yes, a preset segment code information database is called to analyze the three-segment code information, and a segment code analysis result is obtained;
analyzing the segment code analysis result into readable text information, wherein the text information comprises a destination city, a destination website branch company and a dispatcher;
and calling a pre-established master site database, and inputting the text information into the master site database for pairing to obtain a master distribution site corresponding to a destination site company in the text information.
6. The method for sorting express packages at a main distribution site according to claim 5, wherein the calling a pre-established main point database, inputting the text information into the main point database for pairing to obtain a main distribution site corresponding to a destination branch company in the text information, comprises:
Creating a database table structure, wherein the database table structure comprises a main site field and secondary site fields, each secondary site field corresponds to one main site field, and each secondary site field has a subordinate relation with the corresponding main site field;
creating a main site database according to the database table structure;
inserting the text information into the master site database using a database management tool;
pairing the text information in the main site database to obtain a secondary distribution site corresponding to a destination site branch company in the text information;
and determining a main distribution site according to the affiliation corresponding to the secondary distribution site.
7. The method for sorting express packages at a primary distribution site according to claim 1, wherein the generating site marking information according to the primary distribution site, and transmitting the site marking information to the sorting end, comprises:
identifying a site name corresponding to the main distribution site;
acquiring a color mapping relation table of the site name and the display color, and matching display color information corresponding to the site name according to the site name and the color mapping relation table;
Acquiring an icon mapping relation table of the site name and the display icon, and matching display icon information corresponding to the site name according to the site name and the icon mapping relation table;
generating a blank page corresponding to the ground color according to the display color information, and filling the site name and the display icon information into the blank page to obtain site marking information;
and sending the site marking information to the sorting end so that the sorting end generates and displays a site page based on the site marking information.
8. Express delivery parcel master distribution website sorting device, characterized by comprising:
the acquisition processing module is used for acquiring the face sheet image information shot by the sorting end, and carrying out binarization processing on the face sheet image information to obtain binarized image information;
the detection integration module is used for detecting the outline in the binarized image information by using a connected region analysis technology and integrating the outline into a character block region;
the generation judging module is used for generating three-section code information according to the character block area and judging whether the three-section code information is complete or not;
the conversion matching module is used for converting the three-section code information into text information if yes, and matching a main distribution site corresponding to the text information;
And the generation and transmission module is used for generating site marking information according to the main distribution site and transmitting the site marking information to the sorting end.
9. Express delivery parcel master distribution site sorting equipment, its characterized in that, express delivery parcel master distribution site sorting equipment includes: a memory and at least one processor, the memory having instructions stored therein;
at least one of the processors invokes the instructions in the memory to cause the express parcel master distribution site sorting apparatus to perform the steps of the express parcel master distribution site sorting method of any of claims 1 to 7.
10. A computer readable storage medium having instructions stored thereon, which when executed by a processor, perform the steps of the method of sorting a main distribution site of an express parcel as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311396989.8A CN117649671A (en) | 2023-10-25 | 2023-10-25 | Express package main distribution site sorting method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311396989.8A CN117649671A (en) | 2023-10-25 | 2023-10-25 | Express package main distribution site sorting method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117649671A true CN117649671A (en) | 2024-03-05 |
Family
ID=90042349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311396989.8A Pending CN117649671A (en) | 2023-10-25 | 2023-10-25 | Express package main distribution site sorting method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117649671A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118321184A (en) * | 2024-05-28 | 2024-07-12 | 深圳市希购科技有限公司 | Logistics express automatic sorting method based on bar code identification |
CN119446538A (en) * | 2025-01-08 | 2025-02-14 | 南充市中心医院 | An intelligent management method and system for diabetic patients based on artificial intelligence |
-
2023
- 2023-10-25 CN CN202311396989.8A patent/CN117649671A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118321184A (en) * | 2024-05-28 | 2024-07-12 | 深圳市希购科技有限公司 | Logistics express automatic sorting method based on bar code identification |
CN118321184B (en) * | 2024-05-28 | 2024-10-22 | 深圳市希购科技有限公司 | Logistics express automatic sorting method based on bar code identification |
CN119446538A (en) * | 2025-01-08 | 2025-02-14 | 南充市中心医院 | An intelligent management method and system for diabetic patients based on artificial intelligence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN117649671A (en) | Express package main distribution site sorting method, device, equipment and storage medium | |
CN113569863B (en) | Document checking method, system, electronic equipment and storage medium | |
CN112418812A (en) | Distributed full-link automatic intelligent clearance system, method and storage medium | |
CN111461133A (en) | Express delivery surface single item name identification method, device, equipment and storage medium | |
CN112613339A (en) | Automatic identification and examination method and device for electrical drawings | |
CN114511718B (en) | Intelligent management method and system for materials for building construction | |
CN113705559B (en) | Character recognition method and device based on artificial intelligence and electronic equipment | |
CN113239893B (en) | Document input rechecking method, system, electronic equipment and medium | |
CN111414889A (en) | Financial statement identification method and device based on character identification | |
CN110766010A (en) | Information identification method, model training method and related device | |
CN114996500B (en) | Trademark graph retrieval method | |
CN114596439A (en) | Image-based intelligent damage assessment and check method and device for car insurance and electronic equipment | |
CN116895074A (en) | Digital verification method, device, equipment and medium based on optical character recognition | |
CN112257525B (en) | Logistics vehicle punch card identification method, device, equipment and storage medium | |
GB2606258A (en) | System for and method of detecting changes | |
CN116110070A (en) | Communication engineering drawing recognition method and device | |
CN114627457A (en) | Ticket information identification method and device | |
EP2573694A1 (en) | Conversion method and system | |
CN110956022A (en) | Document processing method and system | |
CN112950749B (en) | Handwriting picture generation method based on generation countermeasure network | |
CN117454859B (en) | Automatic data input method and device for oil and gas station, electronic equipment and storage medium | |
US12033218B2 (en) | Assessing damages on vehicles | |
CN114202761B (en) | Information batch extraction method based on picture information clustering | |
Li et al. | A Design of Automatic Inspection Solution for Electric Power Marketing Documents | |
CN116884028A (en) | Drawing information extraction method and device based on optical character recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |