CN115019078B - Vehicle image processing method, computing device and storage medium - Google Patents
Vehicle image processing method, computing device and storage medium Download PDFInfo
- Publication number
- CN115019078B CN115019078B CN202210946778.6A CN202210946778A CN115019078B CN 115019078 B CN115019078 B CN 115019078B CN 202210946778 A CN202210946778 A CN 202210946778A CN 115019078 B CN115019078 B CN 115019078B
- Authority
- CN
- China
- Prior art keywords
- clustered
- clustering
- data
- clustering result
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims description 35
- 238000003860 storage Methods 0.000 title claims description 11
- 238000012545 processing Methods 0.000 claims description 26
- 238000000605 extraction Methods 0.000 claims description 15
- 238000013507 mapping Methods 0.000 claims description 13
- 238000000034 method Methods 0.000 abstract description 92
- 230000008569 process Effects 0.000 description 28
- 238000004590 computer program Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 239000013598 vector Substances 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000005457 optimization Methods 0.000 description 5
- 238000007476 Maximum Likelihood Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 210000004556 brain Anatomy 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000013467 fragmentation Methods 0.000 description 2
- 238000006062 fragmentation reaction Methods 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/762—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/75—Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/761—Proximity, similarity or dissimilarity measures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the specification provides a data clustering method and a device, wherein the data clustering method comprises the following steps: the method comprises the steps of obtaining a data set to be clustered, clustering any two data to be clustered according to the matching probability between any two data to be clustered in the data set to be clustered to generate an intermediate clustering result, determining an expected value corresponding to each data to be clustered in the intermediate clustering result according to the matching probability between any two data to be clustered in the intermediate clustering result, wherein the expected value comprises a clustering accuracy expected value and/or a clustering splitting degree expected value, and adjusting the intermediate clustering result according to the expected value to generate a corresponding target clustering result.
Description
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a vehicle image processing method, a computing device and a storage medium.
Background
In the field of internet technology, the applied service scenarios are very numerous and complex, and the user population is huge, so that massive data is generated, and real-time computing (also called online computing) processing is required on the massive data to provide real-time response to the user.
One of the ways of online computation, namely, online clustering, generally requires predefining the number of clustering results (clustering clusters) due to the current clustering method, but in an actual service scenario, the number of clustering results generated by clustering data may not be obtained in advance due to uncertainty of online data generated in real time, and therefore, if the number of clustering results is set blindly before clustering data, the clustering results are not accurate enough, and therefore, it is urgently needed to provide an effective method to solve such problems.
Disclosure of Invention
In view of this, the embodiments of the present specification provide a data clustering method. One or more embodiments of the present specification also relate to a data clustering device, an image clustering method, an image clustering device, a vehicle image processing method, a vehicle image processing device, a computing apparatus, a computer-readable storage medium, and a computer program, so as to solve the technical drawbacks in the prior art.
According to a first aspect of embodiments of the present specification, there is provided a data clustering method, including:
acquiring a data set to be clustered, and clustering any two data to be clustered in the data set to be clustered according to the matching probability between the any two data to be clustered to generate a middle clustering result;
determining an expected value corresponding to each data to be clustered in the intermediate clustering result according to the matching probability between any two data to be clustered in the intermediate clustering result, wherein the expected value comprises a clustering accuracy expected value and/or a clustering splitting degree expected value;
and adjusting the intermediate clustering result according to the expected value to generate a corresponding target clustering result.
According to a second aspect of embodiments herein, there is provided a data clustering apparatus including:
the device comprises an acquisition module, a clustering module and a clustering module, wherein the acquisition module is configured to acquire a data set to be clustered, and perform clustering processing on any two data to be clustered according to the matching probability between any two data to be clustered in the data set to be clustered to generate a middle clustering result;
the determining module is configured to determine an expected value corresponding to each data to be clustered in the intermediate clustering result according to the matching probability between any two data to be clustered in the intermediate clustering result, wherein the expected value comprises a clustering accuracy expected value and/or a clustering splitting degree expected value;
and the adjusting module is configured to adjust the intermediate clustering result according to the expected value to generate a corresponding target clustering result.
According to a third aspect of embodiments of the present specification, there is provided an image clustering method including:
acquiring an image set to be clustered, and clustering any two images to be clustered according to the matching probability between any two images to be clustered in the image set to be clustered to generate a middle clustering result;
determining an expected value corresponding to each image to be clustered in the intermediate clustering result according to the matching probability between any two images to be clustered in the intermediate clustering result, wherein the expected value comprises a clustering accuracy expected value and/or a clustering splitting degree expected value;
and adjusting the intermediate clustering result according to the expected value to generate a corresponding target clustering result.
According to a fourth aspect of embodiments of the present specification, there is provided an image clustering apparatus including:
the clustering module is configured to acquire an image set to be clustered, and perform clustering processing on any two images to be clustered according to the matching probability between any two images to be clustered in the image set to be clustered to generate a middle clustering result;
the determining module is configured to determine an expected value corresponding to each image to be clustered in the intermediate clustering result according to the matching probability between any two images to be clustered in the intermediate clustering result, wherein the expected value comprises a clustering accuracy expected value and/or a clustering splitting degree expected value;
and the generating module is configured to adjust the intermediate clustering result according to the expected value to generate a corresponding target clustering result.
According to a fifth aspect of embodiments herein, there is provided a vehicle image processing method including:
acquiring a vehicle image set to be clustered, and clustering any two vehicle images to be clustered according to the matching probability between any two vehicle images to be clustered in the vehicle image set to be clustered to generate a middle clustering result;
determining an expected value corresponding to each vehicle image to be clustered in the intermediate clustering result according to the matching probability between any two vehicle images to be clustered in the intermediate clustering result, wherein the expected value comprises a clustering accuracy expected value and/or a clustering splitting degree expected value;
adjusting the intermediate clustering result according to the expected value to generate a corresponding target clustering result;
and determining the motion track of the target vehicle according to the target clustering result of the vehicle image to be clustered, which contains the target vehicle.
According to a sixth aspect of embodiments herein, there is provided a vehicle image processing apparatus comprising:
the system comprises an acquisition module, a clustering module and a clustering module, wherein the acquisition module is configured to acquire a vehicle image set to be clustered, and perform clustering processing on any two vehicle images to be clustered according to the matching probability between any two vehicle images to be clustered in the vehicle image set to be clustered to generate an intermediate clustering result;
the first determining module is configured to determine an expected value corresponding to each vehicle image to be clustered in the intermediate clustering result according to the matching probability between any two vehicle images to be clustered in the intermediate clustering result, wherein the expected value comprises a clustering accuracy expected value and/or a clustering splitting degree expected value;
the adjusting module is configured to adjust the intermediate clustering result according to the expected value to generate a corresponding target clustering result;
the second determining module is configured to determine the motion track of the target vehicle according to a target clustering result of the vehicle image to be clustered, which contains the target vehicle.
According to a seventh aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions to perform any one of the steps of the data clustering method, the image clustering method, or the vehicle image processing method.
According to an eighth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of any one of the data clustering method, the image clustering method, or the vehicle image processing method.
According to a ninth aspect of embodiments herein, there is provided a computer program, wherein the computer program, when executed in a computer, causes the computer to execute the steps of the above-described data clustering method, the image clustering method, or the vehicle image processing method.
In an embodiment of the present specification, a data set to be clustered is obtained, any two data to be clustered are clustered according to a matching probability between any two data to be clustered in the data set to be clustered, an intermediate clustering result is generated, an expected value corresponding to each data to be clustered in the intermediate clustering result is determined according to the matching probability between any two data to be clustered in the intermediate clustering result, where the expected value includes an expected value of clustering accuracy and/or an expected value of clustering splitting degree, and the intermediate clustering result is adjusted according to the expected value, so as to generate a corresponding target clustering result.
In the process of clustering data to be clustered, the embodiment of the present specification does not need to specify the number of clustering results, and only clusters according to the matching probability among the data to be clustered, and adjusts the clustering results according to the expected value of the clustering accuracy and/or the expected value of the clustering split degree corresponding to the data to be clustered in each clustering result in real time, which is beneficial to ensuring the accuracy of the clustering results.
Drawings
FIG. 1 is a flow chart of a data clustering method provided by an embodiment of the present specification;
FIG. 2 is a diagram illustrating a data clustering process provided in an embodiment of the present specification;
FIG. 3 is a flowchart illustrating a processing procedure of a data clustering method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a data clustering device provided in an embodiment of the present specification;
FIG. 5 is a flow chart of a method for clustering images provided by an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an image clustering device provided in an embodiment of the present specification;
FIG. 7 is a flowchart of a vehicle image processing method provided in one embodiment of the present description;
fig. 8 is a schematic structural diagram of a vehicle image processing device according to an embodiment of the present specification;
fig. 9 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present specification. This description may be implemented in many ways other than those specifically set forth herein, and those skilled in the art will appreciate that the present description is susceptible to similar generalizations without departing from the scope of the description, and thus is not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination," depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
Clustering: the process of dividing a collection of physical or abstract objects into classes composed of similar objects is called clustering. The cluster generated by clustering is a collection of a set of data objects that are similar to objects in the same cluster and distinct from objects in other clusters.
Euclidean distance: refers to the distance between two points in Euclidean space, and is used for calculating the Euclidean distance between the characteristic vectors of a certain mode between certain two objects.
Feature vectors: for the one-dimensional array calculated by the pictures, the similarity of two pictures can be generally obtained by calculating the Euclidean distance through the feature vectors of the two pictures.
Cosine similarity: the similarity of the two vectors is evaluated by calculating the cosine value of the included angle of the two vectors, and the similarity is used for calculating the similarity between feature data of a certain mode between certain two objects.
Matching probability: probability that a pair (two) of objects belong to the same cluster class.
And (3) online clustering: the streaming data requires clustering to perform near real-time clustering, namely, the delay between the data arrival time and the data clustering completion time meets certain requirements.
Accuracy: i.e. the maximum number/total number within a class belonging to the same class.
The degree of splitting: the number of classes into which objects belonging to the same class are clustered/1.
Matching probability: the probability of the same class between the objects can be calculated between the objects, for example, after extracting the feature vector between the picture pairs, the Euclidean distance is calculated, and the mapping result from the Euclidean distance to the matching probability can be counted/calculated through some labeled data or preset mapping rules.
In the present specification, a data clustering method is provided, and the present specification relates to a data clustering apparatus, an image clustering method, an image clustering apparatus, a vehicle image processing method, a vehicle image processing apparatus, a computing device, a computer-readable storage medium, and a computer program, which are described in detail one by one in the following embodiments.
Fig. 1 shows a flowchart of a data clustering method provided in an embodiment of the present specification, which specifically includes the following steps.
102, acquiring a data set to be clustered, and clustering any two data to be clustered in the data set to be clustered according to the matching probability between the any two data to be clustered to generate a middle clustering result.
Specifically, the data set to be clustered comprises at least two data to be clustered; the data to be clustered is item data in a target item, and corresponding item processing can be performed according to a clustering result by clustering the item data.
And under the condition that the data to be clustered is the image to be clustered, the data set to be clustered is the image set to be clustered.
Due to the current data clustering method, the number of clustering results (clustering clusters) is generally required to be predefined, but in the actual application scenario of the target project, the number is not necessarily available; for example, in the operation process of a target project, if streaming data is generated, near real-time clustering is required to be performed on the streaming data, that is, the delay between the data arrival time and the data clustering completion time meets a certain requirement, so an online clustering mode is generally adopted, and in the online clustering process, data is generated in real time, that is, data to be clustered collectively contains which data to be clustered, and which clustering results are generated by the data to be clustered, which cannot be predetermined, and if the number of clustering results is set blindly before the data to be clustered, the clustering results are not accurate enough.
Based on this, in the embodiments of the present specification, the clustering target is formalized into maximum likelihood optimization by calculating the matching probability between the data set to be clustered and the neighboring objects, and the clustering result is decomposed and decided by analyzing the accuracy/fragmentation degree, so as to meet the accuracy requirements of different items on the category and achieve better fragmentation degree. By the method, the number of clustering results does not need to be specified in advance, the method can adapt to different online data windows, and the online clustering problem can be effectively solved. The method can be widely applied to various clustering scenes, such as online clustering of urban large-scale pedestrians, motor vehicles and non-motor vehicles, online clustering of large-scale short videos, dynamic real-time clustering issued by a social platform, commodity classification of a shopping platform and the like.
In specific implementation, according to the matching probability between any two data to be clustered in the data set to be clustered, clustering any two data to be clustered includes:
performing feature extraction processing on at least two data to be clustered contained in the data set to be clustered to generate corresponding feature extraction results;
determining the matching probability between any two data to be clustered in the at least two data to be clustered based on the feature extraction result;
and clustering the at least two data to be clustered according to the matching probability.
Further, determining a matching probability between any two data to be clustered in the at least two data to be clustered based on the feature extraction result, including:
determining a target Euclidean distance between any two data to be clustered in the at least two data to be clustered based on the feature extraction result;
and determining a target matching probability having a mapping relation with the target Euclidean distance according to a mapping relation between a preset Euclidean distance and the matching probability, and determining the target matching probability as the matching probability between any two data to be clustered in the at least two data to be clustered.
Specifically, the data set to be clustered includes at least two data to be clustered, in the process of clustering the data to be clustered in the data set to be clustered, feature extraction processing can be performed on each data to be clustered first to obtain a feature vector corresponding to each data to be clustered, then the matching probability between any two data to be clustered in the data set to be clustered is determined by calculating the Euclidean distance or cosine similarity between the feature vectors of any two data to be clustered, and whether the two data to be clustered are clustered into the same category is determined according to the matching probability.
Wherein, a mapping relation between the Euclidean distance and the matching probability can be set firstly, or a mapping relation between the cosine similarity and the matching probability can be set, for example, the Euclidean distance is 0-3, the Euclidean distance is mapped to the matching probability, the value of the matching probability is 0.1, the Euclidean distance is 3.1-5, the mapping is carried out to the matching probability, the value of the matching probability is 0.2, and the like; the specific mapping relationship may be determined according to actual requirements, and is not limited herein.
After the euclidean distance or the cosine similarity between any two data to be clustered is obtained through calculation, the euclidean distance or the cosine similarity can be mapped to the matching probability, so as to determine whether the two data to be clustered are clustered into the same category according to the size of the target matching probability obtained through mapping, for example, if the size of the target matching probability is greater than a preset probability threshold value by 50%, the two data to be clustered can be clustered into the same category, so as to generate a corresponding intermediate clustering result.
In practical applications, the intermediate clustering results generated by clustering may be one or at least two.
In addition, assuming that the data to be clustered is data 1, data 2, data 3 and data 4, when clustering is performed on the data 1, the data 2 and the data 3, determining that the matching probability between the data 1 and the data 2, the matching probability between the data 1 and the data 3 and the matching probability between the data 2 and the data 3 are all greater than a preset probability threshold, clustering the data 1, the data 2 and the data 3 to the same intermediate clustering result, when clustering is performed on the data 4, calculating three matching probabilities between the data 4 and the data 1, between the data 4 and the data 2 and between the data 4 and the data 3, and clustering the data 4 to the intermediate clustering result if the matching probabilities of a certain number (more than half) of the three matching probabilities are all greater than the preset probability threshold, wherein if the matching probabilities of more than half of the three matching probabilities are not greater than the preset probability threshold, clustering the data 4 to another intermediate clustering result independently.
In the embodiment of the specification, the number of clustering results of data to be clustered is not preset, and in the clustering process, the Euclidean distance or cosine similarity between any two data to be clustered is calculated to further determine the matching probability between any two data to be clustered according to the Euclidean distance or cosine similarity, so that the data to be clustered is clustered according to the matching probability, and the accuracy of the generated clustering result is favorably ensured.
Or, in the online operation process of the target item, if online clustering processing needs to be performed on target data to be clustered generated in the target item in real time, the historical data to be clustered of the target item and the target data to be clustered generated in real time can jointly form a data set to be clustered, and each data to be clustered is clustered according to the matching probability between any two data to be clustered in the data set to be clustered to generate an intermediate clustering result, which can be specifically realized by the following steps:
according to a first matching probability between any two pieces of historical data to be clustered in the data set to be clustered, clustering any two pieces of historical data to be clustered to generate an initial clustering result;
determining a second matching probability between the target data to be clustered and each historical data to be clustered in the data set to be clustered;
and updating the initial clustering result according to the second matching probability to generate an intermediate clustering result.
Specifically, the data to be clustered includes historical data to be clustered and target data to be clustered, the historical data to be clustered is data generated in the process that a target item operates in a historical time interval, and the target data to be clustered is data generated in the process that the target item operates in a current time interval.
When target data to be clustered is received, historical data to be clustered may be actually clustered to a corresponding initial clustering result, and a specific clustering mode is to perform clustering according to a first matching probability between any two pieces of historical data to be clustered, that is, if the first matching probability between two pieces of historical data to be clustered is greater than a preset probability threshold, the two pieces of historical data to be clustered may be clustered to the same initial clustering result, or, if the first matching probabilities between the historical clustering data a and more than half of the historical clustering data in the initial clustering result are greater than the preset probability threshold, the historical clustering data a may be added to the initial clustering result, so as to implement clustering.
Therefore, if the historical data to be clustered is clustered to generate an initial clustering result, the target data to be clustered is clustered on line, that is, whether the target data to be clustered can be clustered to a certain initial clustering result is determined, specifically, a second matching probability between the target data to be clustered and each piece of historical data to be clustered included in any initial clustering result is determined, so as to determine whether the target data to be clustered is added to the initial clustering result or whether the target data to be clustered is clustered to a new initial clustering result, so as to generate an intermediate clustering result.
Or, a class representative object of each initial clustering result may be determined, that is, historical data to be clustered at a central point in each initial clustering result is determined, the historical data to be clustered is used as the class representative object, and then a second matching probability between the target data to be clustered and the class representative object is calculated, so as to determine whether to add the target data to be clustered to the corresponding initial clustering result or re-cluster the target data to be clustered to a new initial clustering result, so as to generate an intermediate clustering result.
For example, the historical data to be clustered includes data 1, data 2, data 3, data 4, and data 5, the target data to be clustered is data 6, data 1, data 2, and data 3 are aggregated to be an initial clustering result J1, and data 4 and data 5 are aggregated to be an initial clustering result J2, when data 6 needs to be clustered, the matching probabilities between data 6 and data 1, data 6 and data 2, data 6 and data 3, data 6 and data 4, and data 6 and data 5 may be calculated first, and whether to cluster data 6 to the initial clustering result J1 or the initial clustering result J2, or cluster data 6 to a new initial clustering result J3 may be determined according to the matching probabilities.
Or, the class representative objects of the initial clustering result J1 and the initial clustering result J2 may be determined first, if the class representative object of the initial clustering result J1 is data 1, and the class representative object of the initial clustering result J2 is data 4, the matching probabilities between data 6 and data 1, data 6 and data 4 may be calculated, and whether to cluster the data 6 to the initial clustering result J1 or the initial clustering result J2, or cluster the data 6 to a new initial clustering result J3 is determined according to the matching probabilities, so as to update the initial clustering result and generate an intermediate clustering result.
The embodiment of the specification does not preset the number of clustering results of data to be clustered, in the clustering process, historical data to be clustered are clustered to generate initial clustering results, and then under the condition that new data to be clustered are existed and online clustering needs to be performed on the new data to be clustered, whether the data to be clustered can be clustered to any initial clustering result can be determined by calculating the matching probability between the data to be clustered and the historical data to be clustered in each initial clustering result, so that the accuracy of the generated clustering results can be ensured.
Wherein updating the initial clustering result according to the second matching probability comprises:
determining a first category corresponding to the target data to be clustered according to the second matching probability;
and updating the initial clustering result according to the first category and a second category corresponding to the initial clustering result.
Specifically, when online clustering is performed on target data to be clustered in the data set to be clustered, an initial category label may be set for the target data to be clustered, then a second matching probability between the target data to be clustered and each historical data to be clustered in each initial clustering result is calculated, and the initial clustering results are updated according to the second matching probability.
In the process of updating the initial clustering result according to the second matching probability, a first category corresponding to the target data to be clustered can be determined according to the following formula:
wherein, i represents the data to be clustered, namely the ith data to be clustered of the target in the data set to be clustered; t represents the number of initial clustering results; j represents target historical data to be clustered, and a second matching probability between the target historical data to be clustered and the target data to be clustered is larger than a preset probability threshold;representing an initial clustering result containing j; KNN (i) is the category of the K neighbor of i, namely the category of the historical data to be clustered of each target;an initial category label for the ith object;a category label of j, i.e., a second category;the category labels representing i and j are consistent;the probability that the class labels of i and j are consistent, namely a second matching probability;the category labels representing i and j are not consistent;representing the probability of the category labels of i and j not being consistent;to representAndthe corresponding weight is consistent and is a constant.
thus, can be concretely、Andand inputting the formula to obtain a first category corresponding to the target data to be clustered.
And then determining whether to cluster the target data to be clustered to a certain initial clustering result or cluster the target data to be clustered to a new initial clustering result by judging whether the first category is consistent with the second category corresponding to each initial clustering result, so as to update the initial clustering result.
In practical application, the second category (category label) corresponding to the initial clustering result may be determined according to the generation sequence of the initial clustering result, for example, if the first initial clustering result is obtained by clustering, the category of the first initial clustering result is category 1, and if the second initial clustering result is obtained by clustering, the category of the second initial clustering result is category 2, and so on. The initial category label is added to the historical data to be clustered, and the initial category label can be realized according to the arrangement sequence of the data in the data set to be clustered, for example, the category of the data 1 is category 1, the category of the data 2 is category 2, and so on.
Along the above example, the data 1, the data 2, and the data 3 are grouped into the initial clustering result J1, the corresponding category label is the category 1, the data 4 and the data 5 are grouped into the initial clustering result J2, and the corresponding category label is the category 2, when the data 6 needs to be clustered, the second matching probabilities between the data 6 and the data 1, between the data 6 and the data 2, between the data 6 and the data 3, between the data 6 and the data 4, and between the data 6 and the data 5 are calculated, and the second matching probabilities between the data 6 and the data 1, between the data 2, and between the data 5 are determined to be greater than the preset probability threshold according to the calculation result, so that the data 1, the data 2, and the data 5 are determined to be the target historical data to be clustered.
Then, a first category of the data 6 can be determined based on the second matching probability between the data 6 and the data 1 and the formula, and if the first category of the data 6 is determined to be the category 1, the data 6 is clustered to an initial clustering result J1; if the first category of the data 6 is determined to be not the category 1, determining the first category of the data 6 based on the second matching probability between the data 6 and the data 2 and the formula, and if the first category of the data 6 is determined to be the category 1, clustering the data 6 to an initial clustering result J1; if the first category of the data 6 is determined to be not the category 1, determining the first category of the data 6 based on the second matching probability between the data 6 and the data 5 and the formula, and if the first category of the data 6 is determined to be the category 2, clustering the data 6 to an initial clustering result J2; if it is determined that the first category of the data 6 is not category 2, then the data 6 is clustered to a new initial clustering result J3.
Or, in order to reduce the clustering complexity, in the embodiment of the present specification, when the second matching probability is calculated, the class representative objects in each initial clustering result may be determined first, then the second matching probability between the target data to be clustered and the class representative objects is calculated, then k neighbor objects of the target data to be clustered are screened from the various representative objects according to the second matching probability, that is, k class representative objects having a second matching probability with the target data to be clustered that is greater than a preset probability threshold are used as neighbor objects of the target data to be clustered, and then the first class corresponding to the target data to be clustered is determined according to the second matching probability between the neighbor objects and the target data to be clustered.
In addition, under the condition that at least two pieces of target data to be clustered exist simultaneously, a second matching probability between any two pieces of target data to be clustered and a second matching probability between the target data to be clustered and various representative objects can be calculated, for any one piece of target data to be clustered, k neighbor objects of the target data to be clustered can be screened from the class representative object and other pieces of target data to be clustered according to the second matching probability between the target data to be clustered and the class representative objects and the second matching probability between the target data to be clustered and other pieces of target data to be clustered, then a first category corresponding to the target data to be clustered is determined according to the second matching probability between the neighbor objects and the target data to be clustered, and a corresponding clustering process is achieved according to the first category.
In the embodiment of the present specification, the number of clustering results of data to be clustered is not preset, and in the process of performing online clustering on new target data to be clustered, whether target data to be clustered can be clustered to any initial clustering result can be determined by calculating the matching probability between the target data to be clustered and historical data to be clustered in each initial clustering result, or by calculating the matching probability between the target data to be clustered and class representative objects in each initial clustering result, which is beneficial to ensuring the accuracy of generated clustering results.
Further, updating the initial clustering result according to the first category and a second category corresponding to the initial clustering result, including:
under the condition that the first category is consistent with a second category corresponding to an initial clustering result, adding the target data to be clustered to the first initial clustering result, wherein the first initial clustering result is one of the initial clustering results;
determining a first class representative object of the first initial clustering result, and determining a third matching probability between the first class representative object and first historical data to be clustered, wherein the first historical data to be clustered belongs to a second initial clustering result, and the second initial clustering result is one of the initial clustering results;
and updating the initial clustering result according to the third matching probability.
Or under the condition that the first category is inconsistent with the second category, clustering second historical data to be clustered in the target data to be clustered and the first initial clustering result to generate a third initial clustering result, wherein a second matching probability between the target data to be clustered and the second historical data to be clustered is greater than a preset probability threshold;
determining a third class representative object of the third initial clustering result, and determining a fourth matching probability between the third class representative object and each historical data to be clustered in the first initial clustering result and/or the second initial clustering result;
and updating the initial clustering result according to the fourth matching probability.
Specifically, clustering historical data to be clustered to generate a first initial clustering result and a second initial clustering result, and clustering the target data to be clustered to the first initial clustering result when the class of the target data to be clustered is determined to be consistent with the class corresponding to the first initial clustering result; and then re-determining a class representative object of the first initial clustering result, and determining whether the historical data to be clustered in the second initial clustering result needs to be clustered to the first initial clustering result under the condition that the target data to be clustered to the first initial clustering result by calculating a third matching probability between the class representative object and each piece of historical data to be clustered in the second initial clustering result, so as to update the initial clustering result.
Or when the category of the target data to be clustered is determined to be inconsistent with the category corresponding to the first initial clustering result, determining historical data to be clustered, of the first initial clustering result, of which the second matching probability with the target data to be clustered is greater than a preset probability threshold, and clustering the historical data to be clustered and the target data to be clustered to a third initial clustering result.
And then, re-determining a class representative object of the third initial clustering result, and determining whether other historical data to be clustered in the first initial clustering result and the second initial clustering result need to be clustered to the third initial clustering result or not under the condition of generating the third initial clustering result by calculating the matching probability between the class representative object and the historical data to be clustered in the first initial clustering result and/or the second initial clustering result so as to update the initial clustering result.
Along the above example, the data 1, the data 2 and the data 3 are aggregated into the initial clustering result J1, the corresponding category label thereof is the category 1, the data 4 and the data 5 are aggregated into the initial clustering result J2, and the corresponding category label thereof is the category 2, when the data 6 needs to be clustered, the second matching probabilities between the data 6 and the data 1, between the data 6 and the data 2, between the data 6 and the data 3, between the data 6 and the data 4, between the data 6 and the data 5 are calculated, and the second matching probabilities between the data 6 and the data 1, between the data 2 and between the data 5 are determined to be greater than the preset probability threshold according to the calculation result, so that the data 1, the data 2 and the data 5 are determined to be the target historical data to be clustered.
Then, a first category of the data 6 can be determined based on the second matching probability between the data 6 and the data 1 and the formula, and if the first category of the data 6 is determined to be the category 1, the data 6 is clustered to an initial clustering result J1; then, the class representative object of the initial clustering result is re-determined, and a third matching probability between the class representative object and the data 4 or the data 5 is calculated to determine whether the data 4 or the data 5 needs to be clustered to the initial clustering result J1 in the case of clustering the data 6 to the initial clustering result J1.
Specifically, under the condition that the third matching probability is greater than the preset probability threshold, the data 4 or the data 4 can be clustered to the initial clustering result J1, so that the initial clustering result is updated.
If it is determined that the first class of the data 6 is not the class 1 and the matching probability between the data 6 and the data 1 is greater than the preset threshold, clustering the data 1 and the data 6 to the initial clustering result J3, then determining a class representative object of the initial clustering result J3, and calculating the matching probability between the class representative object and the data 2, the data 3, the data 4 and the data 5, thereby determining whether the data 2, the data 3, the data 4 and the data 5 need to be clustered to the initial clustering result J3, so as to update the initial clustering result.
In the embodiment of the specification, the number of clustering results of data to be clustered is not preset, and in the process of performing online clustering on new target data to be clustered, the target data to be clustered is clustered according to the category corresponding to the target data to be clustered and the category corresponding to each initial clustering result, so that the initial clustering results are updated, and the accuracy of the clustering results is guaranteed.
And 104, determining an expected value corresponding to each data to be clustered in the intermediate clustering result according to the matching probability between any two data to be clustered in the intermediate clustering result, wherein the expected value comprises a clustering accuracy expected value and/or a clustering splitting degree expected value.
In specific implementation, determining an expected value corresponding to each data to be clustered in the intermediate clustering result according to the matching probability between any two data to be clustered in the intermediate clustering result includes:
determining the matching probability between the ith data to be clustered and each data to be clustered in the target intermediate clustering result, wherein the target intermediate clustering result is any one of the at least two intermediate clustering results;
according to the matching probability, determining a first probability that the ith data to be clustered belongs to the target intermediate clustering result and a second probability that the ith data to be clustered does not belong to the target intermediate clustering result;
under the condition that the ith data to be clustered is divided into the target intermediate clustering results, determining that the ith data to be clustered belongs to first accuracy and first split degree corresponding to the target intermediate clustering results, and determining that the ith data to be clustered does not belong to second accuracy and second split degree corresponding to the target intermediate clustering results;
determining a first clustering accuracy expected value corresponding to the ith data to be clustered based on the first probability, the second probability, the first accuracy and the second accuracy;
and determining a first clustering classification degree expected value corresponding to the ith data to be clustered based on the first probability, the second probability, the first split degree and the second split degree.
Further, under the condition that the ith data to be clustered is not classified into the target intermediate clustering result, determining that the ith data to be clustered belongs to a third accuracy and a third split degree corresponding to the target intermediate clustering result, and determining that the ith data to be clustered does not belong to a fourth accuracy and a fourth split degree corresponding to the target intermediate clustering result;
determining a second clustering accuracy expected value corresponding to the ith data to be clustered based on the first probability, the second probability, the third accuracy and the fourth accuracy;
and determining a second clustering classification degree expected value corresponding to the ith data to be clustered based on the first probability, the second probability, the third division degree and the fourth division degree.
Specifically, after clustering is performed on each data to be clustered to generate at least two intermediate clustering results, the data to be clustered included in the intermediate clustering results can be further adjusted to ensure the accuracy of the clustering results.
For each intermediate clustering result, if the intermediate clustering result contains one or at least two pieces of data to be clustered, determining a clustering accuracy expected value and/or a clustering split degree expected value corresponding to each piece of data to be clustered when the data to be clustered is clustered to the intermediate clustering result, and determining whether the clustering result of the data to be clustered needs to be adjusted or not according to the clustering accuracy expected value and/or the clustering split degree expected value, that is, whether the data to be clustered needs to be adjusted from the intermediate clustering result to other intermediate clustering results or not.
The splitting degree is used for representing data to be clustered belonging to the same category, and the distribution condition of the data to be clustered in different clustering results is that, for example, if the data to be clustered belonging to the same category are all clustered to the same clustering result, namely distributed to the same clustering result, the splitting degree corresponding to each data to be clustered in the category is 1; if the data to be clustered belonging to the same category are clustered to two different clustering results, the corresponding splitting degrees of the data to be clustered in the category are all 2, and so on.
In the embodiment of the present specification, a target intermediate clustering result in at least two intermediate clustering results is taken as an example, and an ith data to be clustered in the target intermediate clustering result is taken as an example, so as to describe an adjustment process of the target intermediate clustering result.
Firstly, determining the matching probability between the ith data to be clustered and each piece of other data to be clustered in the target intermediate clustering result, and then determining the first probability that the ith data to be clustered belongs to the target intermediate clustering result and the second probability that the ith data to be clustered does not belong to the target intermediate clustering result according to the matching probability.
Wherein the first probability p can be calculated by the following formula:
assuming that the target intermediate clustering result includes data 1, data 2, and data 3, the ith data to be clustered is data 1, the matching probability between data 1 and data 2 is 0.6, the mismatching probability between data 1 and data 2 is 0.4, the matching probability between data 1 and data 3 is 0.7, and the mismatching probability between data 1 and data 3 is 0.3, based on this, the first probability that data 1 belongs to the target intermediate clustering result and the second probability that data 2 does not belong to the target intermediate clustering result can be determined by inputting 0.6, 0.4, 0.7, and 0.3 into the above-mentioned calculation formula of the first probability p.
A cluster split expectation value and a cluster accuracy split value may then be calculated based on the first probability and the second probability.
In practical application, if the ith data to be clustered is clustered to a target intermediate clustering result, the probability that the ith data to be clustered belongs to the target intermediate clustering result is p, the corresponding clustering accuracy Z1 is 1.0, and the splitting degree F1 is 1.0; the probability that the ith data to be clustered does not belong to the target intermediate clustering result is 1-p, the corresponding clustering accuracy Z2 is (n-1)/n, and the splitting degree F2 is 1.0.
Based on this, if the i-th data to be clustered is clustered to the target intermediate clustering result, the corresponding first clustering accuracy expected value E1= p × Z1+ (1-p) × Z1= p + (1-p) × (n-1)/n, and the first clustering splitting degree expected value E2= p F1+ (1-p) × F2=1.
If the ith data to be clustered is clustered to a new intermediate clustering result, namely the ith data to be clustered is not divided to a target intermediate clustering result, the probability that the ith data to be clustered belongs to the target intermediate clustering result is p, the corresponding clustering accuracy Z3 is 1.0, and the splitting degree F3 is 2.0; the probability that the ith data to be clustered does not belong to the target intermediate clustering result is 1-p, the corresponding clustering accuracy Z4 is 1, and the splitting degree F4 is 1.0.
Based on this, if the i-th data to be clustered is not clustered to the target intermediate clustering result, the corresponding second clustering accuracy expected value E3= p × Z3+ (1-p) × Z4=1, and the second clustering splitting degree expected value E4= p × F3+ (1-p) × F4=1.
After the clustering accuracy expected value and the clustering classification expected value are obtained through calculation, whether the clustering result of the ith data to be clustered needs to be adjusted or not can be determined according to the values of the clustering accuracy expected value and the clustering classification expected value, and in practical application, if any one of the clustering accuracy expected value and the clustering classification expected value is smaller than a preset threshold value, the ith data to be clustered can be independently formed into a new class, so that each intermediate clustering result can be adjusted, and a corresponding target clustering result can be generated.
And 106, adjusting the intermediate clustering result according to the expected value to generate a corresponding target clustering result.
Specifically, as described above, after the expected value of the clustering accuracy and the expected value of the clustering classification are obtained through calculation, it can be determined whether the clustering result of the ith data to be clustered needs to be adjusted according to the values of the expected value of the clustering accuracy and the expected value of the clustering classification, in practical application, if any one of the expected value of the clustering accuracy and the expected value of the clustering classification is smaller than a preset threshold, the ith data to be clustered can be independently classified into a new class, so that the adjustment of each intermediate clustering result is realized, and a corresponding target clustering result is generated.
In the practical clustering process, the clustering accuracy and the clustering split degree corresponding to the clustering result are always spears, and high clustering accuracy means high clustering split degree.
The embodiment of the specification provides a data aggregationA schematic diagram of the class process is shown in fig. 2. In fig. 2, the historical data to be clustered is the clustered data, the online data is the target data to be clustered, and the online data D is t Or D t+1 In the process of carrying out on-line clustering on the data, firstly carrying out batch clustering, determining class representative objects in each clustering result, then calculating neighbor objects of the class representative objects in the clustered data, carrying out maximum likelihood probability clustering optimization on the class representative objects and the neighbor objects thereof to obtain corresponding probability clustering results, then carrying out resolution decision-making on each probability clustering result after carrying out accuracy evaluation, and updating the clustering results corresponding to the clustered data according to the decision-making results to generate target clustering results.
Specifically, the batch data in the acquired online data can be subjected to batch clustering first, so that the calculation amount of subsequent processing steps is reduced. Each piece of data can be directly used as a class, and the neighbor objects of the data can be directly determined. The clustering mode can use a traditional clustering method and also can use a probability clustering method, and the accuracy is preferentially ensured.
The probability clustering of the embodiment of the specification does not need to specify the category number, and the online clustering result is similar to the maximum likelihood probability target of the full data no matter the size of the batch data under the condition that the batch clustering guarantees high accuracy. In addition, the splitting optimization of the object is carried out through the accuracy estimation of the probability clustering result, and the splitting degree is optimized as much as possible under the requirement of different projects on the category accuracy; and designing an incremental clustering optimization process of the unclassified data and the classified data, ensuring that the calculated amount in the optimization process is related to the unclassified data amount and does not increase along with data accumulation, and ensuring that the incremental clustering effect is close to the full offline clustering effect.
Because the urban brain scene needs to continuously analyze the traffic flow/people flow obtained by the video flow and perform clustering (document aggregation) analysis on the traffic flow/people flow, the delay requirement is at most 1 day, and the shorter the delay is, the better the delay is, if the data clustering method provided by the embodiment of the specification is applied to the urban brain scene, the second-level response can be realized, so that the product has strong competitiveness.
In an embodiment of the present specification, a data set to be clustered is obtained, any two data to be clustered are clustered according to a matching probability between any two data to be clustered in the data set to be clustered, an intermediate clustering result is generated, an expected value corresponding to each data to be clustered in the intermediate clustering result is determined according to the matching probability between any two data to be clustered in the intermediate clustering result, where the expected value includes an expected value of clustering accuracy and/or an expected value of clustering splitting degree, and the intermediate clustering result is adjusted according to the expected value, so as to generate a corresponding target clustering result.
In the process of clustering the data to be clustered, the embodiment of the present specification does not need to specify the number of clustering results, and performs clustering only according to the matching probability among the data to be clustered, and adjusts the clustering results in real time according to the expected value of the clustering accuracy and/or the expected value of the clustering split degree corresponding to the data to be clustered in each clustering result, which is beneficial to ensuring the accuracy of the clustering results.
The following description further describes the data clustering method by taking an application of the data clustering method provided in this specification in an image clustering scene as an example, with reference to fig. 3. Fig. 3 shows a flow chart of a processing procedure of a data clustering method provided in an embodiment of the present specification, which specifically includes the following steps.
And 304, determining a second matching probability among the image set to be clustered, the target image to be clustered and each historical image to be clustered.
And step 306, determining a first category corresponding to the target image to be clustered according to the second matching probability.
And 308, adding the target image to be clustered to the first initial clustering result under the condition that the first category is consistent with the second category corresponding to the first initial clustering result.
And step 312, updating the initial clustering result according to the third matching probability to generate at least two intermediate clustering results.
And step 314, clustering the target image to be clustered and the second historical image to be clustered in the first initial clustering result to generate a third initial clustering result under the condition that the first category is inconsistent with the second category, wherein the second matching probability between the target image to be clustered and the second historical image to be clustered is greater than a preset probability threshold.
And step 316, determining a third class representative object of the third initial clustering result, and determining a fourth matching probability between the third class representative object and each historical data to be clustered in the first initial clustering result and/or the second initial clustering result.
And step 318, updating the initial clustering result according to the fourth matching probability to generate at least two intermediate clustering results.
And 320, determining a clustering accuracy expected value and/or a clustering splitting degree expected value corresponding to each image to be clustered in each intermediate clustering result according to the matching probability between any two images to be clustered in each intermediate clustering result.
And 322, adjusting each intermediate clustering result according to the clustering accuracy expected value and/or the clustering split degree expected value to generate a corresponding target clustering result.
In the process of clustering the images to be clustered, the embodiment of the present specification does not need to specify the number of clustering results, and only clusters the images to be clustered according to the matching probability among the images to be clustered, and adjusts the clustering results according to the expected value of the clustering accuracy and/or the expected value of the clustering split degree corresponding to the images to be clustered in each clustering result in real time, which is beneficial to ensuring the accuracy of the clustering results.
Corresponding to the above method embodiment, the present specification further provides an embodiment of a data clustering device, and fig. 4 shows a schematic structural diagram of a data clustering device provided in an embodiment of the present specification. As shown in fig. 4, the apparatus includes:
an obtaining module 402, configured to obtain a data set to be clustered, and perform clustering processing on any two data to be clustered in the data set to be clustered according to a matching probability between the any two data to be clustered, so as to generate an intermediate clustering result;
a determining module 404, configured to determine, according to a matching probability between any two pieces of data to be clustered in the intermediate clustering result, an expected value corresponding to each piece of data to be clustered in the intermediate clustering result, where the expected value includes an expected value of clustering accuracy and/or an expected value of clustering splitting degree;
and the adjusting module 406 is configured to adjust the intermediate clustering result according to the expected value, so as to generate a corresponding target clustering result.
Optionally, the obtaining module 402 is further configured to:
performing feature extraction processing on at least two data to be clustered contained in the data set to be clustered to generate corresponding feature extraction results;
determining the matching probability between any two data to be clustered in the at least two data to be clustered based on the feature extraction result;
and clustering the at least two data to be clustered according to the matching probability.
Optionally, the obtaining module 402 is further configured to:
determining a target Euclidean distance between any two pieces of data to be clustered in the at least two pieces of data to be clustered based on the feature extraction result;
and determining a target matching probability having a mapping relation with the target Euclidean distance according to a mapping relation between a preset Euclidean distance and the matching probability, and determining the target matching probability as the matching probability between any two data to be clustered in the at least two data to be clustered.
Optionally, the obtaining module 402 is further configured to:
according to a first matching probability between any two pieces of historical data to be clustered in the data set to be clustered, clustering any two pieces of historical data to be clustered to generate an initial clustering result;
determining a second matching probability between the target data to be clustered and each historical data to be clustered in the data set to be clustered;
and updating the initial clustering result according to the second matching probability to generate an intermediate clustering result.
Optionally, the obtaining module 402 is further configured to:
determining a first category corresponding to the target data to be clustered according to the second matching probability;
and updating the initial clustering result according to the first category and the second category corresponding to the initial clustering result.
Optionally, the obtaining module 402 is further configured to:
adding the target data to be clustered to a first initial clustering result under the condition that the first category is consistent with a second category corresponding to the first initial clustering result, wherein the first initial clustering result is one of the initial clustering results;
determining a first class representative object of the first initial clustering result, and determining a third matching probability between the first class representative object and first historical data to be clustered, wherein the first historical data to be clustered belongs to a second initial clustering result, and the second initial clustering result is one of the initial clustering results;
and updating the initial clustering result according to the third matching probability.
Optionally, the obtaining module 402 is further configured to:
under the condition that the first category is inconsistent with the second category, clustering second historical data to be clustered in the target data to be clustered and the first initial clustering result to generate a third initial clustering result, wherein a second matching probability between the target data to be clustered and the second historical data to be clustered is greater than a preset probability threshold;
determining a third class representative object of the third initial clustering result, and determining a fourth matching probability between the third class representative object and each historical data to be clustered in the first initial clustering result and/or the second initial clustering result;
and updating the initial clustering result according to the fourth matching probability.
Optionally, the determining module 404 is further configured to:
determining the matching probability between the ith data to be clustered and each data to be clustered in the target intermediate clustering results, wherein the target intermediate clustering results are any one of the intermediate clustering results;
according to the matching probability, determining a first probability that the ith data to be clustered belongs to the target intermediate clustering result and a second probability that the ith data to be clustered does not belong to the target intermediate clustering result;
under the condition that the ith data to be clustered is divided into the target intermediate clustering results, determining that the ith data to be clustered belongs to first accuracy and first split degree corresponding to the target intermediate clustering results, and determining that the ith data to be clustered does not belong to second accuracy and second split degree corresponding to the target intermediate clustering results;
determining a first clustering accuracy expected value corresponding to the ith data to be clustered based on the first probability, the second probability, the first accuracy and the second accuracy;
and determining a first clustering classification degree expected value corresponding to the ith data to be clustered based on the first probability, the second probability, the first split degree and the second split degree.
Optionally, the determining module 404 is further configured to:
under the condition that the ith data to be clustered is not divided into the target intermediate clustering results, determining that the ith data to be clustered belongs to a third accuracy and a third split degree corresponding to the target intermediate clustering results, and determining that the ith data to be clustered does not belong to a fourth accuracy and a fourth split degree corresponding to the target intermediate clustering results;
determining a second clustering accuracy expected value corresponding to the ith data to be clustered based on the first probability, the second probability, the third accuracy and the fourth accuracy;
and determining a second clustering classification degree expected value corresponding to the ith data to be clustered based on the first probability, the second probability, the third division degree and the fourth division degree.
Optionally, the data set to be clustered includes an image set to be clustered.
The foregoing is a schematic scheme of a data clustering apparatus according to this embodiment. It should be noted that the technical solution of the data clustering device and the technical solution of the data clustering method belong to the same concept, and details that are not described in detail in the technical solution of the data clustering device can be referred to the description of the technical solution of the data clustering method.
Fig. 5 is a flowchart illustrating an image clustering method according to an embodiment of the present disclosure, which specifically includes the following steps.
And 506, adjusting the intermediate clustering result according to the expected value to generate a corresponding target clustering result.
In the process of clustering the images to be clustered, the embodiment of the present specification does not need to specify the number of clustering results, and only clusters the images to be clustered according to the matching probability among the images to be clustered, and adjusts the clustering results according to the expected value of the clustering accuracy and/or the expected value of the clustering split degree corresponding to the images to be clustered in each clustering result in real time, which is beneficial to ensuring the accuracy of the clustering results.
Corresponding to the above method embodiment, the present specification further provides an image clustering device embodiment, and fig. 6 shows a schematic structural diagram of an image clustering device provided in an embodiment of the present specification. As shown in fig. 6, the apparatus includes:
the clustering module 602 is configured to acquire an image set to be clustered, perform clustering processing on any two images to be clustered according to the matching probability between any two images to be clustered in the image set to be clustered, and generate an intermediate clustering result;
the determining module 604 is configured to determine an expected value corresponding to each image to be clustered in the intermediate clustering result according to a matching probability between any two images to be clustered in the intermediate clustering result, where the expected value includes a clustering accuracy expected value and/or a clustering splitting degree expected value;
a generating module 606 configured to adjust the intermediate clustering result according to the expected value, and generate a corresponding target clustering result.
The above is a schematic scheme of an image clustering apparatus of this embodiment. It should be noted that the technical solution of the image clustering apparatus and the technical solution of the image clustering method belong to the same concept, and details that are not described in detail in the technical solution of the image clustering apparatus can be referred to the description of the technical solution of the image clustering method.
Fig. 7 is a flowchart illustrating a vehicle image processing method according to an embodiment of the present disclosure, which includes the following steps.
Step 708, determining the motion track of the target vehicle according to the target clustering result of the vehicle image to be clustered, which contains the target vehicle.
Specifically, the vehicle image processing method provided in the embodiments of the present specification is applied to a vehicle track identification scene, and a specific implementation process of clustering a vehicle image set to be clustered to generate a target clustering result is similar to an implementation process of clustering data to be clustered in a data set to be clustered to generate a target clustering result in the aforementioned data clustering method, and is not described herein again.
After the vehicle images to be clustered are clustered to generate target clustering results, the target clustering results of the vehicle images to be clustered containing the target vehicles can be determined, and the motion tracks of the target vehicles are comprehensively determined by combining the space-time information according to the vehicle images to be clustered of the target vehicles in the target clustering results.
In the vehicle image processing method provided by the embodiment of the description, in the process of clustering the vehicle images to be clustered, the number of clustering results does not need to be specified, clustering is performed only according to the matching probability among the vehicle images to be clustered, and the clustering results are adjusted in real time according to the clustering accuracy expected values and/or the clustering split degree expected values corresponding to the vehicle images to be clustered in the clustering results, so that the accuracy of the clustering results is favorably ensured, and the accuracy of target vehicle track reduction is favorably improved.
The foregoing is a schematic arrangement of a vehicle image processing method of the present embodiment. It should be noted that the technical solution of the vehicle image processing method and the technical solution of the image clustering method belong to the same concept, and details that are not described in detail in the technical solution of the vehicle image processing method can be referred to the description of the technical solution of the image clustering method.
Corresponding to the above method embodiment, the present specification further provides a vehicle image processing apparatus embodiment, and fig. 8 shows a schematic structural diagram of a vehicle image processing apparatus provided in an embodiment of the present specification. As shown in fig. 8, the apparatus includes:
the obtaining module 802 is configured to obtain a vehicle image set to be clustered, and perform clustering processing on any two vehicle images to be clustered according to a matching probability between any two vehicle images to be clustered in the vehicle image set to be clustered, so as to generate an intermediate clustering result;
the first determining module 804 is configured to determine an expected value corresponding to each vehicle image to be clustered in the intermediate clustering result according to the matching probability between any two vehicle images to be clustered in the intermediate clustering result, wherein the expected value includes a clustering accuracy expected value and/or a clustering splitting degree expected value;
an adjusting module 806, configured to adjust the intermediate clustering result according to the expected value, and generate a corresponding target clustering result;
a second determining module 808 configured to determine a motion trajectory of the target vehicle according to a target clustering result including a to-be-clustered vehicle image of the target vehicle.
The foregoing is a schematic arrangement of a vehicular image processing apparatus of the present embodiment. It should be noted that the technical solution of the vehicle image processing apparatus belongs to the same concept as the technical solution of the vehicle image processing method, and details that are not described in detail in the technical solution of the vehicle image processing apparatus can be referred to the description of the technical solution of the vehicle image processing method.
FIG. 9 illustrates a block diagram of a computing device 900 provided in accordance with one embodiment of the present specification. Components of the computing device 900 include, but are not limited to, a memory 910 and a processor 920. The processor 920 is coupled to the memory 910 via a bus 930, and a database 950 is used to store data.
Computing device 900 also includes access device 940, access device 940 enabling computing device 900 to communicate via one or more networks 960. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 940 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 900, as well as other components not shown in FIG. 9, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 9 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 900 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 900 may also be a mobile or stationary server.
Wherein the processor 920 is configured to execute computer-executable instructions that, when executed by the processor, implement the steps of the data clustering method, the image clustering method, or the vehicle image processing method.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device belongs to the same concept as the technical solution of the data clustering method, the image clustering method, or the vehicle image processing method, and details of the technical solution of the computing device, which are not described in detail, can be referred to the description of the technical solution of the data clustering method, the image clustering method, or the vehicle image processing method.
An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the data clustering method, the image clustering method, or the vehicle image processing method.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the data clustering method, the image clustering method or the vehicle image processing method belong to the same concept, and details of the technical solution of the storage medium, which are not described in detail, can be referred to the description of the technical solution of the data clustering method, the image clustering method or the vehicle image processing method.
An embodiment of the present specification also provides a computer program, wherein when the computer program is executed in a computer, the computer program causes the computer to execute the steps of the above-described data clustering method, the above-described image clustering method, or the above-described vehicle image processing method.
The above is a schematic scheme of a computer program of the present embodiment. It should be noted that the technical solution of the computer program is the same as the technical solution of the data clustering method, the image clustering method, or the vehicle image processing method, and details of the technical solution of the computer program, which are not described in detail, can be referred to the description of the technical solution of the data clustering method, the image clustering method, or the vehicle image processing method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of combinations of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the embodiments. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for an embodiment of the specification.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the teaching of the embodiments of the present disclosure. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, to thereby enable others skilled in the art to best understand and utilize the embodiments. The specification is limited only by the claims and their full scope and equivalents.
Claims (8)
1. A vehicle image processing method, comprising:
acquiring a vehicle image set to be clustered, and clustering any two historical vehicle images to be clustered according to a first matching probability between any two historical vehicle images to be clustered in the vehicle image set to be clustered to generate an initial clustering result;
determining a second matching probability among the vehicle image set to be clustered, the target vehicle image to be clustered and each historical vehicle image to be clustered, updating the initial clustering result according to the second matching probability, and generating an intermediate clustering result;
determining the matching probability between the ith vehicle image to be clustered and each vehicle image to be clustered in the target intermediate clustering results, wherein the target intermediate clustering results are any one of the intermediate clustering results;
according to the matching probability, determining a first probability that the ith vehicle image to be clustered belongs to the target intermediate clustering result and a second probability that the ith vehicle image to be clustered does not belong to the target intermediate clustering result;
under the condition that the ith vehicle image to be clustered is divided into the target intermediate clustering results, determining first accuracy and first split degree corresponding to the fact that the ith vehicle image to be clustered belongs to the target intermediate clustering results, and determining second accuracy and second split degree corresponding to the fact that the ith vehicle image to be clustered does not belong to the target intermediate clustering results;
determining a first clustering accuracy expected value corresponding to the ith vehicle image to be clustered based on the first probability, the second probability, the first accuracy and the second accuracy;
determining a first cluster classification degree expected value corresponding to the ith vehicle image to be clustered based on the first probability, the second probability, the first split degree and the second split degree;
under the condition that the ith vehicle image to be clustered is not divided into the target intermediate clustering results, determining that the ith vehicle image to be clustered belongs to a third accuracy and a third split degree corresponding to the target intermediate clustering results, and determining that the ith vehicle image to be clustered does not belong to a fourth accuracy and a fourth split degree corresponding to the target intermediate clustering results;
determining a second clustering accuracy expected value corresponding to the ith vehicle image to be clustered based on the first probability, the second probability, the third accuracy and the fourth accuracy;
determining a second clustering classification degree expected value corresponding to the ith vehicle image to be clustered based on the first probability, the second probability, the third division degree and the fourth division degree;
adjusting the middle clustering result according to the first clustering accuracy expected value, the first clustering classification degree expected value, the second clustering accuracy expected value and the second clustering classification degree expected value to generate a corresponding target clustering result;
and determining the motion track of the target vehicle according to a target clustering result of the to-be-clustered vehicle image containing the target vehicle.
2. The vehicle image processing method according to claim 1, further comprising:
performing feature extraction processing on at least two vehicle images to be clustered in the vehicle image set to be clustered to generate corresponding feature extraction results;
determining the matching probability between any two vehicle images to be clustered in the at least two vehicle images to be clustered based on the feature extraction result;
and clustering the at least two vehicle images to be clustered according to the matching probability.
3. The vehicle image processing method according to claim 2, wherein the determining of the matching probability between any two vehicle images to be clustered in the at least two vehicle images to be clustered based on the feature extraction result comprises:
determining a target Euclidean distance between any two vehicle images to be clustered in the at least two vehicle images to be clustered based on the feature extraction result;
and determining a target matching probability having a mapping relation with the target Euclidean distance according to a mapping relation between a preset Euclidean distance and the matching probability, and determining the target matching probability as the matching probability between any two vehicle images to be clustered in the at least two vehicle images to be clustered.
4. The vehicle image processing method according to claim 1, wherein the updating the initial clustering result according to the second matching probability comprises:
determining a first category corresponding to the target vehicle image to be clustered according to the second matching probability;
and updating the initial clustering result according to the first category and a second category corresponding to the initial clustering result.
5. The vehicle image processing method according to claim 4, wherein the updating the initial clustering result according to the first category and a second category corresponding to the initial clustering result comprises:
under the condition that the first category is consistent with a second category corresponding to a first initial clustering result, adding the target vehicle image to be clustered to the first initial clustering result, wherein the first initial clustering result is one of the initial clustering results;
determining a first class representative object of the first initial clustering result, and determining a third matching probability between the first class representative object and a first historical vehicle image to be clustered, wherein the first historical vehicle image to be clustered belongs to a second initial clustering result, and the second initial clustering result is one of the initial clustering results;
and updating the initial clustering result according to the third matching probability.
6. The vehicle image processing method according to claim 4 or 5, wherein the updating the initial clustering result according to the first category and the second category corresponding to the initial clustering result comprises:
under the condition that the first category is inconsistent with the second category, clustering the target vehicle images to be clustered and second historical vehicle images to be clustered in the first initial clustering result to generate a third initial clustering result, wherein a second matching probability between the target vehicle images to be clustered and the second historical vehicle images to be clustered is greater than a preset probability threshold;
determining a third class representative object of the third initial clustering result, and determining a fourth matching probability between the third class representative object and each historical vehicle image to be clustered in the first initial clustering result and/or the second initial clustering result;
and updating the initial clustering result according to the fourth matching probability.
7. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions for execution by the processor, which when executed by the processor implement the steps of the vehicle image processing method of any one of claims 1 to 6.
8. A computer readable storage medium storing computer executable instructions which, when executed by a processor, carry out the steps of the vehicle image processing method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210946778.6A CN115019078B (en) | 2022-08-09 | 2022-08-09 | Vehicle image processing method, computing device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210946778.6A CN115019078B (en) | 2022-08-09 | 2022-08-09 | Vehicle image processing method, computing device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115019078A CN115019078A (en) | 2022-09-06 |
CN115019078B true CN115019078B (en) | 2023-01-24 |
Family
ID=83065222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210946778.6A Active CN115019078B (en) | 2022-08-09 | 2022-08-09 | Vehicle image processing method, computing device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115019078B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106682915A (en) * | 2016-12-25 | 2017-05-17 | 东北电力大学 | User cluster analysis method in customer care system |
CN107832791A (en) * | 2017-11-06 | 2018-03-23 | 辽宁工程技术大学 | A kind of Subspace clustering method based on the analysis of higher-dimension overlapped data |
TW201816684A (en) * | 2016-07-18 | 2018-05-01 | 阿里巴巴集團服務有限公司 | Method, device and system for presenting clustering data table |
KR101941854B1 (en) * | 2018-11-08 | 2019-01-24 | 문경훈 | System and method of estimating load with null data correction |
CN109598278A (en) * | 2018-09-20 | 2019-04-09 | 阿里巴巴集团控股有限公司 | Clustering processing method, apparatus, electronic equipment and computer readable storage medium |
CN110866555A (en) * | 2019-11-11 | 2020-03-06 | 广州国音智能科技有限公司 | Incremental data clustering method, device and equipment and readable storage medium |
CN110928957A (en) * | 2018-09-20 | 2020-03-27 | 阿里巴巴集团控股有限公司 | Data clustering method and device |
CN111984654A (en) * | 2020-08-31 | 2020-11-24 | 平安医疗健康管理股份有限公司 | Method and device for standardized storage of medical insurance data and computer equipment |
JP2021018678A (en) * | 2019-07-22 | 2021-02-15 | 株式会社Preferred Networks | Training method, training device, clustering method, clustering device, clustering model generation method, program and computer readable storage medium |
CN112800253A (en) * | 2021-04-09 | 2021-05-14 | 腾讯科技(深圳)有限公司 | Data clustering method, related device and storage medium |
CN112925990A (en) * | 2021-02-26 | 2021-06-08 | 上海哔哩哔哩科技有限公司 | Target group classification method and device |
CN113516328A (en) * | 2020-07-13 | 2021-10-19 | 阿里巴巴集团控股有限公司 | Data processing method, service providing method, device, equipment and storage medium |
CN114255360A (en) * | 2020-09-24 | 2022-03-29 | 阿里巴巴集团控股有限公司 | Image clustering method and device and computer storage medium |
CN114330584A (en) * | 2021-12-31 | 2022-04-12 | 北京明朝万达科技股份有限公司 | Data clustering method and device, storage medium and electronic equipment |
CN114357263A (en) * | 2021-12-10 | 2022-04-15 | 阿里巴巴(中国)有限公司 | Method and device for processing multi-modal information of target object and storage medium |
CN114416786A (en) * | 2021-12-08 | 2022-04-29 | 阿里巴巴(中国)有限公司 | Stream data processing method and device, storage medium and computer equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US12014535B2 (en) * | 2019-03-19 | 2024-06-18 | Nec Corporation | System, client apparatus, data processing method, computer program and recording medium |
CN112101374B (en) * | 2020-08-01 | 2022-05-24 | 西南交通大学 | Unmanned aerial vehicle obstacle detection method based on SURF feature detection and ISODATA clustering algorithm |
CN112990360A (en) * | 2021-04-19 | 2021-06-18 | 河海大学 | Online booking vehicle-mounted passenger characteristic analysis method based on K-means |
-
2022
- 2022-08-09 CN CN202210946778.6A patent/CN115019078B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201816684A (en) * | 2016-07-18 | 2018-05-01 | 阿里巴巴集團服務有限公司 | Method, device and system for presenting clustering data table |
CN106682915A (en) * | 2016-12-25 | 2017-05-17 | 东北电力大学 | User cluster analysis method in customer care system |
CN107832791A (en) * | 2017-11-06 | 2018-03-23 | 辽宁工程技术大学 | A kind of Subspace clustering method based on the analysis of higher-dimension overlapped data |
CN110928957A (en) * | 2018-09-20 | 2020-03-27 | 阿里巴巴集团控股有限公司 | Data clustering method and device |
CN109598278A (en) * | 2018-09-20 | 2019-04-09 | 阿里巴巴集团控股有限公司 | Clustering processing method, apparatus, electronic equipment and computer readable storage medium |
KR101941854B1 (en) * | 2018-11-08 | 2019-01-24 | 문경훈 | System and method of estimating load with null data correction |
JP2021018678A (en) * | 2019-07-22 | 2021-02-15 | 株式会社Preferred Networks | Training method, training device, clustering method, clustering device, clustering model generation method, program and computer readable storage medium |
CN110866555A (en) * | 2019-11-11 | 2020-03-06 | 广州国音智能科技有限公司 | Incremental data clustering method, device and equipment and readable storage medium |
CN113516328A (en) * | 2020-07-13 | 2021-10-19 | 阿里巴巴集团控股有限公司 | Data processing method, service providing method, device, equipment and storage medium |
CN111984654A (en) * | 2020-08-31 | 2020-11-24 | 平安医疗健康管理股份有限公司 | Method and device for standardized storage of medical insurance data and computer equipment |
CN114255360A (en) * | 2020-09-24 | 2022-03-29 | 阿里巴巴集团控股有限公司 | Image clustering method and device and computer storage medium |
CN112925990A (en) * | 2021-02-26 | 2021-06-08 | 上海哔哩哔哩科技有限公司 | Target group classification method and device |
CN112800253A (en) * | 2021-04-09 | 2021-05-14 | 腾讯科技(深圳)有限公司 | Data clustering method, related device and storage medium |
CN114416786A (en) * | 2021-12-08 | 2022-04-29 | 阿里巴巴(中国)有限公司 | Stream data processing method and device, storage medium and computer equipment |
CN114357263A (en) * | 2021-12-10 | 2022-04-15 | 阿里巴巴(中国)有限公司 | Method and device for processing multi-modal information of target object and storage medium |
CN114330584A (en) * | 2021-12-31 | 2022-04-12 | 北京明朝万达科技股份有限公司 | Data clustering method and device, storage medium and electronic equipment |
Non-Patent Citations (6)
Title |
---|
A Review of Tracking and Trajectory Prediction Methods for Autonomous Driving;Florin Leon 等;《Mathematics 2021》;20211231;第9卷(第660期);1-37 * |
Remote Sensing Satellite Image Clustering by Means of Messy Genetic Algorithm;Kohei Arai;《(IJACSA) International Journal of Advanced Computer Science and Applications》;20201231;第11卷(第3期);309-314 * |
Temporal Unknown Incremental Clustering Model for Analysis of Traffic Surveillance Videos;Kelathodi Kumaran Santhosh 等;《IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS》;20190531;第20卷(第5期);1762-1773 * |
基于属性值集中度的分类数据聚类有效性内部评价指标;傅立伟 等;《工程科学学报》;20190531;第41卷(第5期);682-693 * |
基于聚类模型的城市交通状况挖掘和目的地预测;曾巧巧;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑(月刊)》;20210215;第2021年卷(第02期);C034-1102 * |
拓展差异度的高维数据聚类算法;武森 等;《计算机工程与应用》;20201231;第56卷(第23期);38-44 * |
Also Published As
Publication number | Publication date |
---|---|
CN115019078A (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3709184B1 (en) | Sample set processing method and apparatus, and sample querying method and apparatus | |
Haeusser et al. | Associative domain adaptation | |
Chen et al. | Deep cross-modality adaptation via semantics preserving adversarial learning for sketch-based 3d shape retrieval | |
CN109446889B (en) | Object tracking method and device based on twin matching network | |
CN109117781B (en) | Multi-attribute identification model establishing method and device and multi-attribute identification method | |
CN112348081B (en) | Migration learning method for image classification, related device and storage medium | |
Deng et al. | Strongly augmented contrastive clustering | |
CN113435509B (en) | Small sample scene classification and identification method and system based on meta-learning | |
US20210201090A1 (en) | Method and apparatus for image processing and image classification | |
Guo et al. | Distributed and efficient object detection via interactions among devices, edge, and cloud | |
WO2022121447A1 (en) | Method and apparatus for constructing background audio | |
JP2012038244A (en) | Learning model creation program, image identification information giving program, learning model creation device, image identification information giving device | |
CN110636445A (en) | WIFI-based indoor positioning method, device, equipment and medium | |
CN112668482A (en) | Face recognition training method and device, computer equipment and storage medium | |
CN112668718B (en) | Neural network training method, device, electronic equipment and storage medium | |
US20230410465A1 (en) | Real time salient object detection in images and videos | |
CN115019078B (en) | Vehicle image processing method, computing device and storage medium | |
WO2020170803A1 (en) | Augmentation device, augmentation method, and augmentation program | |
CN115797642B (en) | Self-adaptive image semantic segmentation algorithm based on consistency regularization and semi-supervision field | |
CN116541712A (en) | Federal modeling method and system based on non-independent co-distributed data | |
CN115908882A (en) | Picture clustering method and device | |
CN116541592A (en) | Vector generation method, information recommendation method, device, equipment and medium | |
CN113315914B (en) | Panoramic video data processing method and device | |
CN115640401A (en) | Text content extraction method and device | |
CN112990377B (en) | Visual category discovery method and device, electronic equipment and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |