Non-destructive detection methods and systems for identifying parasitic infections in fish

By using visible light/near-infrared hyperspectral imaging technology, combined with feature extraction and modeling methods, the problems of accuracy and speed in fish parasite detection have been solved, achieving efficient non-destructive detection of fish parasites. In particular, the detection accuracy rate in the fish abdomen reaches 99.24%, and the detection accuracy rate in the whole fish reaches 99.99%.

CN118583795BActive Publication Date: 2026-03-10VEGETABLE RES INST GUANGDONG ACAD OF AGRI SERVICES
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing technologies are insufficient for the effective and rapid detection of parasite infections in fish, especially when testing whole fish due to the large amount of data processing required and the lack of certainty regarding the detection area.

Method used

Visible/near-infrared hyperspectral imaging technology was used to collect the average raw spectrum of the fish belly. Combined with noise reduction, feature extraction and model recognition, the standard normal variation method was used to reduce noise, the competitive adaptive reweighted sampling method was used to extract features, and partial least squares discriminant analysis was used to establish the model.

Benefits of technology

It achieves high-accuracy non-destructive detection of fish parasite infections, with an accuracy rate of 99.24% in the abdominal cavity and 99.99% in the whole fish, and significantly improves detection speed and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118583795B_ABST
    Figure CN118583795B_ABST
Patent Text Reader

Abstract

This invention belongs to the field of non-destructive testing and discloses a non-destructive testing method for identifying parasitic infections in fish. It involves acquiring the average raw spectrum of the fish's abdomen using visible / near-infrared hyperspectral imaging technology, performing noise reduction or removal on the average raw spectrum, extracting features, and then incorporating the extracted features into a pre-established model for identification, thus obtaining the identification result. This invention was validated using minnows, and it was found that the detection accuracy of the fish's abdomen is higher, with fewer image pixels, less data analysis, and faster computation speed. Furthermore, this invention also provides a system for implementing this method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of nondestructive testing technology, specifically to a nondestructive testing method and system for identifying parasitic infections in fish. Background Technology

[0002] Fish, prized for its delicious taste and rich nutritional value, is a popular food enjoyed by consumers worldwide. However, the presence of parasites in fish severely impacts the fish industry. Firstly, countries refuse to import fish infected with parasites, resulting in significant economic losses. Secondly, parasites in raw fish (sashimi) pose risks to human health, causing problems such as abdominal pain, diarrhea, vomiting, and organ damage. This issue is particularly concerning to consumers. While chemical prevention and control have proven effective against fish parasites, they can also lead to drug resistance. Non-chemical methods are currently underdeveloped, leaving the industry lacking appropriate strategies to mitigate the effects of parasites.

[0003] Non-destructive testing (NDT) technologies have been widely applied to food quality grading, providing new solutions to quality problems in agricultural products that cannot be addressed during cultivation. In the fish industry, developing NDT methods for fish parasite detection is crucial, as it plays a key role in ensuring export and food safety. Currently, NDT technologies used to assess food quality include visible / near-infrared (VIS / NIR) spectroscopy, VIS / NIR hyperspectral imaging, machine vision, and electronic noses. However, electronic nose technology requires at least one minute per sample due to the need for volatile sampling and sensor cleaning. On the other hand, machine vision technology focuses only on the appearance of the sample and cannot capture the specific characteristics of fish parasites.

[0004] In contrast, visible / near-infrared spectroscopy can collect a wealth of information from the surface of the target, showing great potential for non-destructive detection of fish parasites. While visible / near-infrared spectroscopy focuses on a single point of the target, visible / near-infrared hyperspectral imaging can acquire comprehensive information about the entire fish body. Therefore, visible / near-infrared (VIS / NIR) hyperspectral imaging can provide a comprehensive understanding of fish and enable the development of a method for detecting fish parasites.

[0005] The applicant's earlier application CN114359539B discloses a method for intelligent identification of parasites in sashimi using hyperspectral images.

[0006] This method is mainly used for the detection of parasites or parasite eggs in fish fillets.

[0007] The above methods have many shortcomings when it comes to whole fish testing.

[0008] The most pressing question is: how to determine the image region to be detected?

[0009] If we examine the spectrum of a whole fish image, the data processing volume would be too large; if we examine a local area, can it accurately pinpoint the presence of parasites? These are all problems that need to be solved. Summary of the Invention

