CN114529733A - Package damage detection method and device, electronic equipment and storage medium - Google Patents

Package damage detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114529733A
CN114529733A CN202011320185.6A CN202011320185A CN114529733A CN 114529733 A CN114529733 A CN 114529733A CN 202011320185 A CN202011320185 A CN 202011320185A CN 114529733 A CN114529733 A CN 114529733A
Authority
CN
China
Prior art keywords
package
detected
dimensional image
breakage
damage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011320185.6A
Other languages
Chinese (zh)
Inventor
黄仰光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SF Technology Co Ltd
Original Assignee
SF Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SF Technology Co Ltd filed Critical SF Technology Co Ltd
Priority to CN202011320185.6A priority Critical patent/CN114529733A/en
Publication of CN114529733A publication Critical patent/CN114529733A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00—Pattern recognition
    • G06F18/20—Analysing
    • G06F18/24—Classification techniques
    • G06F18/243—Classification techniques relating to the number of classes
    • G06F18/2431—Multiple classes
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00—Pattern recognition
    • G06F18/20—Analysing
    • G06F18/25—Fusion techniques
    • G06F18/253—Fusion techniques of extracted features
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00—Computing arrangements based on biological models
    • G06N3/02—Neural networks
    • G06N3/04—Architecture, e.g. interconnection topology
    • G06N3/045—Combinations of networks
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00—Computing arrangements based on biological models
    • G06N3/02—Neural networks
    • G06N3/08—Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Image Analysis (AREA)

Abstract

The application provides a package breakage detection method and device, electronic equipment and a computer readable storage medium. The detection method for package breakage comprises the following steps: acquiring a plurality of images of a parcel to be detected at different angles; respectively extracting features of each image in the plurality of images to obtain two-dimensional image features of each image; performing feature fusion processing on the two-dimensional image features to obtain three-dimensional image features of the package to be detected; and performing characteristic prediction processing according to the three-dimensional image characteristics, and determining a damage detection result of the to-be-detected package. The accuracy of the damage detection result of waiting to detect the parcel has been improved in this application, and then has promoted the parcel ageing to a certain extent.

Description

