Method for processing sample data, electronic device and storage medium
Abstract
Provided is a method for processing sample data, an electronic device and a storage medium, relating to the field of artificial intelligence technology, and especially to the fields of image processing and computer vision. The method includes: obtaining a plurality of first working images of a spinning box; for each first working image in the plurality of first working images, determining the first working image as a defect image of the spinning box when a difference between the first working image and a normal image of the spinning box meets a first condition; and obtaining a first sample data set based on all defect images in the plurality of first working images.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method for processing sample data, comprising: obtaining a plurality of first working images of a spinning box; for each first working image in the plurality of first working images, determining the first working image as a defect image of the spinning box in a case where a difference between the first working image and a normal image of the spinning box satisfies a first condition; obtaining a first sample data set based on all defect images in the plurality of first working images; wherein the first sample data set is used to train a defect detection model of the spinning box, and the defect detection model is used to detect whether a second working image of the spinning box has a defect; determining a second sample data set from the first sample data set based on a feature quantity of each image in the first sample data set in a case where a confidence of the defect detection model does not satisfy a second condition, by: clustering all images in the first sample data set to obtai
- Claim 2Depends on #1
The method of claim 1, wherein obtaining the first sample data set based on all defect images in the plurality of first working images, comprises: classifying all the defect images according to at least one defect type, to obtain at least one image set corresponding to the at least one defect type one by one; and obtaining the first sample data set based on the at least one image set.
- Claim 3Depends on #2
The method of claim 2, wherein the at least one defect type comprises at least one of defects of a spinneret, a yarn, a yarn guide hook and an oil nozzle in the spinning box.
- Claim 4Depends on #2
The method of claim 2, wherein obtaining the first sample data set based on the at least one image set, comprises: for each image set in the at least one image set, clipping each image in the image set according to a defect type corresponding to the image set, to obtain a detection area image set corresponding to the image set; and obtaining the first sample data set based on at least one detection area image set corresponding to the at least one image set one by one.
- Claim 5Independent Claim
An electronic device, comprising: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores an instruction executable by the at least one processor, and the instruction, when executed by the at least one processor, enables the at least one processor to execute: obtaining a plurality of first working images of a spinning box; for each first working image in the plurality of first working images, determining the first working image as a defect image of the spinning box in a case where a difference between the first working image and a normal image of the spinning box satisfies a first condition; obtaining a first sample data set based on all defect images in the plurality of first working images; wherein the first sample data set is used to train a defect detection model of the spinning box, and the defect detection model is used to detect whether a second working image of the spinning box has a defect; determining a second
- Claim 6Depends on #5
The electronic device of claim 5, wherein obtaining the first sample data set based on all defect images in the plurality of first working images, comprises: classifying all the defect images according to at least one defect type, to obtain at least one image set corresponding to the at least one defect type one by one; and obtaining the first sample data set based on the at least one image set.
- Claim 7Depends on #6
The electronic device of claim 6, wherein the at least one defect type comprises at least one of defects of a spinneret, a yarn, a yarn guide hook and an oil nozzle in the spinning box.
- Claim 8Depends on #6
The electronic device of claim 6, wherein obtaining the first sample data set based on the at least one image set, comprises: for each image set in the at least one image set, clipping each image in the image set according to a defect type corresponding to the image set, to obtain a detection area image set corresponding to the image set; and obtaining the first sample data set based on at least one detection area image set corresponding to the at least one image set one by one.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application claims priority to Chinese Patent Application No. CN202311166776.6, filed with the China National Intellectual Property Administration on Sep. 11, 2023, the disclosure of which is hereby incorporated herein by reference in its entirety. TECHNICAL FIELD The present disclosure relates to the field of artificial intelligence technology, and especially to the fields of image processing and computer vision. BACKGROUND In the chemical fiber industry, when the spinning box produces chemical fiber yarns, the raw materials for spinning are presented in the form of non-Newtonian fluid with a certain viscosity, and the long-term operation of the spinning box will cause too high machine temperature, so the anomalies such as end breakage of yarn wire, floating yarn, hooking yarn, tilt of oil nozzle, tilt of yarn guide hook, yarn wire being not in yarn guide hook, etc. may occur in the spinning box, and the spinning box needs to be inspected. The traditional inspection method is carried out manually, and has the disadvantages of low efficiency and high cost. In related technologies, a method of using the AI model for image detection is proposed to automatically identify the anomalies in the spinning box. However, the training of the model requires a large number of samples, and also requires manual collection of sample images. The frequency of occurrence of the anomalies in the spinning box is relatively low, and the abnormal areas such as floating yarn and hooking yarn are also more subtle and difficult to identify, due to the filamentous characteristic of the yarn itself. Therefore, the manual collection of sample images is very inefficient and error-prone. SUMMARY The present disclosure provides a method and apparatus for processing sample data, an electronic device and a storage medium, to solve or alleviate one or more technical problems in the prior art. In a first aspect, the present disclosure provides a meth
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (19)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- K. Neshatpour, F. Behnia, H. Homayoun and A. Sasan,
- “
- ICNN: an iterative implementation of convolutional neural networks to enable energy and computational complexity aware dynamic approximation,
- ”
- 2018 Design, (DATE), Dresden, Germany, 2018, pp. 551-556, doi: 10.23919/DATE.2018.8342068. (Year: 2018).
- Gao, W.; Jiang, J.; Wang, X.; Li, W.; Zheng, G. State Recognition of Multi-Nozzle Electrospinning Based on Image Processing. Micromachines 2023, 14, 529. https://doi.org/10.3390/mi14030529 (Year: 2023).
- Noman Haleem, Matteo Bustreo, Alessio Del Bue, A computer vision based online quality control system for textile yarns, Computers in Industry, vol. 133, 2021, 103550, ISSN 0166-3615, https://doi.org/10.1016/j.compind.2021.103550. (Year: 2021).
- JP2024-147260
- —
- First Office Action and Translation.