원시데이터 수집 시스템
선정목록으로

Pointer Defect Detection Based on Transfer Learning and Improved Cascade-RCNN

간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재 (23) 컴파운드

기본 정보

저자
  1. Weidong Zhao — School of Electrical Information and Engineering, Anhui University of Technology, Ma'anshan 243032, China
  2. Hancheng Huang — School of Electrical Information and Engineering, Anhui University of Technology, Ma'anshan 243032, China
  3. Dan Li — School of Electrical Information and Engineering, Anhui University of Technology, Ma'anshan 243032, China
  4. Feng Chen — School of Electrical Information and Engineering, Anhui University of Technology, Ma'anshan 243032, China
  5. Wei Cheng — School of Electrical Information and Engineering, Anhui University of Technology, Ma'anshan 243032, China
DOI
10.3390/s20174939
저널
Sensors
발행년도
2020
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
21
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s20174939
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W3081788154

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
(23) 컴파운드
R&D 측면
분석·모델링
확신도
0.80
근거 용어
defect detection, machine vision, automotive dashboard pointer, deep learning, industrial inspection
판단 근거
본 논문은 자동차 대시보드 포인터의 표면 결함을 검출하는 딥러닝 알고리즘(TICNET)에 관한 연구입니다. 코오롱인더스트리의 직접적인 제품은 아니나, 자동차 인테리어 소재(3) 및 제조 공정 전반의 품질 관리(23)를 위한 머신 비전 검사 기술로 응용 가능합니다.
R&D 활용 포인트
자동차 인테리어 부품 및 모빌리티 소재 제조 공정 내 자동화된 외관 검사 시스템(Vision Inspection) 구축 및 품질 관리 효율화에 활용 가능합니다.
평가 입력
본문 56,020자 중 30,032자 발췌

초록

To meet the practical needs of detecting various defects on the pointer surface and solve the difficulty of detecting some defects on the pointer surface, this paper proposes a transfer learning and improved Cascade-RCNN deep neural network (TICNET) algorithm for detecting pointer defects. Firstly, the convolutional layers of ResNet-50 are reconstructed by deformable convolution, which enhances the learning of pointer surface defects by feature extraction network. Furthermore, the problems of missing detection caused by internal differences and weak features are effectively solved. Secondly, the idea of online hard example mining (OHEM) is used to improve the Cascade-RCNN detection network, which achieve accurate classification of defects. Finally, based on the fact that common pointer defect dataset and pointer defect dataset established in this paper have the same low-level visual characteristics. The network is pre-trained on the common defect dataset, and weights are transferred to the defect dataset established in this paper, which reduces the training difficulty caused by too few data. The experimental results show that the proposed method achieves a 0.933 detection rate and a 0.873 mean average precision when the threshold of intersection over union is 0.5, and it realizes high precision detection of pointer surface defects.

본문 56,020자

