Image classification method and device and storage medium
A classification method and image technology, applied in instruments, character and pattern recognition, computer parts, etc., can solve the problem of low detection accuracy of solder joints
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Such as figure 1 What is shown is a schematic flowchart of an image classification method provided in Embodiment 1 of the present invention. This embodiment is applicable to the application scenario of defect detection of solder joints on the image to be detected. The method can be executed by a detection device, which can be a server, a smart terminal, a tablet or a PC, etc.; in the embodiment of the invention, The detection device is described as the main body of execution, and the method specifically includes the following steps:
[0042] S110. Segment the original image to obtain several images to be detected;
[0043] The image classification method can be applied to a variety of application scenarios that require image classification. In this embodiment, the application scenario of using the image classification method for solder joint defect detection is described. In order to detect the solder joints on the workpiece or product, Take a picture of the weld on the wor...
Embodiment 2
[0060] Such as image 3 Shown is a schematic flow chart of the image classification method provided in the second embodiment of the present invention. On the basis of Embodiment 1, this embodiment also provides a training process of an image classification model, so as to solve the problem of difficult samples. The method specifically includes:
[0061] S210. Establish a difficult case pool to perform iterative training on the image classification model according to error-prone samples in the difficult case pool.
[0062] After the image classification model is trained, the image classification model can also be iteratively trained for error-prone samples, and oversampling is used for multiple iteration training to solve the problem of difficult samples. Among them, the error-prone samples that are classified incorrectly after each training of the image classification model are stored in the hard case pool. The error-prone samples used in each iteration of training are obtained f...
Embodiment 3
[0067] Such as Figure 4 Shown is the image classification device provided in the third embodiment of the present invention. On the basis of Embodiment 1 or 2, an embodiment of the present invention also provides an image classification device 4, which includes:
[0068] The image segmentation module 401 is used to segment the original image to obtain several images to be detected;
[0069] The calculation module 402 is configured to input the to-be-detected image into an image classification model for calculation for each of the to-be-detected images to obtain first feature data;
[0070] In an implementation example, the calculation module 402 inputs the image to be detected into the image classification model for calculation, and before the first feature data is obtained, the device further includes:
[0071] The difficult case pool establishment module is used to establish a difficult case pool to iteratively train the image classification model according to error-prone samples in...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com