Image single-category classification method and device

An image and category technology, applied in the field of single-category image classification, can solve the problems of low image classification efficiency, not considering the difference between positive samples and negative samples, poor generalization ability, etc., to improve inspection work efficiency, high practical value, reduce effect of fatigue

Pending Publication Date: 2021-06-15
HUIZHOU BOSHIJIE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the invention is to solve the existing image classification, there is too much attention to how to distinguish the positive samples in the training set from the negative samples in the training set, resulting in poor generalization ability, or only the aggregation features of the positive samples are trained, and the positive samples are not considered. The difference between samples and negative samples, or samples are divided into many categories, the problem of low efficiency of image classification

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image single-category classification method and device
  • Image single-category classification method and device
  • Image single-category classification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0089] Such as Figure 5 , 6 As shown, this embodiment is used for the recognition of animal images. Use cat images as target images, dog images as non-target images, and rabbit images or monkey images (not shown in the figure) as non-target images to collect multiple cat images and multiple dog images Carry out the deep neural network classification training of the present invention, obtain the image classifier of a cat after a period of classification training, input any image (comprising the image of cat, dog, rabbit, monkey), the classifier can output a classification prediction Result: either a cat image or not a cat image.

Embodiment 2

[0091] Such as Figure 7-11 As shown, this embodiment is used for detection of product defects. Figure 7 is the qualified product image, as the target image, Figure 8 Defective product 1 (fewer screws in the lower left corner of area B), Figure 9 Defective product 2 (few screws in the lower right corner of area A), Figure 10is the image of defective product 3 (parts with less C area), as a non-target image, and Figure 11 Different types of products (including different types of qualified products and different types of defective products) are also used as non-target images. Collect multiple target images and multiple non-target images respectively, and carry out the deep neural network classification training of the present invention. After a period of classification training, a qualified product classifier is obtained. When we input any product image, the qualified product classifier is A judgment result can be output: the product image is a qualified image or an unq...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an image single-category classification method, which is carried out according to the following steps: 1, acquiring a plurality of target images, and putting the target images into a set target image folder; 2, collecting a plurality of non-target images, and putting the non-target images into a set non-target image folder; 3, sending the multiple target images and the multiple non-target images into a selected deep neural network for classification training, and obtaining a classifier after classification training for a period of time; and step 4, inputting an image into the classifier to obtain a classification prediction result of the image. The invention can be used for identification of animals or figures or buildings or objects, can also be used for judgment of product defects, and particularly can be used for automatic inspection and identification of product appearance quality, so that fatigue caused by visual inspection of human eyes is reduced, the detection precision is improved, the inspection working efficiency is improved, and the practical value is very high.

Description

technical field [0001] The present invention relates to the technical field of image classification, in particular to a method and device for single-category classification of images. Background technique [0002] Existing image classification includes the following three methods: [0003] The first type of image classification, for example, to determine whether an image is a cat rather than other objects, you can collect many cat pictures and non-cat pictures, and train a binary classifier to make a judgment, but the classifier trained in this way will be There is a defect of paying too much attention to how to distinguish the positive samples in the training set from the negative samples in the training set, resulting in poor generalization ability. [0004] The second type of image classification is also a single-category training scheme, such as one class SVM (one class support vector machine) and SVDD (support vector domain description), both of which have only one cla...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/62G06N3/04G06N3/08
CPCG06N3/08G06N3/045G06F18/241G06F18/214
Inventor 胡景邦桂丰黎明李扬
Owner HUIZHOU BOSHIJIE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products