•  
  •  
 

Corresponding Author(s)

杨超宇(1981—),男,安徽理工大学教授,博士。E-mail:yangchy@aust.edu.cn

Abstract

[Objective] To achieve efficient detection of fine foreign objects in instant noodle, this paper proposes an instant noodle anomaly detection method based on few-shot learning and feature alignment. [Methods] The method uses a pre-trained residual network as a feature extraction network for efficiently extracting the features of the instant noodle image. The image is geometrically transformed by introducing a spatial transformation network for better alignment and extraction of features. Feature alignment is used to align the key features in the image so that the accuracy and generalization ability of the model can be ensured in detecting instant noodle anomalies. [Results] Experiments are conducted on a self-made instant noodle dataset, and the proposed method achieves areas under the curve (AUCs ) of 86. 2% and 93. 3% at the 5-shot image level and pixel level, respectively, which outperforms other methods on the instant noodle dataset. [Conclusion] The proposed method can effectively detect fine foreign objects in the instant noodle anomaly detection task.

Publication Date

11-19-2025

First Page

52

Last Page

58

DOI

10.13652/j.spjx.1003.5788.2024.81203

References

[1] 王春艳,韩冰,李晶,等.综述我国食品安全标准体系建设现状[J].中国食品学报,2021,21(10):359-364.WANG C Y,HAN B,LI J,et al.A research review on the current situation of food safety standard system construction in China [J].Journal of Chinese Institute of Food Science and Technology,2021,21(10):359-364.
[2] 李欣铭.食品安全监管法律法规体系完善路径探析 [J].食品与机械,2024,40(8):246-250.LI X M.Analysis on the improvement path of food safety supervision laws and regulations system [J].Food & Machinery,2024,40(8):246-250.
[3] 王亭.基于机器视觉的面饼检测系统开发 [D].成都:电子科技大学,2020:15-45.WANG T.Development of cake defect system based on machine vision [D].Chengdu:University of Electronic Science and Technology of China,2020:15-45.
[4] AHMED M,MUSTAFA H,WU M Z,et al.Few shot learning for avocado maturity determination from microwave images [J].Journal of Agriculture and Food Research,2024,15:100977.
[5] LIAO H Y,CHEN C C,CHENG A B.Few-shot learning for bagel defect detection [C]// 2023 IEEE 6th Eurasian Conference on Educational Innovation (ECEI ).Piscataway:IEEE,2023:143-145.
[6] ARGÜESO D,PICON A,IRUSTA U,et al.Few-shot learning approach for plant disease classification using images taken in the field [J].Computers and Electronics in Agriculture,2020,175:105542.
[7] JADON S.Ssm-net for plants disease identification in low data regime [C]// 2020 IEEE/ITU International Conference on Artificial Intelligence For Good (AI4G).Piscataway:IEEE,2020:158-163.
[8] CHICCO D.Siamese neural networks:an overview [J].Methods in Molecular Biology,2021,2 190:73-94.
[9] JADERBERG M,SIMONYAN K,ZISSERMAN A.Spatial transformer networks [J].Advances In Neural Information Processing Systems,2015,28:2 017-2 025.
[10] HE K M,ZHANG X Y,REN S Q,et al.Deep residual learning for image recognition [C]// Proceedings of The IEEE Conference on Computer Vision and Pattern Recognition.Piscataway:IEEE,2016:770-778.
[11] HE F X,LIU T L,TAO D C.Why resnet works ? residuals generalize [J].IEEE Transactions on Neural Networks and Learning Systems,2020,31(12):5 349-5 362.
[12] HAN Z M,LIN Z Y,FU M Y.A survey on distributed network localization from a graph laplacian perspective [J].Journal of Systems Science and Complexity,2024,37(1):273-293.
[13] 范宜凯,刘石坚,潘正祥.一种基于改进拟仿射变换的基础矩 阵 估 计 方 法 [J].计 算 机 工 程 与 科 学,2021,43(11):2 003-2 010.FAN Y K,LIU S J,PAN Z X.A fundamental matrix estimation method based on improved quasi-affine transformation [J].Computer Engineering & Science,2021,43(11):2 003-2 010.
[14] TRIPATHI S M,TIWARI A N,SINGH D.Grid-integrated permanent magnet synchronous generator based wind energy conversion systems:a technology review [J].Renewable and Sustainable Energy Reviews,2015,51:1 288-1 305.
[15] CHEN X L,HE K K.Exploring simple siamese representation learning [C]// Proceedings of The IEEE/CVF Conference on Computer Vision and Pattern Recognition.Piscataway:IEEE,2021:15 750-15 758.
[16] DEFARD T,SETKOV A,LOESCH A,et al.PaDiM:a patch distribution modeling framework for anomaly detection and localization [C]// International Conference on Pattern Recognition.Cham:Springer International Publishing,2021:475-489.
[17] YU J,ZHENG Y,WANG X,et al.Fastflow:unsupervised anomaly detection and localization via 2d normalizing flows [J/OL].Cornell University Library.(2021 -11-15) [2024 -11-20].https://arxiv.org/abs/ 2111.07677.
[18] YAN P,WANG G,LU L.Patchcore:a core abstraction framework for medical image segmentation [J].Medical Image Analysis,2022,79:102926.
[19] GUDOVSKIY D,ISHIZAKA S,KOZUKA K.Cflow-ad:real-time unsupervised anomaly detection with localization via conditional normalizing flows [C]// Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision.Piscataway:IEEE,2022:98-107.
[20] ZHENG Y,WANG X,DENG R,et al.Focus your distribution:coarse-to-fine non-contrastive learning for anomaly detection and localization [C]// 2022 IEEE International Conference on Multimedia and Expo (ICME ).Piscataway:IEEE,2022:1-6.
[21] BERGMANN P,FAUSER M,SATTLEGLER D,et al.Mvtec ad--a comprehensive real-world dataset for unsupervised anomaly detection [C]// Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.Piscataway:IEEE,2019:9 592-9 600.
[22] ZOU Y,JEONG J,PEMULA L,et al.Spot-the-difference self-supervised pre-training for anomaly detection and segmentation [C]// European Conference on Computer Vision.Cham:Springer Nature Switzerland,2022:392-408.

Share

COinS
 
 

To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.