[0010] The purpose of this invention is to provide a non-destructive detection method for identifying parasitic infections in fish. This invention was verified using minnows and found that the detection accuracy is higher when the fish's abdomen is located, and the acquired images have fewer pixels, require less data analysis, and have a faster calculation speed.

[0011] In addition, the present invention also provides a system for implementing the method.

[0012] To achieve the above objectives, the present invention provides the following technical solution: a non-destructive detection method for identifying parasitic infections in fish, which acquires the average original spectrum of the fish belly using visible light / near-infrared hyperspectral imaging technology, performs noise reduction or removal and feature extraction on the average original spectrum, and adds the extracted features to a pre-established model for identification to obtain the identification result.

[0013] In the above-mentioned non-destructive detection method for identifying parasitic infections in fish, the average original spectral acquisition area is not less than an area of ​​15 pixels * 15 pixels.

[0014] In the above-mentioned non-destructive detection method for identifying parasitic infections in fish, the original spectra are collected from the position corresponding to the stomach on the abdomen of the fish.

[0015] In the above-mentioned non-destructive detection method for identifying parasitic infections in fish, the standard normal variation method is used to reduce the noise of the average original spectrum.

[0016] In the above-mentioned non-destructive detection method for identifying parasitic infections in fish, a competitive adaptive reweighted sampling method is used to extract features of the average original spectrum after noise reduction processing.

[0017] In the above-mentioned non-destructive detection method for identifying parasitic infections in fish, the model is established using partial least squares discriminant analysis.

[0018] In the above-mentioned non-destructive detection method for identifying fish parasite infections, an RGB image containing the fish is acquired using visible light / near-infrared hyperspectral imaging technology; the location of the fish is determined using the RGB image; and the average raw spectrum is collected from the location of the stomach in the fish's abdomen using visible light / near-infrared hyperspectral imaging technology.

[0019] In the above-mentioned non-destructive testing method for identifying parasitic infections in fish, the fish is the minnow; and the parasite is Clonorchis sinensis.

[0020] Meanwhile, the present invention also discloses a system for implementing the above method, which includes a visible light / near-infrared hyperspectral imaging system and a server;

[0021] The visible / near-infrared hyperspectral imaging system is used to acquire the average raw spectrum;

[0022] The server is used to reduce or remove noise and extract features from the average raw spectrum. The extracted features are then added to a pre-established model for recognition to obtain the recognition result.

[0023] Compared with the prior art, the beneficial effects of the present invention are:

[0024] This invention is the first to utilize visible / near-infrared (VIS / NIR) hyperspectral imaging technology for non-destructive detection of parasites in fish.

[0025] The results show that visible / near-infrared hyperspectral imaging, combined with appropriate feature extraction, spectral preprocessing, and modeling methods, can serve as a reliable tool for detecting parasites in fish.

[0026] The optimal preprocessing and modeling method for fish parasites is raw spectrum + SNV + CARS + PLS_DA. Using this method, the detection accuracy on the calibration set and validation set based on the average spectrum of the whole fish is 99.99% and 90.90%, respectively.

[0027] When detecting parasites in different parts of the fish, the detection accuracy, from highest to lowest, was: stomach, head, tail / fin, and back. Specifically, the detection accuracy based on the average spectrum of the fish abdomen was 99.24% and 93.93% for the calibration and validation sets, respectively. These results indicate that the smallest region for non-destructive detection of gastric parasites in fish is a single spectral extraction unit (15×15 pixels), with detection accuracies of 99.99% and 90.90% for the calibration and validation sets, respectively.

[0028] Therefore, the recommended optimal method for non-destructive detection of fish parasites is to use the average raw spectrum of the stomach region, combined with SNV, CARS, and PLS_DA. If detection speed is a primary consideration, it is also recommended to use the average raw spectrum of the smallest region of the stomach, again combined with SNV, CARS, and PLS_DA. These results confirm that visible / near-infrared (VIS / NIR) hyperspectral imaging provides a smart, non-destructive method for detecting parasites in fish, which is of great significance to global fisheries. Attached Figure Description

[0029] Figure 1 This is a schematic diagram of the structure of Embodiment 1 of the present invention;

