A defect target training method for metal wash basin based on improved features

By improving the HOG feature into vertically enhanced VHOG, and combining the data enhancement method and Gaussian kernel support vector machine, the problem of difficult to balance recognition accuracy and real-time performance in metal washbasin defect detection is solved, and the extraction of vertical edge information is improved. Ability to achieve more accurate and rapid defect detection of metal wash basins.

CN112668725BActive Publication Date: 2024-08-27GUANGDONG SHUNDE MUYOU NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110114520.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-05-21
Filing Date
2021-01-26
Publication Date
2024-08-27
Estimated Expiration
2041-01-26

AI Technical Summary

Technical Problem

Existing vision-based metal defect target classification methods are difficult to balance between recognition accuracy and real-time performance, and traditional HOG features are insufficient in extracting vertical edge information, resulting in insufficient feature extraction capabilities for metal washbasin defect detection.

Method used

A vertically enhanced VHOG feature is proposed, which uses the Sobel vertical operator and the HOG gradient amplitude calculation method to improve it, and uses random pasting and intersection and union ratio criteria to automatically generate data enhancement methods for positive and negative samples, combined with Gaussian kernel support vector machine Conduct training to obtain a stronger metal wash basin defect classification model.

Benefits of technology

It improves the representation ability of HOG features, enhances the accuracy and real-time recognition of metal wash basin defects, and can more robustly classify earlobe defects with obvious vertical edges, which is suitable for vision-based wash basin earlobe defect detection systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112668725B_ABST
    Figure CN112668725B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for training metal wash basin defect targets based on improved features. The present invention proposes a vertically enhanced VHOG (Vertical‑enhance HOG, VHOG) feature by using the Sobel vertical operator and improving the calculation method of the gradient amplitude of HOG; on this basis, a data enhancement method for automatically generating positive and negative samples by random pasting and combining the intersection-over-union ratio criterion is proposed; further, based on the improved VHOG feature and the enhanced training sample set, a Gaussian kernel support vector machine is used for training to obtain a classification model for classifying metal wash basin defects. The method includes: a HOG feature improvement module based on vertical information enhancement, a training sample data enhancement module, and a classifier training module based on VHOG. The present invention can take into account both classification accuracy and classification speed, and only needs to annotate a small number of training samples to train a classification model with strong universality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the fields of computer vision and pattern recognition, image processing and computer vision, and in particular relates to a metal wash basin defect target training method based on improved features. Background Art

[0002] Metal wash basin products are widely present in daily life. During the production process, wash basin metal products are easily affected by machine precision and process flow, which can easily lead to the missing earlobe defect of wash basin. The traditional method of relying on the human eyes of quality inspectors for inspection is not ideal due to the great intensity of human eye inspection, uneven inspection experience level of workers, and easy visual fatigue. There are inevitably many false detections and missed inspections, and it is easy to cause secondary damage to metal products during manual contact with metal products, making it difficult to guarantee the quality of metal products. Based on computer vision, it is possible to detect the earlobe defect of metal absorber all-weather. However, the accuracy of the vision-based metal defect detection system depends on the accuracy of the metal defect classifier in the system, and the accuracy of the classifier directly depends on the descriptive features of the designed metal defect target. However, the current research on feature extraction specifically for metal defects is not sufficient, resulting in insufficient feature extraction capability of the system for metal defects. Therefore, the design of a robust and real-time feature extraction method is particularly important.

[0003] Miron Alina et al. (Miron Alina, Besbes Bassem, Rogozan Alexandrina, Ainouz Samia. Intensity self similarity features for pedestrian detection in Far-Infrared images [C] / / Intelligent Vehicles Symposium. IEEE, 2012.) pointed out that feature extraction is a key stage in target detection. They utilized the relationship between image blocks and proposed an intensity self-similarity feature (ISS) for target feature extraction.

[0004] Liu Qiong et al. (Liu Qiong, Jiajun, Ma Jun. Robust and fast pedestrian detection method for far-infrared automotive driving assistance systems [J]. Infrared Physics & Technology, 2013, 60: 288-299.) pointed out that the HOG feature has not yet been used to extract features based on the imaging characteristics of the target. It is proposed to use the relatively rich information of the edge of far-infrared pedestrians. By calculating the entropy weighting for gradient projection during gradient projection, and combining the idea of ​​image pyramid, an entropy weighted HOG feature is proposed to improve the HOG feature. However, the improvement of this feature depends on the obvious edges of infrared pedestrians. When the temperature difference between pedestrians and the background is small, the improvement effect is not significant. In addition, the computational overhead introduced to improve the HOG feature is also relatively large.

