CN110349135A - Object detection method and device - Google Patents
Object detection method and device Download PDFInfo
- Publication number
- CN110349135A CN110349135A CN201910568841.5A CN201910568841A CN110349135A CN 110349135 A CN110349135 A CN 110349135A CN 201910568841 A CN201910568841 A CN 201910568841A CN 110349135 A CN110349135 A CN 110349135A
- Authority
- CN
- China
- Prior art keywords
- network
- feature
- image
- region
- matrix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
- G06F18/253—Fusion techniques of extracted features
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Health & Medical Sciences (AREA)
- Quality & Reliability (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Image Analysis (AREA)
Abstract
本发明公开了一种目标检测方法和装置,该方法包括:对包含待检测目标的目标图像进行特征提取,得到反映待检测目标特征的特征向量数据;设置路径数量和网络层级数量,在实例分割框架中构建聚合变换网络,其中,聚合变换网络中的路径数量为两个以上,不同层级之间相对应的路径之间进行数据传输;将所述特征向量数据输入聚合变换网络,将特征向量数据划分为不同层级,将每一个层级的数据对应于各路径划分为各特征组;在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果;融合多个所述处理结果,获得所述目标图像的特征图像。
The invention discloses a target detection method and device. The method comprises: performing feature extraction on a target image containing a target to be detected to obtain feature vector data reflecting the features of the target to be detected; setting the number of paths and the number of network levels; An aggregation transformation network is constructed in the framework, wherein, the number of paths in the aggregation transformation network is more than two, and data transmission is performed between corresponding paths between different levels; the feature vector data is input into the aggregation transformation network, and the feature vector data It is divided into different levels, and the data of each level is divided into feature groups corresponding to each path; in the aggregation transformation network, the feature groups of each level on each path are processed in parallel to obtain multiple processing results; Based on the processing result, the feature image of the target image is obtained.
Description
技术领域technical field
本发明涉及图像目标检测与分割技术领域,尤其涉及一种目标检测方法,以及一种目标检测装置。The invention relates to the technical field of image target detection and segmentation, in particular to a target detection method and a target detection device.
背景技术Background technique
在制造加工领域等,通常需要对生产出的产品进行缺陷检测。目前,在对产品进行缺陷检测时,通常利用人工智能技术来替代传统人工进行产品缺陷的外观检测,其基本思路是:通过收集/采集一定数量的相关原始图片数据,后喂入实例分割框架Mask R-CNN,并基于实例分割框架中的卷积特征提取网络backbone获取待检测产品的特征图像,进而对该特征图像进行处理,以判别待检测产品是否合格。In the field of manufacturing and processing, etc., it is usually necessary to perform defect detection on the produced products. At present, when performing defect detection on products, artificial intelligence technology is usually used to replace the traditional artificial appearance detection of product defects. The basic idea is: by collecting/collecting a certain amount of relevant original image data, and then feeding the instance segmentation framework Mask R-CNN, based on the convolutional feature extraction network backbone in the instance segmentation framework, obtains the feature image of the product to be tested, and then processes the feature image to determine whether the product to be tested is qualified.
然而,现有的卷积特征提取网络backbone均采用深度残差网络结构对包含待检测产品的原始图片进行处理以获得目标物体的特征图像,由于原始图像的特征信息繁杂,且数量多,因此,采用现有的深度残差网络结构在对原始图像进行处理时,处理速度慢,而且,处理效率低下。However, the existing convolutional feature extraction network backbone uses a deep residual network structure to process the original image containing the product to be detected to obtain the feature image of the target object. Since the feature information of the original image is complicated and large in number, therefore, When using the existing deep residual network structure to process the original image, the processing speed is slow, and the processing efficiency is low.
发明内容Contents of the invention
本发明的目的在于提供一种用于目标检测的新的技术方案。The purpose of the present invention is to provide a new technical solution for target detection.
根据本发明的第一方面,提供了一种目标检测方法,其包括:According to a first aspect of the present invention, a method for target detection is provided, comprising:
对包含待检测目标的目标图像进行特征提取,得到反映待检测目标特征的特征向量数据;Feature extraction is performed on the target image containing the target to be detected to obtain feature vector data reflecting the characteristics of the target to be detected;
设置路径数量和网络层级数量,在实例分割框架中构建聚合变换网络,其中,聚合变换网络中的路径数量为两个以上,不同层级之间相对应的路径之间进行数据传输;Set the number of paths and the number of network levels, and construct an aggregation transformation network in the instance segmentation framework, wherein the number of paths in the aggregation transformation network is more than two, and data transmission is performed between corresponding paths between different levels;
将特征向量数据输入聚合变换网络,将特征向量数据划分为不同层级,将每一个层级的数据对应于各路径划分为各特征组;Input the feature vector data into the aggregation transformation network, divide the feature vector data into different levels, and divide the data of each level into feature groups corresponding to each path;
在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果;In the aggregation transformation network, the feature groups of each level on each path are processed in parallel to obtain multiple processing results;
融合多个处理结果,获得目标图像的特征图像。Combine multiple processing results to obtain the feature image of the target image.
可选地,设置路径数量和网络层级数量,在实例分割框架中构建聚合变换网络,包括:Optionally, set the number of paths and the number of network layers, and build an aggregation transformation network in the instance segmentation framework, including:
根据路径数量,设置两个以上路径;According to the number of paths, set more than two paths;
根据网络层级数量,设置每个路径上包括一个输入层,一个或多个过渡层和一个输出层。According to the number of network layers, each path includes an input layer, one or more transition layers and an output layer.
可选地,在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果,包括:Optionally, in the aggregation transformation network, the feature groups of each level on each path are processed in parallel to obtain multiple processing results, including:
通过每个路径上的输入层对输入的特征向量数据进行降维处理,获得降维后的特征组;Perform dimensionality reduction processing on the input feature vector data through the input layer on each path to obtain the feature group after dimensionality reduction;
将降维后的特征组输入对应路径上的过渡层,通过过渡层对降维后的特征组进行特征提取,获得中间特征组;Input the dimension-reduced feature group into the transition layer on the corresponding path, perform feature extraction on the dimension-reduced feature group through the transition layer, and obtain the intermediate feature group;
将中间特征组输入对应路径上的输出层,通过输出层对中间特征组进行升维处理,获得升维后的特征组,作为对应路径的处理结果。The intermediate feature group is input to the output layer on the corresponding path, and the intermediate feature group is processed through the output layer to increase the dimension, and the feature group after the dimension increase is obtained as the processing result of the corresponding path.
可选地,实例分割框架中包括区域注意力网络RPN,方法在获得目标图像的特征图像之后,还包括:Optionally, the instance segmentation framework includes a regional attention network RPN, and after obtaining the feature image of the target image, the method further includes:
将特征图像输入区域注意力网络,通过区域注意力网络,按照预设固定窗口在特征图像上进行滑动识别特征图像中存在缺陷的区域,得到识别后的存在缺陷的区域作为初始感兴趣区域,并生成标识有每一初始感兴趣区域的特征图像。Input the feature image into the regional attention network, through the regional attention network, slide the feature image according to the preset fixed window to identify the region with defects in the feature image, and obtain the identified defective region as the initial region of interest, and A feature image is generated identifying each initial region of interest.
可选地,按照预设固定窗口在特征图像上进行滑动识别特征图像中存在缺陷的区域,包括:Optionally, sliding on the feature image according to a preset fixed window to identify defective regions in the feature image, including:
为窗口的尺寸为N×N的固定窗口至少提供一个N×1滤波器和一个1×N滤波器;其中,N为固定窗口的尺寸大小;Provide at least one N×1 filter and one 1×N filter for a fixed window with a window size of N×N; where N is the size of the fixed window;
依次通过N×1滤波器和1×N滤波器,对特征图像进行降维处理;The feature image is subjected to dimensionality reduction processing through the N×1 filter and the 1×N filter in turn;
在经过降维处理后的特征图像中标记出存在缺陷的区域。The region with defects is marked in the feature image after dimensionality reduction.
可选地,实例分割框架中还包括用于定位的全连接层FC,方法还包括:Optionally, the instance segmentation framework also includes a fully connected layer FC for positioning, and the method also includes:
获取全连接层中所处理的图像数据的矩阵;Obtain the matrix of image data processed in the fully connected layer;
根据图像数据的矩阵,构建处理矩阵;Construct a processing matrix according to the matrix of image data;
提取处理矩阵对应的权重矩阵和偏置矩阵,对图像数据的矩阵进行分解,使用分解后的矩阵在全连接层中进行运算。Extract the weight matrix and offset matrix corresponding to the processing matrix, decompose the matrix of the image data, and use the decomposed matrix to perform operations in the fully connected layer.
根据本发明的第二方面,还提供一种目标检测装置,其特征在于,包括:According to the second aspect of the present invention, there is also provided a target detection device, characterized in that it includes:
提取模块,用于对包含待检测目标的目标图像进行特征提取,得到反映待检测目标特征的特征向量数据;The extraction module is used to perform feature extraction on the target image containing the target to be detected, and obtain feature vector data reflecting the characteristics of the target to be detected;
网络构建模块,用于设置路径数量和网络层级数量,在实例分割框架中构建聚合变换网络,其中,聚合变换网络中的路径数量为两个以上,不同层级之间相对应的路径之间进行数据传输;The network building module is used to set the number of paths and the number of network levels, and construct an aggregation transformation network in the instance segmentation framework, wherein the number of paths in the aggregation transformation network is more than two, and the corresponding paths between different levels carry out data transmission;
输入模块,用于将特征向量数据输入聚合变换网络,将特征向量数据划分为不同层级,将每一个层级的数据对应于各路径划分为各特征组;The input module is used to input the feature vector data into the aggregation transformation network, divide the feature vector data into different levels, and divide the data of each level into each feature group corresponding to each path;
并行处理模块,用于在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果;The parallel processing module is used to process the feature groups of each level on each path in parallel in the aggregation transformation network to obtain multiple processing results;
融合模块,用于融合多个处理结果,获得目标图像的特征图像。The fusion module is used to fuse multiple processing results to obtain the feature image of the target image.
可选地,实例分割框架中包括区域注意力网络RPN,装置还包括区域提取模块,区域提取模块用于:Optionally, the instance segmentation framework includes a regional attention network RPN, and the device also includes a region extraction module, which is used for:
将特征图像输入区域注意力网络,通过区域注意力网络,按照预设固定窗口在特征图像上进行滑动识别特征图像中存在缺陷的区域,得到识别后的存在缺陷的区域作为初始感兴趣区域,并生成标识有每一初始感兴趣区域的特征图像。Input the feature image into the regional attention network, through the regional attention network, slide the feature image according to the preset fixed window to identify the region with defects in the feature image, and obtain the identified defective region as the initial region of interest, and A feature image is generated identifying each initial region of interest.
可选地,区域提取模块,具体用于:Optionally, a region extraction module, specifically for:
为窗口的尺寸为N×N的固定窗口至少提供一个N×1滤波器和一个1×N滤波器;其中,N为固定窗口的尺寸大小;Provide at least one N×1 filter and one 1×N filter for a fixed window with a window size of N×N; where N is the size of the fixed window;
依次通过滤波器和滤波器,对特征图像进行降维处理;以及,performing dimensionality reduction processing on the feature image through filters and filters in sequence; and,
在经过降维处理后的特征图像中标记出存在缺陷的区域。The region with defects is marked in the feature image after dimensionality reduction.
可选地,实例分割框架中包括用于定位的全连接层FC,装置还包括矩阵处理模块,矩阵处理模块用于:Optionally, the instance segmentation framework includes a fully connected layer FC for positioning, and the device also includes a matrix processing module, which is used for:
获取全连接层中所处理的图像数据的矩阵;Obtain the matrix of image data processed in the fully connected layer;
根据图像数据的矩阵,构建处理矩阵;Construct a processing matrix according to the matrix of image data;
提取处理矩阵对应的权重矩阵和偏置矩阵,对图像数据的矩阵进行分解,使用分解后的矩阵在全连接层中进行运算。Extract the weight matrix and offset matrix corresponding to the processing matrix, decompose the matrix of the image data, and use the decomposed matrix to perform operations in the fully connected layer.
本发明的一个有益效果在于,根据本发明实施例的方法和装置,其针对于传统的实例分割框架中的卷积特征提取网络进行改进,在传统的实例分割框架中的卷积特征提取网络backbone中构建聚合变换网络,该聚合变换网络具有多层多组的结构,进而能够对输入的反映待检测目标特征的特征向量数据进行并行处理,即,其能够利用分层并行处理思想来优化现有的卷积特征提取网络,使得卷积特征提取网络在复杂度不增加的前提下,处理效率进一步提高。A beneficial effect of the present invention is that, according to the method and device of the embodiment of the present invention, it improves the convolutional feature extraction network in the traditional instance segmentation framework, and the convolutional feature extraction network backbone in the traditional instance segmentation framework Constructing an aggregation transformation network in , the aggregation transformation network has a multi-layer and multi-group structure, and then can process the input feature vector data reflecting the characteristics of the target to be detected in parallel, that is, it can use the idea of layered parallel processing to optimize the existing The convolutional feature extraction network further improves the processing efficiency of the convolutional feature extraction network without increasing the complexity.
通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍。应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定。对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the invention and therefore should not be considered as limiting the scope. For those skilled in the art, other related drawings can also be obtained based on these drawings without creative effort.
图1是根据本发明实施例的目标检测系统的硬件结构示意图;1 is a schematic diagram of a hardware structure of a target detection system according to an embodiment of the present invention;
图2是根据本发明实施例的目标检测方法的流程示意图;2 is a schematic flow diagram of a target detection method according to an embodiment of the present invention;
图3是根据本发明实施例的实例分割框架示意图;Fig. 3 is a schematic diagram of an instance segmentation framework according to an embodiment of the present invention;
图4是根据本发明实施例的传统残差网络结构示意图;FIG. 4 is a schematic diagram of a traditional residual network structure according to an embodiment of the present invention;
图5是根据本发明实施例的聚合操作示意图;Fig. 5 is a schematic diagram of a polymerization operation according to an embodiment of the present invention;
图6是根据本发明实施例的汇聚变换网络示意图;FIG. 6 is a schematic diagram of a converged transformation network according to an embodiment of the present invention;
图7是根据本发明实施例的卷积结构示意图;Fig. 7 is a schematic diagram of a convolution structure according to an embodiment of the present invention;
图8是根据本发明一个例子的目标检测方法的流程示意图;Fig. 8 is a schematic flow chart of a target detection method according to an example of the present invention;
图9是根据本发明实施例的目标检测装置的框图。FIG. 9 is a block diagram of an object detection device according to an embodiment of the present invention.
具体实施方式Detailed ways
现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, techniques, methods and devices should be considered part of the description.
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all examples shown and discussed herein, any specific values should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.
<实施例一><Example 1>
图1是根据本发明实施例的目标检测系统100的硬件配置的框图。FIG. 1 is a block diagram of a hardware configuration of an object detection system 100 according to an embodiment of the present invention.
如图1所示,目标检测系统100包括图像采集装置1000和目标检测装置2000。As shown in FIG. 1 , the target detection system 100 includes an image acquisition device 1000 and a target detection device 2000 .
图像采集装置1000用于采集目标图像,并将采集到的目标图像提供至目标检测装置2000。The image capture device 1000 is used to capture target images, and provide the captured target images to the target detection device 2000 .
该图像采集装置1000可以是能够对待检测目标进行拍照的任意成像设备,例如摄像头等。The image acquisition device 1000 may be any imaging device capable of taking pictures of the target to be detected, such as a camera.
目标检测装置2000可以是任意的电子设备,例如PC机、笔记本电脑、服务器等。The object detection apparatus 2000 may be any electronic equipment, such as a PC, a notebook computer, a server, and the like.
在本实施例中,参照图1所示,目标检测装置2000可以包括处理器2100、存储器2200、接口装置2300、通信装置2400、显示装置2500、输入装置2600、扬声器2700、麦克风2800等等。In this embodiment, referring to FIG. 1 , the target detection device 2000 may include a processor 2100, a memory 2200, an interface device 2300, a communication device 2400, a display device 2500, an input device 2600, a speaker 2700, a microphone 2800, and the like.
处理器2100可以是移动版处理器。存储器2200例如包括ROM(只读存储器)、RAM(随机存取存储器)、诸如硬盘的非易失性存储器等。接口装置2300例如包括USB接口、耳机接口等。通信装置2400例如能够进行有线或无线通信,通信装置2400可以包括短距离通信装置,例如是基于Hilink协议、WiFi(IEEE 802.11协议)、Mesh、蓝牙、ZigBee、Thread、Z-Wave、NFC、UWB、LiFi等短距离无线通信协议进行短距离无线通信的任意装置,通信装置2400也可以包括远程通信装置,例如是进行WLAN、GPRS、2G/3G/4G/5G远程通信的任意装置。显示装置2500例如是液晶显示屏、触摸显示屏等,显示装置2500用于显示图像采集装置采集的目标图像。输入装置2600例如可以包括触摸屏、键盘等。用户可以通过扬声器2700和麦克风2800输入/输出语音信息。The processor 2100 may be a mobile processor. The memory 2200 includes, for example, ROM (Read Only Memory), RAM (Random Access Memory), nonvolatile memory such as a hard disk, and the like. The interface device 2300 includes, for example, a USB interface, an earphone jack, and the like. The communication device 2400 is capable of wired or wireless communication, for example, and the communication device 2400 may include a short-distance communication device, such as based on Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, Any device that performs short-range wireless communication using a short-range wireless communication protocol such as LiFi, and the communication device 2400 may also include a remote communication device, such as any device that performs WLAN, GPRS, or 2G/3G/4G/5G long-distance communication. The display device 2500 is, for example, a liquid crystal display screen, a touch screen display, etc., and the display device 2500 is used to display the target image collected by the image collection device. The input device 2600 may include, for example, a touch screen, a keyboard, and the like. A user can input/output voice information through the speaker 2700 and the microphone 2800 .
在该实施例中,目标检测装置2000的存储器2200用于存储指令,该指令用于控制处理器2100进行操作以至少执行根据本发明任意实施例的目标检测方法。技术人员可以根据本发明所公开方案设计指令。指令如何控制处理器进行操作,这是本领域公知,故在此不再详细描述。In this embodiment, the memory 2200 of the object detection apparatus 2000 is used to store instructions, and the instructions are used to control the processor 2100 to operate to at least execute the object detection method according to any embodiment of the present invention. A skilled person can design instructions according to the solutions disclosed in the present invention. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.
尽管在图1中示出了目标检测装置2000的多个装置,但是,本发明可以仅涉及其中的部分装置,例如,目标检测装置2000只涉及存储器2200、处理器2100和显示装置2500。Although multiple devices of the target detection device 2000 are shown in FIG. 1 , the present invention may only involve some of them. For example, the target detection device 2000 only involves the memory 2200 , the processor 2100 and the display device 2500 .
在本实施例中,图像采集装置用于采集目标图像提供至目标检测装置2000,目标检测装置2000则基于该目标图像实施根据本发明任意实施例的方法。In this embodiment, the image acquisition device is used to collect target images and provide them to the target detection device 2000, and the target detection device 2000 implements the method according to any embodiment of the present invention based on the target images.
应当理解的是,尽管图1仅示出一个图像采集装置1000和一个目标检测装置2000,但不意味着限制各自的数量,目标检测系统100中可以包含多个图像采集装置1000和/或目标检测装置2000。It should be understood that although FIG. 1 only shows one image acquisition device 1000 and one target detection device 2000, it does not mean to limit the respective quantities, and the target detection system 100 may include multiple image capture devices 1000 and/or target detection devices 1000 and 2000. Device 2000.
<实施例二><Example 2>
本发明实施例还提供了一种目标检测方法,根据图2所示,本实施例的目标检测方法具体包括如下步骤S2100~S2500:The embodiment of the present invention also provides a target detection method. According to FIG. 2, the target detection method in this embodiment specifically includes the following steps S2100-S2500:
步骤S2100,对包含待检测目标的目标图像进行特征提取,得到反映待检测目标特征的特征向量数据。Step S2100, performing feature extraction on the target image including the target to be detected, to obtain feature vector data reflecting the features of the target to be detected.
目标图像为对待检测目标进行拍照获得的图像,可以是将需要确定合格或者是不合格的产品作为待检测目标。例如,需要确定某一个零部件是否合格,在此,可以是将该零部件作为待检测目标,即,可以是采集该零部件的图像作为目标图像。The target image is an image obtained by taking pictures of the target to be detected, and may be a product that needs to be determined to be qualified or unqualified as the target to be detected. For example, it is necessary to determine whether a certain component is qualified. Here, the component may be used as the target to be detected, that is, the image of the component may be collected as the target image.
在一个例子中,该目标图像可以为数字图像,该数字图像可以是由无数个像素点组成。在此,该数字图像可以基于不同的颜色模式进行显示,该颜色模式例如但不限于是RGB(Red,Green,Blue)色彩模式、CMYK(Cyan,Magenta,Yellow,Black)色彩模式、HSB(HueSaturate Bright)色彩模式以及位图模式等。In an example, the target image may be a digital image, and the digital image may be composed of countless pixels. Here, the digital image can be displayed based on different color modes, such as but not limited to RGB (Red, Green, Blue) color mode, CMYK (Cyan, Magenta, Yellow, Black) color mode, HSB (HueSaturate Bright) color mode and bitmap mode, etc.
在另一个例子中,该目标图像也可以为模拟图像。In another example, the target image can also be a simulated image.
在本实施例中,可以是对包含待检测目标的目标图像进行特征提取,以得到反映待检测目标特征的特征向量数据,其中,该特征向量数据可以是256维度的特征向量数据,当然,还可以是其他维度的特征向量数据,在此不做限定。In this embodiment, feature extraction may be performed on the target image containing the target to be detected to obtain feature vector data reflecting the features of the target to be detected, wherein the feature vector data may be 256-dimensional feature vector data, and of course, It can be feature vector data of other dimensions, which is not limited here.
在执行步骤S2100对包含待检测目标的目标图像进行特征提取,得到反映待检测目标特征的特征向量数据之后,进入步骤S2200。After executing step S2100 to perform feature extraction on the target image containing the target to be detected, and obtain feature vector data reflecting the features of the target to be detected, proceed to step S2200.
步骤S2200,设置路径数量和网络层级数量,在实例分割框架中构建聚合变换网络。In step S2200, the number of paths and the number of network levels are set, and an aggregation transformation network is constructed in the instance segmentation framework.
聚合变换网络中的路径数量为两个以上,不同层级之间相对应的路径之间进行数据传输,可以根据具体应用场景和仿真实验设置路径数量和网络层级数量。The number of paths in the aggregation transformation network is more than two, and the corresponding paths between different levels perform data transmission. The number of paths and the number of network levels can be set according to specific application scenarios and simulation experiments.
目前,实例分割框架中的卷积特征提取网络大多采用深度残差网络结构对步骤S2100得到的特征向量数据进行语义特征提取,以将输入的目标图像抽象为特征图像Feature Maps,该特征图像中有用的区域被激活,不相关或者不明确的特征信息被弱化。At present, most of the convolutional feature extraction networks in the instance segmentation framework use a deep residual network structure to extract semantic features from the feature vector data obtained in step S2100, so as to abstract the input target image into Feature Maps, which are useful in The region is activated, irrelevant or ambiguous feature information is weakened.
然而,如图3和图4所示,现有的深度残差网络结构大多采用“Resnet50+FPN”结构,其中,256-d in表示输入深度残差网络结构的特征向量数据,256-d out表示经过深度残差网络结构处理后输出的特征向量数据,第一层用256,1×1结构来降低输入的特征向量数据的维度,即,将256维度降低为64维度,第二层通过64,3×3结构来进行局部特征提取,第三层通过64,1×1结构来进行输出维度的扩容,即,将64维度扩容成256维度,以上出现的所有“×”运算均来自于卷积的内积运算。结合图3可以看出,现有的深度残差网络结构采用的是单输入单输出的网络结构,即,256-d in均通过同一个路径进行处理,从而,导致处理速度慢,而本实施例中,其是在实例分割框架中的卷积特征提取网络构建聚合变换网络,从而,通过多个路径并行对输入的特征向量数据进行处理,以提高处理速度。However, as shown in Figure 3 and Figure 4, most of the existing deep residual network structures adopt the "Resnet50+FPN" structure, where 256-d in represents the feature vector data of the input deep residual network structure, and 256-d out Represents the eigenvector data output after being processed by the deep residual network structure. The first layer uses a 256, 1×1 structure to reduce the dimension of the input eigenvector data, that is, the 256 dimension is reduced to 64 dimensions, and the second layer passes 64 , 3×3 structure for local feature extraction, and the third layer uses 64, 1×1 structure to expand the output dimension, that is, expand the 64 dimension to 256 dimension, and all the “×” operations that appear above come from volume The inner product operation of the product. Combining with Figure 3, it can be seen that the existing deep residual network structure adopts a single-input and single-output network structure, that is, 256-d in are all processed through the same path, resulting in slow processing speed, while this implementation In the example, it is the convolutional feature extraction network in the instance segmentation framework to construct the aggregation transformation network, so that the input feature vector data is processed in parallel through multiple paths to improve the processing speed.
本实施例提供的聚合变换网络改变了如图4所示的内积操作,其通过一种聚合变换的形式将内积操作变换为splitting-transforming-aggregating的组合方式,如公式1所示:The aggregation transformation network provided in this embodiment changes the inner product operation shown in Figure 4, and transforms the inner product operation into a combination of splitting-transforming-aggregating in the form of aggregation transformation, as shown in Formula 1:
其中,x的取值为从1至D的每一个自然数,D表示输入维度数,x=[x1,x2,......,xD]表示输入向量,wi表示第i个输入向量的滤波器权重,其中,变换中的“Splitting”操作将输入向量x分为低维度嵌入向量特征,即单维空间的xi;变换中的“Transforming”操作将低维度空间变换为低维度表示,即wixi;变换中的“Aggregating”操作通过相加所有的嵌入向量特征进行变换聚合,该公式1可以是用图5所示的拓扑图进行表示。Among them, the value of x is every natural number from 1 to D, D represents the number of input dimensions, x=[x 1 , x 2 ,...,x D ] represents the input vector, w i represents the i-th The filter weights of input vectors, where the "Splitting" operation in the transformation divides the input vector x into low-dimensional embedding vector features, that is, x i in the single-dimensional space; the "Transforming" operation in the transformation transforms the low-dimensional space into Low-dimensional representation, that is, w i x i ; the "Aggregating" operation in the transformation performs transformation aggregation by adding all the embedded vector features, and this formula 1 can be represented by the topology diagram shown in Figure 5.
根据以上分析,可以将逐个元素变换wixi替换为函数T(x)表示,如公式2:According to the above analysis, the element-by-element transformation w i x i can be replaced by the function T(x), as shown in formula 2:
其中,T(x)可以是任意函数,将x投影到一个嵌入空间(一般是低维度空间)并进行变换,其中C是待聚合的变换集的大小,类似于公式1中的D,C的维度决定了复杂变换的数目。对于变换函数的设计,采用的方式要求所有的T(i)拓扑结构均相同。Among them, T(x) can be any function, and x is projected into an embedding space (generally a low-dimensional space) and transformed, where C is the size of the transformation set to be aggregated, similar to D in formula 1, C Dimensionality determines the number of complex transformations. For the design of the transformation function, the adopted method requires that all T(i) topological structures are the same.
参考深度残差网络设计的思想,如公式3,并将公式3中的F内积表达式用公式2中的F汇聚表达式替换,得到公式4的聚合变换整体的变换,公式4为聚合变换替换内积操作“×”的步骤提供了理论支持。Refer to the idea of deep residual network design, such as formula 3, and replace the F inner product expression in formula 3 with the F aggregation expression in formula 2 to obtain the overall transformation of the aggregation transformation of formula 4, which is the aggregation transformation The steps to replace the inner product operation "×" provide theoretical support.
y=F(x,{wi})+x (公式3)y=F(x, {w i })+x (Formula 3)
示例性地,该路径数量为M,M为大于1的自然数,该网络层级数量为3,在此,可以根据该路径数量M和网络层级数量3,在实例分割框架中构建得到如图6所示的聚合变换网络。Exemplarily, the number of paths is M, M is a natural number greater than 1, and the number of network levels is 3. Here, according to the number of paths M and the number of network levels 3, it can be constructed in the instance segmentation framework as shown in Figure 6. The aggregation transformation network shown.
在执行步骤S2200设置路径数量和网络层级数量,在实例分割框架中构建聚合变换网络之后,进入步骤S2300。After performing step S2200 to set the number of paths and the number of network levels, and constructing an aggregation transformation network in the instance segmentation framework, enter step S2300.
步骤S2300,将特征向量数据输入聚合变换网络,将特征向量数据划分为不同层级,将每一个层级的数据对应于各路径划分为各特征组。Step S2300, input the feature vector data into the aggregation transformation network, divide the feature vector data into different levels, and divide the data of each level into feature groups corresponding to each path.
如图6所示,以输入聚合变换网络的特征向量数据为256维度的特征向量数据,且,路径数量为M、网络层级数量为3为例,在此,可以是将256维度的特征向量数据划分为M个特征组,每一个特征组中包括个特征向量数据。As shown in Figure 6, taking the feature vector data input into the aggregation transformation network as 256-dimensional feature vector data, and the number of paths is M, and the number of network levels is 3 as an example, here, the 256-dimensional feature vector data can be Divided into M feature groups, each feature group includes eigenvector data.
在执行步骤S2300将特征向量数据输入聚合变换网络,将特征向量数据划分为不同层级,将每一个层级的数据对应于各路径划分为各特征组之后,进入步骤S2400。After performing step S2300 to input the feature vector data into the aggregation transformation network, divide the feature vector data into different levels, and divide the data of each level into feature groups corresponding to each path, enter step S2400.
步骤S2400,在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果。In step S2400, in the aggregation transformation network, the feature groups of each level on each path are processed in parallel to obtain multiple processing results.
示例性地,例如可以是在图6所示的聚合变换网络中,并行处理这M个路径上的各个层级的特征组,进而获得对应M个路径的处理结果。Exemplarily, for example, in the aggregation transformation network shown in FIG. 6 , the feature groups of each level on the M paths may be processed in parallel, so as to obtain processing results corresponding to the M paths.
在执行步骤S2400在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果之后,进入步骤S2500。After step S2400 is executed in the aggregation transformation network, feature groups of each level on each path are processed in parallel, and multiple processing results are obtained, and then step S2500 is entered.
步骤S2500,融合多个处理结果,获得目标图像的特征图像。Step S2500, merging multiple processing results to obtain a feature image of the target image.
在本实施例中,例如可以是叠加多个处理结果,获得目标图像的特征图像。如图6所示,可以是叠加每一路径上的输出层输出的维度的特征向量数据,获得目标图像的特征图像。In this embodiment, for example, multiple processing results may be superimposed to obtain the feature image of the target image. As shown in Figure 6, it can be superimposed on the output layer output on each path Dimension feature vector data to obtain the feature image of the target image.
根据本发明实施例的方法,其针对于传统的实例分割框架中的卷积特征提取网络进行改进,在传统的实例分割框架中的卷积特征提取网络backbone中构建聚合变换网络,该聚合变换网络具有多层多组的结构,进而能够对输入的反映待检测目标特征的特征向量数据进行并行处理,即,其能够利用分层并行处理思想来优化现有的卷积特征提取网络,使得卷积特征提取网络在复杂度不增加的前提下,处理效率进一步提高。According to the method of the embodiment of the present invention, it improves the convolutional feature extraction network in the traditional instance segmentation framework, constructs an aggregation transformation network in the convolutional feature extraction network backbone in the traditional instance segmentation framework, and the aggregation transformation network It has a multi-layer and multi-group structure, and can then process the input feature vector data reflecting the characteristics of the target to be detected in parallel, that is, it can use the idea of layered parallel processing to optimize the existing convolution feature extraction network, so that the convolution The processing efficiency of the feature extraction network is further improved without increasing the complexity.
<实施例三><Example Three>
本发明实施例还提供了一种目标检测方法,在本实施例中,上述步骤S2200中设置路径数量和网络层级数量,在实例分割框架中构建聚合变换网络可以进一步包括如下步骤S2210~S2220:The embodiment of the present invention also provides a target detection method. In this embodiment, the number of paths and the number of network levels are set in the above step S2200, and the construction of an aggregation transformation network in the instance segmentation framework may further include the following steps S2210-S2220:
步骤S2210,根据路径数量,设置两个以上路径。Step S2210, according to the number of paths, set more than two paths.
如图6所示,该路径数量为M,即,可以根据该路径数量M设置对应的M个路径。As shown in FIG. 6 , the number of paths is M, that is, corresponding M paths can be set according to the number M of paths.
步骤S2220,根据网络层级数量,设置每个路径上包括一个输入层,一个或多个过渡层和一个输出层。Step S2220, according to the number of network layers, set each path to include an input layer, one or more transition layers and an output layer.
如图6所示,该网络层级数量为3,在此,可以设置若干个路径例如M个路径上均包括一个输入层、一个过渡层和一个输出层,当然,还可以设置每一个路径包括例如是两个或者其他数量的过渡层,在此不做限定。As shown in Figure 6, the number of layers in the network is 3. Here, several paths can be set, for example, M paths include an input layer, a transition layer and an output layer. Of course, each path can also be set to include, for example are two or other transition layers, which are not limited here.
本实施例基于路径数量设置两个以上路径,以及,根据网络层级数量,设置每一路径上包括一个输入层,一个或多个过渡层和一个输出层,这有利于聚合变换网络的构建效率,并进一步有利于通过多个路径并行对对应的特征向量数量进行处理,以提高处理速度。In this embodiment, more than two paths are set based on the number of paths, and, according to the number of network levels, each path is set to include an input layer, one or more transition layers and an output layer, which is conducive to the construction efficiency of the aggregation transformation network, And it is further beneficial to process the corresponding number of feature vectors in parallel through multiple paths, so as to improve the processing speed.
<实施例四><Example 4>
本发明实施例还提供了一种目标检测方法,在本实施例中,上述步骤步骤S2400中在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果可以进一步包括如下步骤S2410~S2430:The embodiment of the present invention also provides a target detection method. In this embodiment, in the above step S2400, in the aggregation transformation network, the feature groups of each level on each path are processed in parallel, and multiple processing results can be further obtained. Including the following steps S2410-S2430:
步骤S2410,通过每个路径上的输入层对输入的特征向量数据进行降维处理,获得降维后的特征组。Step S2410, performing dimensionality reduction processing on the input feature vector data through the input layer on each path to obtain feature groups after dimensionality reduction.
如图6所示,共有M个路径,总输入的特征向量数据为256维度,在此,每一个路径上的输入层输入维度的特征向量数据,通过每一路径上的输入层中设置的1x1滤波器对输入的维度的特征向量数据进行降维处理,获得维度的特征向量数据。As shown in Figure 6, there are a total of M paths, and the total input feature vector data is 256 dimensions. Here, the input layer input on each path The eigenvector data of the dimension is passed through the 1x1 filter set in the input layer on each path to the input Dimensionality reduction processing is performed on the eigenvector data of the dimension, and the obtained Dimensional eigenvector data.
步骤S2420,将降维后的特征组输入对应路径上的过渡层,通过过渡层对降维后的特征组进行特征提取,获得中间特征组。In step S2420, input the dimension-reduced feature group into the transition layer on the corresponding path, perform feature extraction on the dimension-reduced feature group through the transition layer, and obtain an intermediate feature group.
如图6所示,将每一路径上的输入层输出的维度的特征向量数据输入对应路径上的过渡层,通过过渡层中设置的3x3滤波器对输入的维度的特征向量数据进行特征提取,获得维度的特征向量数据。As shown in Figure 6, the output of the input layer on each path The eigenvector data input of the dimension corresponds to the transition layer on the path, and the input 3x3 filter is set in the transition layer. Dimension feature vector data for feature extraction, obtained Dimensional eigenvector data.
步骤S2430,将中间特征组输入对应路径上的输出层,通过输出层对中间特征组进行升维处理,获得升维后的特征组,作为对应路径的处理结果。In step S2430, the intermediate feature group is input to the output layer on the corresponding path, and the intermediate feature group is processed through the output layer to increase the dimension, and the dimension-enhanced feature group is obtained as the processing result of the corresponding path.
如图6所示,将每一路径上的过渡层输出的维度的特征向量数据输入对应路径上的输出层,通过输出层中设置的1x1滤波器对输入的4维度的特征向量数据进行升维处理,获得维度的特征向量数据。As shown in Figure 6, the output of the transition layer on each path The eigenvector data of one dimension is input to the output layer on the corresponding path, and the input 4-dimensional eigenvector data is processed through the 1x1 filter set in the output layer to obtain Dimensional eigenvector data.
根据本实施例,其可以是通过多个路径并行对对应的特征向量数量进行处理,进一步提高处理速度。According to this embodiment, it may process the corresponding number of feature vectors in parallel through multiple paths, further improving the processing speed.
<实施例五><Embodiment 5>
本发明实施例还提供了一种目标检测方法,如图3所示,实例分割框架中还包括区域注意力网络(Region Proposal Network,RPN),在获得目标图像的特征图像之后,本发明目标检测方法还包括:The embodiment of the present invention also provides a target detection method, as shown in Figure 3, the instance segmentation framework also includes a region attention network (Region Proposal Network, RPN), after obtaining the feature image of the target image, the target detection method of the present invention Methods also include:
将特征图像输入区域注意力网络,通过区域注意力网络,按照预设固定窗口在特征图像上进行滑动识别特征图像中存在缺陷的区域,得到识别后的存在缺陷的区域作为初始感兴趣区域,并生成标识有每一初始感兴趣区域的特征图像。Input the feature image into the regional attention network, through the regional attention network, slide the feature image according to the preset fixed window to identify the region with defects in the feature image, and obtain the identified defective region as the initial region of interest, and A feature image is generated identifying each initial region of interest.
在本实施例中,区域注意力网络会以一个特定大小的感受野在步骤S2500中生成的特征图像上滑动一个固定窗口,该固定窗口的大小可以为3,并对特征图像中潜在存在待检测目标的特征区域进行识别,产生一定数量的初始感兴趣区域,这些初始感兴趣区域也就是区域注意力网络认为在特征图像中可能存在缺陷的区域。In this embodiment, the regional attention network will slide a fixed window on the feature image generated in step S2500 with a receptive field of a specific size. The size of the fixed window can be 3, and the potential existence of The feature region of the target is identified, and a certain number of initial regions of interest are generated. These initial regions of interest are regions that the regional attention network believes may have defects in the feature image.
在本实施例中,该步骤按照预设固定窗口在特征图像上进行滑动识别特征图像中存在缺陷的区域可以进一步包括如下步骤S2610~S2630:In this embodiment, the step of sliding on the feature image according to the preset fixed window to identify the defect area in the feature image may further include the following steps S2610-S2630:
步骤S2610,为窗口的尺寸为N×N的固定窗口至少提供一个N×1滤波器和一个1×N滤波器。Step S2610, providing at least one N×1 filter and one 1×N filter for the fixed window whose size is N×N.
N为提取窗口的尺寸大小,可以根据具体应用场景和具体应用需求设置N的大小,例如,N可以为3。N is the size of the extraction window, which can be set according to specific application scenarios and specific application requirements, for example, N can be 3.
如图7所示,其为N×N的固定窗口提供一个N×1滤波器和一个1×N滤波器,例如,N为3,则可以是将图3中区域注意力网络RPN中的3×3滤波器替换为一个3×1滤波器和一个1×3滤波器。As shown in Figure 7, it provides an N×1 filter and a 1×N filter for a fixed window of N×N. For example, if N is 3, it can be 3 in the regional attention network RPN in Figure 3 The ×3 filter is replaced with a 3×1 filter and a 1×3 filter.
步骤S2620,依次通过N×1滤波器和1×N滤波器,对特征图像进行降维处理。Step S2620, performing dimensionality reduction processing on the feature image through the N×1 filter and the 1×N filter in sequence.
如图7所示,将特征图像输入区域注意力网络,依次通过N×1滤波器和1×N滤波器,对特征图像进行降维处理。As shown in Figure 7, the feature image is input into the regional attention network, and the dimensionality reduction process is performed on the feature image through the N×1 filter and the 1×N filter in turn.
还可以是通过N×1滤波器和1×N滤波器之后,分别如图3所示接两个1×1滤波器,对特征图像进行降维处理。Alternatively, after passing through the N×1 filter and the 1×N filter, two 1×1 filters are respectively connected as shown in FIG. 3 to perform dimensionality reduction processing on the feature image.
步骤S2630,在经过降维处理后的特征图像中标记出存在缺陷的区域。In step S2630, mark regions with defects in the feature image after dimensionality reduction processing.
本步骤S2630中,可以是在经过降维处理后的特征图像中标记出存在缺陷的区域,作为初始感兴趣区域。In this step S2630, the region with defects may be marked in the feature image after dimensionality reduction processing as the initial region of interest.
根据以上步骤S2610~S2630,其将现有的N×N滤波器替换为一个N×1滤波器和一个1×N滤波器两部分的结构,从而,能够减少模型参数量。According to the above steps S2610-S2630, it replaces the existing N×N filter with a two-part structure of an N×1 filter and a 1×N filter, thereby reducing the amount of model parameters.
<实施例六><Example 6>
本发明实施例还提供了一种目标检测方法,实例分割框架中还包括用于定位的全连接层FC,本发明目标检测方法还包括以下步骤S2710~S2730:The embodiment of the present invention also provides a target detection method. The instance segmentation framework also includes a fully connected layer FC for positioning. The target detection method of the present invention also includes the following steps S2710-S2730:
步骤S2710,获取全连接层中所处理的图像数据的矩阵。Step S2710, acquiring a matrix of image data processed in the fully connected layer.
如图3所示,用于定位的全连接层可以是图3所示的“three branches”分支结构中的坐标“coordinates”子分支中的第二个“FC layer”(box reg),在此,可以是将三分支“three branches”分支结构中的第一个“FC layer”的输出的图像数据作为“coordinates”子分支中的第二个“FC layer”的输入的图像数据。As shown in Figure 3, the fully connected layer used for positioning can be the second "FC layer" (box reg) in the coordinates "coordinates" sub-branch in the "three branches" branch structure shown in Figure 3, where , which may be the image data output by the first "FC layer" in the "three branches" branch structure as the image data input by the second "FC layer" in the "coordinates" sub-branch.
步骤S2720,根据图像数据的矩阵,构建处理矩阵。Step S2720, constructing a processing matrix according to the image data matrix.
步骤S2730,提取处理矩阵对应的权重矩阵和偏置矩阵,对图像数据的矩阵进行分解,使用分解后的矩阵在全连接层中进行运算。Step S2730, extracting the weight matrix and offset matrix corresponding to the processing matrix, decomposing the matrix of the image data, and using the decomposed matrix to perform operations in the fully connected layer.
本步骤S2730中,可以是采用奇异值分解的方式提取处理矩阵对应的权重矩阵和偏置矩阵。可以理解,这种矩阵分解处理方式可以仅应用在FC层的部分分支上,如仅应用在第二个“FC layer”(box reg)中。In this step S2730, the weight matrix and offset matrix corresponding to the processing matrix may be extracted by means of singular value decomposition. It can be understood that this matrix decomposition processing method may only be applied to some branches of the FC layer, such as only applied to the second "FC layer" (box reg).
根据以上步骤S2710~S2730,其能够将复杂的矩阵进行分解,在保证精度的基础上,显著减少了计算复杂度,因此也变相提高了坐标定位的效率。According to the above steps S2710-S2730, it can decompose the complex matrix, significantly reduce the computational complexity on the basis of ensuring the accuracy, and thus also improve the efficiency of coordinate positioning in a disguised form.
<实施例七><Embodiment 7>
图8示出了一个例子的目标检测方法,参照图3和图8所示,该例子中,目标检测方法可以包括如下步骤:FIG. 8 shows an example of a target detection method. Referring to FIG. 3 and FIG. 8, in this example, the target detection method may include the following steps:
步骤S8100,输入(input)包含待检测目标的目标图像,并对目标图像进行特征提取,得到反映待检测目标特征的特征向量数据。Step S8100, input (input) a target image containing the target to be detected, and perform feature extraction on the target image to obtain feature vector data reflecting the features of the target to be detected.
步骤S8200,设置路径数量和网络层级数量,在卷积特征提取网络backbone中构建聚合变换网络。Step S8200, setting the number of paths and the number of network layers, and constructing an aggregation transformation network in the backbone of the convolutional feature extraction network.
通过该步骤S8200,可以是将图3所示的卷积特征提取网络backbone中的“Resnet50+FPN”结构利用聚合变换网络进行优化。Through this step S8200, the "Resnet50+FPN" structure in the backbone of the convolutional feature extraction network shown in FIG. 3 can be optimized by using an aggregation transformation network.
步骤S8300,将特征向量数据输入聚合变换网络,将特征向量数据划分为不同层级,将每一个层级的数据对应于各路径划分为各特征组。Step S8300, input the feature vector data into the aggregation transformation network, divide the feature vector data into different levels, and divide the data of each level into feature groups corresponding to each path.
步骤S8400,在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果,融合多个处理结果,获得目标图像的特征图像。Step S8400, in the aggregation transformation network, process feature groups of each level on each path in parallel to obtain multiple processing results, and fuse the multiple processing results to obtain a feature image of the target image.
如图3所示,通过以上步骤S8200~S8400,可以获得目标图像的特征图像FeatureMaps。As shown in FIG. 3 , through the above steps S8200 - S8400 , the feature image FeatureMaps of the target image can be obtained.
步骤S8500,将特征图像输入至区域注意力网络RPN,通过区域注意力网络,按照预设固定窗口在特征图像上进行滑动识别特征图像中存在缺陷的区域,得到识别后的存在缺陷的区域作为初始感兴趣区域,并生成标识有每一初始感兴趣区域的特征图像。Step S8500, input the feature image into the regional attention network RPN, through the regional attention network, slide on the feature image according to the preset fixed window to identify the defect area in the feature image, and obtain the identified defect area as the initial regions of interest and generate feature images identified with each initial region of interest.
如图3和图8所示,可以是将图3中区域注意力网络RPN中的3×3conv替换为一个3×1conv和一个1×3conv之后,并分别将一个1×1conv,以对特征图像进行降维处理,提取出候选的、可能存在缺陷的区域作为初始感兴趣区域。As shown in Figure 3 and Figure 8, it can be after replacing the 3×3conv in the regional attention network RPN in Figure 3 with a 3×1conv and a 1×3conv, and respectively using a 1×1conv to the feature image Dimensionality reduction is performed to extract candidate regions that may have defects as initial regions of interest.
步骤S8600,将标识有每一初始感兴趣区域的特征图像输入感兴趣区域对齐网络ROI Align,通过感兴趣区域对齐网络ROI Align,按照预设池化窗口对每一初始感兴趣区域进行池化,并生成标识有对应感兴趣区域的特征图像。Step S8600, input the feature image marked with each initial region of interest into the region of interest alignment network ROI Align, through the region of interest alignment network ROI Align, pool each initial region of interest according to the preset pooling window, And generating a feature image with a corresponding region of interest identified.
如图3所示,可以是通过感兴趣区域对齐网络ROI Align将每一初始感兴趣区域进行对齐操作输出一个固定大小为7x7的特征图。As shown in Figure 3, each initial region of interest can be aligned through the region of interest alignment network ROI Align to output a feature map with a fixed size of 7x7.
步骤S8700,将标识有对应感兴趣区域的特征图像输入用于定位和分类的全连接层FC,获得缺陷所属的类别信息和坐标信息,通过全卷积网络Fully Convolution Nets获得缺陷的掩膜信息。Step S8700, input the feature image marked with the corresponding region of interest into the fully connected layer FC for positioning and classification, obtain the category information and coordinate information of the defect, and obtain the mask information of the defect through the Fully Convolution Nets.
如图3所示,通过“three branches”分支结构中的第一个“FC layer”和坐标“coordinates”子分支中的第二个“FC layer”(bbox reg),获得缺陷所属的位置信息,通过“three branches”分支结构中的第一个“FC layer”和坐标“Category”子分支中的第二个“FC layer”(softmax),获得缺陷的类别信息,以及,通过全卷积网络Fully ConvolutionNets(Mask),获得缺陷的掩膜信息。As shown in Figure 3, through the first "FC layer" in the "three branches" branch structure and the second "FC layer" (bbox reg) in the coordinates "coordinates" sub-branch, the location information to which the defect belongs is obtained. Through the first "FC layer" in the "three branches" branch structure and the second "FC layer" (softmax) in the coordinate "Category" sub-branch, the category information of the defect is obtained, and, through the fully convolutional network Fully ConvolutionNets(Mask), to obtain mask information of defects.
根据该例子,其不仅可以检测定位出待检测目标存在缺陷的具体位置,而且能够分割出缺陷的轮廓信息,使得不同种类、不同实例的缺陷能够被一一划分。而且,由于该例子对实例分割框架中的卷积特征提取网络进行了优化,以及,在区域注意力网络中进行了滤波器的替换,从而,能够进一步提升检测精度,同时也减少了训练时间和模型推断时间。According to this example, it can not only detect and locate the specific position of the defect in the target to be detected, but also segment the contour information of the defect, so that defects of different types and instances can be divided one by one. Moreover, since this example optimizes the convolutional feature extraction network in the instance segmentation framework, and replaces the filter in the regional attention network, the detection accuracy can be further improved, and the training time and Model inference time.
<实施例八><Embodiment Eight>
图8为根据本发明实施例的目标检测装置8000的原理框图。FIG. 8 is a functional block diagram of an object detection device 8000 according to an embodiment of the present invention.
根据图8所示,本实施例的目标检测装置8000可以包括提取模块8100、网络构建模块8200、输入模块8300、并行处理模块8400以及融合模块8500。As shown in FIG. 8 , the object detection apparatus 8000 of this embodiment may include an extraction module 8100 , a network construction module 8200 , an input module 8300 , a parallel processing module 8400 and a fusion module 8500 .
该提取模块8100,用于对包含待检测目标的目标图像进行特征提取,得到反映待检测目标特征的特征向量数据。The extraction module 8100 is used to perform feature extraction on the target image containing the target to be detected, and obtain feature vector data reflecting the features of the target to be detected.
该网络构建模块8200,用于设置路径数量和网络层级数量,在实例分割框架中构建聚合变换网络,其中,聚合变换网络中的路径数量为两个以上,不同层级之间相对应的路径之间进行数据传输。The network construction module 8200 is used to set the number of paths and the number of network levels, and construct an aggregation transformation network in the instance segmentation framework, wherein, the number of paths in the aggregation transformation network is more than two, and the corresponding paths between different levels for data transfer.
该输入模块8300,用于将特征向量数据输入聚合变换网络,将特征向量数据划分为不同层级,将每一个层级的数据对应于各路径划分为各特征组。The input module 8300 is used to input the feature vector data into the aggregation transformation network, divide the feature vector data into different levels, and divide the data of each level into feature groups corresponding to each path.
该并行处理模块8400,用于在聚合变换网络中,并行处理每个路径上的各个层级的特征组,获得多个处理结果。The parallel processing module 8400 is configured to process feature groups of various levels on each path in parallel in the aggregation transformation network to obtain multiple processing results.
该融合模块8500,用于融合多个处理结果,获得目标图像的特征图像。The fusion module 8500 is used to fuse multiple processing results to obtain the feature image of the target image.
在一个实施例中,该网络构建模块8200,具体用于:In one embodiment, the network construction module 8200 is specifically used for:
根据路径数量,设置两个以上路径;According to the number of paths, set more than two paths;
根据网络层级数量,设置每个路径上包括一个输入层,一个或多个过渡层和一个输出层。According to the number of network layers, each path includes an input layer, one or more transition layers and an output layer.
在一个实施例中,该并行处理模块8400,具体用于:In one embodiment, the parallel processing module 8400 is specifically used for:
通过每个路径上的输入层对输入的特征向量数据进行降维处理,获得降维后的特征组。The dimensionality reduction processing is performed on the input feature vector data through the input layer on each path to obtain the feature group after dimensionality reduction.
将降维后的特征组输入对应路径上的过渡层,通过过渡层对降维后的特征组进行特征提取,获得中间特征组。Input the dimension-reduced feature group into the transition layer on the corresponding path, and perform feature extraction on the dimension-reduced feature group through the transition layer to obtain the intermediate feature group.
将中间特征组输入对应路径上的输出层,通过输出层对中间特征组进行升维处理,获得升维后的特征组,作为对应路径的处理结果。The intermediate feature group is input to the output layer on the corresponding path, and the intermediate feature group is processed through the output layer to increase the dimension, and the feature group after the dimension increase is obtained as the processing result of the corresponding path.
在一个实施例中,实例分割框架中包括区域注意力网络RPN,装置8000还包括区域提取模块(图中未示出),区域提取模块用于:In one embodiment, the instance segmentation framework includes a regional attention network RPN, and the device 8000 also includes a region extraction module (not shown in the figure), and the region extraction module is used for:
将特征图像输入区域注意力网络,通过区域注意力网络,按照预设固定窗口在特征图像上进行滑动识别特征图像中存在缺陷的区域,得到识别后的存在缺陷的区域作为初始感兴趣区域,并生成标识有每一初始感兴趣区域的特征图像。Input the feature image into the regional attention network, through the regional attention network, slide the feature image according to the preset fixed window to identify the region with defects in the feature image, and obtain the identified defective region as the initial region of interest, and A feature image is generated identifying each initial region of interest.
在一个实施例中,区域提取模块(图中未示出),具体用于:In one embodiment, the region extraction module (not shown in the figure) is specifically used for:
为窗口的尺寸为N×N的固定窗口至少提供一个N×1滤波器和一个1×N滤波器;其中,N为固定窗口的尺寸大小;Provide at least one N×1 filter and one 1×N filter for a fixed window with a window size of N×N; where N is the size of the fixed window;
依次通过N×1滤波器和1×N滤波器,对特征图像进行降维处理;以及,performing dimensionality reduction processing on the feature image through an N×1 filter and a 1×N filter in sequence; and,
在经过降维处理后的特征图像中标记出存在缺陷的区域。The region with defects is marked in the feature image after dimensionality reduction.
在一个实施例中,实例分割框架中包括用于定位的全连接层FC,装置还包括矩阵处理模块(图中未示出),矩阵处理模块用于:In one embodiment, the instance segmentation framework includes a fully connected layer FC for positioning, and the device also includes a matrix processing module (not shown in the figure), and the matrix processing module is used for:
获取全连接层中所处理的图像数据的矩阵;Obtain the matrix of image data processed in the fully connected layer;
根据图像数据的矩阵,构建处理矩阵;以及,constructing a processing matrix from the matrix of image data; and,
提取处理矩阵对应的权重矩阵和偏置矩阵,对图像数据的矩阵进行分解,使用分解后的矩阵在全连接层中进行运算。Extract the weight matrix and offset matrix corresponding to the processing matrix, decompose the matrix of the image data, and use the decomposed matrix to perform operations in the fully connected layer.
本发明装置实施例中各模块的具体实现方式可以参见本发明方法实施例中的相关内容,在此不再赘述。For the specific implementation manner of each module in the device embodiment of the present invention, reference may be made to relevant content in the method embodiment of the present invention, and details are not repeated here.
本发明可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。The present invention can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present invention.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本发明操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本发明的各个方面。Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as “C” or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect). In some embodiments, an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), can be customized by utilizing state information of computer-readable program instructions, which can Various aspects of the invention are implemented by executing computer readable program instructions.
这里参照根据本发明实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, a program segment, or a portion of an instruction that contains one or more executable instruction. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by means of hardware, implementation by means of software, and implementation by a combination of software and hardware are all equivalent.
以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本发明的范围由所附权利要求来限定。Having described various embodiments of the present invention, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or technical improvement in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein. The scope of the invention is defined by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910568841.5A CN110349135A (en) | 2019-06-27 | 2019-06-27 | Object detection method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910568841.5A CN110349135A (en) | 2019-06-27 | 2019-06-27 | Object detection method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110349135A true CN110349135A (en) | 2019-10-18 |
Family
ID=68176993
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910568841.5A Pending CN110349135A (en) | 2019-06-27 | 2019-06-27 | Object detection method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110349135A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110782443A (en) * | 2019-10-23 | 2020-02-11 | 四川大学 | A railway track defect detection method and system |
| CN111008555A (en) * | 2019-10-21 | 2020-04-14 | 武汉大学 | An enhanced extraction method for weak and small targets in UAV images |
| CN111062918A (en) * | 2019-12-10 | 2020-04-24 | 歌尔股份有限公司 | Anomaly detection method and device based on computer vision |
| CN111291700A (en) * | 2020-02-20 | 2020-06-16 | 苏州科达科技股份有限公司 | Face attribute identification method, device and equipment and readable storage medium |
| CN111754505A (en) * | 2020-06-30 | 2020-10-09 | 创新奇智(成都)科技有限公司 | Excipient detection method, device, electronic device and storage medium |
| WO2021082923A1 (en) * | 2019-10-28 | 2021-05-06 | 上海悦易网络信息技术有限公司 | Electronic device screen area defect detection method and device |
| CN116091787A (en) * | 2022-10-08 | 2023-05-09 | 中南大学 | Small sample target detection method based on feature filtering and feature alignment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105791867A (en) * | 2016-03-23 | 2016-07-20 | 北京大学 | Optimized video data coding method based on boundary adaptive transform |
| CN108921029A (en) * | 2018-06-04 | 2018-11-30 | 浙江大学 | A kind of SAR automatic target recognition method merging residual error convolutional neural networks and PCA dimensionality reduction |
| US20190096060A1 (en) * | 2017-09-27 | 2019-03-28 | Baidu Online Network Technology (Beijing) Co., Ltd | Method and apparatus for annotating medical image |
| CN109886984A (en) * | 2019-01-22 | 2019-06-14 | 浙江大学 | Utilize the image Accurate Segmentation method of front and back scape gray scale difference and deep learning network |
| CN109886114A (en) * | 2019-01-18 | 2019-06-14 | 杭州电子科技大学 | A kind of Ship Target Detection method based on cluster translation feature extraction strategy |
-
2019
- 2019-06-27 CN CN201910568841.5A patent/CN110349135A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105791867A (en) * | 2016-03-23 | 2016-07-20 | 北京大学 | Optimized video data coding method based on boundary adaptive transform |
| US20190096060A1 (en) * | 2017-09-27 | 2019-03-28 | Baidu Online Network Technology (Beijing) Co., Ltd | Method and apparatus for annotating medical image |
| CN108921029A (en) * | 2018-06-04 | 2018-11-30 | 浙江大学 | A kind of SAR automatic target recognition method merging residual error convolutional neural networks and PCA dimensionality reduction |
| CN109886114A (en) * | 2019-01-18 | 2019-06-14 | 杭州电子科技大学 | A kind of Ship Target Detection method based on cluster translation feature extraction strategy |
| CN109886984A (en) * | 2019-01-22 | 2019-06-14 | 浙江大学 | Utilize the image Accurate Segmentation method of front and back scape gray scale difference and deep learning network |
Non-Patent Citations (6)
| Title |
|---|
| CHRISTIAN SZEGEDY 等: "Rethinking the Inception Architecture for Computer Vision", 《ARXIV》 * |
| KAIMING HE 等: "Mask R-CNN", 《ARXIV》 * |
| ROSS GIRSHICK 等: "Fast R-CNN", 《ARXIV》 * |
| SAINING XIE 等: "Aggregated Residual Transformations for Deep Neural Networks", 《ARXIV》 * |
| SHAOQING REN 等: "Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks", 《ARXIV》 * |
| 任之俊 等: "基于改进特征金字塔的Mask R-CNN目标检测方法", 《激光与光电子学进展》 * |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111008555A (en) * | 2019-10-21 | 2020-04-14 | 武汉大学 | An enhanced extraction method for weak and small targets in UAV images |
| CN110782443A (en) * | 2019-10-23 | 2020-02-11 | 四川大学 | A railway track defect detection method and system |
| WO2021082923A1 (en) * | 2019-10-28 | 2021-05-06 | 上海悦易网络信息技术有限公司 | Electronic device screen area defect detection method and device |
| CN111062918A (en) * | 2019-12-10 | 2020-04-24 | 歌尔股份有限公司 | Anomaly detection method and device based on computer vision |
| CN111062918B (en) * | 2019-12-10 | 2023-11-21 | 歌尔股份有限公司 | Abnormality detection method and device based on computer vision |
| US12002195B2 (en) | 2019-12-10 | 2024-06-04 | Goertek Inc. | Computer vision-based anomaly detection method, device and electronic apparatus |
| CN111291700A (en) * | 2020-02-20 | 2020-06-16 | 苏州科达科技股份有限公司 | Face attribute identification method, device and equipment and readable storage medium |
| CN111754505A (en) * | 2020-06-30 | 2020-10-09 | 创新奇智(成都)科技有限公司 | Excipient detection method, device, electronic device and storage medium |
| CN111754505B (en) * | 2020-06-30 | 2024-03-15 | 创新奇智(成都)科技有限公司 | Excipient detection methods, devices, electronic equipment and storage media |
| CN116091787A (en) * | 2022-10-08 | 2023-05-09 | 中南大学 | Small sample target detection method based on feature filtering and feature alignment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Yadav et al. | An improved deep learning-based optimal object detection system from images | |
| CN110349135A (en) | Object detection method and device | |
| US12347085B2 (en) | Method and device for detecting defect, storage medium and electronic device | |
| Liu et al. | Adaptive partial differential equation learning for visual saliency detection | |
| CN113704531A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
| CN114612872A (en) | Target detection method, apparatus, electronic device, and computer-readable storage medium | |
| CN111104962A (en) | Semantic segmentation method and device for image, electronic equipment and readable storage medium | |
| CN108537742A (en) | A kind of panchromatic sharpening method of remote sensing images based on generation confrontation network | |
| CN113537070B (en) | Detection method, detection device, electronic equipment and storage medium | |
| CN110379020A (en) | A kind of laser point cloud painting methods and device based on generation confrontation network | |
| CN109960988A (en) | Image analysis method, apparatus, electronic device, and readable storage medium | |
| CN112242002B (en) | Object recognition and panorama roaming method based on deep learning | |
| CN111369494B (en) | Winter wheat spike density detection method and device | |
| WO2025092288A1 (en) | Model training method and apparatus, text information detection method and apparatus, and device and medium | |
| Zhang et al. | UAV image matching from handcrafted to deep local features | |
| CN113538413A (en) | Image detection method and device, electronic equipment and storage medium | |
| CN111046213B (en) | A Knowledge Base Construction Method Based on Image Recognition | |
| Zhao et al. | Refined infrared small target detection scheme with single-point supervision | |
| CN112668675B (en) | Image processing method and device, computer equipment and storage medium | |
| Zhao et al. | Accurate identification of pavement cracks based on an improved segmentation model | |
| Hao et al. | Copy and restricted paste: data augmentation for small object detection in specific scenes | |
| Suganyadevi et al. | Multisalient object detection and recognition using deep learning techniques | |
| Cong et al. | Salient man-made object detection based on saliency potential energy for unmanned aerial vehicles remote sensing image | |
| Asif et al. | Change-centric building damage assessment across multiple disasters using deep learning | |
| CN117152816B (en) | Dense small face detection method and system based on convolutional neural network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191018 |