[0030] Figure 2a This is an RGB image of the fish shown in Example 2;

[0031] Figure 2b This is a schematic diagram of the fish parts shown in Example 2;

[0032] Figure 3a It is the average original spectrum of the whole fish in Example 3;

[0033] Figure 3b This is the spectrum of the whole fish after SNV treatment in Example 3;

[0034] Figure 4a This is the average original spectrum of the fish head from Example 4;

[0035] Figure 4b This is the spectrum of the fish head after SNV treatment in Example 4;

[0036] Figure 4c This is the average original spectrum of the fish's back in Example 4;

[0037] Figure 4d This is the spectrum of the fish back after SNV treatment in Example 4;

[0038] Figure 4e This is the average original spectrum of the fish belly from Example 4;

[0039] Figure 4f This is the spectrum of the fish belly after SNV treatment in Example 4;

[0040] Figure 4g This is the average original spectrum of the fish tail in Example 4;

[0041] Figure 4h This is the spectrum of the fish tail after SNV treatment in Example 4;

[0042] Figure 4i This is the average original spectrum of the fish fins in Example 4;

[0043] Figure 4j This is the spectrum of the fish fin after SNV treatment in Example 4;

[0044] Figure 5a It is the average original spectrum of the smallest region of the fish head in Example 5;

[0045] Figure 5b This is the spectrum of the smallest region of the fish head in Example 5 after SNV processing; Figure 5c It is the average original spectrum of the smallest region on the back of the fish in Example 5;

[0046] Figure 5d This is the spectrum of the smallest region on the back of the fish in Example 5 after SNV processing; Figure 5e It is the average original spectrum of the smallest region of the fish belly in Example 5;

[0047] Figure 5f This is the spectrum of the smallest region of the fish belly in Example 5 after SNV processing;

[0048] Figure 5g It is the average original spectrum of the smallest region of the fish tail in Example 5;

[0049] Figure 5h This is the spectrum of the smallest region of the fish tail in Example 5 after SNV processing;

[0050] Figure 5i It is the average original spectrum of the smallest region of the fin in Example 5;

[0051] Figure 5j This is the spectrum of the smallest region of the fin in Example 5 after SNV treatment. Detailed Implementation

[0052] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0053] Example 1

[0054] Visible / Near Infrared (VIS / NIR) Hyperspectral Imaging Platform

[0055] Figure 1 The visible / near-infrared (VIS / NIR) hyperspectral imaging platform used in this invention is shown, specifically including a dark box 1, a support 2 located inside the dark box, light sources 3 fixed on the left and right sides of the support, and a hyperspectral imaging spectrometer 4 (Pika XC2 spectrometer, Resonon Inc.) mounted on the top of the support. The hyperspectral imaging spectrometer uses a linear array CCD push-broom imaging camera. To ensure the acquisition of comprehensive hyperspectral images, a sample converter is used to synchronize the scanning speed of the imaging camera and the spectrometer.

[0056] The bottom of the support is the stage 5, and there is a placement platform 6 on the stage. The fish 8 is placed on the placement platform, and the hyperspectral imaging spectrometer is connected to the server 7 through the data cable 9.

[0057] The distance between the hyperspectral imaging spectrometer and the stage is 39 cm, and the distance between the light source and the stage is 22 cm.

[0058] Each hyperspectral raw image comprises 1200 rows and 1600 columns, capturing the visible / near-infrared spectrum of each pixel within the wavelength range of 386.37 nm to 1102.86 nm (including 462 nm data).

[0059] The hyperspectral image is in *.bil file format and the data type is uint 16.

[0060] Each time a hyperspectral image was acquired, six fish samples were placed on a white A4 sheet of paper and photographed simultaneously. The optimization of sampling parameters required repeated testing and adjustment. The final parameters are as follows: integration time of 11.87 ms, frame rate of 83.19 fps, line width of 52, scanning speed of 15.87 cm / s, movement speed of 14.99 cm / s, and jogging speed of 1.587 cm / s.

[0061] Example 2

[0062] Biochemical methods for detecting parasites