[0005] Yu Zhiwei et al. (Yu Zhiwei. Online Extraction and Classification of Surface Defects of Marine Steel Plates [D]. Dalian Maritime University, 2014.) conducted a visual inspection of defects on the metal surface of steel plates. After edge detection of the image, the edges of the steel plates in complex situations were extracted by linking local edges of the image expansion and linking the whole edges based on Hough transform. Then, the defects were threshold extracted using the Fisher threshold algorithm, and finally the defects were divided into six categories: scratches, scars, roller marks, pits, orange peel and pinholes. This method has good real-time performance, but the method based on deep learning has not yet been used to detect metal surface products.

[0006] Hurney Patrick et al. (Hurney Patrick, Waldron Peter, Morgan Fearghal, Jones Edward, Glavin Martin. Night-time pedestrian classification with histograms of oriented gradients-local binary patterns vectors [J]. IET Intelligent Transport Systems, 2015, 9 (1): 75-85.) fused HOG features and local binary pattern features (Local Binary Patterns, LBP) to extract far-infrared pedestrian features. The classification accuracy of single feature extraction was improved through feature fusion. However, simply fusing the existing HOG features in series with the existing LBP features has not improved the HOG features or LBP features.

[0007] Shuang M et al. (Mei Shuang, Wang Yudan, Wen Guojun. Automatic fabric defect detection with a multi-scale convolutional denoising autoencoder network model [J]. Sensors, 2018, 18 (4): 1064.) combined the idea of ​​image pyramid hierarchy and convolutional denoising autoencoder network (CDAE) to detect texture image defects. The specific method is: reconstruct image blocks using convolutional denoising autoencoder networks at different Gaussian pyramid levels, use the reconstructed residual of the training image blocks as an indicator for direct pixel-wise defect prediction, combine the reconstructed residual map generated by each channel, and generate the final detection result. The paper uses an unsupervised method for defect detection, which works well on atlases with strong repetitive background textures such as cloth and silk fabrics, but is not ideal on metal surface and processed parts surface datasets.

[0008] Patent A pedestrian detection method and system based on vehicle-mounted infrared video (China Patent Authorization Announcement No.: CN108319906A, Authorization Announcement Date: July 24, 2018) uses integral graph and channel features to extract the brightness and gradient features of infrared video in the feature extraction stage to achieve pedestrian classification. However, in terms of gradient feature utilization, it is still like the traditional HOG feature, using gradient amplitude to vote according to gradient orientation, and has not yet used the relationship between image blocks to extract far-infrared pedestrian target features.

[0009] In summary, although the feature improvement methods and training methods based on target detection have achieved certain results, in order to meet the actual requirements of metal defect target detection, it is urgently necessary to make further improvements in terms of both accuracy and real-time performance. Summary of the invention

[0010] The purpose of the embodiment of the present invention is to provide a metal wash basin defect target training method based on improved features, aiming to solve the problems that the recognition accuracy of the existing vision-based metal defect target classification method is not satisfactory and it is difficult to balance real-time and robustness.

[0011] A method for training defective metal wash basins based on improved features is characterized in that the Sobel vertical operator is used and the calculation method of the gradient amplitude of HOG is improved, a vertically enhanced VHOG (Vertical-enhance HOG, VHOG) feature is proposed to enhance the representation ability of the HOG feature, and then a data enhancement method is proposed to automatically generate positive and negative samples by random pasting and combining the intersection-over-union criterion (also known as the PASCAL criterion) to automatically obtain more training samples. On this basis, based on the improved VHOG feature and the enhanced training sample set, a Gaussian kernel support vector machine is used for training to obtain a classification model for classifying metal wash basin defects, which specifically includes:

[0012] Step 1: Data enhancement is performed by randomly automatically pasting defect target samples combined with the intersection-over-union criterion;

[0013] Step 2: Improve the HOG feature to obtain the vertically enhanced gradient orientation histogram feature (VHOG);

