Intelligent method for removing foreign matter from hotpot material based on multispectral vision
By constructing a dynamic spectral background model using multispectral vision technology, and combining multi-band spectral difference analysis and enhanced detection of transparent foreign objects, high-precision identification and intelligent removal of foreign objects in hot pot base production are achieved. This solves the problems of high false detection rate and false negative rate in foreign object detection in existing technologies, and improves product quality stability.
Patent Information
- Application Number
- CN202611239212.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-17
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to perform high-precision detection and intelligent removal of hard, transparent, and animal-derived foreign objects in hot pot base production. This is especially problematic when raw material batches vary significantly, the background is complex, and the types of foreign objects are diverse, resulting in high false detection and false negative rates.
By employing a multispectral vision approach, a dynamic spectral background model is constructed through simultaneous acquisition of multispectral images, construction of a spectral fingerprint database, extraction of foreign object candidate regions, determination of foreign object type, and intelligent removal. Combined with multi-band spectral difference analysis and enhanced detection of transparent foreign objects, high-precision identification and removal of foreign objects are achieved.
It improved the foreign object detection rate and rejection accuracy, reduced the risk of misjudgment caused by batch fluctuations in raw materials, and ensured the production safety and quality stability of hot pot base products.
Smart Images

Figure CN123168080A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent food safety detection technology, specifically referring to an intelligent method for removing foreign objects from hot pot base ingredients based on multispectral vision. Background Technology
[0002] The production of hot pot base typically requires various ingredients such as dried chili peppers, Sichuan peppercorns, ginger slices, and beef tallow. Since these ingredients are mostly derived from agricultural products, they are prone to contamination during harvesting, transportation, storage, and processing with foreign matter such as pebbles, sawdust, plastic film, hair, insect remains, and moldy particles. Therefore, foreign matter detection and removal from hot pot base ingredients is a crucial step in ensuring product quality and food safety.
[0003] Currently, foreign object detection in hot pot base ingredients mainly employs manual sorting, mechanical sieving, and visible light machine vision-based detection methods. Among these, manual sorting is inefficient and lacks stability; mechanical sieving struggles to identify foreign objects similar in size to the raw material; and visible light machine vision-based detection methods rely primarily on color or texture features for identification, which can easily lead to missed detections of foreign objects such as pebbles and wood chips with colors similar to the raw material, as well as transparent or semi-transparent foreign objects like plastic films.
[0004] Furthermore, hot pot base ingredients are characterized by significant batch-to-batch variations, with marked fluctuations in moisture and oil content. Different batches of ingredients exhibit substantial differences in color, surface condition, and spectral characteristics. Existing detection methods mostly employ fixed thresholds for discrimination, which are ill-suited to adapting to the dynamic changes in ingredient characteristics. This can easily lead to increased false positive and false negative rates, failing to meet the demands for stable and high-precision detection of various types of foreign matter in complex production environments.
[0005] Therefore, how to achieve high-precision detection and intelligent removal of hard foreign objects, transparent foreign objects, and animal-derived foreign objects under conditions of significant batch variation in raw materials, complex background, and diverse types of foreign objects has become a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0006] To address the above issues and overcome the shortcomings of existing technologies, this invention provides a method for intelligent removal of foreign objects from hot pot base ingredients based on multispectral vision. This method includes the following steps:
[0007] Step S1: Synchronous acquisition of multispectral images;
[0008] Step S2: Construction of the spectral fingerprint library;
[0009] Step S3: Extraction of foreign object candidate regions;
[0010] Step S4: Determine the type of foreign object;
[0011] Step S5: Intelligent removal of foreign objects and feedback of results.
[0012] Furthermore, in step S1, the multispectral image is acquired synchronously. Specifically, during the hot pot base production process, the sample to be tested is transported to the testing area, and multispectral image data of the sample is acquired synchronously under ultraviolet light, visible light and near-infrared light irradiation conditions.
[0013] Further, in step S2, the construction of the spectral fingerprint database specifically involves performing pixel-level statistical analysis on samples of each material category within a pre-marked target area to extract reflectance and ultraviolet fluorescence intensity information corresponding to each spectral band. Based on this, inter-band ratio features, short-wave infrared absorption features, ultraviolet fluorescence response features, and visible light color difference features are constructed to form corresponding spectral fingerprint vectors. A spectral fingerprint database is then established based on these spectral fingerprint vectors.
[0014] The substance categories are divided according to specific substance types, and each substance category corresponds to a single type of hot pot base raw material or a single type of foreign object that appears in the hot pot base production process.
[0015] Further, in step S3, the extraction of the foreign object candidate region is specifically based on the multispectral image data of the current batch of hot pot base raw materials, constructing a dynamic background spectral distribution model, and on this basis, constructing a spectral deviation potential field and a moisture difference enhancement potential field, forming a comprehensive abnormal energy distribution through dual potential field coupling, dividing the energy boundary according to a dynamic threshold, and generating candidate foreign object regions through spatial connectivity optimization processing;
[0016] The extraction of the foreign object candidate region includes the following steps:
[0017] Step S31: Construction of dynamic background spectral distribution model. Specifically, spectral statistical analysis is performed on global pixels in the multispectral image. Background regions are selected based on the consistency of spectral distribution. Background feature vectors including moisture ratio index and short-wavelength absorption index are constructed. Statistical analysis is performed on all background feature vectors to calculate the mean and covariance of background features. A dynamic background spectral distribution model characterizing the spectral statistical distribution characteristics of the current batch of raw materials is constructed.
[0018] Step S32: Constructing the spectral deviation potential field to characterize the degree of deviation of any pixel relative to the dynamic background spectral distribution model. Specifically, by extracting the water content ratio index and short-wavelength absorption index of any pixel in the multispectral image, constructing a pixel feature vector, and performing statistical distribution consistency matching calculation between the pixel feature vector and the dynamic background spectral distribution model to obtain the spectral deviation distance, and constructing the spectral deviation potential field based on the spectral deviation distance to obtain the spectral deviation potential field map.
[0019] Step S33: Construction of moisture difference enhancement potential field. Specifically, the reflectance information of each spectral band in the multispectral image is extracted, the enhancement index corresponding to each pixel is calculated, and the moisture difference enhancement potential field is constructed based on the statistical parameters of the enhancement index corresponding to the background region to obtain a transparent enhancement potential field map.
[0020] Step S34, dual-potential field coupling anomaly energy construction, specifically involves weighted fusion of the spectral deviation potential field and the moisture difference enhancement potential field to obtain a comprehensive anomaly energy distribution;
[0021] Step S35 Adaptive energy boundary generation: Specifically, statistical analysis is performed on the comprehensive abnormal energy distribution to obtain the energy mean and energy standard deviation, and a dynamic threshold is constructed. Based on the dynamic threshold, an energy boundary is formed to divide the normal region and the abnormal region. An abnormal mask map is generated by judging the comprehensive abnormal energy distribution.
[0022] Step S36 generates candidate foreign object regions. Specifically, by performing spatial connectivity optimization on the anomaly mask map, candidate foreign object regions are obtained. Based on the potential field response characteristics, candidate regions are marked and classified into hard opaque foreign object regions, weak spectral response foreign object regions, and animal-derived foreign object regions.
[0023] Further, in step S4, the foreign object type determination is used to determine the type of foreign object and generate matching confidence and spatial location. Specifically, it extracts the reflectance and ultraviolet fluorescence intensity information of the candidate foreign object region in each spectral band, constructs the spectral feature vector of the candidate foreign object region corresponding to the spectral fingerprint vector structure, performs similarity matching between the spectral feature vector of the candidate foreign object region and the spectral fingerprint database to obtain the foreign object type and matching confidence, and calculates the spatial location of the foreign object in the conveyor belt coordinate system.
[0024] Furthermore, in step S5, the intelligent foreign object removal and result feedback specifically generates removal control instructions based on the foreign object type, matching confidence level, and spatial location, and calls the corresponding removal execution mechanism to remove foreign objects on the conveyor belt in a directional manner according to the foreign object type. At the same time, the removal results are verified and the spectral fingerprint database is updated to achieve closed-loop optimization of the foreign object identification and removal process.
[0025] The beneficial effects achieved by the present invention using the above scheme are as follows: This scheme creatively constructs a dynamic spectral background model adapted to the current batch of raw materials, and combines multi-band spectral difference analysis, enhanced detection of transparent foreign objects, multi-source feature fusion judgment, and differentiated intelligent rejection and feedback self-learning mechanism to form a closed-loop processing flow from foreign object detection, category identification to targeted rejection. This achieves high-precision identification and stable rejection of various types of foreign objects in complex production environments, effectively improves the detection capability of transparent foreign objects, weak feature foreign objects, and animal-derived foreign objects, reduces the risk of misjudgment caused by raw material batch fluctuations, and improves the foreign object detection rate, rejection accuracy, and the system's continuous adaptability to new foreign object types in the production process of hot pot base raw materials, thereby ensuring the production safety and quality stability of hot pot base products. Attached Figure Description
[0026] Figure 1 This is a flowchart illustrating the intelligent foreign object removal method for hot pot base ingredients based on multispectral vision provided by the present invention.
[0027] Figure 2 This is a flowchart illustrating step S3.
[0028] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof. Detailed Implementation
[0029] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0030] In the description of this invention, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0031] Example 1, see Figure 1 The present invention provides a method for intelligent removal of foreign objects from hot pot base ingredients based on multispectral vision. The method includes the following steps:
[0032] Step S1: Synchronous acquisition of multispectral images;
[0033] Step S2: Construction of the spectral fingerprint library;
[0034] Step S3: Extraction of foreign object candidate regions;
[0035] Step S4: Determine the type of foreign object;
[0036] Step S5: Intelligent removal of foreign objects and feedback of results.
[0037] Example 2, see Figure 1 This embodiment is based on the above embodiment. In step S1, the multispectral image synchronous acquisition is used to obtain the multispectral image data corresponding to the hot pot base raw material transportation process. Specifically, in the hot pot base production process, the sample to be tested is transported to the testing area, and the multispectral image data of the test sample is synchronously acquired under ultraviolet light, visible light and near-infrared light irradiation conditions.
[0038] The sample to be tested is a mixed material stream in the hot pot base production process. The mixed material stream includes hot pot base raw materials and potentially mixed foreign matter. In this method, the hot pot base raw materials are used as a spectral background reference object, and the foreign matter is used as an abnormal target object to be detected.
[0039] The ingredients for the hot pot base include, but are not limited to, dried chili peppers, Sichuan peppercorns, ginger slices, garlic slices, fermented black beans, spice granules, butter granules, animal fat granules, and other solid ingredients used in the production of hot pot base.
[0040] The foreign objects include, but are not limited to, pebbles, plastic film, transparent plastic sheets, wood chips, insect remains, and moldy particles;
[0041] In the specific implementation process, a vibrating cloth mechanism is preferred to uniformly disperse the sample to be tested, so that the sample passes through the detection area in a single layer or near-single layer state, and the thickness of the sample layer is controlled not to exceed 1.5 times the average particle size of the sample, so as to reduce the detection error caused by mutual occlusion; an ultraviolet excitation light source, a visible white light source, and a near-infrared light source with center wavelengths of 1200nm, 1450nm and 1940nm are set above the detection area. The ultraviolet induced fluorescence image, RGB image, 1200nm near-infrared image, 1450nm near-infrared image and 1940nm short-wave infrared image corresponding to the same detection area are acquired through a unified trigger control method.
[0042] Preferably, the multispectral image is subjected to background removal, illumination homogenization correction and spatial geometric registration to eliminate the effects of background interference, illumination inhomogeneity and imaging position deviation, thereby establishing pixel-level correspondence between different spectral bands.
[0043] Example 3, see Figure 1This embodiment is based on the above embodiment. In step S2, the spectral fingerprint database construction specifically targets each type of material sample. Pixel-level statistical analysis is performed within a pre-marked target area to extract reflectance and ultraviolet fluorescence intensity information corresponding to each spectral band. Based on this, inter-band ratio features, short-wave infrared absorption features, ultraviolet fluorescence response features, and visible light color difference features are constructed to form corresponding spectral fingerprint vectors. A spectral fingerprint database is then established based on these spectral fingerprint vectors.
[0044] The substance categories are divided according to specific substance types, and each substance category corresponds to a single type of hot pot base raw material or a single type of foreign object that appears in the hot pot base production process.
[0045] In the specific implementation process, for samples of each material category, the target region is determined based on manual annotation or automatic segmentation results. Within the target region, the average pixel response values of each band are statistically analyzed to obtain the reflectance R1200 at 1200nm, R1450 at 1450nm, R1940 at 1940nm, and the ultraviolet-induced fluorescence intensity (IUVF). Furthermore, the average value R of the red channel is statistically analyzed based on the visible light image. Red Compared with the green channel mean R Green ;
[0046] The formula for calculating the spectral fingerprint vector is as follows:
[0047] ;
[0048] in, R1940 is a band ratio characteristic used to characterize differences in moisture absorption in the near-infrared band; R1940 is used to characterize short-wave infrared absorption characteristics; and IUVF is used to characterize ultraviolet fluorescence response characteristics. Used to characterize color differences in visible light;
[0049] For samples of the same substance category, multiple spectral fingerprint vectors are statistically analyzed, and their mean vector and standard deviation vector are calculated as statistical distribution parameters. A spectral fingerprint database is established based on the correspondence between the category identifier and the statistical distribution parameters.
[0050] The spectral fingerprint database is used to characterize the characteristic distribution patterns of different substances under multispectral conditions. Each substance category is characterized by its distribution range in the spectral feature space through its corresponding mean vector and standard deviation vector.
[0051] The spectral fingerprint database supports online expansion. When a new substance category is discovered and confirmed, the corresponding spectral fingerprint vector can be automatically updated, thereby continuously improving the recognition capability.
[0052] Example 4, see Figure 1 and Figure 2This embodiment is based on the above embodiment. In step S3, the extraction of the foreign object candidate region is specifically based on the multispectral image data of the current batch of hot pot base raw materials. A dynamic background spectral distribution model is constructed, and on this basis, a spectral deviation potential field and a moisture difference enhancement potential field are constructed. A comprehensive abnormal energy distribution is formed by coupling the two potential fields, and the energy boundary is divided according to the dynamic threshold. Candidate foreign object regions are generated through spatial connectivity optimization processing.
[0053] The extraction of the foreign object candidate region includes the following steps:
[0054] Step S31: Construction of dynamic background spectral distribution model. Specifically, spectral statistical analysis is performed on global pixels in the multispectral image. Background regions are selected based on the consistency of spectral distribution. Background feature vectors including moisture ratio index and short-wavelength absorption index are constructed. Statistical analysis is performed on all background feature vectors to calculate the mean and covariance of background features. A dynamic background spectral distribution model characterizing the spectral statistical distribution characteristics of the current batch of raw materials is constructed.
[0055] In the specific implementation process, the background region is obtained by screening based on the consistency of spectral distribution. Specifically, the spectral response features of each pixel in the multispectral image are statistically modeled, the spectral mean features of the global pixels are used as a reference benchmark, the spectral deviation between each pixel and the reference benchmark is used as the consistency evaluation basis, and abnormal pixels with spectral deviation exceeding the preset range are removed. The remaining pixels that meet the requirements of spectral distribution concentration are divided into background regions, thereby realizing the adaptive screening of background regions.
[0056] The moisture ratio index is specifically the ratio of R1200 to R1450, and the shortwave absorption index is specifically the ratio of R1940 to R1200.
[0057] Step S32: Constructing the spectral deviation potential field to characterize the degree of deviation of any pixel relative to the dynamic background spectral distribution model. Specifically, by extracting the water content ratio index and short-wavelength absorption index of any pixel in the multispectral image, constructing a pixel feature vector, and performing statistical distribution consistency matching calculation between the pixel feature vector and the dynamic background spectral distribution model to obtain the spectral deviation distance, and constructing the spectral deviation potential field based on the spectral deviation distance to obtain the spectral deviation potential field map.
[0058] In the specific implementation process, the statistical distribution consistency matching calculation is specifically based on Mahalanobis distance to measure the degree of deviation between any pixel feature vector and the background spectral distribution model; by performing nonlinear mapping on the spectral deviation distance to obtain the spectral deviation potential field, the pixel response near the background distribution is low, while the pixel response deviating from the background distribution gradually increases, thereby forming a continuously changing abnormal response field.
[0059] Step S33 Moisture difference enhancement potential field construction is used to enhance the detection capability of transparent foreign objects. Specifically, the reflectance information of each spectral band in the multispectral image is extracted, the enhancement index corresponding to each pixel is calculated, and the moisture difference enhancement potential field is constructed based on the enhancement index statistical parameters corresponding to the background region to obtain the transparency enhancement potential field map.
[0060] In the specific implementation process, the enhancement index is first calculated based on the reflectance of the 1940nm and 1450nm bands to characterize the differences in water absorption of different substances; then, the enhancement index of all pixels in the background area is statistically analyzed to obtain the mean and standard deviation of the enhancement index; on this basis, a water difference enhancement potential field is constructed, and the water difference enhancement potential field is normalized to obtain a transparent enhancement potential field map.
[0061] The formula for calculating the enhancement index is as follows:
[0062] ;
[0063] In the formula, EMD i R1940 is the enhancement index of the i-th pixel, where i is the pixel index. i R1450 is the reflectance of the i-th pixel at the 1940nm band. i It is the reflectance of the i-th pixel in the 1450nm band;
[0064] Step S34, dual-potential field coupling anomaly energy construction, specifically involves weighted fusion of the spectral deviation potential field and the moisture difference enhancement potential field to obtain a comprehensive anomaly energy distribution;
[0065] Step S35 Adaptive energy boundary generation: Specifically, statistical analysis is performed on the comprehensive abnormal energy distribution to obtain the energy mean and energy standard deviation, and a dynamic threshold is constructed. Based on the dynamic threshold, an energy boundary is formed to divide the normal region and the abnormal region. An abnormal mask map is generated by judging the comprehensive abnormal energy distribution.
[0066] In practical implementation, the formula for calculating the dynamic threshold is:
[0067] ;
[0068] In the formula, T E It is a dynamic threshold. Here, k is the average energy value, and k is an adjustment coefficient with a value range of [2,3], used to control the sensitivity of anomaly detection. It is the energy standard deviation;
[0069] Step S36: Candidate foreign object region generation. Specifically, the candidate foreign object region is obtained by optimizing the spatial connectivity of the anomaly mask map. The candidate region is then marked based on the potential field response characteristics, and the candidate foreign object region is divided into hard opaque foreign object region, weak spectral response foreign object region and animal-derived foreign object region.
[0070] In the specific implementation process, the spatial connectivity optimization processing includes connectivity analysis, small region removal, hole filling, and boundary smoothing; the candidate region labeling based on potential field response characteristics specifically involves statistically analyzing the mean value of spectral deviation from the potential field and the mean value of moisture difference-enhanced potential field for each candidate foreign object region, and calculating the potential field response difference coefficient. The calculation formula is as follows:
[0071] ;
[0072] In the formula, D r It is the potential field response difference coefficient. It is the average response value of the spectral deviation from the potential field within the candidate foreign object region. It is the average response value of the enhanced potential field of moisture difference within the candidate foreign object region. It is to prevent extremely small positive numbers from having a denominator of zero;
[0073] When the potential field response difference coefficient D r When the value is greater than or equal to the preset threshold T1, the candidate foreign object region is determined to be a hard, opaque foreign object region; when the potential field response difference coefficient D... r When the value of the candidate foreign object is less than the preset threshold T2, the region is classified as a weak spectral response foreign object region; when the preset threshold T2 is less than the potential field response difference coefficient D... r If the value of the candidate foreign object region is less than the preset threshold T1 and the candidate foreign object region meets the texture dispersion index, the candidate foreign object region is determined to be an animal-derived foreign object region.
[0074] The weak spectral response foreign matter is used to represent transparent or translucent foreign matter.
[0075] Example 5, see Figure 1 This embodiment is based on the above embodiment. In step S4, the foreign object type determination is used to determine the foreign object type and generate matching confidence and spatial location. Specifically, it extracts the reflectance and ultraviolet fluorescence intensity information of the candidate foreign object region in each spectral band, constructs the spectral feature vector of the candidate foreign object region corresponding to the spectral fingerprint vector structure, performs similarity matching between the spectral feature vector of the candidate foreign object region and the spectral fingerprint database to obtain the foreign object type and matching confidence, and calculates the spatial location of the foreign object in the conveyor belt coordinate system.
[0076] In the specific implementation process, the similarity matching is specifically achieved by comparing and analyzing the spectral feature vector of the candidate foreign object region with the statistical distribution parameters of each material category in the spectral fingerprint database, calculating the degree of deviation between the two based on the distance metric function, and taking the material category with the smallest degree of deviation as the optimal matching category. At the same time, the corresponding matching confidence is generated by combining the degree of deviation, thereby realizing the determination of the foreign object category.
[0077] Specifically, the spatial location is obtained by calculating the centroid of the pixel coordinates of the candidate foreign object region and combining the camera calibration parameters and the conveyor belt geometric model to map the pixel coordinates to the actual physical coordinate system of the conveyor belt, thus obtaining the spatial location of the foreign object in the conveyor belt coordinate system.
[0078] Example 6, see Figure 1 This embodiment is based on the above embodiment. In step S5, the intelligent removal of foreign objects and the feedback of results specifically generate removal control instructions based on the type of foreign object, the matching confidence level and the spatial location, and call the corresponding removal execution mechanism to remove foreign objects on the conveyor belt in a directional manner according to the type of foreign object. At the same time, the removal results are verified and the spectral fingerprint database is updated to achieve closed-loop optimization of the foreign object identification and removal process.
[0079] In the specific implementation process, the rejection control command includes at least rejection execution time, rejection trigger spatial location and corresponding rejection method, so as to perform fixed-point rejection operation when the target foreign object reaches the preset rejection position, thereby realizing differentiated intelligent removal of foreign objects;
[0080] The removal execution time is specifically calculated based on the spatial location of the foreign object and the speed of the conveyor belt, taking into account the time delay of the foreign object reaching the removal execution mechanism.
[0081] The time delay specifically includes conveyor belt transmission delay, system processing delay, and actuator response delay;
[0082] For different types of foreign objects, the specific methods for removal are as follows: when the foreign object is a hard, opaque object, a high-pressure air knife actuator is used for non-contact blowing; when the foreign object is a transparent or semi-transparent object, a negative pressure adsorption actuator is used for targeted adsorption and removal; when the foreign object is an animal-derived object, a removal strategy is selected based on the matching confidence level, and adaptive switching is performed between the electrostatic adsorption actuator and the transfer peeling actuator to achieve foreign object removal.
[0083] After the foreign object removal is completed, the removal result is verified by comparing the differences between the images before and after removal. The removal success is determined based on the verification result. If the removal fails, a secondary removal or alarm mechanism is triggered. If the removal is successful, the removal process data and verification results are fed back to the spectral fingerprint database update module.
[0084] By performing the above operations, this solution creatively constructs a dynamic spectral background model adapted to the current batch of raw materials. Combined with multi-band spectral difference analysis, enhanced detection of transparent foreign objects, multi-source feature fusion judgment, and differentiated intelligent rejection and feedback self-learning mechanisms, it forms a closed-loop processing flow from foreign object detection and category identification to targeted rejection. This achieves high-precision identification and stable rejection of various types of foreign objects in complex production environments, effectively improving the detection capability of transparent foreign objects, weak feature foreign objects, and animal-derived foreign objects. It reduces the risk of misjudgment caused by fluctuations in raw material batches, improves the foreign object detection rate and rejection accuracy in the production process of hot pot base raw materials, and enhances the system's continuous adaptability to new foreign object types, thereby ensuring the production safety and quality stability of hot pot base products.
[0085] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0086] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention.
[0087] The present invention and its embodiments have been described above. This description is not restrictive, and the accompanying drawings are only one embodiment of the present invention; the actual structure is not limited thereto. In conclusion, if those skilled in the art are inspired by this description and design similar structures and embodiments without departing from the spirit of the invention, such designs should fall within the protection scope of the present invention.
Claims
1. A method for intelligent removal of foreign objects from hot pot base ingredients based on multispectral vision, characterized in that: The method includes the following steps: Step S1: Synchronous acquisition of multispectral images. Specifically, during the production process of hot pot base, the sample to be tested is transported to the testing area, and multispectral image data of the sample is acquired synchronously under ultraviolet light, visible light and near-infrared light irradiation conditions. Step S2 involves constructing a spectral fingerprint database. Specifically, for samples of each material category, pixel-level statistical analysis is performed within the pre-marked target area to extract reflectance and ultraviolet fluorescence intensity information corresponding to each spectral band. Based on this, inter-band ratio features, short-wave infrared absorption features, ultraviolet fluorescence response features, and visible light color difference features are constructed to form corresponding spectral fingerprint vectors. A spectral fingerprint database is then established based on these spectral fingerprint vectors. Step S3 is to extract candidate foreign objects. Specifically, based on the multispectral image data of the current batch of hot pot base raw materials, a dynamic background spectral distribution model is constructed. On this basis, a spectral deviation potential field and a moisture difference enhancement potential field are constructed. A comprehensive abnormal energy distribution is formed by coupling the two potential fields. The energy boundary is divided according to the dynamic threshold. Candidate foreign object regions are generated through spatial connectivity optimization. The sub-steps for extracting the candidate foreign object region include step S31, dynamic background spectral distribution model construction, step S32, spectral deviation potential field construction, step S33, moisture difference enhancement potential field construction, step S34, dual potential field coupling anomalous energy construction, step S35, adaptive energy boundary generation, and step S36, candidate foreign object region generation. Step S4 is used to determine the type of foreign object and generate foreign object removal reference information; Step S5: Intelligent removal of foreign objects and feedback of results.
2. The intelligent foreign object removal method for hot pot base ingredients based on multispectral vision according to claim 1, characterized in that: Step S31 involves constructing a dynamic background spectral distribution model. Specifically, spectral statistical analysis is performed on global pixels in the multispectral image. Background regions are selected based on the consistency of spectral distribution. Background feature vectors, including moisture ratio index and short-wavelength absorption index, are constructed. Statistical analysis is performed on all background feature vectors to calculate the mean and covariance of the background features. A dynamic background spectral distribution model characterizing the spectral statistical distribution characteristics of the current batch of raw materials is then constructed.
3. The intelligent foreign object removal method for hot pot base ingredients based on multispectral vision according to claim 2, characterized in that: Step S32 involves constructing a spectral deviation potential field to characterize the degree of deviation of any pixel from the dynamic background spectral distribution model. Specifically, this is achieved by extracting the water content ratio index and short-wavelength absorption index of any pixel in the multispectral image, constructing a pixel feature vector, and performing statistical distribution consistency matching calculation between the pixel feature vector and the dynamic background spectral distribution model to obtain the spectral deviation distance. Based on the spectral deviation distance, a spectral deviation potential field is constructed to obtain a spectral deviation potential field map.
4. The intelligent foreign object removal method for hot pot base ingredients based on multispectral vision according to claim 3, characterized in that: Step S33: Construction of moisture difference enhancement potential field. Specifically, the reflectance information of each spectral band in the multispectral image is extracted, the enhancement index corresponding to each pixel is calculated, and the moisture difference enhancement potential field is constructed based on the statistical parameters of the enhancement index corresponding to the background region to obtain a transparent enhancement potential field map.
5. The intelligent foreign object removal method for hot pot base ingredients based on multispectral vision according to claim 4, characterized in that: Step S34 involves constructing the dual-potential-field coupled anomalous energy, specifically by weighted fusion of the spectral deviation potential field and the moisture difference enhancement potential field to obtain the comprehensive anomalous energy distribution.
6. The intelligent foreign object removal method for hot pot base ingredients based on multispectral vision according to claim 5, characterized in that: Step S35 is adaptive energy boundary generation. Specifically, it involves statistically analyzing the comprehensive abnormal energy distribution to obtain the energy mean and energy standard deviation, constructing a dynamic threshold, forming an energy boundary based on the dynamic threshold to divide the normal region and the abnormal region, and determining the comprehensive abnormal energy distribution to generate an abnormal mask map.
7. The intelligent foreign object removal method for hot pot base ingredients based on multispectral vision according to claim 6, characterized in that: Step S36 generates candidate foreign object regions. Specifically, by performing spatial connectivity optimization on the anomaly mask map, candidate foreign object regions are obtained. Based on the potential field response characteristics, candidate regions are marked and classified into hard opaque foreign object regions, weak spectral response foreign object regions, and animal-derived foreign object regions.
8. The intelligent foreign object removal method for hot pot base ingredients based on multispectral vision according to claim 7, characterized in that: In step S4, the foreign object type determination specifically involves extracting the reflectance and ultraviolet fluorescence intensity information of the candidate foreign object region in each spectral band, constructing a spectral feature vector of the candidate foreign object region corresponding to the spectral fingerprint vector structure, performing similarity matching between the spectral feature vector of the candidate foreign object region and the spectral fingerprint database to obtain the foreign object type and matching confidence, and calculating the spatial position of the foreign object in the conveyor belt coordinate system.
9. The intelligent foreign object removal method for hot pot base ingredients based on multispectral vision according to claim 8, characterized in that: In step S2, the substance categories are divided according to specific substance types, and each substance category corresponds to a single type of hot pot base raw material or a single type of foreign object that appears in the hot pot base production process. In step S5, the intelligent removal and result feedback of foreign objects specifically generates removal control instructions based on the type of foreign object, matching confidence level and spatial location, and calls the corresponding removal execution mechanism to remove foreign objects on the conveyor belt in a directional manner according to the type of foreign object. At the same time, the removal results are verified and the spectral fingerprint database is updated.