[0063] Wild topmouth gudgeon were sampled using visible / near-infrared (VIS / NIR) hyperspectral imaging on the platform described in Example 1. The entire fish meat sample was then treated with melamine and subjected to pepsin digestion for 20 hours, with a fish meat to pepsin weight ratio of 1:10. The pepsin solution was artificially prepared by mixing 15 g of pepsin with 8 ml of 36 wt% hydrochloric acid, followed by the addition of 1000 ml of 0.9 wt% physiological saline. After digestion, the filtrate was collected through a 60-mesh sieve, allowed to stand for 30 minutes, and then the supernatant was removed. The remaining residue was thoroughly washed with physiological saline, filtered through a 200-mesh sieve, and examined under an optical microscope for the presence of Clonorchis sinensis.

[0064] As a result, this study observed that 21 out of 66 fish were infected with Clonorchis sinensis, with an infection rate of 31.82%.

[0065] In Example 2, visible / near-infrared (VIS / NIR) hyperspectral imaging sampling was performed, and visible / near-infrared hyperspectral imaging data were obtained.

[0066] RGB images were extracted from visible / near-infrared hyperspectral imaging data, including images at wavelengths of 615.98 nm, 549.62 nm, and 470.39 nm. These RGB images visually display each sample, allowing for the determination of its contour and providing a localization basis for subsequent acquisition of the local average raw spectrum of the fish. (RGB images are available for reference.) Figure 2a ;

[0067] Each pixel in the visible / near-infrared hyperspectral imaging data contains the spectrum in both the visible and near-infrared ranges. To further investigate the parasite detection effectiveness in different parts of the fish, each fish sample was carefully divided into five parts: head, back, abdomen, tail, and fins. Figure 2b ).

[0068] Example 3

[0069] Data preprocessing and modeling based on whole-fish visible / near-infrared hyperspectral imaging data

[0070] Step 1: Obtain the average raw spectrum of the entire fish (from head to tail) from visible / near-infrared hyperspectral imaging data;

[0071] Specifically, the visible / near-infrared hyperspectral imaging data is the raw spectrum, and the average raw spectrum can be obtained by averaging the raw spectrum;

[0072] A region contains many pixels, and each pixel stores a spectrum, namely the original spectrum. The average original spectrum is the average of the multiple original spectra of this region, forming a spectral curve that can represent this region. This spectral curve is the average original spectrum.

[0073] Step 2: Apply the Savitzky-Gorye filter (SG) (Jamshidi, Minaei, Mohajerani, & Ghassemian, 2012) to the average raw spectrum to minimize the jitter noise of the average raw spectrum.

[0074] Step 3: Based on the processing in Step 2, the standard normal variation (SNV) method (Barnes, Dhanoa and Lister, 1989) is used to reduce scattering noise;

[0075] Figure 3a This displays the average original spectrum of the entire fish. Figure 3a In the diagram, the horizontal axis represents wavelength, and the vertical axis represents spectral energy.

[0076] Figure 3a The displayed spectra could not detect waveform differences between infected and uninfected samples. Inputting these spectra into a model built using the PLS-DA method yielded unsatisfactory results.

[0077] Figure 3b The spectrum after SNV processing is displayed. (Through...) Figure 3b It is evident that the clustering performance of the spectrum is significantly improved after SNV processing, thereby enhancing the accuracy of parasite detection.

[0078] The above Figure 3a and Figure 3b It displays the spectrum of the entire fish;

[0079] The Savitzky-Gore filter (SG) and the standard normal variation (SNV) method do not require parameter settings and can use the default parameters.

[0080] Step 4: Feature extraction. The CARS method is used to extract features from the spectrum processed in Step 3.

[0081] In the preliminary experiments, Principal Component Analysis (PCA) (Wold, Esbensen, and Gelabi, 1987) and Continuous Projection Algorithm (SPA) (Soares, Gomes, Araujo, ...) were used respectively. Filho and Feature extraction was performed using the competitive adaptive reweighted sampling method (CARS) (Li, Liang, Xu and Cao, 2009);

[0082] After verification, CARS outperforms PCA and SPA. This can be attributed to the fact that CARS is a supervised feature selection method that selects features based on the relationship between input and output data (Yao et al., 2022), while PCA and SPA are unsupervised methods that rely only on the differences in input data (Sauwen et al., 2016; Jiang et al., 2018).

[0083] CARS (Competitive Adaptive Reweighted Sampling) is a feature selection method for spectral data analysis. It selects the bands with the highest information content through an iterative adaptive reweighting sampling process. In each step, competitive screening and weight adjustment are performed based on the contribution of each band to the model to obtain the feature bands, thereby improving the model's predictive performance.