[0014] Step 3: Perform VHOG-based nonlinear support vector machine training on the training samples;

[0015] Furthermore, the metal wash basin defect target training method based on improved features described in claim 1 is characterized in that the data enhancement of defect target samples by random automatic pasting and combining the intersection and union ratio criterion in step one refers to collecting 50 images containing defect targets and 2000 images not containing metal defects, using the Labelme annotation tool to annotate the minimum bounding rectangle of the metal defect targets, and randomly pasting the minimum bounding rectangle of the metal defect targets into the image not containing metal defects, and then randomly expanding the minimum bounding rectangle by no more than 10% in the length and width directions according to the minimum bounding rectangle, and disturbing the minimum bounding rectangle to automatically enhance the training data; the perturbation of the minimum bounding rectangle refers to that the new bounding rectangle obtained by the perturbation is a positive sample only when the intersection and union ratio between the new bounding rectangle and the original bounding rectangle is greater than or equal to 70%, and the other perturbation results are negative samples.

[0016] Furthermore, the metal wash basin defect target training method based on improved features described in claim 1 is characterized in that the improved HOG feature described in step one obtains a vertically enhanced gradient orientation histogram feature, which refers to that the current HOG feature has not yet optimized the target with relatively rich vertical edge information, and a vertically enhanced VHOG (Vertical-enhance HOG, VHOG) feature is proposed by utilizing the Sobel vertical operator and the HOG gradient amplitude calculation method to enhance the characterization ability of the HOG feature; the improvement of the HOG gradient amplitude calculation method refers to strengthening the vertical gradient (the vertical gradient value is assigned a weight of 0.7 and the horizontal gradient value is assigned a weight of 0.3) to characterize that the wash basin defect target has more vertical information.

[0017] Furthermore, the metal wash basin defect target training method based on improved features described in claim 1 is characterized in that the VHOG-based nonlinear support vector machine training of the training samples described in step three refers to using the improved feature VHOG designed in step one and the training samples enhanced in step two, and using a Gaussian kernel nonlinear support vector machine for training.

[0018] The present invention provides a metal wash basin defect target training method based on improved features. Compared with the existing vision-based metal defect classification technology, the present invention has the following advantages and effects: Based on the traditional HOG feature, the current HOG feature has not yet been optimized for the target type with relatively rich vertical edge information, resulting in less than ideal feature characterization capabilities. The present invention improves the HOG feature by using the Sobel vertical operator and improving the HOG gradient amplitude calculation method, thereby making up for the problem that the traditional HOG feature is insufficient in characterizing the metal defect target of this patent, and laying a good foundation for subsequent machine learning classification. In addition, considering that metal defect targets are rare targets in actual scenarios, it is usually difficult to collect a large number of defect samples in a short time in actual production lines. Based on this, in order to quickly obtain training samples for the classification of metal wash basin defects (wash basin earlobes), a data enhancement method for automatically generating positive and negative samples by random pasting and combining the intersection-over-union criterion is proposed to automatically obtain a large number of training samples;. In summary, by improving the feature extraction method and proposing a new data enhancement method for training samples to automatically generate massive training samples, the proposed washbasin metal classifier training method can more robustly classify earlobe defects with obvious vertical edges. This method can be used in the core classifier design stage of the vision-based washbasin earlobe defect detection system. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A metal wash basin defect target training method based on improved features is provided in an embodiment of the present invention;

[0020] Figure 2 It is a structural schematic diagram of a metal wash basin defect target training method based on improved features provided by an embodiment of the present invention;

[0021] In the figure: A, HOG feature improvement module based on vertical information enhancement; B, training sample data enhancement module; C, VHOG-based classifier training module. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0023] The application principle of the present invention is further described below in conjunction with the accompanying drawings and specific embodiments.

[0024] like Figure 1 As shown, a metal wash basin defect target training method based on improved features in an embodiment of the present invention comprises the following steps:

[0025] S101, data enhancement is performed by randomly automatically pasting defect target samples combined with the intersection-over-union criterion;

[0026] S102, improving the HOG feature to obtain a vertically enhanced gradient orientation histogram feature (VHOG);

[0027] S103, performing VHOG-based nonlinear support vector machine training on the training samples;