Package damage detection method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer vision technologies, and in particular, to a method and an apparatus for detecting package damage, an electronic device, and a computer-readable storage medium.
Background
In recent years, the logistics industry has been rapidly developing. The ageing is the important operation index of commodity circulation trade, and the commodity circulation parcel is the damage that takes place in the transportation, is the important reason that causes the ageing to reduce, if can just can monitor whether damaged by the extranal packing of express delivery automatically in the commodity circulation parcel transfer process, to promoting the commodity circulation quality, improve the commodity circulation ageing and have important meaning.
In the prior art, whether the logistics packages are damaged or not is detected by collecting images of the logistics packages based on an algorithm model subjected to deep learning.
However, in the actual research and development process, the inventor of the present application finds that due to the limitation of package feature extraction, the accuracy of the existing algorithm model for identifying damaged packages is relatively low, and further the package timeliness is low.
Disclosure of Invention
The application provides a package breakage detection method and device, electronic equipment and a computer readable storage medium, and aims to solve the problem that package aging is reduced due to the fact that an existing package breakage detection model is low in accuracy of breakage package identification.
In a first aspect, the present application provides a method for detecting a package breakage, the method comprising:
acquiring a plurality of images of a parcel to be detected at different angles;
respectively extracting features of each image in the plurality of images to obtain two-dimensional image features of each image;
performing feature fusion processing on the two-dimensional image features to obtain three-dimensional image features of the package to be detected;
and performing characteristic prediction processing according to the three-dimensional image characteristics, and determining a damage detection result of the to-be-detected package.
In a possible implementation manner of the present application, the performing feature prediction processing according to the three-dimensional image feature to determine a damage detection result of the package to be detected includes:
classifying the packages to be detected according to the two-dimensional image characteristics to obtain package categories of the packages to be detected;
determining a breakage detection network associated with the package category;
and calling the damage detection network, performing characteristic prediction processing according to the three-dimensional image characteristics, and determining the damage detection result of the package to be detected.
In one possible implementation manner of the present application, the determining a damage detection network associated with the package category includes:
detecting whether the package type is the same as a preset package type;
and when the package type is detected to be the same as a preset package type, acquiring a prediction network associated with the package type from a plurality of preset prediction networks to serve as the breakage detection network.
In a possible implementation manner of the present application, the classifying the package to be detected according to the two-dimensional image feature to obtain a package category of the package to be detected includes:
calling a first prediction layer in a preset package classification network, classifying the packages to be detected according to the two-dimensional image characteristics, and obtaining package categories of the packages to be detected;
the performing feature extraction on each image of the plurality of images to obtain a two-dimensional image feature of each image includes:
and calling a first feature extraction layer in the package classification network, and respectively extracting features of each image in the plurality of images to obtain the two-dimensional image features of each image.
In a possible implementation manner of the present application, the damage detection result includes a damaged area of the package to be detected, and the method further includes:
calling a second feature extraction layer in a preset damaged classification network, and performing feature extraction processing according to the damaged area to obtain the area feature of the damaged area;
and calling a second prediction layer in the damaged classification network, and performing classification prediction processing according to the region characteristics to obtain the damaged type of the damaged region.
In one possible implementation manner of the present application, the method further includes:
and sorting the packages to be detected to corresponding storage areas according to the damage categories.
In one possible implementation manner of the present application, the method further includes:
when the breakage detection result is that the package is broken, acquiring the identification information of the package to be detected;
and updating the logistics state of the to-be-detected package in a preset database according to the identification information.
In a second aspect, the present application provides a package breakage detection device, comprising:
the acquisition unit is used for acquiring a plurality of images of the parcel to be detected at different angles;
the extraction unit is used for respectively extracting the features of each image in the plurality of images to obtain the two-dimensional image features of each image;
the fusion unit is used for carrying out feature fusion processing on the two-dimensional image features to obtain the three-dimensional image features of the package to be detected;
and the detection unit is used for performing characteristic prediction processing according to the three-dimensional image characteristics and determining the damage detection result of the to-be-detected package.
In a possible implementation manner of the present application, the detection unit is specifically configured to:
classifying the packages to be detected according to the two-dimensional image characteristics to obtain package categories of the packages to be detected;
determining a breakage detection network associated with the package category;
and calling the damage detection network, performing characteristic prediction processing according to the three-dimensional image characteristics, and determining the damage detection result of the package to be detected.
In a possible implementation manner of the present application, the detection unit is specifically configured to:
detecting whether the package type is the same as a preset package type or not;
and when the package type is detected to be the same as a preset package type, acquiring a prediction network associated with the package type from a plurality of preset prediction networks to serve as the breakage detection network.
In a possible implementation manner of the present application, the detection unit is specifically configured to:
calling a first prediction layer in a preset package classification network, classifying the packages to be detected according to the two-dimensional image characteristics, and obtaining package categories of the packages to be detected;
in a possible implementation manner of the present application, the extracting unit is specifically configured to:
and calling a first feature extraction layer in the package classification network, and respectively extracting features of each image in the plurality of images to obtain the two-dimensional image features of each image.
In a possible implementation manner of the present application, the damage detection result includes a damaged area of the package to be detected, the damaged package detection apparatus further includes a classification unit, and the classification unit is specifically configured to:
calling a second feature extraction layer in a preset damaged classification network, and performing feature extraction processing according to the damaged area to obtain the area feature of the damaged area;
and calling a second prediction layer in the damaged classification network, and performing classification prediction processing according to the region characteristics to obtain the damaged type of the damaged region.
In a possible implementation manner of the present application, the device for detecting package damage further includes a sorting unit, where the sorting unit is specifically configured to:
and sorting the packages to be detected to corresponding storage areas according to the damage categories.
In a possible implementation manner of the present application, the apparatus for detecting package damage further includes an updating unit, where the updating unit is specifically configured to:
when the breakage detection result is that the package is broken, acquiring the identification information of the package to be detected;
and updating the logistics state of the to-be-detected package in a preset database according to the identification information.
In a third aspect, the present application further provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores a computer program, and the processor executes any of the steps in the method for detecting package damage provided in the present application when calling the computer program in the memory.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, the computer program being loaded by a processor to execute the steps in the method for detecting package damage.
This application carries out the feature extraction and fuses through a plurality of images of waiting to detect the parcel at different angles of acquireing, owing to grasp the feature of waiting to detect the parcel different angles fully and predict, make full use of the space complementary information of the different angle imaging of same parcel, and then improved the damage testing result who waits to detect the parcel. The problem that other angle features of the to-be-detected package are easily ignored and the accuracy of a damage detection result is low due to the fact that feature extraction and prediction are carried out based on a single image is solved. Therefore, the accuracy of the breakage detection result of the to-be-detected package can be improved to a certain degree, and the package timeliness is further improved to a certain degree.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic view of a package breakage detection system provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for detecting package breakage according to an embodiment of the present disclosure;
fig. 3 is a schematic view of a scene in which a plurality of cameras collect a plurality of images of a parcel to be detected at different angles according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a network structure of a package breakage detection network provided in the embodiment of the present application;
FIG. 5 is a flowchart of one embodiment of step 204 provided in an embodiment of the present application;
FIG. 6 is a schematic view of a scenario of a storage area for broken packages in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a package breakage detection device provided in the embodiments of the present application;
fig. 8 is a schematic structural diagram of an embodiment of an electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
In the description of the embodiments of the present application, it should be understood that the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present application, "a plurality" means two or more unless specifically defined otherwise.
The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known processes have not been described in detail so as not to obscure the description of the embodiments of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed in the embodiments herein.
The embodiment of the application provides a package breakage detection method and device, electronic equipment and a computer readable storage medium. The device for detecting package damage may be integrated in an electronic device, and the electronic device may be a server or a terminal.
First, before describing the embodiments of the present application, the related contents of the embodiments of the present application with respect to the application context will be described.
In recent years, the logistics industry in China has been developed rapidly, the competition among enterprises is more and more intense, and the demand of the public on the logistics quality is more and more strict. And the breakage of the express delivery in the transportation process is an important reason for reducing customer satisfaction and even initiating complaints, and if the outer package of the express delivery can be automatically monitored in the express delivery transfer process, the damage has important significance for improving logistics quality and reducing claim settlement cost. Therefore, the problem of detecting the damage of the external package of the express delivery has great market value for cost reduction and efficiency improvement of the whole industry.
In the project promotion and deployment process of damage detection, the inventor of the application encounters the following difficulties: 1. the image features extracted by the model are single, and the detection accuracy rate of whether the package is damaged or not is low; 2. the data sources are of a plurality of categories, so that the generalization of the model is reduced. The two difficulties can cause the accuracy of the model and the reporting amount of the event to be reduced, thereby influencing the deployment progress of the project.
Based on the above defects of the prior art, the embodiment of the present application provides a method for detecting package breakage, which overcomes the defects of the prior art to at least some extent.
An execution main body of the method for detecting package damage in the embodiment of the present application may be the package damage detection device provided in the embodiment of the present application, or different types of electronic devices such as a server device, a physical host, or a User Equipment (UE) integrated with the package damage detection device, where the package damage detection device may be implemented in a hardware or software manner, and the UE may specifically be a terminal device such as a smart phone, a tablet computer, a notebook computer, a palm computer, a desktop computer, or a Personal Digital Assistant (PDA).
The electronic equipment can adopt an independently operating working mode or an equipment cluster working mode, and by applying the detection method for detecting the package damage provided by the embodiment of the application, the accuracy of the damage detection result of the package to be detected can be improved, and the package timeliness is improved to a certain extent.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a package breakage detection system provided in an embodiment of the present application. The system for detecting package damage may include an electronic device 100, and a package damage detection apparatus is integrated in the electronic device 100. For example, the electronic device may obtain a plurality of images of the parcel to be detected at different angles; respectively extracting features of each image in the plurality of images to obtain two-dimensional image features of each image; performing feature fusion processing on the two-dimensional image features to obtain three-dimensional image features of the package to be detected; and performing characteristic prediction processing according to the three-dimensional image characteristics, and determining the breakage detection result of the to-be-detected package.
In addition, as shown in fig. 1, the system for detecting package breakage may further include a memory 200 for storing data, such as image data and video data.
It should be noted that the scene schematic diagram of the package breakage detection system shown in fig. 1 is only an example, and the package breakage detection system and the scene described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation to the technical solution provided in the embodiment of the present application.
In the following, a method for detecting package breakage according to an embodiment of the present application is described, where an electronic device is used as an execution main body, and for simplicity and convenience of description, the execution main body will be omitted in subsequent method embodiments, and the method for detecting package breakage includes: acquiring a plurality of images of a parcel to be detected at different angles; respectively extracting features of each image in the plurality of images to obtain two-dimensional image features of each image; performing feature fusion processing on the two-dimensional image features to obtain three-dimensional image features of the package to be detected; and performing characteristic prediction processing according to the three-dimensional image characteristics, and determining a damage detection result of the to-be-detected package.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for detecting package breakage according to an embodiment of the present application. It should be noted that, although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than that shown or described herein. The method for detecting package damage comprises the following steps of 201-204, wherein:
201. and acquiring a plurality of images of the parcel to be detected at different angles.
In the logistics package (package for short) transportation process, the outer package and even the inner package of the package can be damaged. In the embodiment of the application, the package is detected to be damaged in the transportation process and the sorting process in a transfer station.
Because in the transportation, can sort the parcel in the transfer according to information such as the destination of parcel, carry out damage detection to the parcel alone and need cause extra time in order to avoid, and then can reduce the whole ageing of parcel, the parcel carries out the parcel damage detection when the parcel carries out the letter sorting in the transfer in this application implementation.
As shown in fig. 3, fig. 3 is a scene schematic diagram of acquiring a plurality of images of a parcel to be detected at different angles based on a plurality of cameras in the embodiment of the present application. Through set up a plurality of cameras on the letter sorting line in this application embodiment to be used for the collection to wait to detect a plurality of images of parcel under different angles, so that follow-up extraction waits to detect the diversified characteristic of parcel, is used for confirming whether the parcel is damaged.
Specifically, in practical application, the electronic device applying the method for detecting package damage provided by the embodiment of the present application may directly include, on hardware, a plurality of cameras (each camera is mainly used for collecting an image of an angle of a package to be detected) arranged on a sorting line, and locally store an image obtained by shooting with the camera, and may directly read the image inside the electronic device; or the electronic device can also establish network connection with the camera and acquire the image obtained by the camera on line from the camera according to the network connection; alternatively, the electronic device may also read the image captured by the camera from a related storage medium storing the image captured by the camera, and the specific acquisition mode is not limited herein.
The camera can shoot images according to a preset shooting mode, for example, shooting height, shooting direction or shooting distance can be set, the specific shooting mode can be adjusted according to the camera, and the camera is not limited specifically. The multi-frame images shot by the camera can form a video through a time line.
202. And respectively extracting the features of each image in the plurality of images to obtain the two-dimensional image features of each image.
The two-dimensional image features refer to spatial features of each image expressed by a two-dimensional array obtained by extracting features of each image of a plurality of images.
In some embodiments, feature extraction operations such as convolution, pooling and the like may be performed on an ith image of the plurality of images based on a common Convolutional Neural Network (CNN), so as to obtain a spatial feature of the ith image represented by a two-dimensional array; the spatial feature of the ith image represented by the two-dimensional array is the two-dimensional image feature of the ith image.
In some embodiments, feature extraction operations such as convolution and pooling can be performed on the ith image in the multiple images based on a depth Residual Network (ResNet) to obtain a two-dimensional image feature of the ith image. Two-dimensional image features for each of the plurality of images are thereby available.
Wherein, the value range of i is as follows: a positive integer of 1 to N, N representing the number of images of the plurality of images.
For example, four images are acquired for four faces (A, B, C, D) of a parcel to be detected in the shape of a cube in step 201: images 1, 2, 3, 4. Then, feature extraction is performed on the images 1, 2, 3, and 4, respectively, to obtain two-dimensional image features of the images 1, 2, 3, and 4.
203. And performing feature fusion processing on the two-dimensional image features to obtain the three-dimensional image features of the to-be-detected package.
The three-dimensional image feature is an image feature obtained by fusing two-dimensional features of each of a plurality of images.
Specifically, the two-dimensional image feature of the ith image can be represented by a two-dimensional array, and the three-dimensional image feature of the package to be detected can be obtained by fusing each image in the plurality of images as the third three-dimensional feature.
For example, the two-dimensional image feature of the ith image is denoted as [ xi, yi ], and the three-dimensional image feature of the package to be detected can be denoted as [ i, xi, yi ]. Wherein [ xi, yi ] represents the two-dimensional image feature of the 1 st image, i represents the third-dimensional feature, and the value range of i is as follows: a positive integer of 1 to N, N representing the number of images of the plurality of images.
204. And performing characteristic prediction processing according to the three-dimensional image characteristics, and determining a damage detection result of the to-be-detected package.
The package breakage detection result is indication information of whether the package to be detected is broken or not. The package breakage detection result may include a classification result of whether the package to be detected is broken and a detection frame for indicating a position where the package to be detected is broken.
In some embodiments, a deep-learning damage detection network may be adopted to perform feature prediction processing according to the three-dimensional image features, and determine a damage detection result of the package to be detected.
In some embodiments, the breakage detection network may be trained by the following steps a 1-a 3, wherein:
and a1, constructing a preliminary damage detection network.
The preliminary damage detection network may include a feature extraction module and a prediction module.
For example, an open source network (such as YOLOv network) with model parameters as default values (available for detection tasks) may be used as the default breakage detection network. The open source detection task network generally comprises a feature extraction layer and a prediction layer, and the feature extraction layer and the prediction layer of the open source detection task network can be adopted as a feature extraction module and a prediction module of a preliminary damage detection network respectively.
The characteristic extraction module is used for extracting the characteristics of the sample image to obtain the image characteristics of the sample image. The prediction module is used for predicting based on the image characteristics of the sample image to obtain whether a sample package contained in the sample image is damaged or not and a package damaged area.
a2, acquiring a training data set.
The training data set comprises a plurality of sample images, and the plurality of sample images of each sample wrapped at different angles are collected. A portion of the sample image may be an image of a sample package that is broken and a portion of the sample image may be an image of a sample package that is unbroken.
and a3, training the preliminary damage detection network by adopting the training data set until the preliminary damage detection network is converged, and obtaining the trained damage detection network.
Wherein, a plurality of sample images of the same parcel at different angles are used for each training. The trained breakage detection network (in the case of no specific indication, the breakage detection network is referred to as the breakage detection network after training), can sufficiently learn the relationship between the breakage of the package and the image characteristics, so that whether the package is broken in the image and the detection frame of the breakage position of the package can be accurately detected.
The training process of the damage detection network is similar to the training process of the existing detection network model, and for the training process which is not described in detail, the training mode of the existing network model can be referred to, and is not described again.
Correspondingly, the network structure and function of the trained package breakage detection network are substantially similar to those of the preliminary breakage detection network in step a1, and are not repeated here. The feature extraction module of the damage detection network may be configured to perform the feature extraction process in steps 202 to 203, and the prediction module may be configured to perform the prediction process of the damage detection result in step 204.
According to the method, the characteristics of the parcel to be detected at different angles are extracted and fused by acquiring the images of the parcel to be detected at different angles, and the characteristics of the parcel to be detected at different angles are fully mastered for prediction, so that the space complementary information imaged at different angles of the same parcel is fully utilized, and the damage detection result of the parcel to be detected is improved. The problem that other angle features of the to-be-detected package are easily ignored and the accuracy of a damage detection result is low due to the fact that feature extraction and prediction are carried out based on a single image is solved. Therefore, the accuracy of the breakage detection result of the to-be-detected package can be improved to a certain degree, and the package timeliness is further improved to a certain degree.
The inventor of the embodiment of the application finds that: the data sources are of various types (such as envelopes, cartons, glue bags and the like are wrapped), so that the generalization performance of the wrapping damage detection network is reduced, and the detection accuracy of wrapping damage is low.
Referring to fig. 4, fig. 4 is a schematic network structure diagram of a package breakage detection network provided in the embodiment of the present application. In some embodiments of the present application, in order to improve the detection accuracy of package breakage, for each type of data source, a prediction module in a package breakage detection network is divided into a plurality of parallel branches, each branch takes a three-dimensional image feature of a package to be detected as input, and takes a breakage detection result of the package to be detected as output.
Referring to fig. 5, fig. 5 is a flowchart illustrating an embodiment of step 204 provided in the embodiments of the present application. At this time, in some embodiments of the present application, step 204 may specifically include steps 501 to 503, where:
501. and classifying the packages to be detected according to the two-dimensional image characteristics to obtain the package categories of the packages to be detected.
In some embodiments, the packages to be detected may be classified by using the trained package classification network according to the two-dimensional image feature of one of the images, so as to obtain the package category of the packages to be detected.
In some embodiments, a trained package classification network may be employed to two-dimensional image features for multiple images
In some embodiments, the packages to be detected can be classified by using the trained package classification network according to the three-dimensional image features of the packages to be detected, so as to obtain package categories.
The trained package classification network (herein, referred to as a package classification network) is obtained by training a preset classification network by using multiple types of package images as a training data set, and the specific training process is similar to that of the existing classification network, and is not repeated herein for simplifying the description.
Further, in order to improve the accuracy of package classification, damage and the like on the basis of ensuring the inference speed, the input sizes of the multiple image input networks may be modified (for example, an image with the original size of 300 × 300 may be modified to 512 × 512) to improve the resolution of the image, so that the network may extract the image features more sufficiently.
502. Determining a breakage detection network associated with the package category.
In some embodiments, there are multiple breakage detection networks, and each breakage detection network is configured to detect a breakage of a package of a category of packages, and obtain a breakage detection result of the package of the category of packages. The mesh structure and function of each damage detection network are similar to those of the damage detection network mentioned in step 204, and reference may be made to the description of step 204, which is not repeated herein.
For example, there are 3 damage detection networks, which are: the networks 1, 2, and 3, and the networks 1, 2, and 3 are used for detecting damage to envelopes, cartons, and bags, respectively. When it is determined in step 501 that the package category of the package a to be detected is "carton type", it may be determined in step 502 that the breakage detection network corresponding to the package category "carton type" of the package a to be detected is "network 2".
In some embodiments, there is only one breakage detection network, as shown in fig. 4, which includes a feature extraction module and a prediction module, which may further include a plurality of prediction branches. The feature extraction module may be configured to perform the feature extraction process in steps 202-203, and each branch in the prediction module may be configured to perform the prediction process of the damage detection result in step 204. At this point, step 502 determines that the breakage detection network associated with the package category will transition to determining the predictive branch of the breakage detection network associated with the package category.
For example, the prediction module of the damage detection network includes 3 branches, which are prediction branches 1, 2, and 3, respectively, and prediction branches 1, 2, and 3 are used for detecting damage to envelopes, cartons, and bags, respectively. When the package category of the package b to be detected is determined to be "plastic bag category" in step 501, the breakage detection network corresponding to the package category "plastic bag category" of the package b to be detected may be determined to be "prediction branch 3" in step 502.
503. And calling the damage detection network, performing characteristic prediction processing according to the three-dimensional image characteristics, and determining the damage detection result of the package to be detected.
In some embodiments, there are multiple breakage detection networks. After determining the damage detection network (referred to as target detection network for short) associated with the package category in step S502, the target detection network is called, and first, confidence prediction is performed on each pixel point in the plurality of images according to the three-dimensional image features, and the confidence that each pixel point in the plurality of images is the pixel point where the damage position of the package to be detected is located (referred to as the confidence of each pixel point for short) is determined. And then, determining whether the package to be detected is damaged and a detection frame of the damaged position according to the confidence coefficient of each pixel point, thereby obtaining a damage detection result of the package to be detected.
In some embodiments, there is only one breakage detection network. After determining the prediction branch (referred to as target branch for short) associated with the package category in the damage detection network in step S502, the target branch is called, and first, confidence prediction is performed on each pixel point in the multiple images according to the three-dimensional image features, and the confidence that each pixel point in the multiple images is the pixel point where the damage position of the package to be detected is located (referred to as the confidence of each pixel point for short) is determined. And then, determining whether the package to be detected is damaged and a detection frame of the damaged position according to the confidence coefficient of each pixel point, thereby obtaining a damage detection result of the package to be detected.
It can be seen from the above contents that, by adopting different damage detection networks to predict the damage detection result of the package to be detected according to different data source types (i.e. package types), the network pertinence is stronger, the problem of the generalization performance reduction of the package damage detection network caused by more types of data sources is avoided, and the package damage detection accuracy rate is improved to a certain extent.
In some cases, there are some types of packages that will not be damaged, and in order to improve the efficiency of detecting the damage of the package, in some embodiments of the present application, when the package type is detected as the non-damaged package type in step 501, the detection step of whether the package to be detected is damaged will not be performed.
That is, in some embodiments of the present application, the step 502 may specifically include: detecting whether the package type is the same as a preset package type; and when the package type is detected to be the same as a preset package type, acquiring a prediction network associated with the package type from a plurality of preset prediction networks to serve as the breakage detection network.
The preset package type refers to a package type in which a breakage occurs. For example, the preset package category may be a bag type or a carton type. The preset package category is only an example, and may be specifically set according to an actual situation and a service scenario, without being limited thereto.
Specifically, when it is detected that the package category is the same as a preset package category, a predicted network associated with the package category is acquired from a preset plurality of predicted networks as a breakage detection network. When the package type is detected to be different from the preset package type, the package to be detected is not subjected to further damage detection, and a plurality of images of the next package at different angles are continuously acquired for detection.
For example, the preset package category may be a bag type, a carton type. When the package type of the package a to be detected is detected to be the rubber bag type, a prediction network associated with the package type of the rubber bag type is obtained from a plurality of preset prediction networks to serve as a damage detection network.
When the package type of the package b to be detected is detected to be 'envelope type', the package b to be detected is not subjected to further damage detection, and a plurality of images of the next package at different angles are continuously acquired for detection.
It is to be understood that in some embodiments, the predetermined package category may also refer to a package category that is not subject to breakage. For example, the preset package category may be an envelope category. In this case, the step 502 may specifically include: detecting whether the package type is the same as a preset package type. And when the package type is detected to be different from the preset package type, acquiring a prediction network associated with the package type from a plurality of preset prediction networks to serve as a breakage detection network. When the package type is detected to be the same as the preset package type, the package to be detected is not subjected to further damage detection, and a plurality of images of the next package at different angles are continuously acquired for detection.
For example, the preset package category may be an envelope category. When the package type of the package c to be detected is detected to be the rubber bag type, acquiring a prediction network associated with the package type of the rubber bag type from a plurality of preset prediction networks to serve as a damage detection network.
When the package type of the package d to be detected is detected to be 'envelope type', the package d to be detected is not subjected to further damage detection, and a plurality of images of the next package at different angles are continuously acquired for detection.
From the above, it can be seen that whether the package to be detected is the package type which is not damaged is determined by detecting whether the package type of the package to be detected is the same as the preset package type; therefore, the package which can not be damaged can be filtered, and the problem that certain time is wasted due to the fact that damage detection is carried out on the package which can not be damaged is avoided. Therefore, the detection efficiency of package breakage can be improved to a certain extent.
In some embodiments of the present application, the same network may be used to perform feature extraction on each of a plurality of images and classify packages to be detected at the same time, for example, the step 501 may specifically include: and calling a first prediction layer in a preset package classification network, and classifying the packages to be detected according to the two-dimensional image characteristics to obtain the package categories of the packages to be detected. The step 202 may specifically include: and calling a first feature extraction layer in the package classification network, and respectively extracting features of each image in the plurality of images to obtain the two-dimensional image features of each image.
In some embodiments, the package classification network mentioned in steps 501-503 above may further include a first feature extraction layer and a first prediction layer.
The first feature extraction layer may be configured to perform feature extraction according to the image to obtain an image feature of the image. Specifically, the first feature extraction layer may be configured to perform feature extraction on each of the plurality of images in step 202 to obtain a two-dimensional image feature of each image.
And the first prediction layer can be used for predicting the category of the parcel according to the image characteristics. Specifically, the method and the device can be used for classifying the packages to be detected according to the two-dimensional image features in the step 501 to obtain the package categories of the packages to be detected.
By adopting the same network to respectively extract the features of each image in the plurality of images and classify the packages to be detected, the number of the networks can be reduced, the training time of the networks is further reduced, and the training cost of the network model is reduced.
In some scenarios, it is desirable to classify the severity or type of package breakage for subsequent broken package handling. For this reason, in some embodiments of the present application, the detection of the breakage category of the package to be detected may also be performed. That is, the method for detecting a package damage may further include the following steps b1 to b2, in which:
b1, calling a second feature extraction layer in a preset damaged classification network, and performing feature extraction processing according to the damaged area to obtain the area feature of the damaged area.
In some embodiments, the broken classification network may be trained by the following steps c 1-c 3, wherein:
c1, constructing a preliminary damaged classification network.
The preliminary damaged classification network may include a feature extraction layer and a prediction layer. The trained damage classification network has similar functions and network structures with the primary damage classification network; namely, the feature extraction layer and the prediction layer in the preliminary damaged classification network are respectively the second feature extraction layer and the second prediction layer in the trained damaged classification network.
For example, an open source network (such as a MobileNet network) with model parameters as default values (available for classification tasks) can be used as a preset broken classification network. The open source classification task network generally comprises a feature extraction layer and a prediction layer, and the feature extraction layer and the prediction layer of the open source classification task network can be adopted and respectively used as a feature extraction layer and a prediction layer of a preliminary damage classification network.
The characteristic extraction layer is used for performing characteristic extraction on a damaged and wrapped sample image (simply referred to as a damaged sample) to obtain image characteristics of the damaged sample. The prediction layer is used for performing prediction based on the image characteristics of the damaged sample to obtain the damaged type of the damaged sample.
c2, acquiring a training data set.
The training data set comprises a plurality of sample images of broken packages, and the actual broken category of each broken package is marked on each sample image of the broken package.
And c3, training the preliminary damage classification network by adopting the training data set until the preliminary damage classification network is converged, and obtaining the trained damage classification network.
The trained damaged classification network (in the case of no specific indication, the damaged classification network is referred to as a damaged classification network after training), can sufficiently learn the relationship between the damaged package category and the image feature, so that the damaged package category in the image can be accurately detected.
The training process of the damaged classification network is similar to the training process of the existing classification network model, and for the training process which is not described in detail, the training mode of the existing network model can be referred to, and details are not repeated here.
Correspondingly, the network structure and function of the trained package damaged classification network are substantially similar to those of the preliminary damaged classification network in step c1, and further description thereof is omitted.
In some embodiments, the breakage detection result determined in step 204 above indicates: the detection frame for detecting the damaged position of the package to be detected can be used as a damaged area of the package to be detected. And a second feature extraction layer of the damage classification network, wherein at this time, firstly, the region image of the damage region of the package to be detected can be segmented from the plurality of images according to the detection frame of the damage position of the package to be detected. Then, feature extraction operations such as convolution and pooling are performed on the region image to obtain the region features of the damaged region.
The damaged area indicates that the damaged detection result indicates: and a pixel point area where the detection frame for detecting the damaged position of the package is located.
The region feature is a spatial feature of a damaged region obtained by extracting a feature from a region image.
b2, calling a second prediction layer in the damage classification network, and performing classification prediction processing according to the region characteristics to obtain the damage type of the damage region.
At this time, the second prediction layer in the corresponding damage classification network may, first, classify the parcel to be detected according to the area characteristics, and determine the probability that the damage area is each preset damage category. Then, from the preset damage categories, the category with the highest probability is obtained as the damage category of the damage region.
In some embodiments, the breakage category refers to the severity of breakage of the package to be detected, e.g., severe breakage, moderate breakage, minor breakage, etc. As another example, it can be divided into: penetrability damage, crack damage, manual punching and false detection; and so on.
In some embodiments, the breakage category refers to the location of a breakage in the package to be tested, such as, for example, an outer package breakage, a package internal breakage, and the like.
In some embodiments, the breakage category refers to a category of package that is broken for the package to be detected, such as, for example, envelope-type package breakage, gum-bag-type package breakage, and the like.
Here, the damage category is only an example, and may be specifically set according to an actual requirement and a service scenario, but not limited thereto.
It can be seen from the above content that through cutting apart the image of the damaged area of waiting to detect the parcel, to the image of damaged area, can treat the damaged condition of detecting the parcel and classify, handle for follow-up damaged parcel and provide convenience, and then can improve the commodity circulation ageing of parcel to a certain extent.
Further, in some embodiments of the present application, after detecting that a package is broken, the broken package may be sorted out.
In some embodiments of the present application, the method for detecting package breakage may further include: and sorting the packages to be detected to corresponding storage areas according to the damage categories.
Referring to fig. 6, fig. 6 is a schematic view illustrating a scene of a storage area of a damaged package according to an embodiment of the present application. Each dashed box represents a storage area, and each storage area is used for storing packages of different breakage types. For example, the categories of breakage include light breakage, medium breakage, and severe breakage. Wherein, the areas 1, 2 and 3 can be respectively used for storing slightly damaged, moderately damaged and severely damaged packages.
The packages are sorted to different storage areas according to the package breakage categories, so that related managers can quickly and accurately determine the breakage conditions of the packages. Especially, when the number of damaged packages is large, a large amount of time for distinguishing damaged conditions can be saved, and further the logistics timeliness of the packages is improved to a certain extent.
The logistics timeliness of the packages can be influenced by package breakage, and the accuracy and timeliness of package logistics information in a logistics system are guaranteed. In some embodiments of the present application, the method for detecting package breakage further comprises the following steps d 1-d 2, wherein:
d1, when the breakage detection result is the breakage of the package, acquiring the identification information of the package to be detected.
The identification information refers to information for distinguishing the package, such as a waybill number.
Specifically, when the package to be detected is determined to be broken, further detection may be performed based on the plurality of images that have been acquired, for example, identification information such as a waybill number of the package to be detected may be detected.
d2, updating the logistics state of the to-be-detected package in a preset database according to the identification information.
The preset database can be a logistics recording system and the like, and the preset database can be specifically set according to an actual scene.
Then, according to the identification information of the parcel to be detected, the record information (such as basic information such as the current transportation state, the parcel type, the planned aging of the parcel, the predicted arrival time of the parcel and the like, and the logistics state) of the parcel to be detected is searched from the preset database. And according to the damage condition of the parcel to be detected, the estimated arrival time of the parcel to be detected is predicted again. Then, the logistics state of the to-be-detected packages in the preset database is updated by using the logistics states such as the predicted arrival time and the current transportation state (such as 'package breakage and waiting for re-delivery').
By acquiring the identification information of the parcel to be detected, the logistics state of the parcel to be detected in the preset database is updated, the accuracy and timeliness of the logistics information of the parcel in the logistics system are ensured, and a user can understand the logistics state of the parcel in time.
In order to better implement the method for detecting package breakage in the embodiment of the present application, on the basis of the method for detecting package breakage, an embodiment of the present application further provides a device for detecting package breakage, as shown in fig. 7, which is a schematic structural diagram of an embodiment of the device for detecting package breakage in the embodiment of the present application, and the device 700 for detecting package breakage includes:
an obtaining unit 701, configured to obtain multiple images of a package to be detected at different angles;
an extracting unit 702, configured to perform feature extraction on each of the multiple images to obtain a two-dimensional image feature of each image;
a fusion unit 703, configured to perform feature fusion processing on the two-dimensional image features to obtain three-dimensional image features of the package to be detected;
and the detection unit 704 is configured to perform feature prediction processing according to the three-dimensional image features, and determine a damage detection result of the package to be detected.
In some embodiments of the present application, the detecting unit 704 is specifically configured to:
classifying the packages to be detected according to the two-dimensional image characteristics to obtain package categories of the packages to be detected;
determining a breakage detection network associated with the package category;
and calling the damage detection network, performing feature prediction processing according to the three-dimensional image features, and determining the damage detection result of the package to be detected.
In some embodiments of the present application, the detecting unit 704 is specifically configured to:
detecting whether the package type is the same as a preset package type;
and when the package type is detected to be the same as a preset package type, acquiring a prediction network associated with the package type from a plurality of preset prediction networks to serve as the breakage detection network.
In some embodiments of the present application, the detecting unit 704 is specifically configured to:
calling a first prediction layer in a preset package classification network, classifying the packages to be detected according to the two-dimensional image characteristics, and obtaining package categories of the packages to be detected;
in some embodiments of the present application, the extracting unit 702 is specifically configured to:
and calling a first feature extraction layer in the package classification network, and respectively extracting features of each image in the plurality of images to obtain the two-dimensional image features of each image.
In some embodiments of the present application, the breakage detection result includes a breakage area of the package to be detected, and the package breakage detection apparatus 700 further includes a sorting unit (not shown in the figure), where the sorting unit is specifically configured to:
calling a second feature extraction layer in a preset damage classification network, and performing feature extraction processing according to the damaged area to obtain the area feature of the damaged area;
and calling a second prediction layer in the damaged classification network, and performing classification prediction processing according to the region characteristics to obtain the damaged type of the damaged region.
In some embodiments of the present application, the device 700 for detecting a package breakage further comprises a sorting unit (not shown in the figures), which is specifically configured to:
and sorting the packages to be detected to corresponding storage areas according to the damage categories.
In some embodiments of the present application, the apparatus 700 for detecting package breakage further includes an updating unit (not shown in the figure), and the updating unit is specifically configured to:
when the breakage detection result is that the package is broken, acquiring the identification information of the package to be detected;
and updating the logistics state of the to-be-detected package in a preset database according to the identification information. In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
Since the apparatus for detecting package damage can execute the steps of the method for detecting package damage in any embodiment corresponding to fig. 1 to 6, the beneficial effects that can be achieved by the method for detecting package damage in any embodiment corresponding to fig. 1 to 6 can be achieved, for details, see the foregoing description, and are not repeated herein.
In addition, in order to better implement the method for detecting package damage in the embodiment of the present application, based on the method for detecting package damage, an electronic device is further provided in the embodiment of the present application, referring to fig. 8, fig. 8 shows a schematic structural diagram of the electronic device in the embodiment of the present application, specifically, the electronic device provided in the embodiment of the present application includes a processor 801, and when the processor 801 is used to execute a computer program stored in a memory 802, the steps of the method for detecting package damage in any embodiment corresponding to those in fig. 1 to fig. 6 are implemented; alternatively, the processor 801 is configured to implement the functions of the units in the corresponding embodiment of fig. 7 when executing the computer program stored in the memory 802.
Illustratively, a computer program may be partitioned into one or more modules/units, which are stored in the memory 802 and executed by the processor 801 to implement the embodiments of the present application. One or more modules/units may be a series of computer program instruction segments capable of performing certain functions, the instruction segments being used to describe the execution of a computer program in a computer device.
The electronic device may include, but is not limited to, a processor 801, a memory 802. Those skilled in the art will appreciate that the illustration is merely an example of an electronic device and does not constitute a limitation of an electronic device, and may include more or less components than those illustrated, or combine some components, or different components, for example, an electronic device may further include an input output device, a network access device, a bus, etc., and the processor 801, the memory 802, the input output device, the network access device, etc., are connected via the bus.
The Processor 801 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center for the electronic device and the various interfaces and lines connecting the various parts of the overall electronic device.
The memory 802 may be used to store computer programs and/or modules, and the processor 801 may implement various functions of the computer device by running or executing the computer programs and/or modules stored in the memory 802 and invoking data stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the electronic device, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the detailed working process of the above-described device for detecting package damage, the electronic device and the corresponding units thereof may refer to the description of the method for detecting package damage in any embodiment corresponding to fig. 1 to 6, and will not be described herein again in detail.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute steps in the method for detecting package breakage in any embodiment corresponding to fig. 1 to 6 in the present application, and specific operations may refer to descriptions of the method for detecting package breakage in any embodiment corresponding to fig. 1 to 6, which are not described herein again.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in the method for detecting package damage in any embodiment of the present application corresponding to fig. 1 to fig. 6, the beneficial effects that can be achieved by the method for detecting package damage in any embodiment of the present application corresponding to fig. 1 to fig. 6 can be achieved, for details, see the foregoing description, and are not repeated herein.
The method, the apparatus, the electronic device, and the computer-readable storage medium for detecting package damage provided in the embodiments of the present application are described in detail above, and specific examples are applied in the description to explain the principles and implementations of the present application, and the description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of detecting a package failure, the method comprising:
acquiring a plurality of images of a parcel to be detected at different angles;
respectively extracting the features of each image in the plurality of images to obtain the two-dimensional image features of each image;
performing feature fusion processing on the two-dimensional image features to obtain three-dimensional image features of the package to be detected;
and performing characteristic prediction processing according to the three-dimensional image characteristics, and determining a damage detection result of the to-be-detected package.
2. The method for detecting package breakage according to claim 1, wherein the performing feature prediction processing according to the three-dimensional image features to determine the breakage detection result of the package to be detected includes:
classifying the packages to be detected according to the two-dimensional image characteristics to obtain package categories of the packages to be detected;
determining a breakage detection network associated with the package category;
and calling the damage detection network, performing characteristic prediction processing according to the three-dimensional image characteristics, and determining the damage detection result of the package to be detected.
3. The method of detecting breakage of a package of claim 2, wherein said determining a breakage detection network associated with said package category comprises:
detecting whether the package type is the same as a preset package type;
when detecting that the package category is the same as a preset package category, acquiring a prediction network associated with the package category from a plurality of preset prediction networks to serve as the breakage detection network.
4. The method for detecting package breakage according to claim 2, wherein the classifying the package to be detected according to the two-dimensional image features to obtain the package category of the package to be detected includes:
calling a first prediction layer in a preset package classification network, classifying the packages to be detected according to the two-dimensional image characteristics to obtain the package categories of the packages to be detected;
the performing feature extraction on each image of the plurality of images to obtain a two-dimensional image feature of each image includes:
and calling a first feature extraction layer in the package classification network, and respectively extracting features of each image in the plurality of images to obtain the two-dimensional image features of each image.
5. The method of detecting a breakage of a package according to claim 1, wherein the breakage detection result includes a breakage region of the package to be detected, the method further comprising:
calling a second feature extraction layer in a preset damaged classification network, and performing feature extraction processing according to the damaged area to obtain the area feature of the damaged area;
and calling a second prediction layer in the damaged classification network, and performing classification prediction processing according to the region characteristics to obtain the damaged type of the damaged region.
6. The method of detecting a package failure of claim 5, further comprising:
and sorting the packages to be detected to corresponding storage areas according to the damage categories.
7. The method of detecting a package breakage of any one of claims 1 to 6, wherein the method further comprises:
when the breakage detection result is that the package is broken, acquiring the identification information of the package to be detected;
and updating the logistics state of the to-be-detected package in a preset database according to the identification information.
8. A package breakage detection device, comprising:
the acquisition unit is used for acquiring a plurality of images of the parcel to be detected at different angles;
the extraction unit is used for respectively extracting the features of each image in the plurality of images to obtain the two-dimensional image features of each image;
the fusion unit is used for carrying out feature fusion processing on the two-dimensional image features to obtain the three-dimensional image features of the package to be detected;
and the detection unit is used for performing characteristic prediction processing according to the three-dimensional image characteristics and determining the damage detection result of the to-be-detected package.
9. An electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and the processor executes the method for detecting package damage according to any one of claims 1 to 7 when calling the computer program in the memory.
10. A computer-readable storage medium, having stored thereon a computer program which is loaded by a processor to perform the steps of the method for detecting package damage of any one of claims 1 to 7.
CN202011320185.6A 2020-11-23 2020-11-23 Package damage detection method and device, electronic equipment and storage medium Pending CN114529733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011320185.6A CN114529733A (en) 2020-11-23 2020-11-23 Package damage detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011320185.6A CN114529733A (en) 2020-11-23 2020-11-23 Package damage detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114529733A true CN114529733A (en) 2022-05-24