[0084] Step 5: Model building, using PLS-DA to build the model;

[0085] In this step, three methods were used to verify the optimal modeling method: Partial Least Squares Discriminant Analysis (PLS-DA) (Pérez-Enciso & Tenenhaus, 2003), Support Vector Machine (SVM) (Suthaharan & Suthaharan, 2016), and Random Forest (RF) (Rigatti, 2017).

[0086] In parasite detection modeling, PLS-DA outperforms SVM and RF. PLS-DA primarily focuses on detecting linear correlations between input and output data (Chevallier, Bertrand, Kohler, & Courcoux, 2006), while SVM and RF emphasize detecting nonlinear correlations (Dong, Li, & Xie, 2014). Therefore, it can be inferred that linear correlations contribute more than nonlinear correlations in fish parasite detection modeling.

[0087] During the modeling process, the data was divided into two parts, a calibration set and a validation set, using a random partitioning method with a ratio of 8:2, where the calibration set consisted of 8 parts and the validation set consisted of 2 parts.

[0088] In whole-fish detection, the modeling data is the average spectral value corresponding to the region where each fish is located.

[0089] During the testing phase, infected and uninfected fish were randomly divided into three groups. Each test performed three-fold cross-validation, with each cross-validation set consisting of alternating sets of infected and uninfected samples (22 samples) and two cross-validations consisting of a calibration set (44 samples).

[0090] In the PLS-DA model, the latent variables (LVs) refer to the latent variables selected by the model, extracted by maximizing the covariance between the explanatory and response variables. Properly setting LVs helps achieve effective data dimensionality reduction and balances the model's interpretability and predictability. The optimal number is typically determined by examining the proportion of variance explained by each component or by using cross-validation to avoid overfitting and improve model performance.

[0091] Step 6: After the model is built, the features of the fish to be detected are obtained through the methods in steps 1 to 4. The features are then input into the model trained in step 5 for detection to obtain the detection results.

[0092] The parasite detection results based on the visible / near-infrared spectra of the whole fish are shown in Table 1;

[0093] Table 1: Parasite detection results based on different processing and modeling methods of whole fish VIS / NIR spectra

[0094]

[0095] Note: The 1-fold, 2-fold, and 3-fold divisions in the table above represent different ways of dividing the dataset. Due to the small number of samples, in order to obtain more convincing results, each group of randomly grouped samples was used as a validation set independently, and the other two groups were used as calibration sets. The above three-fold divisions were performed three times to obtain their respective accuracies, thereby obtaining the average accuracy and verifying the applicability of the algorithm.

[0096] As can be seen from the results in Table 1 above, its accuracy is 90.90%.

[0097] Example 4

[0098] Data preprocessing and modeling based on visible / near-infrared hyperspectral imaging data of fish parts

[0099] Step 1: Obtain the average raw spectrum of different parts of the fish from visible / near-infrared hyperspectral imaging data;

[0100] The parts described in this step are the fish head, back, belly, tail, and fins;

[0101] Step 2: Apply a Savitzky-Gore filter (SG) to the averaged raw spectrum to minimize jitter noise;

[0102] Step 3: Based on the processing in Step 2, the standard normal variation (SNV) method is used to reduce scattering noise;

[0103] exist Figures 4a-4i The original average spectra and the spectra processed by the SNV method (hereinafter referred to as SNV spectra) of the fish head, back, belly, tail, and fins are shown in the figure; among them, Figures 4a-4i In this context, the sampling area refers to the entire part of the fish. For example, the original average spectrum of the fish head refers to the original average spectrum of the entire fish head region.