[0028] The data enhancement of defect target samples by random automatic pasting and combining the intersection-and-union ratio criterion in step S101 refers to collecting 50 images containing defect targets and 2000 images not containing metal defects, using the Labelme annotation tool to annotate the minimum bounding rectangle of the metal defect targets, and randomly pasting the minimum bounding rectangle of the metal defect targets into the image not containing metal defects, and then randomly expanding the minimum bounding rectangle by no more than 10% in the length and width directions and disturbing the minimum bounding rectangle to automatically enhance the training data; the perturbation of the minimum bounding rectangle refers to that the new bounding rectangle obtained by the perturbation is a positive sample only when the intersection-and-union ratio between the new bounding rectangle and the original bounding rectangle is greater than or equal to 70%, and the other perturbation results are negative samples.

[0029] The method for training a metal wash basin defect target based on improved features described in step S102 is characterized in that the improved HOG feature described in step one obtains a vertically enhanced gradient orientation histogram feature, which refers to that the current HOG feature has not yet optimized the target with relatively rich vertical edge information, and a vertically enhanced VHOG (Vertical-enhance HOG, VHOG) feature is proposed by using the Sobel vertical operator and the HOG gradient amplitude calculation method to enhance the characterization ability of the HOG feature; the improvement of the HOG gradient amplitude calculation method refers to strengthening the vertical gradient (the vertical gradient value is assigned a weight of 0.7 and the horizontal gradient value is assigned a weight of 0.3) to characterize that the wash basin defect target has more vertical information.

[0030] The metal wash basin defect target training method based on improved features described in step S103 is characterized in that the VHOG-based nonlinear support vector machine training of the training samples described in step three refers to using the improved feature VHOG designed in step one and the training samples enhanced in step two to use a Gaussian kernel nonlinear support vector machine for training.

[0031] like Figure 2 As shown, a metal wash basin defect target training method based on improved features in an embodiment of the present invention mainly consists of a HOG feature improvement module A based on vertical information enhancement, a training sample data enhancement module B and a VHOG-based classifier training module C.

[0032] Based on the vertical information enhanced HOG feature improvement module A, a vertical enhanced VHOG (Vertical-enhance HOG, VHOG) feature is proposed by using the Sobel vertical operator and improving the HOG gradient amplitude calculation method.

[0033] The training sample data enhancement module B performs data enhancement by randomly and automatically pasting defect target samples combined with the intersection-over-union criterion.

[0034] The VHOG-based classifier training module C uses the improved feature VHOG designed by module A and the training samples enhanced by module B, and uses a Gaussian kernel nonlinear support vector machine for training.

[0035] Specific embodiments of the present invention:

[0036] The overall process of the method of the present invention is as follows Figure 1 As shown, the main body of the method of the present invention includes three parts: 1. HOG feature improvement module based on vertical information enhancement; 2. Training sample data enhancement module; 3. Classifier training module based on VHOG feature.

[0037] 1. HOG feature improvement module based on vertical information enhancement

[0038] The present invention takes into account that in the image to be processed by this patent, the vertical edge information of the defective target is richer than the horizontal edge information, and the traditional HOG feature treats the vertical information and edge information of the image equally. Therefore, this patent proposes an improved VHOG feature to describe the defective target to obtain a stronger target representation capability.

[0039] VHOG feature extraction, with the training sample image as input, mainly includes the following two steps: 1) extracting the vertical Sobel feature image of the training sample image to obtain the Img_sobel image; 2) extracting the improved HOG feature in the Img_sobel image to obtain the VHOG feature. The above two steps are described below.

[0040] 1.1 Extract the vertical Sobel feature image of the training sample image to obtain the Img_sobel image

[0041] The Sobel edge operator is a set of directional operators that detect edges from different directions. The Sobel operator does not simply calculate the average difference, but strengthens the weights of the four directions of the center pixel, and the result is an edge image. The Sobel operator includes a horizontal operator Gx for detecting the edge in the vertical direction of the image, Gx as shown in formula (1); and a vertical operator Gx for detecting the edge in the vertical direction of the image, Gy as shown in formula (2). This patent proposes to use the Sobel Gx operator to detect the edge in the vertical direction of the image to obtain the Img_sobel image in order to reflect the defective target of the wash basin with more vertical information.

[0042]

[0043]

