Laser & Optoelectronics Progress, Volume. 62, Issue 6, 0612002(2025)

Detection of Food-Packaging Defects Based on Laser Speckle

Yang Chen1、*, Xiaojing Chen1, wen Shi1, Zhonghao Xie1, Guangzao Huang1, and Liang Zhao2
Author Affiliations
  • 1College of Electrical and Electronic Engineering, Wenzhou University, Wenzhou 325006, Zhejiang , China
  • 2Zhejiang Ruisong Food Co., Ltd., Wenzhou 325200, Zhejiang , China
  • show less
    Figures & Tables(16)
    Schematic diagram of laser speckle image acquisition system
    Physical image of laser speckle image acquisition system
    Instant dried fish packaging
    Ordinary optical camera takes pictures of dried fish package. (a) Defect; (b) normal
    Laser speckle system takes pictures of package dried fish. (a) Defect; (b) normal
    Original laser speckle images. (a)‒(c) Defect; (d) normal
    Laser speckle images after Gaussian filtering. (a)‒(c) Defect; (d) normal
    Laser speckle image pixel histograms. (a) Original image; (d) image after Gaussian filtering
    Laser speckle images after histogram equalization. (a)‒(c) Defect; (d) normal
    Random forest features importance
    Sample error zones. (a) Area where defect sample is misjudged; (d) area where normal sample is misjudged
    • Table 1. Characteristic quantity extracted in this study

      View table

      Table 1. Characteristic quantity extracted in this study

      IndexAbbreviationFull name
      1GH_MEANMean value of rayscale histogram
      2GH_VARVariance of grayscale histogram
      3GH_SKEWNESSSkewness of grayscale histogram
      4GH_KURTOSISKurtosis of grayscale histogram
      5ASM_MEANMean value of angular second moment
      6ENT_MEANMean value of entropy
      7INE_MEANMean value of inertia
      8COR_MEANMean value of inertia
      9ASM_SDEVStandard deviation of angular second moment
      10ENT_SDEVStandard deviation of entropy
      11INE_SDEVStandard deviation of inertia
      12COR_SDEVStandard deviation of inertia
    • Table 2. Comparison of results of different classification methods

      View table

      Table 2. Comparison of results of different classification methods

      MethodModeling accuracy /%Forecast accuracy /%
      RF97.8796.08
      KNN89.5888.24
      SVM78.9176.47
      LR77.6175.49
      LDA77.5974.51
    • Table 3. Importance scores for 12 feature quantities

      View table

      Table 3. Importance scores for 12 feature quantities

      FeatureImportance score
      GH_MEAN0.5644
      GH_VAR1.7547
      GH_SKEWNESS0.5193
      GH_KURTOSIS0.3470
      ASM_MEAN1.2340
      ENT_MEAN0.8315
      INE_MEAN1.1111
      COR_MEAN1.1149
      ASM_SDEV0.9467
      ENT_SDEV1.1363
      INE_SDEV0.9615
      COR_SDEV1.5173
    • Table 4. Classification result of selected feature quantity based on feature importance score

      View table

      Table 4. Classification result of selected feature quantity based on feature importance score

      FeatureImportance scoreModeling accuracy /%Forecast accuracy /%
      GH_VAR1.754782.9881.37
      ASM_MEAN1.234072.6269.61
      INE_MEAN1.111169.2768.63
      COR_MEAN1.114964.5163.73
      ENT_SDEV1.136367.0164.67
      COR_SDEV1.517375.0972.55
    • Table 5. Results of pairwise classification of characteristic quantities

      View table

      Table 5. Results of pairwise classification of characteristic quantities

      FeatureForecast accuracy /%
      GH_VARASM_MEANINE_MEANCOR_MEANENT_SDEVCOR_SDEV
      GH_VAR
      ASM_MEAN88.24
      INE_MEAN94.1287.25
      COR_MEAN84.3191.2883.33
      ENT_SDEV86.2790.2089.2287.25
      COR_SDEV86.2789.2293.1484.3194.12
    Tools

    Get Citation

    Copy Citation Text

    Yang Chen, Xiaojing Chen, wen Shi, Zhonghao Xie, Guangzao Huang, Liang Zhao. Detection of Food-Packaging Defects Based on Laser Speckle[J]. Laser & Optoelectronics Progress, 2025, 62(6): 0612002

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Instrumentation, Measurement and Metrology

    Received: Jun. 4, 2024

    Accepted: Aug. 28, 2024

    Published Online: Mar. 13, 2025

    The Author Email:

    DOI:10.3788/LOP241419

    CSTR:32186.14.LOP241419

    Topics