[0104] It is worth noting the clustering performance of the raw back spectrum ( Figure 4c The dorsal region is relatively less sparse than other areas. This difference may be due to the greater curvature of the dorsal region, which introduces more scattering noise into the spectrum. Therefore, compared to other regions, the SNV spectrum of the dorsal region is less sparse. Figure 4d It exhibits a greater degree of jitter noise.

[0105] In addition, relative to the head ( Figure 4a ) and abdomen ( Figure 4e The original average spectrum of ) and the tail ( Figure 4g ) and fins ( Figure 4i The original average spectrum of the head and abdomen appears flatter. This observation suggests that the spectra of the head and abdomen capture more information about the fish's characteristics.

[0106] Step 4: Feature extraction. The CARS method is used to extract features from the spectrum processed in Step 3.

[0107] Step 5: Model building, using PLS-DA to build the model;

[0108] In the partial detection, the modeling data is the average spectral data of the head, stomach, back, tail, and fin regions corresponding to each fish.

[0109] Step 6: After the model is built, the features of the fish to be detected are obtained through the methods in steps 1 to 4. The features are then input into the model trained in step 5 for detection to obtain the detection results.

[0110] The results of parasite detection based on visible / near-infrared spectroscopy of fish parts are shown in Table 2;

[0111] Table 2: Parasite detection results based on different processing and modeling methods of VIS / NIR spectra from different parts of the fish.

[0112]

[0113]

[0114] The modeling and detection results based on the spectra of different fish body parts (using the original average spectrum + SNV + CARS + PLS-DA) (Table 2) are consistent with the spectral characteristics shown in Figure 4. Regarding parasite detection accuracy, the accuracy of different fish body parts, from highest to lowest, is: abdomen > head > tail / fin > back. Notably, the validation set accuracy using the stomach spectrum (93.93%) exceeded that using the whole fish spectrum. This indicates that removing appropriate redundant information can further improve detection accuracy.

[0115] Example 5

[0116] Data preprocessing and modeling based on the minimum region of visible / near-infrared hyperspectral imaging data of fish parts

[0117] Step 1: Obtain the average raw spectrum of the smallest region from different parts of the fish from the visible / near-infrared hyperspectral imaging data;

[0118] The parts described in this step are the fish head, back, belly, tail, and fins;

[0119] The smallest region refers to a 15x15 pixel area of ​​that part.

[0120] Step 2: Apply a Savitzky-Gore filter (SG) to the averaged raw spectrum to minimize jitter noise;

[0121] Step 3: Based on the processing in Step 2, the standard normal variation (SNV) method is used to reduce scattering noise;

[0122] Figures 5a to 5j The original and SNV spectra of the smallest regions of the head, back, abdomen, tail, and fins are shown. Notably, the original spectrum of the smallest region of the head (…) Figure 5a The clustering performance of ) is not as good as the original spectrum of the entire head region. Figure 4a This is due to the heterogeneity of the head, including the face, mouth, and eyes. Conversely, the clustering performance of the original spectrum from the smallest region of the back ( Figure 5c The clustering performance is better than that of the entire back region. Figure 4c This is because a smaller area effectively reduces some of the scattering noise caused by the non-planar back surface. However, the smallest area on the back and the tail ( Figure 5g ) and fins ( Figure 5i The original spectral waveform of the minimum region is not obvious. On the other hand, the abdominal minimum region ( Figure 5e The original spectral waveform quality remains very good, and its SNV spectrum ( Figure 5f ) and head ( Figure 5b ) and back ( Figure 5d The noise level is lower compared to the stomach. Furthermore, the waveform in the smallest region of the stomach is also lower than that in the tail. Figure 5h ) and fins ( Figure 5j The waveform in the region is good.

[0123] Step 4: Feature extraction. The spectral data of the smallest region of the stomach after processing in Step 3 are extracted using the CARS method.

[0124] Step 5: Model building, using PLS-DA to build the model;

[0125] This step extracted the spectra of one, two, three, four, and five minimal regions (15*15 pixels) in the stomach. This data was used to build a parasite detection model.

[0126] In the minimum region detection (15x15 pixels), the modeling data is the average raw spectral data extracted from the 15x15 rectangle of the stomach region of each fish;

[0127] For the stomach, which yields the best results in site-specific detection, a minimum spectral region (15*15 pixels) is selected to reduce the amount of spectral data and computational complexity, thereby improving detection speed while maintaining high accuracy. By selecting spectral data from one, two, three, four, and five minimum regions in the stomach, and then processing this data through model building, the accuracy rate corresponding to selecting a single minimum region was found to be optimal. This confirms that selecting the spectral information of a 15*15 pixel region in the stomach is feasible, enabling faster detection of parasites in fish.

[0128] Step 6: After the model is built, the features of the fish to be detected are obtained through the methods in steps 1 to 4. The features are then input into the model trained in step 5 for detection to obtain the detection results.

[0129] The results of parasite detection based on the minimum visible / near-infrared spectra of fish parts are shown in Table 3;

[0130] Table 3. Parasite detection results based on fish minimum region spectroscopy.

[0131]

[0132] After the ideal region size was determined to be the minimum region, the detection accuracy on the validation set reached 90.90%.

[0133] Combining the spectra of the smallest regions of different parts of the fish during the modeling process (mixed regions in Table 3) significantly reduces the detection accuracy of the validation set, dropping it to 79.39%.

[0134] Surprisingly, the detection performance using the raw average spectrum of the entire fish was comparable to that using the smallest region of the stomach. This indicates that as the spectral extraction area increases, the detection accuracy initially decreases and then begins to increase, while the ratio of useful information to noise also increases. Based on the dual requirements of efficiency and accuracy, this embodiment uses the average raw spectrum of the smallest region of the stomach, preprocesses it using SNV and CARS, and performs detection based on a model built using the PLS_DA method.

[0135] Results analysis:

[0136] The experimental results of Examples 3 to 5 of the present invention determine that the most effective method for fish parasite pretreatment and modeling is raw spectrum + standard normal variable (SNV) + competitive adaptive reweighted sampling (CARS) + partial least squares discriminant analysis (PLS_DA).

[0137] The accuracy of parasite detection in different parts of a fish, from highest to lowest, is as follows: stomach, head, tail / fin, and back.

[0138] The smallest area for non-destructive parasite detection is a single spectral extraction unit (15×15 pixels) in the stomach.

[0139] The optimal non-destructive detection method for fish parasites is to use the average raw spectrum of the stomach in conjunction with SNV, CARS, and PLS_DA. This method achieved detection accuracies of 99.24% and 93.93% on the calibration and validation sets, respectively. For applications requiring faster detection, it is recommended to consider the average raw spectrum of the smallest region of the stomach, combined with SNV, CARS, and PLS_DA. Using this method, the detection accuracies on the calibration and validation sets are 99.99% and 90.90%, respectively. These results demonstrate the significant potential of VIS / NIR hyperspectral imaging as a smart non-destructive detection method for fish parasites.

[0140] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

Claims

1. A non-destructive method of identifying a fish parasite infection, characterized in that, The average original spectrum of the position corresponding to the fish belly and stomach is collected by visible / near-infrared hyperspectral imaging technology, noise reduction or removal is performed on the average original spectrum, feature extraction is performed, the extracted features are added to a pre-established model for identification, and an identification result is obtained. The feature extraction specifically extracts features of the average original spectrum after noise reduction or removal by using a competitive adaptive reweighted sampling method.

2. The non-destructive method of detecting fish parasite infestation according to claim 1, wherein, The average original spectrum collection area is not less than 15 pixels*15 pixels.

3. The non-destructive method of detecting fish parasite infestation according to claim 1, wherein, The standard normal variation method is used to reduce the noise of the average original spectrum.

4. The non-destructive method of detecting fish parasite infestation according to claim 3, wherein, The competitive adaptive reweighted sampling method is used to extract features of the average original spectrum after noise reduction.

5. The non-destructive method of detecting fish parasite infestation according to claim 1, wherein, The model is established by using a partial least squares discriminant analysis method.

6. The non-destructive method of detecting fish parasite infestation according to claim 1, wherein, An RGB image containing a fish is obtained by visible / near-infrared hyperspectral imaging technology; the position of the fish is determined by the RGB image; and the average original spectrum is collected from the position of the fish belly and stomach by visible / near-infrared hyperspectral imaging technology.

7. The non-destructive method of detecting fish parasite infestation according to claim 1, wherein, The fish is Pseudorasbora parva; and the parasite is Clonorchis sinensis.

8. A system for implementing the method of any one of claims 1-7, characterized by: The system comprises a visible / near-infrared hyperspectral imaging system and a server. The visible / near-infrared hyperspectral imaging system is used to obtain the average original spectrum. The server is used to reduce or remove noise, extract features, add the extracted features to a pre-established model for identification, and obtain an identification result.

Citation Information

Patent Citations

  • Method for forming raw fish body quality calibration curve, and raw fish body quality discrimination method

    JP2008145341A