[0044] 1.2 Extract the improved HOG features in the Img_sobel image to obtain the VHOG features. Taking the Img_sobel image as input, the specific steps for extracting the VHOG features are: 1) Gama correction of the grayscale image; 2) Calculate the gradient direction of each pixel in the image and weight the gradient size in the vertical direction to enhance the vertical information; 3) Obtain the VHOG features of the block; 4) Concatenate the features of all blocks to obtain the VHOG features of Img_sobel.

[0045] 1) Grayscale image Gamma correction

[0046] First, the sample image is uniformly scaled to 64×32 pixels using the nearest neighbor interpolation algorithm. 2, get the scaled image f, then normalize f, that is, convert the pixel value into a real number between [0,1], and get f~(x,y). The specific normalization is performed according to formula (3). Then, pre-compensate the pixel value according to formula (4) to get f G (x, y), the pre-compensated gamma value is set to 2. Finally, the denormalization is performed according to formula (5) to convert the pre-compensated f G The real value of (x, y) is inversely transformed into an integer value between [0, 255] to obtain a new image Img after gamma correction.

[0047]

[0048]

[0049] Img(x,y)=f G (x,y)×256-0.5 (5)

[0050] Where f(x,y) represents the grayscale value of image f at (x,y); f G (x, y) represents the pre-compensated image; Img(x, y) represents the grayscale value of the image f at (x, y).

[0051] 2) Calculate the gradient direction of each pixel in the image and weight the vertical gradient to enhance the vertical information

[0052] The x-direction gradient of pixel Img(x,y) is expressed by G x (x, y), its value is calculated according to formula (6); the gradient in the y direction is expressed by G y (x, y) is represented, and its value is calculated according to formula (7); the gradient direction θ(x, y) of the pixel Img(x, y) is calculated according to formula (8); the gradient amplitude α(x, y) of the pixel Img(x, y) is calculated according to formula (9). The calculation of the gradient amplitude α(x, y) is different from the traditional method. This patent proposes to strengthen the gradient in the vertical direction to reflect that the defective target of the wash basin has more vertical information.

[0053] G x (x,y)=H(x+1,y)-H(x-1,y) (6)

[0054] G y (x,y)=H(x,y+1)-H(x,y-1) (7)

[0055]

[0056]

[0057] 3) Get the VHOG features of the block

[0058] Divide the resulting image into 8×8 pixels 2 The cell (Cell) of size is counted, and the gradient direction histogram of each cell (with 20° intervals) is counted to form the characteristics of each cell. 2 The cells form a block, and the features of all cells in a block are connected in series to obtain the VHOG features of the block.

[0059] 4) Obtain VHOG features

[0060] The VHOG features can be obtained by concatenating the features of all blocks obtained in step 3).

[0061] 2. Training sample data enhancement module

[0062] The training sample data enhancement module performs data enhancement by randomly and automatically pasting defect target samples combined with the intersection-and-union criterion. The specific implementation method is as follows: 1) 50 images containing defect targets are collected through Hikvision's high-definition camera, and then the minimum bounding rectangle of the defect target is annotated with the Labelme annotation tool. According to the minimum bounding rectangle, all defect target images are collected, and the constructed data set is recorded as Dataset1; 2) In addition, 2000 images that do not contain metal defects are collected, called Dataset2. Each time, two images in Dataset1 are randomly pasted into each picture in Dataset2 to obtain Dataset3; 3) For each picture in Dataset3, the minimum bounding rectangle length of each defect target is The width and length directions are randomly expanded by no more than 10% (the smallest circumscribed rectangle beyond the edge of the image is discarded) to obtain a new rectangular frame, and all the new rectangular frames are cropped with the image to obtain the sample set Dataset4; the positions and sizes of all new rectangular frames are randomly perturbed by no more than 20%. When the intersection and union ratio of the new rectangular frame obtained by the perturbation to the rectangular frame before the perturbation is greater than or equal to 70%, the perturbed rectangular frame is cropped, and all the cropped samples are called Dataset5; when the intersection and union ratio of the new rectangular frame obtained by the perturbation to the rectangular frame before the perturbation is less than 70%, the perturbed rectangular frame is also cropped, and all the cropped samples are called Dataset6. 4) On this basis, all the sample sets of Dataset4 and Dataset5 are merged to obtain Dataset7.

[0063] 3. Classifier training module based on VHOG features

