CN109242874B - Method and system for quickly identifying logistics packages of quasi-woven bags - Google Patents

Method and system for quickly identifying logistics packages of quasi-woven bags Download PDF

Info

Publication number
CN109242874B
CN109242874B CN201811125918.3A CN201811125918A CN109242874B CN 109242874 B CN109242874 B CN 109242874B CN 201811125918 A CN201811125918 A CN 201811125918A CN 109242874 B CN109242874 B CN 109242874B
Authority
CN
China
Prior art keywords
calculating
logistics
quasi
coordinate system
logistics packages
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.)
Active
Application number
CN201811125918.3A
Other languages
Chinese (zh)
Other versions
CN109242874A (en
Inventor
徐圣兵
陈广诚
王琳
汪净
徐杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201811125918.3A priority Critical patent/CN109242874B/en
Publication of CN109242874A publication Critical patent/CN109242874A/en
Application granted granted Critical
Publication of CN109242874B publication Critical patent/CN109242874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Multimedia (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method and a system for quickly identifying logistics packages of quasi woven bags, wherein the method comprises the following steps: presetting a classification threshold value R; shooting and acquiring a picture of the logistics package by a camera; acquiring an edge contour figure of the logistics package from the picture of the logistics package; calculating and obtaining the area Se of the edge contour graph; calculating and obtaining the area Sn of a minimum circumscribed rectangle circumscribed with the edge outline graph; calculating to obtain an area ratio r which is 1-Se/Sn; judging whether R is not less than or equal to R, and if so, judging that the logistics package is a quasi woven bag; if not, judging that the logistics packages are not the standard woven bags. The invention provides a system and a method for quickly identifying a quasi-woven bag logistics package, which can quickly judge whether the logistics package is the quasi-woven bag or not through a picture shot by a camera, do not need to adopt an expensive high-precision scanner, save the cost and realize quick and accurate judgment.

Description

Method and system for quickly identifying logistics packages of quasi-woven bags
Technical Field
The invention relates to the field of logistics, in particular to a method and a system for quickly identifying a quasi-woven bag logistics package.
Background
The scale of the express industry in China is huge, 490 hundred million Chinese express businesses are predicted to be completed in 2018 according to the state post and government offices, and the business volume is increased by 22.2% on a par; the income of express service is 5950 billion yuan, which is increased by 20.2 percent on year-on-year basis. Calculated according to 13.8 hundred million population in mainland China at the end of 2016, the number of people expressing the Chinese medicine is 35. Under the promotion of business demand, some large-scale express delivery companies have realized some express delivery parcel automatic sorting's assembly line, nevertheless to the processing of accurate braided bag class commodity circulation parcel, because the deformation of accurate braided bag, the express delivery list often is covered by excessive bending even, needs this type of parcel of manual sorting.
In the past, the packages of quasi woven bags are identified, the shape point clouds of the packages are usually acquired by adopting a laser scanning mode, and whether the packages are quasi woven bags with irregular shapes is judged by analyzing the shapes of the point clouds, a high-precision scanner is needed in the method, the price of the high-precision scanner is often more than one hundred thousand, and the laser scanning mode is high in cost. Therefore, a method for rapidly identifying the logistics packages of the ready-woven bags at low cost is needed.
Disclosure of Invention
The invention aims to provide a method and a system for quickly identifying a quasi-woven bag logistics package, which can identify the quasi-woven bag at low cost.
A method for quickly identifying logistics packages of quasi-woven bags is characterized by comprising the following steps:
presetting a classification threshold value R;
shooting and acquiring a picture of the logistics package by a camera;
acquiring an edge contour figure of the logistics package from the picture of the logistics package;
calculating and obtaining the area Se of the edge contour graph;
calculating and obtaining the area Sn of a minimum circumscribed rectangle circumscribed with the edge outline graph;
calculating to obtain an area ratio r which is 1-Se/Sn;
judging whether R is not less than or equal to R, and if so, judging that the logistics package is a quasi woven bag; if not, judging that the logistics packages are non-standard woven bags.
Optionally, the obtaining of the edge profile graph of the logistics package from the picture of the logistics package specifically includes:
carrying out binarization processing on the pictures of the logistics packages;
and obtaining the edge contour graph of the logistics package according to the image pixel change of the image of the logistics package before and after the binarization processing.
Optionally, the calculating to obtain the area Se of the edge contour pattern specifically includes:
cutting a contrast blank picture with a known area Sa on the blank picture, and calculating to obtain the pixel number Pa of the contrast blank picture;
cutting the blank picture according to the edge contour graph on the blank picture to obtain an edge contour blank picture;
calculating and obtaining the pixel number Pe of the edge contour blank image;
and calculating to obtain the area Se (Pe/Pa) Sa of the edge contour graph.
Optionally, the calculating and obtaining an area Sn of a minimum circumscribed rectangle circumscribed with the edge profile graph specifically includes:
selecting a plurality of coordinate systems, and calculating and acquiring coordinates of the composition points of the edge contour graph in each coordinate system;
calculating and obtaining the area of a circumscribed rectangle of the edge contour graph in each coordinate system according to the coordinates of the composition points of the edge contour graph in each coordinate system;
and comparing the areas of the circumscribed rectangles of the edge outline graphs in each coordinate system, and taking the minimum value of the areas and storing the minimum value as the area Sn of the minimum circumscribed rectangle.
Optionally, the calculating and obtaining an area Sn of a minimum circumscribed rectangle circumscribed with the edge profile graph specifically includes:
presetting the rotation times m of the coordinate system, and calculating to obtain a rotation angle a of the coordinate system which is 360/m;
presetting a first coordinate system, and calculating and acquiring coordinates of each composition point of the edge contour graph in the first coordinate system, wherein the expression method of the coordinates of the first coordinate system is (X1, Y1);
calculating the difference Xd1 between the maximum value and the minimum value of the X1 values of each composition point to be obtained, and calculating the difference Yd1 between the maximum value and the minimum value of the Y1 values of each composition point to be obtained, wherein the difference Xd1 is X1max-X1 min;
calculating and obtaining the area Sn1 of the circumscribed rectangle of the edge outline graph in the first coordinate system, namely Xd1 Yd 1;
definition i ═ 2;
rotating the first coordinate system around the origin of the first coordinate system by an angle (i-1) a in a preset direction to obtain an ith coordinate system, and calculating and obtaining the coordinates of each composition point of the edge contour graph in the ith coordinate system, wherein the representation method of the coordinates of the ith coordinate system is (Xi, Yi);
calculating the difference Xdi between the maximum value and the minimum value of the Xi values of all the composition points according to the coordinates of all the composition points of the edge contour graph in the ith coordinate system to be Ximax-Ximin, and calculating the difference Ydi between the maximum value and the minimum value of the Yi values of all the composition points to be Yimax-Yimin;
calculating and obtaining the area Sni-Xdi-Ydi of the circumscribed rectangle of the edge outline graph in the ith coordinate system;
judging whether i is less than m, if so, comparing the areas of the circumscribed rectangles of the edge outline graphs in each coordinate system, and taking the minimum value of the areas and storing the minimum value as the area Sn of the minimum circumscribed rectangle; if not, resetting i to i +1, and returning to the step: rotating the first coordinate system by an angle (i-1) a around the origin of the first coordinate system along the preset direction, acquiring an ith coordinate system, and calculating and acquiring the coordinates of each composition point of the edge contour graph in the ith coordinate system, wherein the representation method of the coordinates of the ith coordinate system is (Xi, Yi).
Optionally, the determining that the logistics package is a quasi woven bag further comprises the following steps: and automatically sorting the logistics packages which are judged to be the quasi woven bags to a manual sorting place.
Optionally, the camera takes a picture of the logistics package, and specifically includes: when the shooting sensor senses that the logistics packages pass through the shooting area of the camera, the camera shoots and obtains pictures of the logistics packages.
A quasi-woven bag logistics package rapid identification system comprises a camera and a terminal, wherein the camera is electrically connected with the terminal;
the camera is used for shooting and acquiring pictures of the logistics packages and transmitting the pictures to the terminal;
the terminal includes:
the picture storage module is used for acquiring and storing the pictures of the logistics packages shot by the camera;
the classification threshold setting module is used for presetting a classification threshold R;
the edge outline graph calculation module is used for acquiring an edge outline graph of the logistics package from the pictures of the logistics package and calculating the area Se of the acquired edge outline graph;
the circumscribed rectangle calculating module is used for calculating and acquiring the area of the minimum circumscribed rectangle circumscribed with the edge outline graph;
the area ratio calculation module is used for calculating and obtaining an area ratio r which is 1-Se/Sh;
and the judging module is used for judging whether the logistics packages are quasi woven bags or not according to the condition that R is larger than or equal to R, judging the logistics packages are quasi woven bags if R is larger than or equal to R, and judging the logistics packages are not quasi woven bags if R is smaller than R.
Optionally, the system for rapidly identifying the logistics packages of the quasi woven bags further comprises a conveyor belt and a shooting sensor, wherein both the conveyor belt and the shooting sensor are electrically connected with the terminal;
the camera is arranged above the conveyor belt, and the conveyor belt is used for conveying logistics packages;
the shooting sensor is used for sensing the logistics packages and transmitting incoming material signals to the terminal when the logistics packages are sensed to pass through the shooting area of the camera;
the terminal further comprises a camera control module, wherein the camera control module is used for receiving the incoming material signal of the shooting sensor and controlling the camera to shoot the logistics packages.
Optionally, the system for rapidly identifying the logistics packages of the quasi-woven bags further comprises a sorting manipulator and a sorting sensor, wherein the sorting sensor is used for sensing whether the logistics packages reach an automatic sorting position and transmitting arrival signals to the terminal; the sorting manipulator is used for automatically sorting the logistics packages which are judged to be the quasi woven bags to a manual sorting position;
the terminal further comprises a sorting control module, the sorting control module is used for receiving the arrival signals of the sorting sensors and the judgment results of the judgment module and controlling the sorting manipulator to sort the logistics packages which are judged to be quasi woven bags from the automatic sorting place to the manual sorting place.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a system and a method for quickly identifying a quasi-woven bag logistics package, which can quickly judge whether the logistics package is the quasi-woven bag or not through a picture shot by a camera, do not need to adopt an expensive high-precision scanner, save the cost and realize quick and accurate judgment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for quickly identifying a quasi-woven bag logistics package according to an embodiment of the present invention.
Fig. 2 is a process schematic diagram of a method for quickly identifying a quasi-woven bag logistics package according to an embodiment of the invention.
Fig. 3 is a flowchart of step S120 according to an embodiment of the present invention.
Fig. 4 is a flowchart of step S130 according to an embodiment of the present invention.
Fig. 5 is a flowchart of step S141 according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a quasi-woven bag logistics package rapid identification system provided by an embodiment of the invention.
In the figure: 10. a terminal; 11. a picture storage module; 12. a classification threshold setting module; 13. an edge profile graph calculation module; 14. a rectangle calculation module is connected externally; 15. an area ratio calculation module; 16. a judgment module; 18. a sorting control module; 20. a camera; 30. a shooting sensor; 40. sorting sensors; 50. sorting manipulator.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
Example one
Referring to fig. 1, the embodiment provides a method for quickly identifying a logistics package in a quasi-woven bag, which can quickly identify the logistics package at low cost. Referring to fig. 1, the method specifically includes the following steps:
s100, presetting a classification threshold value R.
S110, the camera 20 shoots and obtains the pictures of the logistics packages.
And S120, acquiring the edge contour graph of the logistics package from the picture of the logistics package.
And S130, calculating and obtaining the area Se of the edge contour graph.
And S140, calculating and obtaining the area Sn of the minimum circumscribed rectangle circumscribed with the edge outline graph.
And S150, calculating to obtain the area ratio r which is 1-Se/Sn.
S160, judging whether R is larger than or equal to R, if so, executing the step S170; if not, go to step S180.
And S170, judging that the logistics packages are quasi woven bags.
And S180, judging that the logistics packages are non-standard woven bags.
The camera 20 in step S110 is a general camera, and laser scanning is not required.
Step S171 is further included after step S170: and automatically sorting the logistics packages which are judged to be the quasi woven bags to a manual sorting place.
Step S110 specifically includes: when the shooting sensor 30 senses that the logistics packages pass through the shooting area of the camera 20, the camera 20 shoots and acquires pictures of the logistics packages.
Fig. 2 is a process effect diagram of the quasi-woven bag logistics package rapid identification method, and as shown in fig. 2, the circumscribed rectangle of each edge contour figure can be obtained through the edge contour figures of the quasi-woven bag and the carton. It can be seen from the figure that the area ratio r of the quasi-woven bags is obviously larger than that of the carton.
Referring to fig. 3, step S120 specifically includes the following steps:
s121, carrying out binarization processing on the pictures of the logistics packages;
and S122, acquiring an edge contour graph of the logistics package according to the image pixel change before and after the binarization processing.
Referring to fig. 4, step S130 specifically includes the following steps:
s131, cutting a contrast blank picture with a known area Sa on the blank picture, and calculating to obtain the pixel number Pa of the contrast blank picture;
s132, cutting the blank picture according to the edge contour graph on the blank picture to obtain the edge contour blank picture;
s133, calculating and obtaining the pixel number Pe of the edge contour blank image;
and S134, calculating and obtaining the area Se (Pe/Pa) Sa of the edge contour graph.
Referring to fig. 5, step S140 specifically includes the following steps:
s141, selecting a plurality of coordinate systems, and calculating and obtaining the coordinates of the composition points of the edge contour graph in each coordinate system; calculating and obtaining the area of a circumscribed rectangle of the edge contour graph in each coordinate system according to the coordinates of the composition points of the edge contour graph in each coordinate system;
and S142, comparing the areas of the circumscribed rectangles of the edge contour graphs in each coordinate system, and taking the minimum value of the areas and storing the minimum value as Sn.
Wherein, step S141 specifically includes the following steps:
s1411, presetting the rotation times m of the coordinate system, and calculating to obtain a rotation angle a of the coordinate system of 360/m;
s1412, presetting a first coordinate system, and calculating and acquiring coordinates of each constituent point of the edge contour graph in the first coordinate system, wherein the expression method of the coordinates of the first coordinate system is (X1, Y1);
s1413, calculating the difference Xd1 between the maximum value and the minimum value of the X1 values of each composition point to be X1max-X1min and calculating the difference Yd1 between the maximum value and the minimum value of the Y1 values of each composition point to be Y1max-Y1min according to the coordinates of each composition point of the edge contour graph in the first coordinate system;
s1414, calculating and obtaining an area Sn1 (Xd 1) Yd1 of a circumscribed rectangle of the edge outline graph in the first coordinate system;
s1415, definition i ═ 2;
s1416, rotating the first coordinate system around the origin by an angle (i-1) a in a preset direction, acquiring an ith coordinate system, and calculating and acquiring the coordinates of each composition point of the edge contour graph in the ith coordinate system, wherein the expression method of the coordinates of the ith coordinate system is (Xi, Yi);
s1417, calculating a difference Xdi between the maximum value and the minimum value of the Xi values of the composition points according to the coordinates of the composition points of the edge contour graph in the ith coordinate system to be Ximax-Ximin, and calculating a difference Ydi between the maximum value and the minimum value of the Yi values of the composition points to be Yimax-Yimin;
s1418, calculating and obtaining an area Sni (Xdi) Ydi of a circumscribed rectangle of the edge outline graph in the ith coordinate;
s1419, determining whether i is < m, if yes, performing step S1420, otherwise, performing step S142;
s1420, i ═ i +1, the process returns to step S1416.
Referring to fig. 6, the embodiment further provides a system for rapidly identifying a quasi-woven bag logistics package, which includes a camera 20 and a terminal 10, wherein the camera 20 is electrically connected to the terminal 10.
The camera 20 is used for taking pictures of the logistics packages and transmitting the pictures to the terminal 10.
The terminal 10 includes:
and the picture storage module 11 is used for acquiring and storing the pictures of the logistics packages shot by the camera 20.
And a classification threshold setting module 12, configured to preset a classification threshold R.
And an edge contour graph calculating module 13, configured to obtain an edge contour graph of the logistics package from the picture of the logistics package, and calculate an area Se of the obtained edge contour graph.
And the circumscribed rectangle calculating module 14 is used for calculating and obtaining the area of the minimum circumscribed rectangle circumscribed with the edge outline graph.
And the area ratio calculation module 15 is used for calculating the acquisition area ratio r to be 1-Se/Sh.
And the judging module 16 is used for judging whether the logistics packages are quasi woven bags or not according to whether R is larger than or equal to R, judging the logistics packages to be quasi woven bags if R is larger than or equal to R, and judging the logistics packages to be non-quasi woven bags if R is smaller than R.
The quick identification system of accurate braided bag commodity circulation parcel still includes the conveyer belt and shoots sensor 30, and the conveyer belt is connected terminal 10 with shooting the equal electricity of sensor 30. The camera 20 is disposed above the conveyor belt. The conveyor belt is used for conveying logistics packages. The photographing sensor 30 is used for sensing the logistics packages and transmitting the incoming material signal to the terminal 10 when sensing that the logistics packages pass through the photographing area of the camera 20.
The terminal 10 further includes a camera control module for receiving the incoming material signal of the shooting sensor 30 and controlling the camera 20 to shoot the logistics package.
The quick identification system for the quasi-woven bag logistics packages further comprises a sorting manipulator 50 and a sorting sensor 40, wherein the sorting sensor 40 is used for sensing whether the logistics packages reach an automatic sorting position or not and transmitting arrival signals to the terminal 10. The sorting manipulator 50 is used for automatically sorting the logistics packages which are judged to be the quasi-woven bags to a manual sorting place.
The terminal 10 further includes a sorting control module 18, and the sorting control module 18 is configured to receive the arrival signal of the sorting sensor 40 and the judgment of the judgment module 16, and control the sorting robot 50 to sort the logistics packages judged as quasi-woven bags from the automatic sorting location to the manual sorting location.
The embodiment of the invention provides a system and a method for quickly identifying a quasi-woven bag logistics package, which can quickly judge whether the logistics package is a quasi-woven bag or not through a picture shot by a camera 20, do not need to adopt an expensive high-precision scanner, save the cost and realize quick and accurate judgment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for quickly identifying logistics packages of quasi-woven bags is characterized by comprising the following steps:
presetting a classification threshold value R;
shooting and acquiring a picture of the logistics package by a camera;
acquiring an edge contour figure of the logistics package from the picture of the logistics package;
calculating and obtaining the area Se of the edge contour graph;
calculating and obtaining the area Sn of a minimum circumscribed rectangle circumscribed with the edge outline graph;
calculating to obtain an area ratio r which is 1-Se/Sn;
judging whether R is not less than or equal to R, and if so, judging that the logistics package is a quasi woven bag; if not, judging that the logistics packages are non-standard woven bags;
the calculating and obtaining of the area Sn of the minimum circumscribed rectangle circumscribed with the edge profile graph specifically includes:
selecting a plurality of coordinate systems, and calculating and acquiring coordinates of the composition points of the edge contour graph in each coordinate system;
calculating and obtaining the area of a circumscribed rectangle of the edge contour graph in each coordinate system according to the coordinates of the composition points of the edge contour graph in each coordinate system;
and comparing the areas of the circumscribed rectangles of the edge outline graphs in each coordinate system, and taking the minimum value of the areas and storing the minimum value as the area Sn of the minimum circumscribed rectangle.
2. The method for rapidly identifying the logistics packages of the quasi woven bags according to claim 1, wherein the step of obtaining the edge profile graph of the logistics packages from the pictures of the logistics packages specifically comprises the following steps:
carrying out binarization processing on the pictures of the logistics packages;
and obtaining the edge contour graph of the logistics package according to the image pixel change of the image of the logistics package before and after the binarization processing.
3. The method for rapidly identifying the logistics packages of the quasi woven bags according to claim 1, wherein the calculating to obtain the area Se of the edge contour pattern specifically comprises:
cutting a contrast blank picture with a known area Sa on the blank picture, and calculating to obtain the pixel number Pa of the contrast blank picture;
cutting the blank picture according to the edge contour graph on the blank picture to obtain an edge contour blank picture;
calculating and obtaining the pixel number Pe of the edge contour blank image;
and calculating to obtain the area Se (Pe/Pa) Sa of the edge contour graph.
4. The method for rapidly identifying the logistics packages of the quasi woven bags according to claim 1, wherein the calculating and obtaining of the area Sn of the minimum circumscribed rectangle circumscribed with the edge contour figure specifically comprises:
presetting the rotation times m of the coordinate system, and calculating to obtain a rotation angle a of the coordinate system which is 360/m;
presetting a first coordinate system, and calculating and acquiring coordinates of each composition point of the edge contour graph in the first coordinate system, wherein the expression method of the coordinates of the first coordinate system is (X1, Y1);
calculating the difference Xd1 between the maximum value and the minimum value of the X1 values of each composition point to be obtained, and calculating the difference Yd1 between the maximum value and the minimum value of the Y1 values of each composition point to be obtained, wherein the difference Xd1 is X1max-X1 min;
calculating and obtaining the area Sn1 of the circumscribed rectangle of the edge outline graph in the first coordinate system, namely Xd1 Yd 1;
definition i ═ 2;
rotating the first coordinate system around the origin of the first coordinate system by an angle (i-1) a in a preset direction to obtain an ith coordinate system, and calculating and obtaining the coordinates of each composition point of the edge contour graph in the ith coordinate system, wherein the representation method of the coordinates of the ith coordinate system is (Xi, Yi);
calculating the difference Xdi between the maximum value and the minimum value of the Xi values of all the composition points according to the coordinates of all the composition points of the edge contour graph in the ith coordinate system to be Ximax-Ximin, and calculating the difference Ydi between the maximum value and the minimum value of the Yi values of all the composition points to be Yimax-Yimin;
calculating and obtaining the area Sni-Xdi-Ydi of the circumscribed rectangle of the edge outline graph in the ith coordinate system;
judging whether i is less than m, if so, comparing the areas of the circumscribed rectangles of the edge outline graphs in each coordinate system, and taking the minimum value of the areas and storing the minimum value as the area Sn of the minimum circumscribed rectangle; if not, resetting i to i +1, and returning to the step: rotating the first coordinate system by an angle (i-1) a around the origin of the first coordinate system along the preset direction, acquiring an ith coordinate system, and calculating and acquiring the coordinates of each composition point of the edge contour graph in the ith coordinate system, wherein the representation method of the coordinates of the ith coordinate system is (Xi, Yi).
5. The method for rapidly identifying the logistics packages of the quasi-woven bags according to claim 1, wherein the method for judging the logistics packages to be the quasi-woven bags further comprises the following steps: and automatically sorting the logistics packages which are judged to be the quasi woven bags to a manual sorting place.
6. The method for rapidly identifying the logistics packages of the quasi-woven bags according to claim 1, wherein the camera takes a picture of the logistics packages, and specifically comprises: when the shooting sensor senses that the logistics packages pass through the shooting area of the camera, the camera shoots and obtains pictures of the logistics packages.
7. A quasi-woven bag logistics package rapid identification system is characterized by comprising a camera and a terminal, wherein the camera is electrically connected with the terminal;
the camera is used for shooting and acquiring pictures of the logistics packages and transmitting the pictures to the terminal;
the terminal includes:
the picture storage module is used for acquiring and storing the pictures of the logistics packages shot by the camera;
the classification threshold setting module is used for presetting a classification threshold R;
the edge outline graph calculation module is used for acquiring an edge outline graph of the logistics package from the pictures of the logistics package and calculating the area Se of the acquired edge outline graph;
the circumscribed rectangle calculating module is used for calculating and acquiring the area of the minimum circumscribed rectangle circumscribed with the edge outline graph;
the area ratio calculation module is used for calculating and obtaining an area ratio r which is 1-Se/Sh;
and the judging module is used for judging whether the logistics packages are quasi woven bags or not according to the condition that R is larger than or equal to R, judging the logistics packages are quasi woven bags if R is larger than or equal to R, and judging the logistics packages are not quasi woven bags if R is smaller than R.
8. The system for rapidly identifying the logistics packages of the quasi-woven bags according to claim 7, further comprising a conveyor belt and a shooting sensor, wherein the conveyor belt and the shooting sensor are both electrically connected with the terminal;
the camera is arranged above the conveyor belt, and the conveyor belt is used for conveying logistics packages;
the shooting sensor is used for sensing the logistics packages and transmitting incoming material signals to the terminal when the logistics packages are sensed to pass through the shooting area of the camera;
the terminal further comprises a camera control module, wherein the camera control module is used for receiving the incoming material signal of the shooting sensor and controlling the camera to shoot the logistics packages.
9. The system for rapidly identifying the logistics packages of the quasi-woven bags according to claim 8, further comprising a sorting manipulator and a sorting sensor, wherein the sorting sensor is used for sensing whether the logistics packages reach an automatic sorting place and transmitting an arrival signal to the terminal; the sorting manipulator is used for automatically sorting the logistics packages which are judged to be the quasi woven bags to a manual sorting position;
the terminal further comprises a sorting control module, the sorting control module is used for receiving the arrival signals of the sorting sensors and the judgment results of the judgment module and controlling the sorting manipulator to sort the logistics packages which are judged to be quasi woven bags from the automatic sorting place to the manual sorting place.
CN201811125918.3A 2018-09-26 2018-09-26 Method and system for quickly identifying logistics packages of quasi-woven bags Active CN109242874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811125918.3A CN109242874B (en) 2018-09-26 2018-09-26 Method and system for quickly identifying logistics packages of quasi-woven bags

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811125918.3A CN109242874B (en) 2018-09-26 2018-09-26 Method and system for quickly identifying logistics packages of quasi-woven bags

Publications (2)

Publication Number Publication Date
CN109242874A CN109242874A (en) 2019-01-18
CN109242874B true CN109242874B (en) 2022-02-15

Family

ID=65056734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811125918.3A Active CN109242874B (en) 2018-09-26 2018-09-26 Method and system for quickly identifying logistics packages of quasi-woven bags

Country Status (1)

Country Link
CN (1) CN109242874B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502966B (en) * 2019-07-01 2023-06-30 广州市川流信息科技有限公司 Classified information acquisition equipment, method and storage device for packages
CN112052847B (en) * 2020-08-17 2024-03-26 腾讯科技(深圳)有限公司 Image processing method, apparatus, electronic device, and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228546A (en) * 2016-07-13 2016-12-14 广州视源电子科技股份有限公司 The detection method of a kind of board and device
CN107816943A (en) * 2017-10-23 2018-03-20 广东工业大学 A kind of box for material circulation volume weight measuring system and its implementation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377163C (en) * 2004-08-09 2008-03-26 佳能株式会社 Image processing method, apparatus and storage media

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228546A (en) * 2016-07-13 2016-12-14 广州视源电子科技股份有限公司 The detection method of a kind of board and device
CN107816943A (en) * 2017-10-23 2018-03-20 广东工业大学 A kind of box for material circulation volume weight measuring system and its implementation

Also Published As

Publication number Publication date
CN109242874A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
US10489900B2 (en) Inspection apparatus, inspection method, and program
US10005107B2 (en) Workpiece sorting system and method
US9364865B2 (en) System and method for sorting parcel
CN109242874B (en) Method and system for quickly identifying logistics packages of quasi-woven bags
US20140034456A1 (en) Detection system for installation at a conveyor belt
CN109949331B (en) Container edge detection method and device
CN111553951B (en) Parcel processing apparatus and parcel processing method
CN103198705A (en) Parking place state automatic detection method
CN112446225B (en) Determination of module size of optical code
CN103729631A (en) Vision-based connector surface feature automatically-identifying method
CN112581452B (en) Industrial accessory surface defect detection method, system, intelligent equipment and storage medium
CN116494253B (en) Target object grabbing pose acquisition method and robot grabbing system
CN111862050A (en) Material detection system, method and equipment
KR101991464B1 (en) Recognizing system, apparatus and method for recognizing recognition information
CN115019160A (en) Intelligent control method for warehouse-in logistics of factory warehouse
US10223587B2 (en) Pairing of images of postal articles with descriptors of singularities of the gradient field
US20160205283A1 (en) Method and apparatus for inspecting an object employing machine vision
CN114332622A (en) Label detection method based on machine vision
JP2017148751A (en) Code recognition system, code recognition method, code recognition program, and load sorting system
US20210089818A1 (en) Deposit detection device and deposit detection method
AU2008243688B2 (en) Method and apparatus for three dimensional image processing and analysis
CN113177922A (en) Raw material foreign matter identification method, system, medium and electronic terminal
WO2022025909A1 (en) Parcel singulation yield correcting system and method
CN115588051B (en) Automatic calibration method for laser radar and camera space position in ore processing link
CN111242963A (en) Container contour detection method and device

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
GR01 Patent grant
GR01 Patent grant