Microbial detection methods, systems, equipment and media based on image analysis
Through image analysis and growth model comparison, it solves the problems of long culture cycle and complex bacterial flora in microbial detection, achieves rapid and accurate microbial identification, and is suitable for pathogen identification in the field of medical diagnosis.
Patent Information
- Application Number
- CN202410745177.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-11
AI Technical Summary
Existing microbial detection technologies suffer from problems such as long microbial culture cycles and complex bacterial flora, resulting in inaccurate and low-efficiency detection. Especially in the field of medical diagnosis, there is an urgent need for rapid and effective identification of pathogens.
The microbial detection method based on image analysis is adopted to collect culture information, perform image analysis and data processing, obtain the growth model of the strain type, and search for similar models in the preset database for qualitative detection to achieve rapid identification.
It improves the automation and accuracy of microbial detection, reduces human errors, achieves fast and accurate microbial identification, can repeat tests without destroying samples, and is suitable for rapid identification of complex bacterial groups.
Smart Images

Figure CN118314411B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of image processing technology, and in particular to a microbial detection method, system, device and medium based on image analysis. Background Art
[0002] Today, “identification” of microorganisms refers to their classification using a taxonomic system: domain (eukaryotes, prokaryotes, and archaea), kingdom (plants, animals, fungi), phylum, class, order, family, genus, species, and subspecies.
[0003] Existing microbial identification techniques, especially mass spectrometry, have proven to be efficient and accurate. Especially for bacteria, protozoa, microalgae, and undifferentiated fungal cells such as yeast, this method can accurately locate microorganisms to the genus, species, and even subspecies level by analyzing the mass and abundance of soluble proteins in the microbial mass spectrum. Identifying different subspecies is particularly important, for example, when they have different pathogenicity. This technology can provide fast and accurate results.
[0004] However, the traditional microbial culture cycle is usually long, and it is usually time-consuming to separate pure microorganisms from complex flora and identify them. In the field of medical diagnosis, for infectious diseases, especially blood infections and spinal canal infections, rapid and effective identification of pathogens is urgently needed because it involves life and health and even life-saving issues. In addition, existing technologies often require a high level of professional skills and knowledge during operation, and also have certain limitations in real-time monitoring of culture progress and data processing. Summary of the invention
[0005] One purpose of the embodiments of the present application is to provide a microbial detection method, system, equipment and medium based on image analysis to solve the technical problems of inaccurate and low-efficiency detection caused by long microbial culture cycle and complex bacterial community composition during microbial detection.
[0006] In a first aspect, a method for detecting microorganisms based on image analysis is provided, comprising:
[0007] Collecting culture information of the culture to be tested within a preset period, wherein the culture information includes image information and growth cycle data;
[0008] Performing image analysis on the culture information to obtain at least one strain type in the culture to be tested;
[0009] Obtaining subculture information corresponding to each strain type in the at least one strain type;
[0010] Performing data processing on the sub-culture information corresponding to the at least one strain type to obtain a growth model corresponding to each strain type in the at least one strain type;
[0011] Using the growth model as a query identifier, searching in a preset microbial growth model database to obtain a target growth model similar to the growth model, wherein the target growth model is a subclass model of the at least one strain type;
[0012] According to the similarity between the growth model and the target growth model, the at least one strain type is qualitatively detected in turn.
[0013] In combination with the first aspect, in a possible implementation method, the obtaining of sub-culture information corresponding to each strain type in the at least one strain type includes: grayscale processing the image information in the culture information of the culture to be tested to obtain a first grayscale image; filtering the first grayscale image to obtain a second grayscale image; clustering the second grayscale image to obtain sub-image information of each strain type in the at least one strain type; and respectively combining the sub-image information of each strain type with the corresponding growth cycle data to obtain the sub-culture information corresponding to each strain type.
[0014] It can be seen that this method can extract sub-image information and growth cycle data of each strain type from the original culture information, improve the automation of microbial detection, and enhance the accuracy and efficiency of detection.
[0015] In combination with the first aspect, in a possible implementation method, the data processing of the sub-culture information corresponding to the at least one strain type to obtain the growth model corresponding to each strain type in the at least one strain type includes: performing data preprocessing on the sub-culture information corresponding to each strain type in the at least one strain type to obtain processed sub-culture information; extracting feature information from the processed sub-culture information; and using the feature information as input, training based on a preset wavelet neural network to obtain the growth model corresponding to each strain type in the at least one strain type.
[0016] It can be seen that this method can obtain a growth model with predictive ability and accurate description of strain behavior through refined processing and model training of sub-culture information corresponding to each strain type, which helps to improve the accuracy and reliability of microbial detection and analysis.
[0017] In combination with the first aspect, in a possible implementation, the growth model is used as a query identifier, and a search is performed in a preset microbial growth model database to obtain a target growth model similar to the growth model, and the target growth model is a subclass model of the at least one strain type, including: taking the growth model corresponding to each strain type as a query identifier, searching in a preset microbial growth model database to obtain a target growth model, the number of the target growth models is consistent with the number of strain types, and the target growth model is a subclass model of the at least one strain type.
[0018] It can be seen that this method uses the growth model as a query identifier to find a target growth model similar to the query model in the preset microbial growth model database, thereby achieving the classification and identification of strains. This method helps to improve the accuracy and reliability of microbial detection and analysis.
[0019] In combination with the first aspect, in a possible implementation method, the qualitative detection of the at least one strain type is performed in turn according to the similarity between the growth model and the target growth model, including: in the preset period, the similarity between the growth model and the target growth model is calculated according to a preset similarity formula to obtain a first similarity; when it is detected that the first similarity is greater than a preset similarity threshold, determining that the current growth model is the growth model to be detected; obtaining the strain type corresponding to the growth model to be detected; and performing qualitative detection on the strain type corresponding to the growth model to be detected.
[0020] It can be seen that this method can effectively identify strain types similar to the target model and conduct qualitative analysis by accurately calculating and comparing the similarity of the growth model, thereby improving the accuracy and reliability of microbial detection and analysis.
[0021] In combination with the first aspect, in a possible implementation manner, the preset similarity formula is:
[0022] ;
[0023] in, represents the similarity, m is the target growth model, n is the growth model, represents the color mean, represents the particle size variance, represents the granularity covariance, represents the color mean of the target growth model, represents the color mean of the growth model, represents the granularity of the target growth model, represents the granularity of the growth model, Indicates a very small parameter.
[0024] In combination with the first aspect, in a possible implementation, after the qualitative detection of the strain type corresponding to the growth model to be detected, the method also includes: during the preset period, continuously monitoring the strain type that has not been qualitatively detected in the at least one strain type.
[0025] It can be seen that this method can be used to continuously monitor and qualitatively detect strain types.
[0026] In a second aspect, a microorganism detection system based on image analysis is provided, the system comprising:
[0027] A collection unit is used to collect culture information of the culture to be tested within a preset period, wherein the culture information includes image information and growth cycle data; the microbial growth cycle data includes: culture time, temperature, humidity, colony position, colony morphology, and light source;
[0028] An analysis unit, used for performing image analysis on the culture information to obtain at least one strain type in the culture to be tested;
[0029] an acquisition unit, configured to acquire subculture information corresponding to each strain type in the at least one strain type;
[0030] a processing unit, configured to perform data processing on the sub-culture information corresponding to the at least one strain type, and obtain a growth model corresponding to each strain type in the at least one strain type;
[0031] A query unit, configured to use the growth model as a query identifier, search in a preset microbial growth model database, and obtain a target growth model similar to the growth model, wherein the target growth model is a subclass model of the at least one strain type;
[0032] A detection unit is used to perform qualitative detection on the at least one strain type in sequence according to the similarity between the growth model and the target growth model.
[0033] In a third aspect, an embodiment of the present invention provides a computer device, including:
[0034] at least one processor; and,
[0035] a memory communicatively connected to the at least one processor; wherein,
[0036] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to the first aspect.
[0037] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method as described in the first aspect.
[0038] In the scheme implemented by the above-mentioned image analysis-based microbial detection method, system, and computer device, first, within a preset period, the culture information of the culture to be tested is collected, and the culture information includes image information and growth cycle data. Secondly, the culture information is image analyzed to obtain at least one strain type in the culture to be tested, and the sub-culture information corresponding to each strain type in the at least one strain type is obtained. Then, the sub-culture information corresponding to the at least one strain type is data processed to obtain the growth model corresponding to each strain type in the at least one strain type. Then, the growth model is used as a query identifier to search in a preset microbial growth model database to obtain a target growth model similar to the growth model, and the target growth model is a sub-class model in the at least one strain type. Finally, according to the similarity between the growth model and the target growth model, the at least one strain type is qualitatively detected in turn. The strain type and subculture information obtained by this method through image analysis method is more accurate than traditional methods, which helps to reduce human errors and improve the accuracy of strain identification and analysis. Image analysis is a non-destructive test and can be tested repeatedly without affecting the sample, retaining the culture for subsequent experimental analysis. Further, the obtained growth model is compared with the microbial growth model in the database to quickly find similar target growth models, providing a basis for the rapid identification of microorganisms. Qualitative testing can be performed based on the similarity of the growth models, achieving rapid and accurate microbial identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0040] Figure 1 is a schematic diagram of a process of a microorganism detection method based on image analysis in one embodiment of the present invention;
[0041] Figure 2 is a schematic structural diagram of a microorganism detection system based on image analysis in one embodiment of the present invention;
[0042] Figure 3 It is a schematic diagram of the structure of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0044] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a sequence different from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in this application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0045] The present invention is described in detail below through specific embodiments.
[0046] The technical solution of the present application can be applied to a variety of microbial detection scenarios.
[0047] Microorganisms are “identified” by classification using the following classification system: domain (eukaryotes, prokaryotes and archaea), kingdom (plants, animals, fungi), phylum, class, order, family, genus, species and subspecies. Identification of a microbial sample means identification at least to the genus, usually to the species and, if possible, to the subspecies, which is important, for example, when different subspecies have different pathogenicity. In a more general sense, identification also means determining other more individual properties of a microorganism, such as its resistance to antibiotics. Many genera of microorganisms, in particular bacteria, protozoa, microalgae and undifferentiated fungal cells such as yeast, can be identified with a high degree of certainty by mass spectrometry, by transferring a small amount of the microorganism from a colony grown in a nutrient medium in the usual manner to a mass spectrometry sample support plate, disintegrating the microorganism by sample preparation. The mass spectrum obtained from this sample can show, in particular, the mass and abundance of different soluble proteins; these proteins are present in the microorganism in sufficiently high concentrations. The microorganism can be identified on the basis of this mass spectrum by similarity analysis with reference spectra from a reference library.
[0048] In the medical field, the use of microorganisms to identify infectious diseases is very common. Microorganisms are continuously or intermittently released into body fluids from a (usually hidden) source, most of which enter the blood circulation and the spinal canal. It is particularly important to quickly detect and identify the pathogen type so that appropriate treatment can be given immediately. Due to the long microbial culture cycle and complex flora composition, the present invention is proposed to achieve efficient growth monitoring and timely pure strain separation and identification, that is, to perform rapid and accurate microbial identification.
[0049] In view of this, the present application proposes a microbial detection method based on image analysis to solve the above problems, which is described in detail below.
[0050] See also Figure 1 , Figure 1 A schematic flow chart of a microorganism detection method based on image analysis provided in an embodiment of the present invention, the method comprising the following steps:
[0051] S10. Collecting culture information of the culture to be tested within a preset period, wherein the culture information includes image information and growth cycle data.
[0052] The culture material to be tested may include but is not limited to blood, urine, sputum, feces, cerebrospinal fluid, eye secretions, etc., which are not limited here.
[0053] The above growth cycle data may include but are not limited to culture time, temperature, humidity, colony location, colony morphology, and light source, which are not limited here. Growth cycle data refers to the whole process of recording each strain type from inoculation to entering the stable period, including the growth of the strain in the adaptation period, exponential growth period, stable period, decline period and other stages.
[0054] Specifically, the incubation time is the length of time from the start of the incubation to the present, which is the basic time scale of the growth cycle data; temperature is the temperature condition during the incubation process, and different microorganisms have different adaptability ranges to temperature; humidity: humidity is also an important environmental factor affecting the growth of microorganisms; light source: for photosynthetic microorganisms or certain light-sensitive microorganisms, lighting conditions will directly affect their growth conditions; colony distribution: colony growth not only increases in number, but also expands in space, and its distribution data often changes over time. This information is analyzed through specific algorithms to reflect the growth dynamics of microorganisms.
[0055] Among them, the above-mentioned image information provides visual characteristics of the microbial colonies of the culture to be tested, such as morphology, size, color, growth pattern, etc. The visual characteristics are used to identify and distinguish different microbial strains.
[0056] Furthermore, the frequency of image acquisition within a preset period depends on the growth rate of the microorganisms corresponding to the culture to be tested and the research needs, usually between a few hours and a day.
[0057] Specifically, in the image information, the growth rate and amount of microorganisms can be estimated by the changes in the number and size of colonies; the colony shapes and colors of different strains are often specific, and these characteristics can be used to make preliminary judgments on the strain types; the distribution of colonies on the culture medium can reflect the growth pattern of microorganisms and the heterogeneity of the growth environment.
[0058] The acquisition of the above image information requires specialized biological culture detection equipment, such as monitoring sensors in incubators, automatic sampling devices, etc., and may also be combined with relevant data recording software to ensure the accuracy and continuity of data acquisition. The specific acquisition can be based on automated microscopy technology, fluorescence imaging, confocal imaging, etc., to obtain different types of image data.
[0059] Specifically, a high-resolution camera or microscope is used in conjunction with an imaging system to capture images of the culture to be tested within a preset period. The image information can be macroscopic, showing the entire culture dish, or microscopic, focusing on a single colony.
[0060] Among them, the above-mentioned preset period can be 2 hours, 3 hours, etc., and can be set manually, and there is no sole limitation here.
[0061] It can be seen that this scheme combines the image information of the culture to be tested with the growth cycle data, improves the automation level of microbial detection, and also enhances the accuracy and efficiency of detection, and can further realize the real-time tracking and dynamic analysis of microbial culture monitoring.
[0062] Optionally, before collecting the culture information of the culture to be tested to obtain the basic information of the culture, the method also includes: determining the target detection item of the culture to be cultured according to the received information; determining the culture medium, culture environment parameters and culture method according to the target detection item and preset detection item information; and inoculating and culturing according to the culture medium and culture environment parameters.
[0063] Among them, the target detection project is that before the experiment begins, the purpose of the experiment must be clarified based on the information received, such as whether it is to identify a specific pathogen, evaluate the sensitivity of antibiotics, or identify unknown bacterial species.
[0064] Among them, in the defined culture medium, different microorganisms and detection purposes require different culture media, such as selective culture media for inhibiting the growth of non-target microorganisms, or rich culture media for promoting the growth of target microorganisms.
[0065] The above-mentioned culture environment parameters are crucial to the growth of microorganisms, including but not limited to temperature, humidity, pH value, light and oxygen concentration, etc. These environmental parameters are adjusted according to the growth requirements of the target microorganisms and the preset detection project information.
[0066] Among them, different culture methods may need to be used according to the requirements of the test project, such as static culture, shake flask culture or continuous flow culture, etc. This is to simulate the growth conditions of microorganisms in the natural environment or in the host.
[0067] It can be seen that this method can greatly improve the reliability and effectiveness of the experiment through this pre-set process. Each step is based on a full understanding of the characteristics of microorganisms and detection requirements. Such precise operation and thoughtful planning are the key to ensuring the achievement of detection objectives, optimizing experimental processes and the quality of results.
[0068] S20, performing image analysis on the culture information to obtain at least one strain type in the culture to be tested.
[0069] Specifically, the culture information is image analyzed by a preset cluster analysis model to obtain at least one strain type in the culture to be tested.
[0070] The above-mentioned image analysis is based on a preset clustering analysis model to analyze the image information in the cultivation information. Common clustering models include K-Means, hierarchical clustering, DBSCAN, etc., which are not limited here.
[0071] Specifically, cluster analysis is an unsupervised learning technique used to classify a data set into several categories, so that the data points within the same category are more similar, while the data points between different categories are less similar. In image analysis, cluster analysis models can be used to identify similar bacterial colony features in an image, thereby classifying the colonies into different categories or groups.
[0072] Specifically, the specific implementation of performing image analysis on the culture information to obtain at least one strain type in the culture to be tested can be: extracting features that are helpful in distinguishing different strains from the image information of the culture to be tested, and these features may include the shape, size, edge features, color, surface texture, etc. of the colony, wherein the color features often involve RGB values or their converted color space parameters such as HSV or Lab color space values. The extracted features are standardized or normalized to eliminate the influence of dimensions between different features, or they are converted into a form suitable for model processing. The extracted features are input into a preset clustering analysis model to automatically divide the colonies into different categories. Clustering validity indicators, such as silhouette coefficients or Davidson-Boolean indexes, can be further used to evaluate the quality of clustering. And additional data sets can be used or compared with known classification results to verify the correctness of the clustering results, and the parameters of the clustering model can be adjusted according to feedback to achieve better classification results.
[0073] It can be seen that this method can quickly and efficiently identify at least one strain type in the culture to be tested by using a preset cluster analysis model to perform image analysis on the culture information. This method not only reduces the burden of manual operation, but also improves the accuracy and speed of detection.
[0074] S30. Obtain subculture information corresponding to each strain type in the at least one strain type.
[0075] Among them, the above-mentioned sub-culture information includes sub-image information and corresponding growth cycle data, that is, the local image corresponding to each strain type is divided into sub-image information corresponding to each strain type, and the growth cycle data can be generated according to the current actual situation of each strain type. The growth cycle data of each strain type will be generated, that is, according to the actual monitored data, combined with the use of professional biostatistical software or growth models, the growth rate, reproduction cycle and suitable growth conditions of each strain type and other information are analyzed.
[0076] Specifically, the local image represented by the sub-image information can represent the specific morphological characteristics of the strain, such as the shape of the colony, the size and morphology of the cell, etc. The collected images of each strain type are analyzed and annotated, and divided into sub-images representing different strains.
[0077] For example, a strain type A corresponds to a sub-culture information, and the sub-culture information includes image information of strain type A and growth cycle data corresponding to strain type A (strain A is one of the cultures currently to be tested).
[0078] It can be seen that since the growth conditions of each strain type are different, the present invention can record and divide the strain types separately, obtain the sub-culture information corresponding to each strain type, and help improve the accuracy and reliability of microbial detection and analysis.
[0079] In one possible example, obtaining the sub-culture information corresponding to each strain type in the at least one strain type includes: graying the image information in the culture information of the culture to be tested to obtain a first grayscale image; filtering the first grayscale image to obtain a second grayscale image; clustering the second grayscale image to obtain sub-image information of each strain type in the at least one strain type; and respectively combining the sub-image information of each strain type with the corresponding growth cycle data to obtain the sub-culture information corresponding to each strain type.
[0080] The grayscale processing mentioned above is to convert the color image into a grayscale image, which can reduce the complexity of image processing and facilitate the extraction of the shape and structural characteristics of the microbial strains.
[0081] In a specific implementation, the RGB value (red, green, and blue) of each pixel of the image information in the culture information of the culture to be tested is converted into a grayscale value according to a certain weight, usually an average weighting or a weighting according to the human eye's perception of color.
[0082] Among them, the above filtering processing is to reduce the noise in the image, improve the image quality, and make the subsequent analysis more accurate. Various filtering techniques can be used, such as median filtering, Gaussian filtering, bilateral filtering, etc., to remove random noise and salt and pepper noise in the image, and no sole limitation is made here.
[0083] In a specific implementation, the first grayscale image can be filtered to remove noise and obtain a second grayscale image, that is, to improve the image quality and make the boundaries of the strains clearer, which is convenient for subsequent image analysis and recognition.
[0084] Among them, clustering processing is to group similar pixels in the image together, so as to separate different colonies and obtain sub-image information of each strain type. Clustering algorithms such as K-means, hierarchical clustering, DBSCAN, etc. can be used to classify pixels in the image into different categories according to the characteristics of the colonies (such as color, shape, texture).
[0085] In a specific implementation, the pixels of the second grayscale image are clustered through image analysis technology to segment the image into different regions, each region representing a strain type, thereby distinguishing and identifying all different strain types in the culture and establishing an independent data set for each strain.
[0086] In the specific implementation, the sub-image information (such as colony morphology, size, and texture) is matched and integrated with the growth cycle data (such as growth rate, colony number, and density) to obtain the sub-culture information.
[0087] The specific colony position and colony morphology can be obtained by graying the culture image of the culture to be tested; using a filter template to perform median filtering to remove image noise; binarizing the culture image according to the gray threshold, further using a gradient operator to extract the boundary, obtaining a strain edge image, and obtaining the position and morphology data of multiple colonies through clustering.
[0088] It can be seen that this method can extract sub-image information and growth cycle data of each strain type from the original culture information, improve the automation of microbial detection, and enhance the accuracy and efficiency of detection.
[0089] S40, performing data processing on the sub-culture information corresponding to the at least one strain type to obtain a growth model corresponding to each strain type in the at least one strain type.
[0090] The overall process of data processing in S40 can be divided into data preprocessing, feature extraction, and model training.
[0091] The growth model corresponding to each strain type may be a preset wavelet neural network.
[0092] In a specific implementation, since the growth cycle data may include but is not limited to culture time, temperature, humidity, colony position, colony morphology, and light source, the growth cycle in the sub-culture information corresponding to each strain type may be preprocessed, and then the wavelet neural network may be trained based on: the culture time feature vector, colony position feature vector, colony morphology feature vector, temperature feature vector, humidity feature vector, colony migration feature vector, and adjacent colony influence feature vector in the growth trend matrix are used as input data of the wavelet neural network, and the growth curve coefficient is used as output data, wherein the number of input layer nodes of the wavelet neural network is 5, the number of hidden layer wavelet elements is 8, the number of output layer nodes is 1, the hidden layer wavelet neurons use the Mexican Hat wavelet function, and the output layer nodes use the Sigmoid function; the maximum number of iterations in the training process is set to 1000, the training learning rate is 0.1, and the threshold is 0.00003.
[0093] The above-mentioned data preprocessing may be quantitative analysis, data normalization, statistical analysis, etc., which are not limited here, and are mainly for extracting quantifiable parameters for subsequent model training.
[0094] Among them, the above-mentioned growth trend matrix can be obtained through the following steps: obtaining multiple growth cycle data of pure microbial culture; performing modal decomposition on two adjacent growth cycle data; performing gain calculation on the decomposed multiple growth cycle data, using the gain as the characteristic vector, and obtaining the growth trend matrix.
[0095] Among them, since data processing is performed on the sub-culture information corresponding to the at least one strain type, that is, data processing is performed on each strain type in the at least one strain type respectively, what is obtained is the growth model corresponding to each strain type. It should be noted that before training, each strain type has its own growth trend matrix, that is, the growth trend matrix of pure microorganisms, so a growth model corresponding to each strain type can be obtained.
[0096] It can be seen that this method can obtain an accurate growth model of one or more strain types by training according to the culture information of each strain.
[0097] In one possible example, the data processing of the sub-culture information corresponding to the at least one strain type to obtain the growth model corresponding to each strain type in the at least one strain type includes: performing data preprocessing on the sub-culture information corresponding to each strain type in the at least one strain type to obtain processed sub-culture information; extracting feature information from the processed sub-culture information; and using the feature information as input and performing training based on a preset wavelet neural network to obtain the growth model corresponding to each strain type in the at least one strain type.
[0098] The above data preprocessing is to clean and standardize the raw data of each strain type to improve the accuracy and efficiency of model training. Data preprocessing includes data cleaning (removing outliers and noise), data standardization (making the data on the same scale), data conversion (such as converting time series data into a form suitable for analysis), etc. The processed sub-culture information contains the cleaned and standardized data, which provides a basis for subsequent feature extraction and model training.
[0099] Among them, the above feature extraction extracts features useful for model training from the processed sub-culture information, and these features can represent the growth status and characteristics of the strain. Statistical methods (such as principal component analysis PCA) or machine learning methods (such as autoencoders, deep learning models) can be used to extract features. Features can be statistical information of a single data point or a group of data points, such as mean, variance, etc.
[0100] Among them, the above-mentioned preset wavelet neural network is a wavelet neural network (WNN). The wavelet neural network is a powerful machine learning tool that combines wavelet transform and artificial neural network. It can capture the local characteristics and change trends of data and is very suitable for processing complex nonlinear patterns in biological data. The extracted feature information is modeled using a wavelet neural network to predict the growth trend and behavior of the strain. The extracted feature information is used as the input of the wavelet neural network, and the growth curve coefficient is used as the output. The network parameters are adjusted through the training process so that it can fit the real growth data.
[0101] Furthermore, once the network training is completed, the growth model can output the predicted growth curve coefficients based on the input feature information, and these coefficients can be used to describe the growth model of the strain. That is, the growth model corresponding to each strain type is established, which can be used to predict the growth behavior of the strain under different conditions, or for other scientific research and technical applications.
[0102] Specifically, during the training process, it is necessary to set parameters such as the number of input layer nodes, the number of hidden layer wavelet elements, the number of output layer nodes, the wavelet function type, the number of iterations, and the learning rate of the wavelet neural network.
[0103] In a specific implementation, since the growth cycle data may include but is not limited to culture time, temperature, humidity, colony position, colony morphology, and light source, the growth cycle in the sub-culture information corresponding to each strain type may be preprocessed, and then the wavelet neural network may be trained based on: the culture time feature vector, colony position feature vector, colony morphology feature vector, temperature feature vector, humidity feature vector, colony migration feature vector, and adjacent colony influence feature vector in the growth trend matrix are used as input data of the wavelet neural network, and the growth curve coefficient is used as output data, wherein the number of input layer nodes of the wavelet neural network is 5, the number of hidden layer wavelet elements is 8, the number of output layer nodes is 1, the hidden layer wavelet neurons use the Mexican Hat wavelet function, and the output layer nodes use the Sigmoid function; the maximum number of iterations in the training process is set to 1000, the training learning rate is 0.1, and the threshold is 0.00003.
[0104] It can be seen that this method can obtain a growth model with predictive ability and accurate description of strain behavior through refined processing and model training of sub-culture information corresponding to each strain type, which helps to improve the accuracy and reliability of microbial detection and analysis.
[0105] S50, using the growth model as a query identifier, searching in a preset microbial growth model database to obtain a target growth model similar to the growth model, wherein the target growth model is a subclass model of the at least one strain type.
[0106] The target growth model is a specific subclass model that has been classified in the preset microbial growth model database and belongs to a certain strain type. The subclass model can provide more detailed data and features, which may be related to specific environmental conditions or specific growth stages.
[0107] The preset microbial growth model database includes a plurality of target growth models, and the plurality of target growth models are a plurality of microbial classical growth models.
[0108] Specifically, the microbial classic growth model can be obtained according to the following steps: obtain multiple growth cycle data of pure microbial culture; perform modal decomposition on two adjacent growth cycle data; perform gain calculation on the decomposed multiple growth cycle data, use the gain as the feature vector, and obtain the growth trend matrix; according to the growth trend matrix, construct a microbial classic growth model based on wavelet neural network. The microbial classic growth model is:
[0109] ;
[0110] Among them, f(t) represents the strain growth fitting function, t represents the growth direction, , i represents a single strain, represents the fitting coefficient, represents the growth angle, k represents the fitting order, and the value of k is adjusted according to the fit between the strain and the classical growth model.
[0111] Among them, the growth model represents the growth characteristics and behavior of the strain and can be used as a marker to identify the strain.
[0112] Specifically, the preset microbial growth model database search algorithm will compare the features of the query model with the models in the database to find the target growth model with the most similar features. The core step is to calculate the similarity between the query growth model and the growth models in the database to determine which models are most similar to the query model, and based on the similarity threshold, select the models with similarity exceeding a certain standard as the target growth model. The target growth model is a model similar to the query growth model, and they may represent different subtypes or variants of the same strain type.
[0113] Among them, similarity can be determined based on similarity, which can be evaluated by various mathematical metrics (such as Euclidean distance, cosine similarity, etc.), with the goal of finding those models that are closest to the query model in terms of function or growth characteristics.
[0114] It can be seen that this method uses the growth model as a query identifier to find a target growth model similar to the query model in the preset microbial growth model database, thereby achieving the classification and identification of strains. This method helps to improve the accuracy and reliability of microbial detection and analysis.
[0115] In one possible example, the growth model is used as a query identifier, and a search is performed in a preset microbial growth model database to obtain a target growth model similar to the growth model, and the target growth model is a subclass model of the at least one strain type, including: taking the growth model corresponding to each strain type as a query identifier, searching in a preset microbial growth model database to obtain a target growth model, the number of the target growth models is consistent with the number of strain types, and the target growth model is a subclass model of the at least one strain type.
[0116] Among them, the culture to be tested distinguishes N strain types, so the growth models corresponding to the N strain types can be obtained, that is, N growth models, and the growth model corresponding to each strain type is used as a query identifier in turn, and the preset microbial growth model database is searched to obtain the respective target growth models corresponding to the N strain types.
[0117] Among them, the subclass model is a further subdivision of the target growth model, which can provide more detailed information to describe the specific characteristics or variations of the strain.
[0118] Specifically, when searching in the preset microbial growth model database, the target growth model can be obtained based on the similarity between the growth model and the model in the preset microbial growth model database. When the similarity threshold (artificially set or biologically specified, not uniquely limited) is exceeded, the similarity formula can be:
[0119] ;
[0120] in, represents the similarity, m is the target growth model, n is the growth model, represents the color mean, represents the particle size variance, represents the granularity covariance, represents the color mean of the target growth model, represents the color mean of the growth model, represents the granularity of the target growth model, represents the granularity of the growth model, Indicates a very small parameter.
[0121] It can be seen that this method uses the growth model as a query identifier to find a target growth model similar to the query model in the preset microbial growth model database, thereby achieving the classification and identification of strains. This method helps to improve the accuracy and reliability of microbial detection and analysis.
[0122] S60: Perform qualitative detection on the at least one strain type in sequence according to the similarity between the growth model and the target growth model.
[0123] Among them, the above-mentioned qualitative detection may include but is not limited to manual biochemical identification, VITEK GP identification plate identification, mass spectrometer identification, and metagenomic detection and analysis.
[0124] Among them, the type and characteristics of the strain can be determined by comparing the qualitative results with the known characteristics of the strain. Based on the qualitative results, the attributes of the strain type are interpreted, such as the type of strain, growth characteristics, pathogenicity, etc.
[0125] Specifically, by calculating the similarity between the growth model and the target growth model, the degree of match between the two can be determined, that is, the qualitative result of the strain type can be determined. A similarity threshold is set. If the similarity between the growth model and the target growth model is greater than the threshold, it is considered that the growth model matches the target growth model, thereby determining the qualitative result of the strain type.
[0126] The similarity can be calculated according to a preset similarity formula: The preset similarity formula is:
[0127] ;
[0128] in, represents the similarity, m is the target growth model, n is the growth model, represents the color mean, represents the particle size variance, represents the granularity covariance, represents the color mean of the target growth model, represents the color mean of the growth model, represents the granularity of the target growth model, represents the granularity of the growth model, Indicates a very small parameter.
[0129] It can be seen that this method can perform qualitative detection of strain types one by one according to the similarity between the growth model and the target growth model, which helps to quickly identify strains with specific characteristics or phenotypes and improve the accuracy and reliability of microbial detection and analysis.
[0130] In one possible example, the qualitative detection of the at least one strain type is performed in sequence according to the similarity between the growth model and the target growth model, including: in the preset period, calculating the similarity between the growth model and the target growth model according to a preset similarity formula to obtain a first similarity; when it is detected that the first similarity is greater than a preset similarity threshold, determining that the current growth model is the growth model to be detected; obtaining the strain type corresponding to the growth model to be detected; and performing qualitative detection on the strain type corresponding to the growth model to be detected.
[0131] The preset similarity threshold may be an artificial setting or a biological standard, and is not limited here, but is intended to effectively distinguish different growth models.
[0132] The growth model to be tested represents the strain type that is similar to the target growth model. Once the growth model to be tested is determined, the next step is to identify the strain type corresponding to this model and perform qualitative testing on these strains. This may include identifying its ecological habits, pathogenicity, or sensitivity to specific antibiotics.
[0133] It can be seen that this method can effectively identify strain types similar to the target model and conduct qualitative analysis by accurately calculating and comparing the similarity of the growth model, thereby improving the accuracy and reliability of microbial detection and analysis.
[0134] In a possible example, the preset similarity formula is:
[0135] ;
[0136] in, represents the similarity, m is the target growth model, n is the growth model, represents the color mean, represents the particle size variance, represents the granularity covariance, represents the color mean of the target growth model, represents the color mean of the growth model, represents the granularity of the target growth model, represents the granularity of the growth model, Indicates a very small parameter.
[0137] In a possible example, after performing qualitative detection on the strain type corresponding to the growth model to be detected, the method further includes: during the preset period, continuously monitoring the strain type that has not been qualitatively detected in the at least one strain type.
[0138] Among them, within a preset period, the qualitative detection step is repeated according to the similarity between the growth model and the target growth model, and the at least one strain type is sequentially subjected to qualitative detection to monitor and update the qualitative detection result of the strain type, that is, within a preset period, the similarity between the growth model and the target growth model is calculated, and if the first similarity exceeds the similarity threshold, a qualitative detection is performed, so as to realize continuous monitoring and qualitative detection of strain types.
[0139] It can be seen that this method can be used to continuously monitor and qualitatively detect strain types.
[0140] The strain type and subculture information obtained by this method through image analysis method is more accurate than traditional methods, which helps to reduce human errors and improve the accuracy of strain identification and analysis. Image analysis is a non-destructive test and can be tested repeatedly without affecting the sample, retaining the culture for subsequent experimental analysis. Further, the obtained growth model is compared with the microbial growth model in the database to quickly find similar target growth models, providing a basis for the rapid identification of microorganisms. Qualitative testing can be performed based on the similarity of the growth models, achieving rapid and accurate microbial identification.
[0141] For example, aerobic bacteria such as Staphylococcus aureus, Streptococcus aureus, Escherichia coli, Klebsiella pneumoniae, and Pseudomonas aeruginosa are used as research objects. Step 1: First create a microbial growth model database, which includes the classic growth models of various bacterial species; obtain multiple growth cycle data (cultivation time, temperature, humidity, colony location, colony morphology, light source) of pure culture of Staphylococcus aureus, Streptococcus aureus, Escherichia coli, Klebsiella pneumoniae, and Pseudomonas aeruginosa; the growth cycle uses the life cycle of the microorganism as a reference, and then selects multiple time points as focus nodes in the adjustment period, stable period, logarithmic period, and decay period. The modal decomposition of two adjacent growth cycle data is carried out, and different data types, such as images and numerical data, are processed separately to extract their own unique features, so as to extract the key information in each modality, and perform cross-modal fusion or independent analysis to fully understand the growth status of the strains; the gain calculation is carried out on the decomposed multiple growth cycle data, and the gain is used as the feature vector to obtain the growth trend matrix of each strain to control the complexity of the model and prevent overfitting; the culture time feature vector, colony position feature vector, colony morphology feature vector, temperature feature vector, humidity feature vector, colony migration feature vector, and adjacent colony influence feature vector in the growth trend matrix are used as the input data of the wavelet neural network, and the growth trend matrix is used as the input data of the wavelet neural network. The long curve coefficient is used as the output data to train the wavelet neural network; (wavelet neural network - input culture time feature vector, colony position feature vector, colony morphology feature vector, temperature feature vector, humidity feature vector, colony migration feature vector, adjacent colony influence feature vector, output growth curve coefficient) Among them, the colony position and colony morphology are obtained through culture image preprocessing, specifically including: graying the culture image of the strain; using the filter template for median filtering to remove image noise; binarizing the output according to the grayscale threshold of the strain image; using the gradient operator for boundary extraction to obtain the strain edge image, and obtaining the location and morphology data of multiple colonies through clustering. The classic growth model of several aerobic bacteria is obtained as follows:
[0142] ;
[0143] in, represents the strain growth fitting function, t represents the growth direction, , i represents a single strain, represents the fitting coefficient, represents the growth angle, k represents the fitting order, k=0.993.
[0144] Step 2: First, inject the blood sample to be tested into a sterile culture bottle or culture tube, add a specific culture medium to optimize the growth conditions of the bacteria, inoculate the blood into different culture media, such as ordinary broth culture medium or blood enrichment culture medium, and then place the sample in a constant temperature box, usually at a temperature of ; Carry out aerobic culture and select appropriate culture conditions according to the growth characteristics of the microorganisms. Finally, obtain the microbial growth cycle data of the cultured object according to the preset cycle (generally 2 hours), and preprocess the obtained microbial growth cycle data in the same way as the model construction in step 1.
[0145] Step 3: Use a preset clustering analysis model to decompose the strains in the microbial growth cycle data into multiple target strain categories; Step 4: Call the microbial growth model database constructed in step 1, calculate the similarity between the microbial growth cycle data corresponding to the target strain category and the microbial classical growth model, obtain one or more target category matching models, and traverse the multiple target strain categories; Step 5: Calculate the similarity between the microbial growth cycle data and the one or more matching models until the similarity between N consecutive cycle data and a matching model is greater than the similarity threshold of 0.86.
[0146] Step 6: Obtain a single strain obtained by culturing the blood sample to be tested, and perform qualitative detection using a mass spectrometer.
[0147] In this example, by constructing classic growth models of multiple pure strains, the growth data of the microorganisms are periodically and frequently obtained during the cultivation process of the test object, and the similarity is compared with the classic growth models in the database. On the one hand, the type of bacterial species can be preliminarily determined, and on the other hand, the time node for manual bacterial species identification can be determined in a timely and efficient manner, thereby achieving efficient growth detection and accurate identification, which has important application significance.
[0148] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.
[0149] As another aspect of the embodiment of the present application, the embodiment of the present application provides a microorganism detection system based on image analysis. The microorganism detection system based on image analysis can be a software module, which includes several instructions stored in a memory, and the processor can access the memory and call the instructions for execution to complete the microorganism detection method based on image analysis described in the above-mentioned various embodiments.
[0150] See also Figure 2 , Figure 2 Schematic diagram of a microorganism detection system based on image analysis provided in an embodiment of the present application. Figure 2 As shown, the microbial detection system based on image analysis includes:
[0151] The collection unit 201 is used to collect the culture information of the culture to be tested within a preset period, wherein the culture information includes image information and growth cycle data; the microbial growth cycle data includes: culture time, temperature, humidity, colony position, colony morphology, and light source;
[0152] An analysis unit 202 is used to perform image analysis on the culture information to obtain at least one strain type in the culture to be tested;
[0153] An acquisition unit 203 is used to acquire subculture information corresponding to each strain type in the at least one strain type;
[0154] A processing unit 204 is used to perform data processing on the sub-culture information corresponding to the at least one strain type to obtain a growth model corresponding to each strain type in the at least one strain type;
[0155] A query unit 205 is used to search a preset microbial growth model database using the growth model as a query identifier to obtain a target growth model similar to the growth model, wherein the target growth model is a subclass model of the at least one strain type;
[0156] The detection unit 206 is used to perform qualitative detection on the at least one strain type in sequence according to the similarity between the growth model and the target growth model.
[0157] The strain type and subculture information obtained by this method through image analysis method is more accurate than traditional methods, which helps to reduce human errors and improve the accuracy of strain identification and analysis. Image analysis is a non-destructive test and can be tested repeatedly without affecting the sample, retaining the culture for subsequent experimental analysis. Further, the obtained growth model is compared with the microbial growth model in the database to quickly find similar target growth models, providing a basis for the rapid identification of microorganisms. Qualitative testing can be performed based on the similarity of the growth models, achieving rapid and accurate microbial identification.
[0158] In one embodiment, in the acquisition of the sub-culture information corresponding to each strain type in the at least one strain type, the acquisition unit 203 is also used to: grayscale the image information in the culture information of the culture to be tested to obtain a first grayscale image; filter the first grayscale image to obtain a second grayscale image; cluster the second grayscale image to obtain sub-image information of each strain type in the at least one strain type; respectively combine the sub-image information of each strain type with the corresponding growth cycle data to obtain the sub-culture information corresponding to each strain type.
[0159] In one embodiment, in the data processing of the sub-culture information corresponding to the at least one strain type to obtain the growth model corresponding to each strain type in the at least one strain type, the processing unit 204 is also used to: perform data pre-processing on the sub-culture information corresponding to each strain type in the at least one strain type to obtain processed sub-culture information; extract feature information from the processed sub-culture information; and use the feature information as input to perform training based on a preset wavelet neural network to obtain the growth model corresponding to each strain type in the at least one strain type.
[0160] In one embodiment, the growth model is used as a query identifier, and a search is performed in a preset microbial growth model database to obtain a target growth model similar to the growth model, and the target growth model is a subclass model of the at least one strain type. The query unit 205 is also used to: sequentially use the growth model corresponding to each strain type as a query identifier, and search in a preset microbial growth model database to obtain a target growth model, the number of the target growth models is consistent with the number of strain types, and the target growth model is a subclass model of the at least one strain type.
[0161] In one embodiment, in the qualitative detection of the at least one strain type in sequence according to the similarity between the growth model and the target growth model, the detection unit 206 is also used to: in the preset period, calculate the similarity between the growth model and the target growth model according to a preset similarity formula to obtain a first similarity; when it is detected that the first similarity is greater than a preset similarity threshold, determine that the current growth model is the growth model to be detected; obtain the strain type corresponding to the growth model to be detected; and perform qualitative detection on the strain type corresponding to the growth model to be detected.
[0162] In one embodiment, the preset similarity formula is:
[0163] ;
[0164] in, represents the similarity, m is the target growth model, n is the growth model, represents the color mean, represents the particle size variance, represents the granularity covariance, represents the color mean of the target growth model, represents the color mean of the growth model, represents the granularity of the target growth model, represents the granularity of the growth model, Indicates a very small parameter.
[0165] In one embodiment, after the qualitative detection of the strain type corresponding to the growth model to be detected, the detection unit 206 is further used to: continuously monitor the strain type that has not been qualitatively detected in the at least one strain type during the preset period.
[0166] The microbial detection system based on image analysis can also be built by hardware devices. For example, the microbial detection system based on image analysis can be built by one or more chips, and each chip can work in coordination with each other to complete the microbial detection method based on image analysis described in each of the above embodiments. For another example, the microbial detection system based on image analysis can also be built by various logic devices, such as general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), single-chip microcomputers, ARM (Acorn RISCMachine) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.
[0167] It should be noted that the above-mentioned microorganism detection system based on image analysis can execute the microorganism detection method based on image analysis provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in the embodiment of the microorganism detection system based on image analysis, please refer to the microorganism detection method based on image analysis provided in the embodiment of the present application.
[0168] See also Figure 3 , Figure 3 3 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device includes one or more processors 31 and a memory 32. The memory 32 is connected to the one or more processors 31, for example, connected to the processor 31 via a bus.
[0169] The processor 31 is configured to support the computer device to perform the corresponding functions in the method in the above method embodiment. The processor 31 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0170] The memory 32 is used to store program codes, etc. The memory 32 may include a volatile memory (VM), such as a random access memory (RAM); the memory 32 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 32 may also include a combination of the above-mentioned types of memories.
[0171] The memory 32 can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the vehicle diagnostic method in the embodiment of the present application. The processor 31 executes various functional applications and data processing of the vehicle diagnostic method and computer equipment by running the non-volatile software programs, instructions and modules stored in the memory, that is, realizes the functions of the vehicle diagnostic method and various modules or units of the computer equipment provided in the above method embodiment.
[0172] The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. The data storage area may store data created according to the use of the vehicle diagnostic device, etc. In some embodiments, the memory 32 may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the vehicle diagnostic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0173] The one or more modules are stored in the memory, and when executed by the one or more processors, perform the image analysis-based microbial detection method in any of the above-mentioned method embodiments, for example, execute the method steps described in the above-mentioned method embodiments to realize the functions of the modules described in the above-mentioned device embodiments.
[0174] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.
[0175] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0176] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A microbial detection method based on image analysis, characterized in that: include: Collecting culture information of the culture to be tested within a preset period, wherein the culture information includes image information and growth cycle data; Performing image analysis on the culture information to obtain at least one strain type in the culture to be tested; Obtaining subculture information corresponding to each strain type in the at least one strain type; Performing data processing on the sub-culture information corresponding to the at least one strain type to obtain a growth model corresponding to each strain type in the at least one strain type; Using the growth model as a query identifier, searching in a preset microbial growth model database to obtain a target growth model similar to the growth model, wherein the target growth model is a subclass model of the at least one strain type; performing qualitative detection on the at least one strain type in sequence according to the similarity between the growth model and the target growth model; Wherein, the qualitative detection of the at least one strain type is performed in sequence according to the similarity between the growth model and the target growth model, including: In the preset period, similarity calculation is performed between the growth model and the target growth model according to a preset similarity formula to obtain a first similarity; When it is detected that the first similarity is greater than a preset similarity threshold, determining the current growth model as the growth model to be detected; Obtaining the strain type corresponding to the growth model to be detected; Performing qualitative detection on the strain type corresponding to the growth model to be detected; Wherein, the preset similarity formula is: ; in, represents the similarity, m is the target growth model, n is the growth model, represents the color mean, represents the particle size variance, represents the granularity covariance, represents the color mean of the target growth model, represents the color mean of the growth model, represents the granularity of the target growth model, represents the granularity of the growth model, Indicates a very small parameter.
2. The method according to claim 1, characterized in that The obtaining of subculture information corresponding to each strain type in the at least one strain type includes: grayscale the image information in the culture information of the culture to be tested to obtain a first grayscale image; Performing filtering on the first grayscale image to obtain a second grayscale image; performing clustering processing on the second grayscale image to obtain sub-image information of each strain type in the at least one strain type; The sub-image information of each strain type and the corresponding growth cycle data are respectively combined to obtain the sub-culture information corresponding to each strain type.
3. The method according to claim 1, characterized in that The data processing of the sub-culture information corresponding to the at least one strain type to obtain a growth model corresponding to each strain type in the at least one strain type includes: performing data preprocessing on the sub-culture information corresponding to each strain type in the at least one strain type to obtain processed sub-culture information; extracting characteristic information from the processed sub-culture information; Taking the characteristic information as input, training is performed based on a preset wavelet neural network to obtain a growth model corresponding to each strain type in the at least one strain type.
4. The method according to claim 1, characterized in that The method uses the growth model as a query identifier and searches in a preset microbial growth model database to obtain a target growth model similar to the growth model, wherein the target growth model is a subclass model of the at least one strain type, including: The growth model corresponding to each strain type is used as a query identifier in turn, and a search is performed in the preset microbial growth model database to obtain a target growth model. The number of the target growth models is consistent with the number of strain types, and the target growth model is a subclass model of the at least one strain type.
5. The method according to claim 1, characterized in that After the qualitative detection of the strain type corresponding to the growth model to be detected, the method further includes: During the preset period, the strain type that has not been qualitatively detected in the at least one strain type is continuously monitored.
6. A microbial detection system based on image analysis, characterized in that: For applying the method according to any one of claims 1 to 5, the system comprises: A collection unit is used to collect culture information of the culture to be tested within a preset period, wherein the culture information includes image information and growth cycle data; the microbial growth cycle data includes: culture time, temperature, humidity, colony position, colony morphology, and light source; An analysis unit, configured to perform image analysis on the culture information to obtain at least one strain type in the culture to be tested; an acquisition unit, configured to acquire subculture information corresponding to each strain type in the at least one strain type; a processing unit, configured to perform data processing on the sub-culture information corresponding to the at least one strain type, and obtain a growth model corresponding to each strain type in the at least one strain type; A query unit, configured to use the growth model as a query identifier, search in a preset microbial growth model database, and obtain a target growth model similar to the growth model, wherein the target growth model is a subclass model of the at least one strain type; The detection unit is used to perform qualitative detection on the at least one strain type in sequence according to the similarity between the growth model and the target growth model.
7. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory is connected to the processor, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the computer device implements the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 5.