본문 펼치기
# _sensors_ _Article_ ## Pointer Defect Detection Based on Transfer Learning and Improved Cascade-RCNN Weidong Zhao, Hancheng Huang , Dan Li * , Feng Chen and Wei Cheng School of Electrical Information and Engineering, Anhui University of Technology, Ma’anshan 243032, China; zwd720819@163.com (W.Z.); hhcair@163.com (H.H.); hellochenf@163.com (F.C.); cwzdtbs@163.com (W.C.) * Correspondence: lidan@ahut.edu.cn Received: 2 August 2020; Accepted: 28 August 2020; Published: 1 September 2020 [���������](http://www.mdpi.com/1424-8220/20/17/4939?type=check_update&version=1) [�������](http://www.mdpi.com/1424-8220/20/17/4939?type=check_update&version=1) Abstract: To meet the practical needs of detecting various defects on the pointer surface and solve the difficulty of detecting some defects on the pointer surface, this paper proposes a transfer learning and improved Cascade-RCNN deep neural network (TICNET) algorithm for detecting pointer defects. Firstly, the convolutional layers of ResNet-50 are reconstructed by deformable convolution, which enhances the learning of pointer surface defects by feature extraction network. Furthermore, the problems of missing detection caused by internal differences and weak features are effectively solved. Secondly, the idea of online hard example mining (OHEM) is used to improve the Cascade-RCNN detection network, which achieve accurate classification of defects. Finally, based on the fact that common pointer defect dataset and pointer defect dataset established in this paper have the same low-level visual characteristics. The network is pre-trained on the common defect dataset, and weights are transferred to the defect dataset established in this paper, which reduces the training difficulty caused by too few data. The experimental results show that the proposed method achieves a 0.933 detection rate and a 0.873 mean average precision when the threshold of intersection over union is 0.5, and it realizes high precision detection of pointer surface defects. Keywords: pointer; defect detection; transfer learning; deformable convolution; online hard example mining 1. Introduction With the popularization of automated production [1–5], detection technology based on machine vision [6–13] has greatly promoted the development of the automobile manufacturing industry. Compared with traditional manual inspection, it has the advantages of high efficiency and high accuracy. There are many defects that will inevitably occur in the production process of automotive dashboard pointers. Some examples are surface pollution, hair-like defects, hot stamping paper folds, hot stamping paper damage and needle light leakage. These defects will directly affect the stability of the automotive instrument system. Therefore, it is of great significance to study the detection methods of pointer surface defects. The traditional defect detection method of auto parts based on machine learning is mainly to extract the defect features by manual means, and then send the extracted features to support vector machine (SVM), AdaBoost and other classifiers for classification and recognition. Liu et al. [14] proposed an improved OTSU algorithm to extract the appearance defect features of the image and realized the detection of sleeve defects in the automotive steering gear. Li [15] studied the pit defects on the surface of turbine shell parts and obtained the region of interest by using an accurate boundary extraction algorithm based on ellipse fitting. The morphological features are extracted by image segmentation technology and then sent to the support vector machine for classification. Zhang et al. [16] improved the Canney operator through an adaptive filtering method and combined it with the watershed algorithm _Sensors_ 2020, _20_ [, 4939; doi:10.3390/s20174939](http://dx.doi.org/10.3390/s20174939) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2020, _20_, 4939 2 of 19 to obtain different enhanced image features. Then, the support vector machine classifier was trained according to the image features of the surface defects on the automotive injection molded threaded parts. Meng et al. [17] used HALCON algorithm for the processing of the automotive hose image. Moreover, they proposed a method to reduce misjudgment and identify the surface defects of the hose. Tandiya et al. [18] developed a semi-specular surface defect detection system, and designed specific filters to eliminate spurious defects due to edges and acute curvature changes. This system was able to detect various defects on the car bumper and had good robustness. However, the methods based on machine vision described above have poor ability to mine data and low detection accuracy. In recent years, the favorable conditions have been created for the accurate and rapid detection with the development and application of deep learning. Du et al. [19] modified the Faster-RCNN algorithm by using feature pyramid network (FPN), used different data enhancement methods to make up for the lack of the images in the dataset and improved the defect detection accuracy of X-ray image on automotive castings. Zhao et al. [20] segmented the collected car wheel images and enhanced the image contrast and defect characteristics through image processing technology. Then, the convolutional neural network (CNN) was used to extract the characteristics of the defects, which realized accurate detection of wheel hub surface defects. Zhang et al. [21] constructed the thickness cloud map and Gaussian curvature cloud map of automotive cover parts and built a model based on Faster-RCNN to realize the detection of wrinkle and crack defects on automotive cover parts. Wu et al. [22] created a blade defect dataset and proposed an end-to-end framework based on residue learning. The data equalization operation was integrated into the process of detection and extensive experimental validation was conducted. The results demonstrate that the framework can achieve a better defect detection result. Qu et al. [23] proposed the PartsNet to realize the detection of automotive engine precision parts. PartsNet consists of a pixel-wise segmentation network and a feature refining network. The basic features of parts defects were learned by segmentation network, and then several typical methods of refinements were transformed into convolutional manners. The detection results show that the model established has good adaptability and portability. To sum up, the auto parts detection methods based on deep learning can extract rich features of images, which perform better than the traditional methods. Based on the five types of defects proposed by automotive dashboard pointer manufacturers, this paper constructs a pointer surface defect dataset (including hot stamping paper folds, hot stamping paper damage, needle leakage, stains and hair-like defects), as shown in Figure 1. By comparing the characteristics of various types of defects, the difficulties of the inspection task are analyzed: (1) Differences exist in some defects which are of the same type, and the same types of defects have different appearances. For example, some hair-like defects are shaped in curved line and some in clusters (Figure 2a) and some stain-type defects are small and some are large (Figure 2b). (2) Some defects have weak features, such as stains (Figure 2c), hair-like (Figure 2d) and hot stamping paper folds (Figure 2e). The visual effect is very weak and cannot be quickly distinguished by the naked eye. (3) Similarities exist in defects of different types. For example, defects in hair-like matter are similar to those in hot stamping paper folds (Figure 2f) and defects in hot stamping paper folds are similar to those in hot stamping paper damage (Figure 2g). (4) The sample size of this dataset is too small, and there are only 372 processed images. Aiming at the above difficulties, this paper proposes a transfer learning and improved Cascade-RCNN deep neural network (TICNET) algorithm for detecting pointer defects, which can detect five types of defects on the pointer accurately. _Sensors_ 2020, _20_, 4939 3 of 19 ( a ) ( b ) ( c ) ( d ) ( e ) Figure 1. Examples of pointer surface defects: ( a ) hot stamping paper folds; ( b ) hot stamping paper damage; ( c ) needle leakage; ( d ) stains; and ( e ) hair-like defects. ( a ) ( b ) ( c ) ( d ) ( e ) ( f ) ( g ) Figure 2. ( a ) Hair-like defects have different appearances; ( b ) stains have different appearances; ( c ) weak feature of stains; ( d ) weak feature of hair-like defects; ( e ) weak feature of hot stamping paper folds; ( f ) similarity exists in defects of hair-like defects and hot stamping paper folds; and ( g ) similarity exists in defects of hot stamping paper folds and hot stamping paper damage. 2. Theories and Methods _2.1._ _Overview of Cascade-RCNN_ The application of deep neural network to image processing has achieved satisfying results. Furthermore, convolutional neural network (CNN) has strong capability of feature extraction, and it plays an important role in the field of object detection [24]. The output of a convolutional layer can be described as: ∞ _xi_, _j_ ∗ _pu_ - _i_, _v_ - _j_ (1) _z_ ( _u_, _v_ ) = ∞ _i_ =−∞ _j_ =−∞ where _z_ ( _u_, _v_ ) is the output, _xi_, _j_ represents the input images and _p_ represents the convolution kernels with different sizes. The object detection tasks based on CNN are usually divided into two types: one-stage and two-stage tasks. One stage [25,26] represents that the category probability and position coordinates of the object are returned directly. On the other hand, the process of object detection can also be completed with a convolutional neural network in two stages [27]. It means that the region proposal network is trained firstly and then the object detection network will be trained. Cascade-RCNN [28,29] expands the classical two-stage structure to a multi-stage structure. High quality positive sample training is performed at each stage by setting different IoU (Intersection over Union) thresholds. Hence, the accuracy of bounding box detected and adjusted will be improved. The structure of Cascade-RCNN is shown in Figure 3, where _x_ is the input; _conv_ is the convolutional layer of the basic network; B0 is the proposal frame generated by the region proposal network; _pool_ is _Sensors_ 2020, _20_, 4939 4 of 19 the pooling layer; H1, H2 and H3 are the detection network; C1, C2 and C3 are classifiers; and B1, B2 and B3 are bounding box regressors. Figure 3. This is the structure of Cascade-RCNN. _2.2._ _Basic Network ResNet-50 Reconstructed by Deformable Convolution_ Some defects on the surface of the dashboard pointers are different within the class, and features of some defects are weak. Therefore, it is difficult for the convolutional neural network to completely “remember” the diversity of the pointer surface defects through the dataset. Because conventional convolutional neural network is limited to a fixed geometric structure during modeling and the sampling position of the convolution unit on the input image remains unchanged each time, not only is the feature loss serious, but also the fitting ability of loss function becomes weak, and the overall performance of the network degrades. To solve the above problems, this paper introduces deformable convolution [30–32] to reconstruct the convolutional layers of the basic network ResNet-50 [33–35]. The conventional convolution structure is defined as follows: _pn_ ∈ _R_ <sup>_w_</sup> <sup>(</sup> <sup>_pn_</sup> <sup>)</sup> <sup>_x_</sup> <sup>(</sup> <sup>_p_</sup> <sup>0 +</sup> <sup>_pn_</sup> <sup>)</sup> (2) _y_ ( _p_ 0) = where _pn_ is the offset of each point relative to each point on the receptive field after sampling, usually an integer; _R_ is the sampling grid; and _w_ ( _pn_ ) is the sampling weight. The deformable convolution is to add an offset ∆ _pn_ to each point, which is obtained by another convolution and is usually a non-integer value. The deformable convolution structure is defined as follows: _pn_ ∈ _R_ <sup>_w_</sup> <sup>(</sup> <sup>_pn_</sup> <sup>)</sup> <sup>_x_</sup> <sup>(</sup> <sup>_p_</sup> <sup>0 +</sup> <sup>_pn_</sup> <sup>+ ∆</sup> <sup>_pn_</sup> <sup>)</sup> (3) _y_ ( _p_ 0) = The value _x_ ( _p_ 0 + _pn_ + ∆ _pn_ ) in the above formula is not an integer and does not correspond to the actual point on the feature map. This requires the derivation of discontinuous position variables, so bilinear interpolation is used: _q_ <sup>_g_</sup> <sup>(</sup> <sup>_qx_</sup> <sup>,</sup> <sup>_px_</sup> <sup>)</sup> <sup>_g_</sup> <sup>(</sup> <sup>_qy_</sup> <sup>,</sup> <sup>_py_</sup> <sup>)</sup> <sup>_x_</sup> <sup>(</sup> <sup>_q_</sup> <sup>)</sup> (4) _x_ ( _p_ ) = _q_ <sup>_G_</sup> <sup>(</sup> <sup>_q_</sup> <sup>,</sup> <sup>_p_</sup> <sup>)</sup> <sup>_x_</sup> <sup>(</sup> <sup>_q_</sup> <sup>) =</sup> where _x_ ( _q_ ) represents the values of points at all integer positions on the feature map and _x_ ( _p_ ) = _x_ ( _p_ 0 + _pn_ + ∆ _pn_ ) represents the values of points at non-integer positions after adding the offset. Deformable convolution expands the grid of conventional convolution into an offset matrix, which contains the offset <sup>�</sup> ∆ _pn_ ��� _n_ = 1, . . ., _N_ �, where _N_ =| _R_ |. Taking hair-like defects as an example, the deformable convolution calculation process is shown in Figure 4, where the size of the offset domain is consistent with the size of the input image. The offset domain is learned by a convolutional layer with the same size as the input image to obtain a two-dimensional offset matrix. If the number of two-dimensional offset matrixes is _N_, the channel dimension will be 2 _N_ . Because of the offset matrix, not only the sampling positions of the convolution are diversified, but also the sampling points pointed to by the offset domain have a stronger tendency to the target, and there is more output characteristic information. The basic network of Cascade-RCNN is ResNet-50, which has four stages. According to the difference within class and weaker characteristics of the defects on the surface of the pointer, _Sensors_ 2020, _20_, 4939 5 of 19 convolutional layers of Stages 2–4 (as shown in Figure 5) are reconstructed to improve the ability to extract features. Figure 4. This is an example of deformable convolution calculation process. Figure 5. The reconstruction of the ResNet-50. _2.3._ _OHEM Integrated into the Detection Network_ For training samples, they can be divided into simple samples and difficult samples. Simple samples are those that are easy to correctly classify, and difficult samples are those that are misclassified. Simple samples have little significance on model training, while difficult samples can better guide the direction of model optimization due to their higher loss value and greater influence on classification and detection results. Some types of defects belong to difficult samples because they have similar characteristics, and making full use of them can improve the robustness of network and the ability to recognize targets. Based on the idea of online hard example mining [36,37], this paper improves Cascade-RCNN’s detection network. As shown in Figure 6, taking Stage 2 as an example (the same as Stages 1 and 3), the original detection network H2, C2 and B2 is duplicated as H2 <sup>′</sup>, C2 <sup>′</sup> and B2 <sup>′</sup> branches. The H2, C2 and B2 branches are denoted as _L1_, while H2 <sup>′</sup>, C2 <sup>′</sup> and B2 <sup>′</sup> branches are denoted as _L2_ . _L1_ and _L2_ share the network’s parameters. _L1_ is an only readable forward detection network, while _L2_ is a readable and writable standard detection network. First, the candidate regions generated by the _Sensors_ 2020, _20_, 4939 6 of 19 region proposal network generate corresponding feature maps through the pooling layer. The feature maps input to _L1_ for forward transfer, and the loss values are calculated. Then, the OHEM module sorts the loss values of all candidate areas to screen out some difficult samples with large loss values. Finally, these difficult samples are input into _L2_ through the pooling layer for forward calculation and back propagation. Figure 6. Cascade-RCNN’s detection network is improved by online hard example mining. _2.4._ _Transfer Learning_ The essence of transfer learning [38–40] is transferring the features learned from the source domain [41–43] to the target dataset. Compared with traditional machine learning methods that require retraining every time, transfer learning can improve the efficiency of training and the adaptability of the model [44]. The lower-level convolutional layers in the convolutional neural network can learn the detailed semantic features such as edges and colors. Furthermore, such more complex features such as different shapes and other combinatorial characteristics can be extracted by the higher-level convolutional layers. The common pointer surface defect dataset comes from pointer images collected by a company. It consists of 1000 images, covering stains, bright spots, filaments and edge gaps (as shown in Figure 7). Figure 8 presents that the common pointer defect dataset and the pointer defect dataset constructed in this paper have the same low-level visual characteristics. Consequently, it will transfer the same features learned previously to the current task when the lower-level convolutional layers are frozen. ( a ) ( b ) ( c ) ( d ) Figure 7. There are four kinds of defects in the common pointer surface defect dataset: ( a ) stain; ( b ) bright spot; ( c ) filament; and ( d ) edge gap. This paper adopts the method of transfer learning to solve the problem that the current dataset is only 372 images, and the process is shown as Figure 9. Firstly, it uses a transfer learning to initialize the network parameters trained on the ImageNet large-scale dataset. Secondly, it tunes the network parameters through the images in the common pointer defect dataset with relatively sufficient data, and a network is trained to recognize the surface defects of common pointer. Finally, the lower-level convolutional layers are frozen, and the secondary transfer learning is performed. Moreover, the higher-level convolutional _Sensors_ 2020, _20_, 4939 7 of 19 layers are retrained to learn the complex features. To sum up, the similarity between the source domain and the target domain has been greatly improved. The same low-level visual characteristics are effectively utilized and the complex features are relearned, which alleviates the problem of too few samples. Figure 8. The common pointer defect dataset and the pointer defect dataset constructed in this paper have the same low-level visual characteristics. Figure 9. This is the process of transfer learning. 3. TICNET: Proposed Pointer Defect Detection Algorithm _3.1._ _Network Structure_ The network structure of TICNET is shown in Figure 10. It uses deformable convolution to reconstruct the basic network which can improve the ability to extract feature, and improves the three branches of Cascade-RCNN. The original H1-C1-B1, H2-C2-B2 and H3-C3-B3 branches are copied into H1 <sup>′</sup> -C1 <sup>′</sup> -B1 <sup>′</sup> branch, H2 <sup>′</sup> -C2 <sup>′</sup> -B2 <sup>′</sup> branch and H3 <sup>′</sup> -C3 <sup>′</sup> -B3 <sup>′</sup> branch. OHEM modules are connected in parallel beside the original three branches, which can improve the ability to distinguish similar samples. Combined with the transfer learning theory, the network parameters trained on the common defect _Sensors_ 2020, _20_, 4939 8 of 19 dataset are used for initialization. Stages 1–2 of ResNet-50 are frozen and prevented from updating parameters. The parameters at other levels of the network are fine-tuned to make the model converge quickly and overcome the drawback of too few data. Figure 10. The network structure of TICNET. _3.2._ _Loss Function_ TICNET is formed by cascading multiple sub-networks; each sub-network has a separate detector. The results of detectors are used as the input of the next stage, and the final stage combines the results to output. The cascading relationship of the entire network is shown in Formula (5): _f_ ( _x_, _b_ ) = _fTofT_ −1 _o_ . . . _of_ ( _x_, _b_ ) (5) where _T_ represents the number of cascades, which is 3. Regressor _ft_ at each level correspond to training samples _bt_ at each level. _bt_ is derived from the results of the initial distribution _b_ 1 after all previous branch outputs, instead of directly using initial distribution of the region proposal network to train _ft_ . The sample distribution ratio _bt_ obtained after each level of regression is a bit more accurate than _bt_ −1, and the IoU threshold will be increased a bit after each level of regression. This can solve the problem of imbalance between positive and negative samples at each stage. The loss function of TICNET consists of the bounding box regression loss function and the classification loss function. The regression loss function of the bounding box is defined as follows: _Tloc_ [ _F_ ] = <sup><u>1</u></sup> - _Ni_ _Nj_ _i_ =1 - _Nj_ _loc_ <sup>_j_</sup> <sup>(</sup> <sup>_FT_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>,</sup> <sup>_bi_</sup> <sup>),</sup> <sup>_gi_</sup> <sup>)</sup> (6) _Nj_ = _j_ 1 <sup>_L_</sup> <sup>_j_</sup> The coordinates and enclosing area of the bounding box can be expressed with _b_ = ( _bx_, _by_, _bw_, _bh_ ). _bx_ and _by_ are the coordinates of the center point. _bw_ and _bh_ are the width and height of the bounding box. The real bounding box can be expressed with _g_ = ( _gx_, _gy_, _gw_, _gh_ ), where _gx_ and _gy_ are the coordinates of the center point of the real bounding box and _gw_ and _gh_ are the width and height of the real bounding box. The bounding box makes the IoU between the bounding box and the real bounding box as large as possible through the regression function. _j_ represents the _j_ th detector of the cascade layer, _Nj_ is the number of detectors at this level and _Ni_ is the number of predicted samples. _FT_ ( _xi_, _bi_ ) is the bounding box input by the detector and _T_ is the level of the detection network. The definition of the _Lloc_ function is as follows: _i_ ∈{ _x_, _y_, _w_, _h_ } <sup>_smoothL_</sup> <sup>1(</sup> <sup>_oi_</sup> <sup>−</sup> <sup>_ti_</sup> <sup>)</sup> (7) _Lloc_ ( _t_, _o_ ) = _Sensors_ 2020, _20_, 4939 9 of 19 where _o_ = ( _ox_ + _oy_ + _ow_ + _oh_ ) is the frame result output by the regression box, _t_ is the vector of real coordinates and _smoothL_ 1( _x_ ) is defined as follows: _smoothL_ 1( _x_ ) = - 0.5 _x_ <sup>2</sup>, _if_ ��� _x_ ���< 1 (8) | _x_ |−0.5, _otherwise_ The classification loss function is defined as follows: _Rcls_ [ _h_ ] = - _n_ _i_ =1 <sup>_Lcls_</sup> <sup>(</sup> <sup>_h_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>),</sup> <sup>_yi_</sup> <sup>)</sup> (9) where _Lcls_ is the classical cross entropy loss function. The bounding box calculates the label value of the category by weighted average: _b_ <sup>_T_</sup> = <sup><u>1</u></sup> _Ni_ - _Ni_ _T_ <sup>_i_</sup> −1 <sup>(</sup> <sup>_xT_</sup> <sup>−1,</sup> <sup>_bT_</sup> <sup>−1)</sup> (10) _Ni_ _i_ =1 <sup>_Fi_</sup> Therefore, the loss function of the _T_ level is: _L_ ( _x_ <sup>_T_</sup>, _g_ ) = _Rcls_ ( _hT_ ( _x_ <sup>_T_</sup> ), _y_ <sup>_T_</sup> ) + β - _y_ <sup>_T_</sup> ≥ 1� _Tloc_ ( _FT_ ( _x_ <sup>_T_</sup>, _b_ <sup>_T_</sup> ), _g_ ) (11) where _hT_ is the classification result output by the _T_ th class classifier; _FT_ is the mean value of the regression result output by the _T_ th regressor; β is the weight coefficient, which serves to balance the normalized weight of the classification loss and the frame regression loss; and _y_ <sup>_T_</sup> is the label of _x_ <sup>_T_</sup> under a given threshold and defined as follows: _y_ = - _gy_, IoU( _x_, _g_ ) ≥ _u_ (12) 0, _otherwise_ 4. Results and Discussion _4.1._ _Preparatory Work_ The 372 images used in the experiment were all cropped from the pictures taken by Basler industrial camera, with a pixel size of approximately 2800 × 300 pixel. We made a dataset of pointer surface defects referring to the format of standard dataset VOC2007 (hot stamping paper folds are marked as fold, hot stamping paper damage are marked as rupture, needle leakage are marked as light leaking, hair-like defects are marked as hair and stains are marked as taint). We randomly selected 300 images to form the training set, and the remaining 72 images formed the testing set. During training, the images were randomly flipped with a probability of 0.5 for data enhancement. The experimental platform is shown in Table 1 and the overall detection framework is shown in Figure 11. Table 1. Hardware and software parameters of the experimental platform. Name Parameter Camera Basler acA5472-5gm, and the resolution is 5472 × 3648 CPU Intel Core i7-6800 @ 3.4 GHz Memory 32 GB GPU Dual-channels NVIDIA GTX1080Ti Operating system Linux Ubuntu 16.04 Deep Learning Framework PyTorch 1.3.1 [45] Language Python 3.7.5 _Sensors_ 2020, _20_, 4939 10 of 19 Figure 11. This is the overall detection framework. The role of the industrial computer is to receive the real-time image of the camera and detect defects, while the role of the PLC is to send detection signals. _4.2._ _Detection Results_ The TICNET network model was used to detect five types of defects on the pointer surface, and we counted the average precision (AP) and average confidence (AVGConf) when the threshold of intersection over union (IoU) was 0.5 for each category. The definition of Precision and AP are as follows: _<u>TP</u>_ Precision = (13) _TP_ + _FP_ AP = <sup><u>1</u></sup> 11 _r_ ∈{0,0.1,0.2,...,1} ρ _<u>interp</u>_ ( _r_ ) (14) where _TP_ represents the positive samples detected correctly and _FP_ represents the negative samples detected incorrectly. ρ _interp_ ( _r_ ) can be expres ~~sed~~ as: ρ _interp_ ( _r_ ) = _max_ - _r_ :� _r_ ≥ _r_ <sup>ρ(�</sup> <sup>_r_</sup> <sup>)</sup> (15) where ρ(� _r_ ) is the precision at recall - _r_, and Recall is defined as: _<u>TP</u>_ Recall = (16) _TP_ + _FN_ where _FN_ represents the positive samples detected incorrectly. Therefore, AP was obtained by interpolating the precision at the eleven equally <u>spaced</u> <u>levels</u> [0, 0.1, 0.2, . . ., 1] and taki <mark>ng</mark> <mark>th</mark> e maximum precision whose recall value is greater than _r_ . The detective confidence ( _Conf_ ) is defined as: _Conf_ = _Pi_ ( _classj_ ��� _Object_ ) (17) It represents the probability that the defect belongs to category _j_, when there are objects in the current detection box _i_ . For each category of defects, we defined the average confidence ( _AVGConf_ ) as: _AVGConfj_ = <sup><u>1</u></sup> _n_ _n_ _i_ =1 _Conf i_ (18) where _n_ is the sum of detected boxes that contain category _j_ . The evaluation results on the testing set are shown in Table 2, and randomly selected detection results are shown in Figure 12. Table 2 shows that the defects detection has high average precision. Although the detective precision of hot stamping paper damage is lowest, the value of AP0.5 is still up to 0.852 on the testing set. Figure 12 and Table 2 show that each category has a _AVGConf_ of ≥0.9 and all _Sensors_ 2020, _20_, 4939 11 of 19 detected boxes have high precision. The manufacturer has a demand that both detective precision and confidence are above 85%, thus we conclude that the ~~de~~ tection performance of TICNET is satisfactory. Table 2. The evaluation results on the testing set. Name of the Defects AP0.5 <sup>1</sup> AVGConf <sup>2</sup> Hot Stamping Paper Folds 0.864 0.969 Hot Stamping Paper Damage 0.852 0.957 Needle Leakage 0.877 0.974 Stains 0.911 0.971 Hair-Like Defects 0.861 0.989 1 AP0.5 is the average precision when the threshold of intersection over union is 0.5. 2 AVGConf is the average confidence. ( a ) ( b ) ( c ) ( d ) ( e ) Figure 12. The results of defect detection: ( a ) hot stamping paper folds; ( b ) hot stamping paper damage; ( c ) needle leakage; ( d ) stains; and ( e ) hair-like defects. _4.3._ _Ablation Study_ 4.3.1. Ablation Study for TICNET To quantitatively prove the effectiveness of methods such as deformable convolution, online hard example mining and transfer learning, the method of controlling variables was used to conduct comparative experiments on the following four schemes. The experiments of the four schemes were all trained for 30 rounds under the same hardware configuration. The schemes were as follows: _Sensors_ 2020, _20_, 4939 12 of 19 - Scheme 1: The proposed algorithm does not use deformable convolution to improve the basic network and still uses conventional convolution to build ResNet-50. - Scheme 2: The proposed algorithm does not use online hard example mining, and the detection network still uses Stages 1–3 of Cascade-RCNN. - Scheme 3: Secondary transfer learning is abandoned. The pre-trained weights of ImageNet are used to train the TICNET, instead of using the model that can recognize common pointer surface defects as the pre-trained model. - Scheme 4: The complete model of TICNET is used. In this research, the mean average precision (mAP), accuracy (ACC) and detection rate (DR) were also used as the evaluation indices. The mean average precision (mAP) is defined as: mAP = <sup><u>1</u></sup> _nj_ _n_ _j_ _j_ =1 AP _j_ (19) where _nj_ is the total number of categories and here is 5 and AP _j_ is the average precision of each category. In addition, mAP0.5 and mAP0.7, respectively, represent the mAP when the thresholds of IoU are 0.5 and 0.7. The accuracy (ACC) is defined as: _<u>TP</u>_ <u>+</u> _<u>TN</u>_ ACC = (20) _TP_ + _FP_ + _TN_ + _FN_ where _TN_ represents the negative samples detected correctly. The detection rate (DR) is defined as: DR = <sup><u>1</u></sup> _nk_ _nk_ _k_ =1 IoU _k_ (21) where _nk_ is the sum of detected boxes, IoU _k_ is the intersection over union of the box _k_ and the definition of IoU can be expressed as: IoU = _area_ ( _BP_ ∩ _Bgt_ ) (22) _area_ ( _BP_ ∪ _Bgt_ ) where _BP_ is a predicted bounding box and _Bgt_ is the ground truth bounding box. Table 3 presents the experimental data of Schemes 1–4. It is shown that the mAP0.5 and mAP0.7 have, respectively, declined 9.9% and 9.0% under the circumstance that Scheme 1 is used, which are remarkable decreases compared with Schemes 2 and 3. As a reason, the deformable convolution can extract richer features. It can be found that the detection rate increases 10.2% on condition that the OHEM is used by comparing Schemes 2 and 4. The reason is that the indistinguishable samples in the training process are fully utilized, thereby improving the recognition ability of the network. The metrics of mAP0.5 and mAP0.7 have, respectively, declined 5.4% and 6.6% when the pre-trained weights of ImageNet are used to train the TICNET (Schemes 3 and 4), and thus we conclude that the secondary transfer learning has a positive impact on the network and can also improve the overall performance of the network. To verify the effects of deformable convolution, online hard example mining and transfer learning, the models of Schemes 1–4 were used to verify the seven situations in Figure 2, respectively, and the results are shown in Figure 13. Through the comparison and analysis with the complete TICNET model (Scheme 4), it can be seen that the clustered hair and defects with weak features are not detected when the deformable convolution is not used to reconstruct ResNet-50 (Scheme 1). Moreover, large stains are mistakenly detected as needle light leakage and some of the detected defects have low confidence. As a reason, the network’s ability to extract deep features is weak when deformable convolution is not used. _Sensors_ 2020 <u>,</u> _<u>20</u>_ <u>, 4939</u> 13 of 19 Table 3. Comparative results for the proposed algorithm. <u>Schemes</u> <u>mAP0.5</u> <sup>1</sup> <u>mAP0.7</u> <sup>2</sup> <u>ACC</u> <sup>3</sup> <u>DR</u> <sup>4</sup> Scheme 1 <sup>5</sup> 0.774 0.792 0.825 0.843 Scheme 2 <sup>6</sup> 0.825 0.804 0.871 0.831 Scheme 3 <sup>7</sup> 0.819 0.796 0.864 0.907 Scheme 4 <sup>8</sup> 0.873 0.862 0.906 0.933 1 mAP0.5 is the mean average precision when the threshold of intersection over union is 0.5. 2 mAP0.7 is the mean average precision when the threshold of intersection over union is 0.7. <sup>3</sup> ACC is the accuracy. <sup>4</sup> DR is the detection rate. <sup>5</sup> The deformable convolution is abandoned. <sup>6</sup> The OHEM is abandoned. <sup>7</sup> The secondary transfer learning is abandoned. <sup>8</sup> The complete model of TICNET is used. Scheme 1 Scheme 2 Scheme 3 Scheme 4 ( a ) ( b ) ( c ) ( d ) ( e ) ( f ) ( g ) Figure 13. The detection results of four schemes for different situations: ( a ) hair-like defects have different appearances; ( b ) stains have different appearances; ( c ) weak feature of stains; ( d ) weak feature of hair-like defects; ( e ) weak feature of hot stamping paper folds; ( f ) similarity exists in defects of hair-like defects and hot stamping paper folds; and ( g ) similarity exists in defects of hot stamping paper folds and hot stamping paper damage. _Sensors_ 2020, _20_, 4939 14 of 19 It is found that the hair-like defect is mistakenly detected as hot stamping paper folds, and hot stamping paper damage is falsely detected as hot stamping paper folds when OHEM is not used to improve the inspection network (Scheme 2). The reason is that these samples with high loss values are not effectively used, which reduces the discriminative ability of the network. It can also be found that the stains with weak features are not detected when transfer learning is not used. Moreover, the hair-like defect with weak feature has lower frame accuracy, and the confidence of some detected defects are lower. As an explanation, the random initialization of network parameters makes it difficult to achieve optimal results under the same number of training rounds. 4.3.2. Ablation Study for Transfer Learning The changes of variables in transfer learning will affect the results, and we attempted to find an optimal set of variables to better fit this detection task. Hence, a comparative experiment was carried out, and the results are shown in Table 4. Table 4. Comparative results for different methods. Method Number Transfer Learning Transfer Learning Frozen Backbone Strategy Stages Frozen Inference Params(M) <sup>1</sup> ACC <sup>2</sup> Stages Time / Group (s) 1 - <sup>3</sup> ResNet-50 Stages 1–2 67.72 0.719 1.569 2 Weights of Pascal VOC <sup>4</sup> ResNet-50 Stages 1–2 67.72 0.865 1.576 Weights of Pascal VOC + 3 ResNet-50 Stages 1–2 67.72 0.884 1.580 Weights of CPD <sup>5</sup> Weights of ImageNet + 4 ResNet-50 Stages 1–2 67.72 0.906 1.574 Weights of CPD (Ours) Weights of ImageNet + 5 ResNet-34 Stages 1–2 33.01 0.817 1.133 Weights of CPD Weights of ImageNet + 6 ResNet-101 Stages 1–2 86.71 0.908 2.010 Weights of CPD Weights of ImageNet + 7 ResNet-50 Stage 1 68.94 0.899 1.589 Weights of CPD Weights of ImageNet + 8 ResNet-50 Stages 1–3 60.62 0.862 1.492 Weights of CPD Weights of ImageNet + 9 ResNet-50 - 69.17 0.870 1.588 Weights of CPD 1 Params(M) is the number of model parameters. 2 ACC is the accuracy and it defined as formula (20). 3 It represents training the TICNET from scratch. <sup>4</sup> We used the pre-trained weights of Pascal VOC dataset to train the TICNET. 5 We used the pre-trained weights of Pascal VOC dataset for the transfer learning firstly and trained a model that can recognize common pointer surface defects, and then used the model for secondary transfer learning. CPD is the abbreviation for common pointer surface defects dataset. In this experiment, the independent variables included transfer learning strategy, backbone and frozen stages. On the other hand, the dependent variables included parameters ACC and inference time/group. Among them, the transfer learning strategy consists of different combinations and the frozen stages represents the frozen stages of ResNet during tuning. Besides, backbone is the basic network and we chose ResNet-34, ResNet-50 and ResNet-101 for comparison. We define the parameters of the common convolutional layers as: Params _conv_ = _Kh_ × _Kw_ × _Cin_ × _Cout_ + _Cout_ (23) where _Kh_ × _Kw_ is the kernel size, _Cin_ is the number of input channels and _Cout_ is the number of output channels. The parameters of the fully connected layers can be defined as: Params _fc_ = _Nin_ × _Nout_ + _Nout_ (24) where _Nin_ represents that the input has _Nin_ nodes and _Nout_ represents that the output has _Nout_ nodes. Therefore, the number of parameters (Params) is the sum of the all convolutional and fully connected _Sensors_ 2020, _20_, 4939 15 of 19 layers’ parameters. The last column of Table 4 shows the inference time and each group contained 10 images. In Table 4, it can be seen that the number of parameters is only related to frozen stages and backbone, but not to the transfer learning strategy. It is clear that the increase of ResNet depth dramatically resulted in the increase of parameters and inference time. Moreover, ACC was also improved significantly if we replaced ResNet-34 with ResNet-50. On the other hand, although the increase of ResNet depth may achieve an improvement of ACC, ResNet-101 was not able to improve the ACC with a lower cost of inference time. Hence, it can be concluded that ResNet-50 is a better choice than ResNet-34 or ResNet-101. The number of frozen stages affects the parameters and inference time as well. In other words, the more stages are not frozen, the more parameters and inference time are added. However, the accuracy will be lost if too many or too few stages are frozen. By comparing Methods 4 and 7–9, it is found that the accuracy obtained by Methods 7–9 is not as high as that obtained by Method 4. The comparative results show that ACC was influenced by the transfer learning strategy as well. Methods 1–4 indicate that ACC is the worst when we train the TICNET from scratch. Furthermore, when the pre-trained weights of Pascal VOC were used in the first transfer stage, rather than the pre-trained weights of ImageNet, it was found that ACC declined from 0.906 to 0.884. Thus, it can be inferred that the transfer learning can improve the performance of TICNET, and the pre-trained weights of ImageNet is more suitable for our task. _4.4._ _Comparison of Di_ ff _erent Detection Algorithms_ To prove the superiority of the proposed algorithm, several classic detection algorithms were compared with TICNET in the same experimental environment. We still used mAP0.5, mAP0.7, ACC and DR as the evaluation indicators. Comparison algorithms include SSD [46], Retinanet [47], RFCN [48], Faster-RCNN [49], Cascade-RCNN, SSD *, RFCN * and Cascade-RCNN *. Among them, SSD *, RFCN * and Cascade-RCNN * represent that we trained the model from scratch. The comparative results are shown in Table 5. Table 5. Comparative results for different detection algorithms. Algorithm mAP0.5 mAP0.7 ACC DR SSD 0.690 0.679 0.788 0.715 Retinanet 0.733 0.732 0.874 0.900 RFCN 0.824 0.813 0.875 0.903 Faster-RCNN 0.825 0.804 0.871 0.864 Cascade-RCNN 0.761 0.754 0.826 0.839 SSD * 0.615 0.566 0.647 0.643 RFCN * 0.738 0.731 0.801 0.828 Cascade-RCNN * 0.721 0.709 0.813 0.802 TICNET (Ours) 0.873 0.862 0.906 0.933 Table 5 demonstrates that the detection results of SSD are the worst, and the mAP0.5 and mAP0.7 are both below 0.7. Moreover, although the detection results of Retinanet are improved compared with those of SSD, the effect is still not satisfactory. This is due to the fact that both SSD and Retinanet belong to the one-stage detection networks. In other words, the original image is scaled by one-stage detection networks, which made it difficult to detect small targets because of the receptive field. Notably, the detection indicators of RFCN and Faster-RCNN are all over 0.8, which is a big step forward from SSD and Retinanet. The reason is that both RFCN and Faster-RCNN are two-stage detection networks, and the region proposal network plays an important role in detecting small targets. There are many anchors eventually learned in the one-stage network, but most anchors are adverse to the learning process. Anchors in this part greatly affect the whole network and lower the overall accuracy. In addition, the selective search strategy of region proposal network can filter out the redundant _Sensors_ 2020, _20_, 4939 16 of 19 anchors. Although fewer anchors are eventually learned from the two-stage network, there will not be too many anchors unfavorable to online learning. They may affect the overall accuracy rate, but it is certainly not as severe as that of one-stage, so the accuracy rate is higher than that of one-stage. Nevertheless, the overall performance of RFCN and Faster-RCNN is still not as good as TICNET. It is found that the detection indicators of Cascade-RCNN are all lower than those of the two-stage detection networks and TICNET. As an explanation, the defects of the detection task in this paper are complex and some defects have similar characteristics. The feature extraction ability of the basic network is weak, and the samples that have been mistakenly detected are not properly utilized. Therefore, it is concluded that the Cascade-RCNN without any improvements is not suitable for our task. On the other hand, whether the weight is transferred or not also affects the detection indicators. The comparison results show that the migration of weights will effectively improve the performance. Table 6 illustrates the comparison statistics of algorithms on the different defects. SSD and Faster-RCNN are chosen as the comparison algorithms for TICNET, and the average confidence (AVGConf) is used as evaluation indicator. Table 6. The comparison statistics of algorithms on the different defects. Defects Hot Stamping Hot Stamping Paper Damage Needle Hair-Like Stains Leakage Defects AVGConf Stains Paper Folds Paper Damage Leakage Defects Algorithm Paper Folds SSD 0.812 0.831 0.849 0.792 0.776 Faster-RCNN 0.925 0.920 0.942 0.944 0.957 TICNET (Ours) 0.969 0.957 0.974 0.971 0.989 The aforementioned table indicates that the average confidence of each type rises by at least 12.5% and 2.7%, respectively, when compared with SSD and Faster-RCNN. Consequently, it is inferred that the method proposed in this article is more sensitive to the defects on the pointer surface, and the network is more robust due to the improved methods proposed in this article. To summarize, the TICNET has the best performance in our detection task, which is superior to other classical detection algorithms. This is of great significance to ensure the quality of pointers in the production. 5. Conclusions Visual inspection of industrial precision parts is a research hotspot in the computer vision field today, and inspection methods based on machine vision have been applied in industry. Based on the study of pointer surface defects, this paper proposes a transfer learning and improved Cascade-RCNN deep neural network for the problems of intra-class differences, weak features, similarities in different classes and small sample size. The proposed algorithm uses deformable convolution to enhance the feature extraction ability of the feature extraction network. Drawing on the idea of online hard example mining, the detection branches containing the OHEM module are merged into the original detection branches, which effectively improves the network’s ability to distinguish complex samples. The transfer learning theory is used in this detection task to solve the problem of lack of samples and imbalance of data. Comparative experiment results show that the proposed algorithm can accurately detect various defects on the pointer surface. The mAP0.5 is 0.873, ACC is 0.906 and DR is 0.933, which are better than the current classical detection algorithms. The TICNET network model has achieved good inspection results in the task of detecting defects on pointer surface, and it is expected to be widely used in the field of industrial vision inspection in the future. Author Contributions: Proposed the idea, W.Z. and D.L.; project research and design, W.Z. and H.H.; writing—original draft preparation, H.H. and F.C.; experiment and data analysis, H.H. and W.C.; writing—review and editing, H.H., D.L., F.C. and W.C.; making figures, F.C. and, W.C.; document retrieval, F.C. and W.C.; project process management and supervision, W.Z. and D.L.; and funding acquisition, W.Z. All authors have read and agreed to the published version of the manuscript. _Sensors_ 2020, _20_, 4939 17 of 19 Funding: This research was funded by the National Natural Science Foundation of China (grant number 61472282) and was partially supported from the Major Scientific Research Project of Anhui Provincial Education Department (grant number KJ2019ZD05). Acknowledgments: Experimental equipment was provided by Dart Intelligent Technology Co., Ltd., Ma’anshan. Conflicts of Interest: The authors declare no conflict of interest. References 1. Li, C.; Zhang, X.; Huang, Y.; Tang, C.; Fatikow, S. A novel algorithm for defect extraction and classification of mobile phone screen based on machine vision. _Comput._ _Ind._ _Eng._ 2020, _146_, 106530. [[CrossRef]](http://dx.doi.org/10.1016/j.cie.2020.106530) 2. Zhang, X.; Wei, L.; Yuan, W.; Ding, Z. Research on micro-crack detection method of plate heat exchanger based on machine vision. _J. Electr._ _Eng._ 2020, _37_, 856–860. 3. Yang, M. Automatic verification method of car tire temperature and pressure meter reading based on machine vision. _Autom._ _Instrum._ 2020, _6_, 44–47. 4. Deshpande, A.M.; Telikicherla, A.K.; Jakkali, V.; Wickelhaus, D.A.; Kumar, M.; Anand, S. Computer vision toolkit for non-invasive monitoring of factory floor artifacts. _Procedia Manuf._ 2020, _48_, 1020–1028. [[CrossRef]](http://dx.doi.org/10.1016/j.promfg.2020.05.141) 5. Pierleoni, P.; Belli, A.; Palma, L.; Sabbatini, L. A versatile machine vision algorithm for real-time counting manually assembled pieces. _J. Imaging_ 2020, _6_, 48. [[CrossRef]](http://dx.doi.org/10.3390/jimaging6060048) 6. Lins, R.G.; De Araujo, P.R.M.; Corazzim, M. In-process machine vision monitoring of tool wear for cyber-physical production systems. _Robot._ _Comput._ _Manuf._ 2020, _61_, 101859. [[CrossRef]](http://dx.doi.org/10.1016/j.rcim.2019.101859) 7. Le, N.T.; Wang, J.W.; Wang, C.C.; Nguyen, T.N. Automatic defect inspection for coated eyeglass based on symmetrized energy analysis of color channels. _Symmetry_ 2019, _11_, 1518. [[CrossRef]](http://dx.doi.org/10.3390/sym11121518) 8. Zeiler, A.; Steinboeck, A.; Vincze, M.; Jochum, M.; Kugi, A. Vision-based inspection and segmentation of trimmed steel edges. _IFAC-PapersOnLine_ 2019, _52_, 165–170. [[CrossRef]](http://dx.doi.org/10.1016/j.ifacol.2019.09.182) 9. Anonymous. Machine vision system detects stretched chain links on moving conveyor drives. _Vision Syst._ _Des._ 2019, _24_, 450–453. 10. Li, X.; Qiao, T.; Pang, Y.; Zhang, H.; Yan, G. A new machine vision real-time detection system for liquid impurities based on dynamic morphological characteristic analysis and machine learning. _Measurement_ 2018, _124_, 130–137. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2018.04.015) 11. Zareiforoush, H.; Minaei, S.; Alizadeh, M.R.; Banakar, A. A hybrid intelligent approach based on computer vision and fuzzy logic for quality measurement of milled rice. _Measurement_ 2015, _66_, 26–34. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2015.01.022) 12. Xiong, C.; Ji, J. Detection method for welding defects of ship plate joints based on machine vision. _Ship Sci._ _Technol._ 2020, _42_, 220–222. 13. Malik, A.A.; Andersen, M.V.; Bilberg, A. Advances in machine vision for flexible feeding of assembly parts. _Procedia Manuf._ 2019, _38_, 1228–1235. [[CrossRef]](http://dx.doi.org/10.1016/j.promfg.2020.01.214) 14. Liu, R.; Wang, Z.; Liu, X.; Lu, W. Defect detection of automotive precision parts based on machine vision. _Software_ 2020, _41_, 192–196. 15. Li, K. Surface Defect Detection of Automotive Turbine Shell Parts Based on Machine Vision. Master’s Thesis, Nanjing University of Aeronautics and Astronautics, Nanjing, China, 2019. 16. Zhang, J.; Liang, D.; Liang, D.; Wang, Z. A method for defect detection of automotive injection thread parts based on machine vision. _Mach._ _Manuf._ 2019, _57_, 76–79. 17. Meng, F.; Ren, J.; Wang, Q.; Zhang, T. Rubber hose surface defect detection system based on machine vision. _IOP Conf._ _Series Earth Environ._ _Sci._ 2018, _108_, 22057. [[CrossRef]](http://dx.doi.org/10.1088/1755-1315/108/2/022057) 18. Tandiya, A.; Akthar, S.; Moussa, M.; Tarray, C. Automotive Semi-specular Surface Defect Detection System. In Proceedings of the 15th Conference on Computer and Robot Vision (CRV), Toronto, ON, Canada, 9–11 May 2018. 19. Du, W.; Shen, H.; Fu, J.; Zhang, G.; He, Q. Approaches for improvement of the X-ray image defect detection of automobile casting aluminum parts based on deep learning. _NDT E Int._ 2019, _107_, 102144. [[CrossRef]](http://dx.doi.org/10.1016/j.ndteint.2019.102144) 20. Zhao, H.; Zhao, Y.; Qi, X.; Li, F. Research on detection algorithm of automotive hub surface defects based on deep learning. _Int._ _J. Mach._ _Tools Manuf._ 2019, _11_, 112–115. 21. Zhang, X.; Liu, G.; Tong, Z.; Hu, P.; Shen, G.; Wang, C.; Zhu, X. Defect prediction of automobile stamping parts based on deep learning. In Proceedings of the 14th China CAE Engineering Analysis Technology Annual Conference, Yinchuan, China, 9–11 August 2018. _Sensors_ 2020, _20_, 4939 18 of 19 22. Wu, Y.; Guo, D.; Liu, H.; Huang, Y. An end-to-end learning method for industrial defect detection. _Assem._ _Autom._ 2019, _40_, 31–39. [[CrossRef]](http://dx.doi.org/10.1108/AA-08-2018-114) 23. Qu, Z.; Shen, J.; Li, R.; Liu, J.; Guan, Q. PartsNet: A unified deep network for automotive engine precision parts defect detection 2018. _arXiv_ 2018, arXiv:1810.12061. 24. Li, Y.; Chen, Y.; Wang, N.; Zhang, Z.X. Scale-Aware Trident Networks for Object Detection. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Korea, 29 October–1 November 2019. 25. Tian, Z.; Shen, C.; Chen, H.; He, T. FCOS: Fully Convolutional One-Stage Object Detection. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Korea, 29 October–1 November 2019. 26. Morera, Á.; Sánchez, Á.; Moreno, A.B.; Sappa, Á.; Vélez, J. SSD vs. YOLO for detection of outdoor urban advertising panels under multiple variabilities. _Sensors_ 2020, _20_, 4587. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s20164587) 27. Du, L.; Zhang, R.; Wang, X. Overview of two-stage object detection algorithms. _J. Phys._ _Conf._ _Ser._ 2020, _1544_, 12033. [[CrossRef]](http://dx.doi.org/10.1088/1742-6596/1544/1/012033) 28. Cai, Z.; Vasconcelos, N. Cascade R-CNN: Delving into High Quality Object Detection. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–22 June 2018. 29. Qin, H.; Yan, J.; Li, X.; Hu, X. Joint Training of Cascaded CNN for Face Detection. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016. 30. Xu, Z.; Xu, X.; Wang, L.; Yang, R.; Pu, F. Deformable ConvNet with aspect ratio constrained NMS for object detection in remote sensing imagery. _Remote Sens._ 2017, _9_, 1312. [[CrossRef]](http://dx.doi.org/10.3390/rs9121312) 31. Zhu, X.; Hu, H.; Lin, S.; Dai, J. Deformable ConvNets v2: More deformable, better results. _arXiv_ 2018, arXiv:1811.11168. 32. Dai, J.; Qi, H.; Xiong, Y.; Li, Y.; Zhang, G.; Hu, H.; Wei, Y. Deformable Convolutional Networks. _arXiv_ 2017, arXiv:1703.06211. 33. Szegedy, C.; Ioffe, S.; Vanhoucke, V. Inception-v4, Inception-ResNet and the impact of residual connections on learning. _arXiv_ 2016, arXiv:1602.07261. 34. Jung, H.; Choi, M.-K.; Jung, J.; Lee, J.H.; Kwon, S.; Jung, W.Y. ResNet-Based Vehicle Classification and Localization in Traffic Surveillance Systems. In Proceedings of the Computer Vision & Pattern Recognition Workshops, Honolulu, HI, USA, 21–26 July 2017. 35. Wen, L.; Li, X.; Gao, L. A transfer convolutional neural network for fault diagnosis based on ResNet-50. _Neural Comput._ _Appl._ 2019, _32_, 6111–6124. [[CrossRef]](http://dx.doi.org/10.1007/s00521-019-04097-w) 36. Chu, J.; Guo, Z.; Leng, L. Object detection based on multi-layer convolution feature fusion and online hard example mining. _IEEE Access_ 2018, _6_, 19959–19967. [[CrossRef]](http://dx.doi.org/10.1109/ACCESS.2018.2815149) 37. Shrivastava, A.; Gupta, A.; Girshick, R. Training Region-Based Object Detectors with Online Hard Example Mining. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016. 38. Qiu, Z.; Zhao, S.; Feng, X.; He, Y. Transfer learning method for plastic pollution evaluation in soil using NIR sensor. _Sci._ _Total Environ._ 2020, _740_, 140118. [[CrossRef]](http://dx.doi.org/10.1016/j.scitotenv.2020.140118) 39. Yosinski, J.; Clune, J.; Bengio, Y.; Lipson, H. How transferable are features in deep neural networks? _arXiv_ 2014, arXiv:1411.1792. 40. Oquab, M.; Bottou, L.; Laptev, I.; Sivic, J. Learning and Transferring Mid-Level Image Representations using Convolutional Neural Networks. In Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014. 41. Glorot, X.; Bordes, A.; Bengio, Y. Domain Adaptation for Large-Scale Sentiment Classification: A Deep Learning Approach. In Proceedings of the 28th International Conference on Machine Learning, Washington, DC, USA, 28 June–2 July 2011. 42. Chen, M.; Xu, Z.; Weinberger, K.; Sha, F. Marginalized denoising autoencoders for domain adaptation. _arXiv_ 2012, arXiv:1206.4683. 43. Ganin, Y.; Ustinova, E.; Ajakan, H.; Germain, P.; LaRochelle, H.; LaViolette, F.; Marchand, M.; Lempitsky, V. Domain-adversarial training of neural networks. _arXiv_ 2015, arXiv:1505.07818. 44. Minaee, S.; Boykov, Y.; Porikli, F.; Plaza, A.; Kehtarnavaz, N.; Terzopoulos, D. Image segmentation using deep learning: A survey. _arXiv_ 2020, arXiv:2001.05566. _Sensors_ 2020, _20_, 4939 19 of 19 45. Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. PyTorch: An imperative style, high-performance deep learning library. _arXiv_ 2019, arXiv:1912.01703. 46. Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; Reed, S.; Fu, C.; Berg, A. SSD: Single shot multibox detector. _arXiv_ 2015, arXiv:1512.02325. 47. Lin, T.Y.; Goyal, P.; Girshick, R.; He, K.; Dollar, P. Focal loss for dense object detection. _arXiv_ 2017, arXiv:1708.02002. 48. Dai, J.; Li, Y.; He, K.; Sun, J. R-FCN: Object detection via region-based fully convolutional networks. _arXiv_ 2016, arXiv:1605.06409. 49. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards real-time object detection with region proposal networks. _arXiv_ 2015, arXiv:1506.01497. [[CrossRef]](http://dx.doi.org/10.1109/TPAMI.2016.2577031) © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문