Family

ID=81618917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011320185.6A Pending CN114529733A (en) 2020-11-23 2020-11-23 Package damage detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114529733A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116433637A (en) * 2023-04-18 2023-07-14 上海中通吉网络技术有限公司 A method and device for identifying damaged parts in logistics
CN116596835A (en) * 2023-03-03 2023-08-15 上海东普信息科技有限公司 Express package defect detection reminder method, device, equipment and storage medium
CN116618318A (en) * 2023-04-03 2023-08-22 上海中通吉网络技术有限公司 A system for identifying damaged parts on automatic sorting equipment
WO2025016484A1 (en) * 2023-07-20 2025-01-23 顺丰科技有限公司 Damage identification method and apparatus for goods inside package, electronic device and storage medium

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102288613A (en) * 2011-05-11 2011-12-21 北京科技大学 Surface defect detecting method for fusing grey and depth information
CN103286081A (en) * 2013-05-07 2013-09-11 浙江工业大学 Monocular multi-perspective machine vision-based online automatic sorting device for steel ball surface defect
CN104655658A (en) * 2015-02-10 2015-05-27 西安交通大学 Large-sized high-temperature blade internal defect three-dimensional nondestructive detection method
US20180192937A1 (en) * 2015-07-27 2018-07-12 Linkverse S.R.L. Apparatus and method for detection, quantification and classification of epidermal lesions
CN108802840A (en) * 2018-05-31 2018-11-13 北京迈格斯智能科技有限公司 The method and its device of automatic identification object based on artificial intelligence deep learning
CN109513629A (en) * 2018-11-14 2019-03-26 深圳蓝胖子机器人有限公司 Packages method, apparatus and computer readable storage medium
CN109829883A (en) * 2018-12-19 2019-05-31 歌尔股份有限公司 Product quality detection method and device
CN110133014A (en) * 2019-04-25 2019-08-16 合刃科技(深圳)有限公司 A kind of chip interior defect inspection method and system
CN110335274A (en) * 2019-07-22 2019-10-15 国家超级计算天津中心 A kind of three-dimensional mould defect inspection method and device
CN110427856A (en) * 2019-07-25 2019-11-08 深圳职业技术学院 A multi-object detection method in complex environment based on multi-view learning
CN110473178A (en) * 2019-07-30 2019-11-19 上海深视信息科技有限公司 A method and system for detecting appearance defects based on multi-light source fusion
CN110910379A (en) * 2019-11-29 2020-03-24 珠海大横琴科技发展有限公司 Incomplete detection method and device
CN111292303A (en) * 2020-01-21 2020-06-16 湖北文理学院 Weld defect type detection method and device, electronic equipment and storage medium
CN111340885A (en) * 2020-02-24 2020-06-26 上海明略人工智能(集团)有限公司 Parcel tracking method and device and storage medium
CN111489127A (en) * 2020-04-17 2020-08-04 圆通速递有限公司 Automatic arbitration system and method for express damaged parts
CN111507965A (en) * 2020-04-17 2020-08-07 中山仰视科技有限公司 Novel coronavirus pneumonia lesion detection method, system, device and storage medium
CN111624206A (en) * 2020-07-03 2020-09-04 东北大学 Metal surface defect detection method based on line scan camera stereo vision
CN111666816A (en) * 2020-05-07 2020-09-15 顺丰科技有限公司 Method, device and equipment for detecting the state of logistics items
CN111768386A (en) * 2020-06-30 2020-10-13 北京百度网讯科技有限公司 Product defect detection method, device, electronic device and storage medium
CN111784685A (en) * 2020-07-17 2020-10-16 国网湖南省电力有限公司 A transmission line defect image recognition method based on cloud-edge collaborative detection
CN111929327A (en) * 2020-09-09 2020-11-13 深兰人工智能芯片研究院(江苏)有限公司 Cloth defect detection method and device
CN111968093A (en) * 2020-08-19 2020-11-20 创新奇智(上海)科技有限公司 Magnetic shoe surface defect detection method and device, electronic equipment and storage medium

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102288613A (en) * 2011-05-11 2011-12-21 北京科技大学 Surface defect detecting method for fusing grey and depth information
CN103286081A (en) * 2013-05-07 2013-09-11 浙江工业大学 Monocular multi-perspective machine vision-based online automatic sorting device for steel ball surface defect
CN104655658A (en) * 2015-02-10 2015-05-27 西安交通大学 Large-sized high-temperature blade internal defect three-dimensional nondestructive detection method
US20180192937A1 (en) * 2015-07-27 2018-07-12 Linkverse S.R.L. Apparatus and method for detection, quantification and classification of epidermal lesions
CN108802840A (en) * 2018-05-31 2018-11-13 北京迈格斯智能科技有限公司 The method and its device of automatic identification object based on artificial intelligence deep learning
CN109513629A (en) * 2018-11-14 2019-03-26 深圳蓝胖子机器人有限公司 Packages method, apparatus and computer readable storage medium
CN109829883A (en) * 2018-12-19 2019-05-31 歌尔股份有限公司 Product quality detection method and device
CN110133014A (en) * 2019-04-25 2019-08-16 合刃科技(深圳)有限公司 A kind of chip interior defect inspection method and system
CN110335274A (en) * 2019-07-22 2019-10-15 国家超级计算天津中心 A kind of three-dimensional mould defect inspection method and device
CN110427856A (en) * 2019-07-25 2019-11-08 深圳职业技术学院 A multi-object detection method in complex environment based on multi-view learning
CN110473178A (en) * 2019-07-30 2019-11-19 上海深视信息科技有限公司 A method and system for detecting appearance defects based on multi-light source fusion
CN110910379A (en) * 2019-11-29 2020-03-24 珠海大横琴科技发展有限公司 Incomplete detection method and device
CN111292303A (en) * 2020-01-21 2020-06-16 湖北文理学院 Weld defect type detection method and device, electronic equipment and storage medium
CN111340885A (en) * 2020-02-24 2020-06-26 上海明略人工智能(集团)有限公司 Parcel tracking method and device and storage medium
CN111489127A (en) * 2020-04-17 2020-08-04 圆通速递有限公司 Automatic arbitration system and method for express damaged parts
CN111507965A (en) * 2020-04-17 2020-08-07 中山仰视科技有限公司 Novel coronavirus pneumonia lesion detection method, system, device and storage medium
CN111666816A (en) * 2020-05-07 2020-09-15 顺丰科技有限公司 Method, device and equipment for detecting the state of logistics items
CN111768386A (en) * 2020-06-30 2020-10-13 北京百度网讯科技有限公司 Product defect detection method, device, electronic device and storage medium
CN111624206A (en) * 2020-07-03 2020-09-04 东北大学 Metal surface defect detection method based on line scan camera stereo vision
CN111784685A (en) * 2020-07-17 2020-10-16 国网湖南省电力有限公司 A transmission line defect image recognition method based on cloud-edge collaborative detection
CN111968093A (en) * 2020-08-19 2020-11-20 创新奇智(上海)科技有限公司 Magnetic shoe surface defect detection method and device, electronic equipment and storage medium
CN111929327A (en) * 2020-09-09 2020-11-13 深兰人工智能芯片研究院(江苏)有限公司 Cloth defect detection method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YU HE等: "An End-to-End Steel Surface Defect Detection Approach via Fusing Multiple Hierarchical Features", 《IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT》, vol. 69, no. 4, 30 April 2020 (2020-04-30), pages 1493 - 1504, XP011777180, DOI: 10.1109/TIM.2019.2915404 *
陈松乐等: "一种基于深度学习的物流快递驿站异常行为识别方法", 《物流科技》, no. 9, 30 September 2020 (2020-09-30), pages 50 - 54 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116596835A (en) * 2023-03-03 2023-08-15 上海东普信息科技有限公司 Express package defect detection reminder method, device, equipment and storage medium
CN116618318A (en) * 2023-04-03 2023-08-22 上海中通吉网络技术有限公司 A system for identifying damaged parts on automatic sorting equipment
CN116433637A (en) * 2023-04-18 2023-07-14 上海中通吉网络技术有限公司 A method and device for identifying damaged parts in logistics
WO2025016484A1 (en) * 2023-07-20 2025-01-23 顺丰科技有限公司 Damage identification method and apparatus for goods inside package, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US11928594B2 (en) Systems and methods for creating training data
TWI709919B (en) Auto insurance image processing method, device, server and system
CN111310826B (en) Annotation anomaly detection method, device and electronic equipment for sample set
CN116823793A (en) Equipment defect detection methods, devices, electronic equipment and readable storage media
CN110737785B (en) Picture labeling method and device
CN111666816A (en) Method, device and equipment for detecting the state of logistics items
US20250080610A1 (en) Method and system for automatically annotating sensor data
CN115294039A (en) Steel coil end surface defect detection method
CN115082832A (en) Information identification method, device and storage medium
CN110927167A (en) Egg detection method and device, electronic equipment and storage medium
CN115439394A (en) A light transmission box detection method, device and electronic equipment
CN114550129B (en) Machine learning model processing method and system based on data set
CN113978987A (en) Pallet object packaging and picking method, device, equipment and medium
CN114118885A (en) Method and device for identifying bill exception, electronic equipment and storage medium
CN115730638A (en) Network pruning method, device and equipment and computer storage medium
CN111523558A (en) A method, device and electronic device for detecting vessel occlusion based on electronic purse seine
CN110889365A (en) Label information obtaining method and device
CN112287905A (en) Vehicle damage identification method, device, equipment and storage medium
CN114519793B (en) Target object detection methods, devices, electronic equipment and storage media
CN120870749A (en) Power grid fault detection method, device, computer equipment and storage medium
CN111986783B (en) Pathological picture loading method and device
CN117011537B (en) Methods, apparatus, computer-readable media and electronic equipment for screening difficult samples
WO2025007919A1 (en) Data detection method and apparatus, computer, storage medium, and program product
CN118608856A (en) A package three-dimensional size recognition method and system based on deep learning
CN112825145A (en) Human body orientation detection method and device, electronic equipment and computer storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220524