[0064] All samples are uniformly scaled to 16×32 pixels using the nearest neighbor interpolation algorithm. 2Size, and extract the VOG features of each sample in Dataset7 (positive sample set) and Dataset6 (negative sample set), so as to complete the extraction of VHOG features of training samples for metal defect target classification. Based on the SHOG features proposed in the patent of this invention, a linear support vector machine model is used.

[0065] When training a linear support vector machine, the support vector w and intercept b are obtained by solving formula (10).

[0066]

[0067] Among them, w is the decision weight obtained by training, b is the constant offset, and y i is the label of the i-th training feature, x i is the SHOG feature of the i-th training sample.

[0068] When using the classifier to classify candidate regions, for a candidate region, the nearest neighbor algorithm is used to uniformly scale it to 16×32 pixels. 2 Size, extract VHOG features, and classify according to the decision function of the linear support vector machine shown in formula (11).

[0069]

[0070] K(x i ,x)=x i T x (12)

[0071] Where K(x i ,x) is the Gaussian kernel function, which is specifically defined as shown in formula (12), x i is a support vector, x is the VHOG feature vector of the candidate region, b is a constant offset, and the response to the input vector x is f(x). When using the support vector machine model for sample testing, the VHOG features of the sample to be tested are extracted, and the classification task can be completed using the support vector machine model.

Claims

1. A metal wash basin defect target training method based on improved features, characterized in that By using the Sobel vertical operator and improving the calculation method of HOG gradient amplitude, a vertically enhanced VHOG (Vertical-enhance HOG, VHOG) feature is proposed to enhance the representation ability of HOG features. Then, a data enhancement method that automatically generates positive and negative samples by random pasting and combining the intersection-over-union criterion is proposed to automatically obtain more training samples. On this basis, based on the improved VHOG feature and the enhanced training sample set, the Gaussian kernel support vector machine is used for training to obtain a classification model for classifying metal wash basin defects, which specifically includes: Step one, data enhancement is performed by randomly automatically pasting defect target samples combined with the intersection-and-union ratio criterion; the data enhancement of defect target samples by randomly automatically pasting and combining the intersection-and-union ratio criterion in step one refers to collecting 50 images containing defect targets and 2000 images not containing metal defects, using the Labelme annotation tool to annotate the minimum bounding rectangle of the metal defect targets, and randomly pasting the minimum bounding rectangle of the metal defect target to the image not containing metal defects, and then randomly expanding the minimum bounding rectangle in the length and width directions by no more than 10%, and perturbing the minimum bounding rectangle to automatically enhance the training data; the perturbing of the minimum bounding rectangle refers to that the new bounding rectangle obtained by the perturbation is a positive sample only when the intersection-and-union ratio between the new bounding rectangle and the original bounding rectangle is greater than or equal to 70%, and other perturbation results are negative samples; Step 2: Improve the HOG feature to obtain the vertically enhanced gradient orientation histogram feature (VHOG); Step three, training the training samples with a nonlinear support vector machine based on VHOG; the training of the training samples with a nonlinear support vector machine based on VHOG in step three refers to training with a Gaussian kernel nonlinear support vector machine using the improved feature VHOG designed in step two and the training samples enhanced in step one.

2. According to the improved feature-based metal wash basin defect target training method of claim 1, it is characterized in that: The improved HOG feature described in step 2 obtains the vertically enhanced gradient orientation histogram feature. As the current HOG feature has not yet optimized the target with rich vertical edge information, a vertically enhanced VHOG (Vertical-enhance HOG, VHOG) feature is constructed by using the Sobel vertical operator and the HOG gradient amplitude calculation method to enhance the representation ability of the HOG feature. The vertically enhanced VHOG (Vertical-enhance HOG, VHOG) feature refers to enhancing the vertical gradient. Specifically, the vertical gradient value is given a weight of 0.7 and the horizontal gradient value is given a weight of 0.3, so as to characterize that the wash basin defect target has more vertical information.

Citation Information

Patent Citations

  • Pedestrian detection method and system based on vehicle-mounted infrared video

    CN108319906A

  • Front vehicle detection method

    CN104268589A

  • Target detection method based on high resolution optical satellite remote sensing images, and system thereof

    CN108304873A

  • Cigarette brand recognition method in complex scene

    CN109961049A