섹션 본문이 없습니다.

참고문헌 45건

  1. A hybrid intelligent approach based on computer vision and fuzzy logic for quality measurement of milled rice Measurement · Elsevier BV · 2015 10.1016/j.measurement.2015.01.022
  2. Learning and Transferring Mid-level Image Representations Using Convolutional Neural Networks 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2014 10.1109/cvpr.2014.222
  3. Training Region-based Object Detectors with Online Hard Example Mining arXiv (Cornell University) · Cornell University · 2016
  4. R-FCN: Object Detection via Region-based Fully Convolutional Networks arXiv (Cornell University) · Cornell University · 2016
  5. Joint Training of Cascaded CNN for Face Detection 2016 10.1109/cvpr.2016.376
  6. Deformable Convolutional Networks 2017 10.1109/iccv.2017.89
  7. ResNet-Based Vehicle Classification and Localization in Traffic Surveillance Systems 2017 10.1109/cvprw.2017.129
  8. Focal Loss for Dense Object Detection arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1708.02002
  9. Deformable ConvNet with Aspect Ratio Constrained NMS for Object Detection in Remote Sensing Imagery Remote Sensing · Multidisciplinary Digital Publishing Institute · 2017 10.3390/rs9121312
  10. Rubber hose surface defect detection system based on machine vision IOP Conference Series Earth and Environmental Science · IOP Publishing · 2018 10.1088/1755-1315/108/2/022057
  11. Object Detection Based on Multi-Layer Convolution Feature Fusion and Online Hard Example Mining IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2815149
  12. A new machine vision real-time detection system for liquid impurities based on dynamic morphological characteristic analysis and machine learning Measurement · Elsevier BV · 2018 10.1016/j.measurement.2018.04.015
  13. Focal Loss for Dense Object Detection IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2018 10.1109/tpami.2018.2858826
  14. Deformable ConvNets v2: More Deformable, Better Results arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1811.11168
  15. Automotive Semi-specular Surface Defect Detection System 2018 10.1109/crv.2018.00047
  16. Scale-Aware Trident Networks for Object Detection arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1901.01892
  17. A transfer convolutional neural network for fault diagnosis based on ResNet-50 Neural Computing and Applications · Springer Science+Business Media · 2019 10.1007/s00521-019-04097-w
  18. FCOS: Fully Convolutional One-Stage Object Detection arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1904.01355
  19. Marginalized Denoising Autoencoders for Domain Adaptation arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1206.4683
  20. Domain-Adversarial Training of Neural Networks arXiv (Cornell University) · Cornell University · 2015
  21. Deformable Convolutional Networks arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1703.06211
  22. Approaches for improvement of the X-ray image defect detection of automobile casting aluminum parts based on deep learning NDT & E International · Elsevier BV · 2019 10.1016/j.ndteint.2019.102144
  23. Advances in machine vision for flexible feeding of assembly parts Procedia Manufacturing · Elsevier BV · 2019 10.1016/j.promfg.2020.01.214
  24. Focal Loss for Dense Object Detection 2017 10.1109/iccv.2017.324
  25. Training Region-Based Object Detectors with Online Hard Example Mining 2016 10.1109/cvpr.2016.89
  26. PartsNet Proceedings of the 2018 2nd International Conference on Computer Science and Artificial Intelligence · 2018 10.1145/3297156.3297190
  27. Cascade R-CNN: Delving Into High Quality Object Detection 2018 10.1109/cvpr.2018.00644
  28. Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2017 10.1609/aaai.v31i1.11231
  29. Deformable ConvNets V2: More Deformable, Better Results 2019 10.1109/cvpr.2019.00953
  30. PyTorch: An Imperative Style, High-Performance Deep Learning Library arXiv (Cornell University) · Cornell University · 2019
  31. In-process machine vision monitoring of tool wear for Cyber-Physical Production Systems Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2019 10.1016/j.rcim.2019.101859
  32. An end-to-end learning method for industrial defect detection Assembly Automation · Emerald Publishing Limited · 2019 10.1108/aa-08-2018-114
  33. Vision-based inspection and segmentation of trimmed steel edges IFAC-PapersOnLine · Elsevier BV · 2019 10.1016/j.ifacol.2019.09.182
  34. FCOS: Fully Convolutional One-Stage Object Detection 2019 10.1109/iccv.2019.00972
  35. Scale-Aware Trident Networks for Object Detection 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2019 10.1109/iccv.2019.00615
  36. Automatic Defect Inspection for Coated Eyeglass Based on Symmetrized Energy Analysis of Color Channels Symmetry · Multidisciplinary Digital Publishing Institute · 2019 10.3390/sym11121518
  37. Overview of two-stage object detection algorithms Journal of Physics Conference Series · IOP Publishing · 2020 10.1088/1742-6596/1544/1/012033
  38. Transfer learning method for plastic pollution evaluation in soil using NIR sensor The Science of The Total Environment · Elsevier BV · 2020 10.1016/j.scitotenv.2020.140118
  39. A Versatile Machine Vision Algorithm for Real-Time Counting Manually Assembled Pieces Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2020 10.3390/jimaging6060048
  40. A novel algorithm for defect extraction and classification of mobile phone screen based on machine vision Computers & Industrial Engineering · Elsevier BV · 2020 10.1016/j.cie.2020.106530
  41. SSD vs. YOLO for Detection of Outdoor Urban Advertising Panels under Multiple Variabilities Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20164587
  42. Computer Vision Toolkit for Non-invasive Monitoring of Factory Floor Artifacts Procedia Manufacturing · Elsevier BV · 2020 10.1016/j.promfg.2020.05.141
  43. SSD: Single Shot MultiBox Detector Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46448-0_2
  44. Image Segmentation Using Deep Learning: A Survey IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2021 10.1109/tpami.2021.3059968
  45. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2577031