Disclosure of Invention
The invention aims to provide a pipeline image classification method, a device and electronic equipment, so as to solve the technical problems of high programming complexity and low accuracy of the existing pipeline image classification method, reduce programming difficulty and increase classification accuracy.
The embodiment of the invention provides a pipeline image classification method, which comprises the steps of collecting pipeline images, extracting first image feature vectors of the pipeline images, calculating error values between the first image feature vectors and a plurality of dictionary databases according to the first image feature vectors, a plurality of preset dictionary databases and final sparse vectors of the plurality of dictionary databases, screening minimum error values from the error values, determining defect classifications of the pipeline images according to target dictionary databases corresponding to the minimum error values, and constructing the dictionary databases.
In a preferred embodiment of the present invention, the step of constructing the dictionary database and the final sparse vector of the dictionary database based on the second image feature vector includes determining an atomic unit having the same number of columns as the second image feature vector based on the second image feature vector, constructing an initial dictionary database based on the atomic unit, calculating an intermediate sparse vector based on the second image feature vector, the initial dictionary database, and the initial sparse vector randomly generated, wherein the initial sparse vector has the same dimension as the second image feature, and constructing the dictionary database and the final sparse vector based on the intermediate sparse vector and the initial dictionary database.
In a preferred embodiment of the present invention, the step of calculating the intermediate sparse vector according to the second image feature vector, the initial dictionary database, and the initial sparse vector generated randomly includes a step A1 of calculating a calculation result of a preset objective function and the intermediate sparse vector corresponding to the calculation result according to the second image feature vector, the initial dictionary database, and the initial sparse vector, wherein the objective function is:;|| I o < L, wherein L is a preset sparsity, D is a dictionary library matrix corresponding to the initial dictionary database, F represents the calculation result, X is the second image feature vector, The method comprises the steps of obtaining initial sparse vectors, evaluating performance parameters of each subset in the initial sparse vectors based on a preset defined fitness function, screening target subsets of the initial sparse vectors, wherein the performance parameters are larger than a preset parameter threshold, carrying out genetic operation on the target subsets to obtain sub-intermediate sparse vectors, repeatedly executing the step A1 to the step A4 to reach preset iteration times until the value of the calculated result is minimum, and determining sub-intermediate sparse vectors corresponding to the calculated result with the minimum value as the intermediate sparse vectors in the step A6.
In a preferred embodiment of the present invention, the genetic manipulation includes crossing, mutating and replacing the target subset.
In a preferred embodiment of the present invention, the step of constructing the dictionary database and the final state sparse vector from the intermediate state sparse vector and the initial dictionary database includes the step of constructing an error matrix from the intermediate state sparse vector and the initial dictionary database, the step of performing singular value decomposition on the error matrix to obtain an intermediate state dictionary database and an updated sparse vector, the step of calculating a Froude Luo Beini Usta number between the intermediate state dictionary database and the second image feature vector, the step of determining whether the Froude Luo Beini Usta number is smaller than a predetermined threshold, the step of determining that the Froude Luo Beini Usta number is larger than or equal to the predetermined threshold, and the step of repeating the step A1 to the step A6 and the step B1 to the step B5 until the Froude Luo Beini Usta number is smaller than the predetermined threshold, and the step of updating the intermediate state dictionary database and the final state dictionary database by Luo Beini Usta number smaller than the predetermined threshold are determined as the intermediate state sparse vector and the final state sparse vector, respectively.
In a preferred embodiment of the present invention, the step of extracting the first image feature vector of the pipeline image includes extracting color features and texture features of the pipeline image, and determining the first image feature vector according to the color features and the texture features.
In a preferred embodiment of the present invention, the step of extracting the color features of the pipeline image includes extracting the color features of the pipeline image through a color channel and a luminance model constructed by the color channel, and the step of extracting the texture features of the pipeline image includes converting the pipeline image into a gray scale image, calculating a gray scale co-occurrence matrix in a preset direction according to the gray scale image, and calculating a Haralick texture feature corresponding to each direction according to the gray scale co-occurrence matrix.
In a preferred embodiment of the present invention, the defect information includes defect-free, leak, crack, undulation, and dislocation, and defect level information corresponding to the defect-free, leak, crack, undulation, and dislocation, respectively.
The embodiment of the invention also provides a pipeline image classification device which comprises a data acquisition module, a type determination module, a calculation module, a screening module and a construction method, wherein the data acquisition module is used for acquiring pipeline images, the type determination module is used for extracting first image feature vectors of the pipeline images, calculating error values between the first image feature vectors and the dictionary databases according to the first image feature vectors, a plurality of preset dictionary databases and final sparse vectors of the dictionary databases, screening minimum error values from the error values, determining defect classification of the pipeline images according to target dictionary databases corresponding to the minimum error values, the construction method of the dictionary databases comprises the steps of acquiring original pipeline images carrying defect information, extracting features of the original pipeline images to obtain second image feature vectors, and constructing the dictionary databases and final sparse vectors of the dictionary databases according to the second image feature vectors.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores computer executable instructions that can be executed by the processor, and where the processor executes the computer executable instructions to implement the pipeline image classification method.
The embodiment of the invention has the following beneficial technical effects:
The embodiment of the invention provides a pipeline image classification method, a device and electronic equipment, which comprise the steps of collecting pipeline images, extracting first image feature vectors of the pipeline images, calculating error values between the first image feature vectors and a plurality of dictionary databases according to the first image feature vectors, a plurality of preset dictionary databases and final sparse vectors of the plurality of dictionary databases, screening minimum error values from the error values, determining defect classifications of the pipeline images according to target dictionary databases corresponding to the minimum error values, and constructing the dictionary databases. According to the method, the pipeline image characteristics are compared with the pre-constructed dictionary database, and the pipeline image defects are accurately classified by using a sparse representation technology, so that the accuracy and the efficiency of pipeline detection are improved.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of 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 apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Because the water body conveyed by the pipe network contains acidic or corrosive substances, the long-term service causes the inside of the drainage pipe to have various functional or structural defects such as cracking, leakage, deformation, corrosion and the like, and the normal operation of the drainage pipe is seriously influenced. In order to detect the defects, methods such as television detection, pipeline periscope detection, sonar detection, manual observation and the like are generally adopted, and the type of the defects is identified by judging and reading the video in the pipeline so as to take repair measures. The existing pipeline image classification method mainly comprises a support vector machine, a convolutional neural network, a particle swarm optimization algorithm and the like, but the support vector machine is complex in programming and difficult to expand to the problem of multi-classification, and the convolutional neural network has the problems of low automatic recognition accuracy rate, high programming complexity and low accuracy rate due to various pipeline defects and complex environment despite of high data processing capacity.
Based on this, the embodiment of the invention provides a pipeline image classification method, a device and electronic equipment, wherein the method compares pipeline image characteristics with a pre-constructed dictionary database, the sparse representation technology is utilized to realize the accurate classification of the pipeline image defects, so that the accuracy and the efficiency of pipeline detection are improved. For ease of understanding, a pipeline image classification method is first described.
Example 1
In this embodiment, fig. 1 is a schematic flow chart of a pipeline image classification method according to an embodiment of the present invention.
As seen in fig. 1, the method comprises:
And S101, collecting pipeline images.
And S102, extracting a first image feature vector of the pipeline image.
In actual operation, the step S102 includes extracting color features and texture features of the pipeline image, and determining the first image feature vector according to the color features and the texture features.
Further, the step of extracting the color features of the pipeline image comprises the steps of extracting the color features of the pipeline image through a color channel and a brightness model constructed by the color channel, and the step of extracting the texture features of the pipeline image comprises the steps of converting the pipeline image into a gray image, calculating a gray level co-occurrence matrix in a preset direction according to the gray level image, and calculating Harfull texture features corresponding to each direction according to the gray level co-occurrence matrix.
Specifically, the luminance model is i=0.21r+0.72g+0.07 b, and the luminance model is a weighted average of RGB channels.
Wherein I is a brightness model, R is a red channel, G is a green channel, and B is a blue channel.
Then, the first-order histogram of the image block of the pipeline image is subjected to pixel feature extraction, and the pixel feature extraction is calculated as follows:
wherein the pixel characteristics are represented by a first-order histogram:
{P(Ik);k=1,2,...,N}
Wherein I k is the luminance model of the kth image block, and the total number of image blocks is N.
From each first order histogram, 3 different features were obtained:
;
;
;
Wherein, the As an average value of the values,As a function of the variance of the values,Kurtosis.
Thus, 12 color feature values can be obtained based on the pipeline image.
Further, the present invention generates GLCM at 0, 45 and 90 from the following 3 angles.
The GLCM of the two pixel intensity values In the pipeline image at a distance d and a direction phi is defined as P (Im, in, d, phi), indicating the probability of occurrence of a pixel pair of pixel intensity values Im and In at a distance d and an angle phi.
Wherein N is the number of pixel intensity values;
im and In, two different gray levels of the gray level image;
d, distance between pixel pairs;
Phi is the direction angle between the pixel pairs;
5 Haralick texture features were obtained from GLCM, including:
;
;
;
;
;
Where ASM is angular second moment, CON is contrast, IDF is inverse differential moment, corr is correlation, var is variance of random variable.
GLCM is calculated for 3 different angles θ, namely 0 °, 45 ° and 90 °, and is generated when two pixel intensity values (Im, in) are at 3 distance values d=1, 2 and 3.
Thus, 9 gray co-occurrence matrices are generated for each image block. Further, 5 texture features are calculated from each gray level co-occurrence matrix, resulting in 45 texture feature vectors, denoted WT.
Further, 12 color features and 45 texture features, cumulatively form 57 image feature vectors denoted as X,. Thus, the total number of entries of the first image feature vector of one image block is 57.
Step S103, calculating error values between the first image feature vector and the dictionary databases according to the first image feature vector, the preset dictionary databases and final sparse vectors of the dictionary databases.
Step S104, screening the minimum error value from the error values.
Step 105, determining defect classification of the pipeline image according to a target dictionary database corresponding to the minimum error value, wherein the dictionary database construction method comprises the steps of obtaining an original pipeline image carrying defect information, carrying out feature extraction on the original pipeline image to obtain a second image feature vector, and constructing the dictionary database and final sparse vectors of the dictionary database according to the second image feature vector.
Wherein the defect information includes defect grade information corresponding to defect-free, leak, crack, undulation, dislocation, defect-free, leak, crack, undulation, and dislocation.
For easy understanding, the present application is described in detail by the following practical examples:
Assume that the plurality of dictionary databases are data in the following table one:
first, by inputting the first image feature vector, the error between the first image feature vector and each dictionary database is calculated respectively:
Wherein Error is Error, Y is first image feature vector, D is dictionary database, and a is final sparse vector of dictionary database.
Then, analyzing and comparing the error values, wherein the defect type corresponding to the minimum error value is the defect classification of the pipeline image:
As shown in the following table two, when the input first image feature vector is Y1, the correspondence error is 0.1, and the defect of the output pipeline image is classified as leakage.
Watch II
The embodiment of the invention provides a pipeline image classification method which comprises the steps of collecting pipeline images, extracting first image feature vectors of the pipeline images, calculating error values between the first image feature vectors and a plurality of dictionary databases according to the first image feature vectors, a plurality of preset dictionary databases and final sparse vectors of the plurality of dictionary databases, screening minimum error values from the error values, determining defect classifications of the pipeline images according to target dictionary databases corresponding to the minimum error values, and constructing the dictionary databases. According to the method, the pipeline image characteristics are compared with the pre-constructed dictionary database, and the pipeline image defects are accurately classified by using a sparse representation technology, so that the accuracy and the efficiency of pipeline detection are improved.
Example 2
In this embodiment, a process of constructing a dictionary database and final sparse vectors of the dictionary database is described with emphasis. Fig. 2 is a schematic flow chart of constructing a dictionary database and final sparse vectors of the dictionary database according to an embodiment of the present invention.
As seen in fig. 2, the method comprises:
step S201, according to the second image feature vector, determining the atomic units with the same column number as the second image feature vector.
To ensure that the number of atomic units in the dictionary matches the number of columns of the second image feature vector, it is first necessary to understand the specific structure of the second image feature vector. The second image feature vector is assumed to be a C-dimensional vector, i.e. it has C columns, each column representing a specific feature (e.g. texture, color or shape, etc.) in the image. Next, a dictionary containing C atomic units needs to be built for this C-dimensional vector. Each atomic unit may be considered as a fundamental mode describing local or global features of an image. During the initialization phase, the C atomic units may be created by random generation or based on a priori knowledge. These atomic units will be used as basic elements of the dictionary to represent and reconstruct image features. In the optimization process, the atomic units are continuously adjusted to fit each column of eigenvalues in the second image eigenvector as much as possible. Eventually, each atomic unit will be able to capture an important aspect of the image feature vector, enabling the entire dictionary to efficiently and accurately represent complex features of the image. In short, the same atomic unit as the number of columns of the feature vectors of the second image is determined to ensure that the number of bases of the dictionary is consistent with the feature vector dimensions, so that the image features can be effectively modeled and compressed in the subsequent sparse representation and optimization process. This not only improves the accuracy of the feature representation, but also enhances the overall performance of the model.
Step S202, constructing an initial dictionary database according to the atomic units.
Here, based on the determined C atomic units, an initial dictionary database containing the atomic units is initialized for subsequent feature representation and optimization processes.
And step 203, calculating an intermediate sparse vector according to the second image feature vector, the initial dictionary database and the initial sparse vector generated randomly, wherein the initial sparse vector and the second image feature have the same dimension.
And S204, constructing the dictionary database and the final sparse vector according to the intermediate sparse vector and the initial dictionary database.
In actual operation, the step of calculating the intermediate sparse vector according to the second image feature vector, the initial dictionary database and the initial sparse vector generated randomly comprises the following steps:
And A1, calculating a calculation result of a preset objective function and the intermediate sparse vector corresponding to the calculation result according to the second image feature vector, the initial dictionary database and the initial sparse vector.
The objective function is as follows:;||||o<L;
Wherein L is a preset sparsity, D is a dictionary library matrix corresponding to the initial dictionary database, F represents the calculation result, X is the second image feature vector, Is the initial sparse vector described above.
And A2, evaluating the performance parameters of each subset in the initial sparse vector based on a preset defined fitness function.
And A3, screening a target subset of the initial sparse vector, wherein the performance parameter of the target subset is larger than a preset parameter threshold.
A4, carrying out genetic operation on the target subset to obtain a sub-intermediate sparse vector;
and step A5, repeatedly executing the step A1 to the step A4 to reach the preset iteration times until the value of the obtained calculation result is minimum.
And A6, determining the sub-intermediate sparse vector corresponding to the calculation result with the minimum value as the intermediate sparse vector.
Further, the genetic manipulation may include crossing, mutating, and replacing the subset of targets.
In some embodiments, the step of constructing the dictionary database and the final state sparse vector from the intermediate state sparse vector and the initial dictionary database includes the step of constructing an error matrix from the intermediate state sparse vector and the initial dictionary database, the step of performing singular value decomposition on the error matrix to obtain an intermediate state dictionary database and an updated sparse vector, the step of calculating a Froude Luo Beini Usta norm between the intermediate state dictionary database and the second image feature vector, the step of determining whether the Froude Luo Beini Usta norm is smaller than a preset threshold, the step of determining that the Froude Luo Beini Usta norm is larger than or equal to the preset threshold, the step of repeating the step of A1 to the step of A6 and the step of B5 until the Froude Luo Beini Usta norm is smaller than the preset threshold, and determining the update vector and the intermediate state dictionary vector corresponding to the Froude Usta norm smaller than the preset threshold as the final state sparse vector and the dictionary database respectively.
The error matrix is constructed according to the intermediate sparse vector and the initial dictionary database based on the following formula:
where Ek is an error matrix, dk is an atomic unit, Ω k is an index set using all signals of the atomic unit, xΩ k is a subset composed of all signals using the atomic unit, dΩ k is a subset composed of atomic units corresponding to the index in Ω k, and αΩ k is a sparse coefficient subset corresponding to the intermediate sparse vector.
Further, singular value decomposition is performed on the error matrix based on the following formula, so as to obtain an intermediate state dictionary database and update sparse vectors:
wherein U, S and V are matrices after singular value decomposition of the error matrix, respectively.
Taking the first column of U as a new atomic unit, and taking the product of the first element of S and the first column of V as an updated sparse vector.
The invention adopts the following practical cases to explain the steps in detail:
Assume that the second image feature vector is Each column represents a set of feature vectors;
The initial dictionary database is Each column represents an atomic unit;
knowing a first set of eigenvectors x1= [1,4,7] t;
x1≈Dα1
the genetic algorithm can be obtained:
Then it is possible to obtain:
the same can be obtained:
Then it is possible to obtain:
Wherein, the Is a subset of the intermediate sparse vector.
The atomic units of the initial dictionary database are used by all signals, so the following calculations are performed:
Next, the initial dictionary database is updated. Knowing d1= [1,0,1] t, an error matrix E1 is constructed:
singular value decomposition of E1 is performed to obtain the following results:
Thus, an updated atomic unit can be obtained, which is represented as I.e.. Meanwhile, the updated sparse vector αΩ k may be obtained by multiplying Σ (1, 1) by the 1 st column of the V matrix, i.e.。
Repeating the above operation until the objective function is obtained to obtain the minimum value.
Then, an error of the intermediate dictionary database is calculated, the error of the intermediate dictionary database being obtained by calculating a Fries Luo Beini Usness norm between the second image feature vector and the initial dictionary database and the intermediate dictionary database. The error calculation formula is as follows:
Error=||X−Da||F;
the Fu Luo Beini Usnea norm is calculated according to the following specific calculation formula:
wherein m and n are the number of rows and columns of the second image feature vector, respectively, Is the element of the ith row and jth column in the second image feature vector,Is the element of the ith row and jth column in the intermediate dictionary database.
Further, if the Fructo-Luo Beini Usta norm is smaller than a preset threshold epsilon, the dictionary database is considered to be converged, otherwise, the intermediate state dictionary database needs to be updated continuously.
The embodiment of the invention provides a dictionary database and a final sparse vector constructing method of the dictionary database, which comprises the steps of determining atomic units with the same column number as the second image feature vector according to the second image feature vector, constructing an initial dictionary database according to the atomic units, calculating an intermediate sparse vector according to the second image feature vector, the initial dictionary database and the initial sparse vector randomly generated, wherein the dimension of the initial sparse vector is the same as that of the second image feature, and constructing the dictionary database and the final sparse vector according to the intermediate sparse vector and the initial dictionary database. According to the method, the initial dictionary database is constructed based on the second image feature vector, and the sparse vector is optimized in an iterative mode, so that efficient and accurate representation of pipeline image features is achieved, and accuracy and reliability of pipeline defect classification are improved.
Example 3
On the basis of the above embodiment, fig. 3 is a schematic structural diagram of a pipeline image classification device according to an embodiment of the present invention.
As can be seen in fig. 3, the device comprises:
a data acquisition module 31 for acquiring a pipeline image.
The type determining module 32 is configured to extract a first image feature vector of the pipeline image, calculate error values between the first image feature vector and the dictionary databases according to the first image feature vector, a preset plurality of dictionary databases and final sparse vectors of the dictionary databases, screen minimum error values from the error values, determine defect classification of the pipeline image according to a target dictionary database corresponding to the minimum error values, and construct the dictionary databases.
Wherein the data acquisition module 31 is connected to the type determination module 32.
In one embodiment, the device further comprises a dictionary construction module connected with the type determination module 32, wherein the dictionary construction module is further used for determining atomic units with the same column number as the second image feature vector according to the second image feature vector, constructing an initial dictionary database according to the atomic units, calculating an intermediate sparse vector according to the second image feature vector, the initial dictionary database and an initial sparse vector generated randomly, wherein the initial sparse vector is identical to the second image feature in dimension, and constructing the dictionary database and the final sparse vector according to the intermediate sparse vector and the initial dictionary database.
In one embodiment, the dictionary construction module is further configured to execute step A1, wherein the calculating result of a preset objective function and the intermediate sparse vector corresponding to the calculating result are calculated according to the second image feature vector, the initial dictionary database and the initial sparse vector, and the objective function is:;|| I o < L, wherein L is a preset sparsity, D is a dictionary library matrix corresponding to the initial dictionary database, F represents the calculation result, X is the second image feature vector, The method comprises the steps of obtaining initial sparse vectors, evaluating performance parameters of each subset in the initial sparse vectors based on a preset defined fitness function, screening target subsets of the initial sparse vectors, wherein the performance parameters are larger than a preset parameter threshold, carrying out genetic operation on the target subsets to obtain sub-intermediate sparse vectors, repeatedly executing the step A1 to the step A4 to reach preset iteration times until the value of the calculated result is minimum, and determining sub-intermediate sparse vectors corresponding to the calculated result with the minimum value as the intermediate sparse vectors in the step A6.
In one embodiment, the dictionary construction module is further configured to perform step B1 of constructing an error matrix according to the intermediate state sparse vector and the initial dictionary database, step B2 of performing singular value decomposition on the error matrix to obtain an intermediate state dictionary database and an updated sparse vector, step B3 of calculating a freckles Luo Beini uz norm between the intermediate state dictionary database and the second image feature vector, step B4 of determining whether the freckles Luo Beini uz norm is smaller than a preset threshold, and step B5 of repeating step A1 to step A6 and step B5 until the freckles Luo Beini uz norm is smaller than the preset threshold when the freckles Luo Beini uz norm is greater than or equal to the preset threshold, and determining the updated vector corresponding to the freckles Luo Beini uz norm smaller than the preset threshold and the intermediate state dictionary database as the final state sparse vector and the dictionary database, respectively.
In one embodiment, the type determining module 32 is further configured to extract color features and texture features of the pipeline image, and determine the first image feature vector according to the color features and the texture features.
In one embodiment, the type determining module 32 is further configured to extract color features of the pipeline image through a color channel and a brightness model constructed by the color channel, and the step of extracting texture features of the pipeline image includes converting the pipeline image into a gray scale image, calculating a gray scale co-occurrence matrix in a preset direction according to the gray scale image, and calculating a hargood texture feature corresponding to each direction according to the gray scale co-occurrence matrix.
The pipeline image classification device provided by the embodiment of the invention has the same technical characteristics as the pipeline image classification method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved. It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the apparatus described above, which is not described herein again.
Example 4
The present embodiment provides an electronic device comprising a processor and a memory storing computer executable instructions executable by the processor to perform steps of a pipeline image classification method.
The present embodiment provides a computer-readable storage medium in which a computer program is stored which, when executed by a processor, implements the steps of a pipeline image classification method.
Referring to a schematic structural diagram of an electronic device shown in fig. 4, the electronic device includes a memory 41 and a processor 42, wherein a computer program capable of running on the processor 42 is stored in the memory 41, and the processor implements the steps provided by the pipeline image classification method when executing the computer program.
As shown in fig. 4, the device further comprises a bus 43 and a communication interface 44, the processor 42, the communication interface 44 and the memory 41 being connected by the bus 43, the processor 42 being arranged to execute executable modules, such as computer programs, stored in the memory 41.
The memory 41 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the device network element and at least one other network element is achieved through at least one communication interface 44 (which may be wired or wireless), which may use the internet, a wide area network, a local network, a metropolitan area network, etc.
The bus 43 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 4, but not only one bus or type of bus.
The memory 41 is used for storing a program, and the processor 42 executes the program after receiving the execution instruction, so that the method executed by the pipeline image classification device according to any of the embodiments of the present invention can be applied to the processor 42 or implemented by the processor 42. The processor 42 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 42. The processor 42 may be a general-purpose processor including a central Processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), a digital signal processor (DIGITAL SIGNAL Processing, DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable GATE ARRAY (FPGA), a discrete gate or transistor logic device, or a discrete hardware component. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 41 and a processor 42 reads information in the memory 41 and in combination with its hardware performs the steps of the method described above.
Further, embodiments of the present invention also provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by the processor 42, cause the processor 42 to implement the pipeline image classification method described above.
The electronic equipment and the computer readable storage medium provided by the embodiment of the invention have the same technical characteristics, so that the same technical problems can be solved, and the same technical effects can be achieved.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected, mechanically connected, electrically connected, directly connected, indirectly connected via an intermediate medium, or in communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.