CN111753692A - Target object extraction method, product detection method, device, computer and medium - Google Patents

Target object extraction method, product detection method, device, computer and medium Download PDF

Info

Publication number
CN111753692A
CN111753692A CN202010542166.1A CN202010542166A CN111753692A CN 111753692 A CN111753692 A CN 111753692A CN 202010542166 A CN202010542166 A CN 202010542166A CN 111753692 A CN111753692 A CN 111753692A
Authority
CN
China
Prior art keywords
image
target object
target
contour
interest
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.)
Granted
Application number
CN202010542166.1A
Other languages
Chinese (zh)
Other versions
CN111753692B (en
Inventor
张黎
陈彦宇
谭泽汉
马雅奇
周慧子
谭龙田
陈琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010542166.1A priority Critical patent/CN111753692B/en
Publication of CN111753692A publication Critical patent/CN111753692A/en
Application granted granted Critical
Publication of CN111753692B publication Critical patent/CN111753692B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Image Analysis (AREA)

Abstract

本发明提供一种目标对象提取方法、产品检测方法、装置、计算机和介质,目标对象提取方法包括获取图像;将图像输入至预先训练好的训练模型中进行特征检测,获得图像的特征信息;基于特征信息,从图像中获得图像的感兴趣区域;根据感兴趣区域,得到目标对象在图像的覆盖区域;基于目标对象在图像的覆盖区域,获得目标对象在图像中的目标轮廓;根据图像中的目标轮廓,从图像中提取目标对象。通过训练模型对图像进行特征检测,得到图像的特征信息,确定图像中的感兴趣区域,获得目标对象在图像中的位置,获得目标对象在图像中的轮廓,实现在图像中提取出目标对象。实现了对图像中的目标对象的自动提取,使得冰箱面板的提取更为精准,提高效率。

Figure 202010542166

The invention provides a target object extraction method, a product detection method, a device, a computer and a medium. The target object extraction method includes acquiring an image; inputting the image into a pre-trained training model for feature detection to obtain the feature information of the image; According to the feature information, the area of interest of the image is obtained from the image; according to the area of interest, the coverage area of the target object in the image is obtained; based on the coverage area of the target object in the image, the target contour of the target object in the image is obtained; Object contour, extracting the target object from the image. By training the model to perform feature detection on the image, the feature information of the image is obtained, the region of interest in the image is determined, the position of the target object in the image is obtained, the contour of the target object in the image is obtained, and the target object is extracted from the image. The automatic extraction of the target object in the image is realized, which makes the extraction of the refrigerator panel more accurate and improves the efficiency.

Figure 202010542166

Description

目标对象提取方法、产品检测方法、装置、计算机和介质Target object extraction method, product detection method, device, computer and medium

技术领域technical field

本发明涉及图像识别技术领域,特别涉及一种目标对象提取方法、产品检测方法、装置、计算机和介质。The invention relates to the technical field of image recognition, and in particular, to a target object extraction method, a product detection method, a device, a computer and a medium.

背景技术Background technique

在现代化的制造业生产领域,基于计算机视觉的产品质量检测中,图像配准是一个关键环节,图像的配准效果直接影响质量检测速度与效果。而配置效果在很大程度上依赖于特征区域的选择,因此选择一个理想的特征区域就显得特别重要。目前,在冰箱面板质量检测中,大多通过人工或者半自动的方式去选择特征区域,人工选取费时费力且效率低下,同时人工选择特征区域因人而异,不够客观,影响现有检测系统的效率和检测精度。In the field of modern manufacturing production, image registration is a key link in product quality inspection based on computer vision, and the effect of image registration directly affects the speed and effect of quality inspection. The configuration effect depends to a large extent on the selection of feature regions, so it is particularly important to select an ideal feature region. At present, in the quality inspection of refrigerator panels, most of the feature areas are selected manually or semi-automatically. Manual selection is time-consuming, labor-intensive and inefficient. At the same time, the manual selection of feature areas varies from person to person, which is not objective enough, which affects the efficiency and efficiency of the existing detection system. Detection accuracy.

发明内容SUMMARY OF THE INVENTION

基于此,有必要针对上述技术问题,提供一种目标对象提取方法、产品检测方法、装置、计算机和介质。Based on this, it is necessary to provide a target object extraction method, a product detection method, an apparatus, a computer and a medium for the above technical problems.

一种图像目标对象提取方法,包括:An image target object extraction method, comprising:

获取图像;get image;

将所述图像输入至预先训练好的训练模型中进行特征检测,获得所述图像的特征信息;Inputting the image into a pre-trained training model for feature detection to obtain feature information of the image;

对每一所述特征信息选取预设数量的感兴趣区域;Selecting a preset number of regions of interest for each of the feature information;

对包含所述感兴趣区域的所述图像进行前后景的二值分类,得到前后景的像素值,基于预设像素阈值进行分类,从所述感兴趣区域中得到目标对象在所述图像的覆盖区域;Perform binary classification of the foreground and background on the image including the region of interest, obtain pixel values of the foreground and background, classify based on a preset pixel threshold, and obtain the coverage of the target object in the image from the region of interest area;

基于所述目标对象在所述图像的覆盖区域,获得所述目标对象在所述图像中的目标轮廓;Obtain the target contour of the target object in the image based on the coverage area of the target object in the image;

根据所述图像中的目标轮廓,从所述图像中提取所述目标对象。The target object is extracted from the image according to the target contour in the image.

在一个实施例中,在所述获取图像的步骤之前还包括:In one embodiment, before the step of acquiring an image, it further includes:

获取训练图像;Get training images;

对所述训练图像的目标对象进行轮廓标定,生成训练样本,所述训练样本为标定了目标对象的轮廓的图像文件;Carry out contour calibration on the target object of the training image, and generate a training sample, and the training sample is an image file demarcating the contour of the target object;

将所述训练样本输入至卷积神经网络中进行学习,得到包含各所述训练图像的目标对象的特征信息的所述训练模型。The training samples are input into a convolutional neural network for learning, and the training model including the feature information of the target object of each training image is obtained.

在一个实施例中,所述对每一所述特征信息选取预设数量的感兴趣区域的步骤包括:In one embodiment, the step of selecting a preset number of regions of interest for each of the feature information includes:

对每一所述特征信息,选取预设数量的候选感兴趣区域;For each of the feature information, select a preset number of candidate regions of interest;

对所述候选感兴趣区域进行前后景的二值分类,从预设数量的所述候选感兴趣区域筛选出所述图像的感兴趣区域。Binary classification of foreground and background is performed on the candidate regions of interest, and a region of interest of the image is selected from a preset number of the candidate regions of interest.

在一个实施例中,所述基于所述目标对象在所述图像的覆盖区域,获得所述目标对象在所述图像中的目标轮廓的步骤包括:In one embodiment, the step of obtaining the target contour of the target object in the image based on the coverage area of the target object in the image includes:

所述基于所述目标对象在所述图像的覆盖区域,采用目标检测方法与阈值分割方法,在所述图像中提取所述目标对象的目标轮廓。The target contour of the target object is extracted from the image based on the coverage area of the target object in the image, using a target detection method and a threshold segmentation method.

在一个实施例中,所述根据所述图像中的目标轮廓,从所述图像中提取所述目标对象的步骤包括:In one embodiment, the step of extracting the target object from the image according to the target contour in the image includes:

对提取的所述目标轮廓进行边缘处理,得到所述目标轮廓的边缘位置信息;performing edge processing on the extracted target contour to obtain edge position information of the target contour;

基于所述目标轮廓的边缘位置信息,从所述图像中提取所述目标对象。The target object is extracted from the image based on edge position information of the target contour.

在一个实施例中,所述对提取的所述目标轮廓进行边缘处理,得到所述目标轮廓的边缘位置信息的步骤包括:In one embodiment, the step of performing edge processing on the extracted target contour to obtain edge position information of the target contour includes:

基于所述目标轮廓,获得所述图像的包含黑白二色的掩膜图像;Based on the target contour, obtain a mask image of the image including black and white;

采用Canny检测算法,对所述黑白二色的掩膜图像进行边缘处理,得到所述目标轮廓的边缘位置信息。The Canny detection algorithm is used to perform edge processing on the black and white mask image to obtain edge position information of the target contour.

在一个实施例中,所述基于所述目标轮廓的边缘位置信息,从所述图像中提取所述目标对象的步骤包括:In one embodiment, the step of extracting the target object from the image based on the edge position information of the target contour includes:

采用阈值分割方法,获取所述图像中各像素点的灰度值;Using a threshold segmentation method, the gray value of each pixel in the image is obtained;

将所述图像中各像素点的灰度值与预设灰度阈值进行比较,对所述图像中各像素点的灰度值与预设灰度阈值的比较结果进行二值化处理,得到二值化处理后的图像;Compare the grayscale value of each pixel in the image with a preset grayscale threshold, and perform binarization on the comparison result of the grayscale value of each pixel in the image and the preset grayscale threshold to obtain two The image after value processing;

基于所述目标轮廓的边缘位置信息,从二值化处理后的图像中提取所述目标对象。The target object is extracted from the binarized image based on the edge position information of the target contour.

一种产品检测方法,包括:A product testing method, comprising:

根据上述任一实施例中所述的图像目标对象提取方法提取产品图像中目标对象,并获得所述目标对象的图像信息,根据目标对象的图像信息判断产品是否满足预设要求。According to the image target object extraction method described in any of the above embodiments, the target object in the product image is extracted, and the image information of the target object is obtained, and whether the product meets the preset requirements is judged according to the image information of the target object.

一种图像目标对象提取装置,包括:An image target object extraction device, comprising:

图像获取模块,用于获取图像;Image acquisition module for acquiring images;

特征信息获得模块,用于将所述图像输入至预先训练好的训练模型中进行特征检测,获得所述图像的特征信息;a feature information obtaining module, used for inputting the image into a pre-trained training model for feature detection to obtain feature information of the image;

感兴趣区域获得模块,用于对每一所述特征信息选取预设数量的感兴趣区域;a region of interest obtaining module, used for selecting a preset number of regions of interest for each of the feature information;

目标位置信息获得模块,用于对包含所述感兴趣区域的所述图像进行前后景的二值分类,得到前后景的像素值,基于预设像素阈值进行分类,从所述感兴趣区域中得到目标对象在所述图像的覆盖区域;The target position information obtaining module is used to perform binary classification of the foreground and background on the image including the region of interest, obtain the pixel value of the foreground and background, classify based on a preset pixel threshold, and obtain from the region of interest The target object is in the coverage area of the image;

目标轮廓获得模块,用于基于所述目标对象在所述图像的覆盖区域,获得所述目标对象在所述图像中的目标轮廓;a target contour obtaining module, configured to obtain the target contour of the target object in the image based on the coverage area of the target object in the image;

目标对象提取模块,用于根据所述图像中的目标轮廓,从所述图像中提取所述目标对象。A target object extraction module, configured to extract the target object from the image according to the target contour in the image.

上目标对象提取方法、产品检测方法、装置、计算机和介质,通过预先训练好的训练模型基于语义分割技术对图像进行特征检测,得到图像的特征信息,进而确定图像中的感兴趣区域,从而定位获得目标对象在图像中的位置,并且基于图像中的位置,获得目标对象在图像中的轮廓,根据该轮廓从图像中提取出目标对象。实现了对图像中的目标对象的自动提取,而无需人工选取,使得冰箱面板的提取更为精准,更为快速便捷,有效地节约时间精简人力,提高效率。On the target object extraction method, product detection method, device, computer and medium, the pre-trained training model is used to perform feature detection on the image based on semantic segmentation technology, and the feature information of the image is obtained, and then the region of interest in the image is determined to locate. The position of the target object in the image is obtained, and based on the position in the image, the contour of the target object in the image is obtained, and the target object is extracted from the image according to the contour. The automatic extraction of the target object in the image is realized without manual selection, which makes the extraction of the refrigerator panel more accurate, faster and more convenient, effectively saves time, streamlines manpower, and improves efficiency.

附图说明Description of drawings

图1A为一个实施例中的图像目标对象提取方法的流程示意图;1A is a schematic flowchart of an image target object extraction method in one embodiment;

图1B为另一个实施例中的图像目标对象提取方法的流程示意图;1B is a schematic flowchart of an image target object extraction method in another embodiment;

图1C为又一个实施例中的图像目标对象提取方法的流程示意图;1C is a schematic flowchart of an image target object extraction method in another embodiment;

图1D为再一个实施例中的图像目标对象提取方法的流程示意图;1D is a schematic flowchart of an image target object extraction method in yet another embodiment;

图2为一个实施例中图像目标对象提取装置的结构框图;Fig. 2 is a structural block diagram of an image target object extraction apparatus in one embodiment;

图3为一个实施例中计算机设备的内部结构图;Fig. 3 is the internal structure diagram of the computer device in one embodiment;

图4是一个实施例中的训练模型的训练过程的流程示意图;4 is a schematic flowchart of a training process of a training model in one embodiment;

图5是一个实施例中的图像目标对象提取过程的流程示意图。FIG. 5 is a schematic flowchart of an image target object extraction process in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

应该理解的是,本申请中图像目标对象提取方法可应用于冰箱的面板的提取,也可以应用于其他的制造业产品中的面板提取,或者在其他需要在图像中提取某一物体画像的场景中,本申请中各场景不一一赘述,下面实施例中,以图像目标对象提取方法应用于冰箱面板的提取作进一步阐述。应该理解的是,本申请中提取的目标对象指的是图像中的目标对象的图像或者图形。It should be understood that the image target object extraction method in this application can be applied to the extraction of the panels of refrigerators, and can also be applied to the extraction of panels in other manufacturing products, or in other scenarios where a portrait of an object needs to be extracted from the image. , each scene in this application will not be repeated one by one. In the following embodiments, the method for extracting an image target object is applied to the extraction of a refrigerator panel for further explanation. It should be understood that the target object extracted in this application refers to the image or figure of the target object in the image.

在一个实施例中,如图1A所示,提供了一种图像目标对象提取方法,In one embodiment, as shown in FIG. 1A, a method for extracting an image target object is provided,

步骤110,获取图像。Step 110, acquire an image.

具体地,该图像为待提取目标对象的图像。比如,该图像为冰箱的图像,该冰箱的图像中包括冰箱面板,因此,该目标对象为冰箱面板,该目标对象为冰箱的面板的图像,该面板可以是前面板、后面板或者侧面板。Specifically, the image is an image of the target object to be extracted. For example, the image is an image of a refrigerator, and the image of the refrigerator includes a refrigerator panel. Therefore, the target object is a refrigerator panel, and the target object is an image of a refrigerator panel, which may be a front panel, a rear panel, or a side panel.

步骤120,将所述图像输入至预先训练好的训练模型中进行特征检测,获得所述图像的特征信息。Step 120: Input the image into a pre-trained training model for feature detection to obtain feature information of the image.

具体地,该训练模型为预先训练好,能够对图像的特征进行特征检测。本实施例中,该训练模型采用分割深度学习Mask-RCNN框架的分支网络对图像进行特征检测,该训练模型包括预先训练好的目标对象的特征信息集。本实施例中,该训练模型基于语义分割对图像进行特征检测,进而得到图像的特征信息,这样,将图像输入至该训练模型中,即可检测出所输入的图像的特征信息。Specifically, the training model is pre-trained and can perform feature detection on the features of the image. In this embodiment, the training model adopts the branch network of the segmentation deep learning Mask-RCNN framework to perform feature detection on the image, and the training model includes a pre-trained feature information set of the target object. In this embodiment, the training model performs feature detection on the image based on semantic segmentation, and then obtains the feature information of the image. In this way, the feature information of the input image can be detected by inputting the image into the training model.

在一个实施例中,步骤120包括对所述图像进行预处理,得到预处理后的图像;对预处理后的所述图像输入至预先训练好的训练模型中进行学习,获得所述图像的特征信息。In one embodiment, step 120 includes preprocessing the image to obtain a preprocessed image; inputting the preprocessed image into a pretrained training model for learning to obtain features of the image information.

本实施例中,通过对图像的预处理消除图像中无关的信息,保留有用的真实信息,实现对图像的去噪音,增强有关的信息可检测性,简化数据。应该理解的是,对彩色图像进行处理时,需要三个通道依次进行处理,时间开销会很大,而本实施例中,通过预处理的灰度化,灰度图像每个像素只需一个字节存放灰度值,灰度范围0-255,使得图像的像素的数据量减少,这样,有利于提高整个处理速度,需要减少所需处理的数据量。In this embodiment, irrelevant information in the image is eliminated through the preprocessing of the image, useful real information is retained, the image is denoised, the detectability of the relevant information is enhanced, and the data is simplified. It should be understood that when processing a color image, three channels need to be processed in sequence, and the time overhead will be very large. The section stores the gray value, and the gray scale range is 0-255, which reduces the data amount of the pixels of the image, which is beneficial to improve the overall processing speed, and needs to reduce the amount of data to be processed.

步骤130,对每一所述特征信息选取预设数量的感兴趣区域。Step 130: Select a preset number of regions of interest for each of the feature information.

本步骤中,对图像中的每一特征信息,分别选取至少一个感兴趣区域。该感兴趣区域为从图像中选择的一个图像区域。选取的方式可以是根据特征信息的数量选取,也可以是根据特征信息的位置选取,选取的方式还可以是人工选取。应该理解的是,对于对特征信息选取感兴趣区域,可以采用现有技术实现,本实施例中不进行累赘描述。In this step, for each feature information in the image, at least one region of interest is selected respectively. The region of interest is an image region selected from the image. The selection method may be selection according to the quantity of the feature information, or may be selected according to the position of the feature information, and the selection method may also be manual selection. It should be understood that the selection of the region of interest for the feature information may be implemented by using the prior art, and redundant description is not described in this embodiment.

步骤140,对包含所述感兴趣区域的所述图像进行前后景的二值分类,得到前后景的像素值,基于预设像素阈值进行分类,从所述感兴趣区域中得到目标对象在所述图像的覆盖区域。Step 140: Perform binary classification of the foreground and background on the image including the region of interest, obtain pixel values of the foreground and background, perform classification based on a preset pixel threshold, and obtain the target object in the region of interest from the region of interest. The coverage area of the image.

具体地,对图像进行前景和后景的二值分类后,得到图像的前景和后景的像素值,获取一个预设的像素阈值,基于该像素阈值对各感兴趣区域进行分类,通过前景的像素值以及后景的像素值与预设像素阈值的对比,由于前后景都进行了二值化处理,使得前后景的像素都转换为灰度值,进而基于该灰度值与预设像素阈值的对比,可将大于该预设像素阈值的划分为目标对象,将小于该预设像素阈值的划分为背景,从而确定目标对象的覆盖区域,从而从感兴趣区域中选取目标对象在所述图像的覆盖区域。在对本步骤中,对感兴趣区域进行分类,定位搜索到图像中目标对象的位置区域,即获得图像中目标对象的位置信息。具体地,根据图像的前景与后景的像素值差异,根据预设的像素阈值,对感兴趣区域进行分类,获得目标对象对应的感兴趣区域,从而在图像中定位到目标对象的位置区域,进而获得目标对象在所述图像的覆盖区域。Specifically, after binary classification of foreground and background is performed on the image, the pixel values of the foreground and background of the image are obtained, a preset pixel threshold is obtained, and each region of interest is classified based on the pixel threshold. The comparison between the pixel value and the pixel value of the background and the preset pixel threshold value, because the foreground and the background are binarized, so that the pixels of the foreground and the background are converted into grayscale values, and then based on the grayscale value and the preset pixel threshold value In contrast, the target object can be divided into the target object that is larger than the preset pixel threshold, and the background can be divided into the background smaller than the preset pixel threshold, so as to determine the coverage area of the target object, so as to select the target object from the region of interest in the image. coverage area. In this step, the region of interest is classified, and the position region of the target object in the image is located and searched, that is, the position information of the target object in the image is obtained. Specifically, according to the pixel value difference between the foreground and the background of the image, according to the preset pixel threshold, the region of interest is classified, and the region of interest corresponding to the target object is obtained, so as to locate the position region of the target object in the image, Then, the coverage area of the target object in the image is obtained.

步骤150,基于所述目标对象在所述图像的覆盖区域,获得所述目标对象在所述图像中的目标轮廓。Step 150: Obtain a target contour of the target object in the image based on the coverage area of the target object in the image.

具体地,目标轮廓为目标对象在图像中的轮廓,本实施例中,在对图像进行语义分割的特征检测后,利用目标检测方法与阈值分割方法,将目标对象在图像中的轮廓提取出来,进而得到目标对象的目标轮廓。Specifically, the target contour is the contour of the target object in the image. In this embodiment, after the feature detection of semantic segmentation is performed on the image, the target detection method and the threshold segmentation method are used to extract the contour of the target object in the image, Then the target contour of the target object is obtained.

步骤160,根据所述图像中的目标轮廓,从所述图像中提取所述目标对象。Step 160: Extract the target object from the image according to the target contour in the image.

具体地,在确定了目标对象在图像中的目标轮廓后,根据该目标轮廓,再根据阈值分割方法,将目标轮廓内的目标对象从图像中提取出来,实现自动地提取图像中的目标对象,应该理解的是,提取的目标对象为目标对象的图像。比如,提取目标对象,获得目标对象的图像信息。从而实现自动地从冰箱的图像中,提取出冰箱的面板的图像,而无需人工选取,使得冰箱面板的提取更为精准,更为快速便捷,有效地节约时间精简人力,提高效率。Specifically, after determining the target contour of the target object in the image, according to the target contour, and then according to the threshold segmentation method, the target object in the target contour is extracted from the image, so as to automatically extract the target object in the image, It should be understood that the extracted target object is an image of the target object. For example, extract the target object and obtain the image information of the target object. Therefore, the image of the panel of the refrigerator is automatically extracted from the image of the refrigerator without manual selection, which makes the extraction of the refrigerator panel more accurate, faster and more convenient, effectively saves time, streamlines manpower, and improves efficiency.

上述实施例中,通过预先训练好的训练模型基于语义分割技术对图像进行特征检测,得到图像的特征信息,进而确定图像中的感兴趣区域,从而定位获得目标对象在图像中的位置,并且基于图像中的位置,获得目标对象在图像中的轮廓,根据该轮廓从图像中提取出目标对象。实现了对图像中的目标对象的自动提取,而无需人工选取,使得冰箱面板的提取更为精准,更为快速便捷,有效地节约时间精简人力,提高效率。In the above embodiment, the pre-trained training model is used to perform feature detection on the image based on the semantic segmentation technology to obtain the feature information of the image, and then determine the region of interest in the image, so as to locate and obtain the position of the target object in the image, and based on position in the image, obtain the contour of the target object in the image, and extract the target object from the image according to the contour. The automatic extraction of the target object in the image is realized without manual selection, which makes the extraction of the refrigerator panel more accurate, faster and more convenient, effectively saves time, streamlines manpower, and improves efficiency.

在一个实施例中,如图1B所示,步骤110之前还包括:In one embodiment, as shown in FIG. 1B , before step 110, it further includes:

步骤101,获取训练图像。Step 101, acquiring training images.

步骤102,对所述训练图像的目标对象进行轮廓标定,生成训练样本,所述训练样本为标定了目标对象的轮廓的图像文件。Step 102: Perform contour calibration on the target object of the training image to generate a training sample, where the training sample is an image file demarcating the contour of the target object.

步骤103,将所述训练样本输入至卷积神经网络中进行学习,得到包含各所述训练图像的目标对象的特征信息的所述训练模型。Step 103: Input the training samples into a convolutional neural network for learning, and obtain the training model including the feature information of the target object of each of the training images.

具体地,训练图像为与上述实施例中的图像为同类型的图像,该训练图像中包括目标对象,比如,训练图像为冰箱图像,包括不同型号的冰箱的图像,而上述实施例中的图像也为冰箱的图像,各冰箱的图像中包含面板。在将训练图像输入至卷积神经网络中进行学习前,对训练图像进行达标,以生成标定了目标对象在训练图像中的轮廓的图像文件,该图像文件即训练样本。将该训练样本输入至卷积神经网络中学习,得到训练模型,该训练模型包含了训练图像的目标对象的特征信息的集合,这样,通过大量的训练图像的训练,可得到不同的冰箱面板的特征信息的集合。Specifically, the training image is an image of the same type as the image in the foregoing embodiment, and the training image includes the target object. For example, the training image is an image of a refrigerator, including images of refrigerators of different models, while the images in the foregoing embodiment It is also an image of a refrigerator, and a panel is included in the image of each refrigerator. Before the training image is input into the convolutional neural network for learning, the training image is qualified to generate an image file that demarcates the outline of the target object in the training image, and the image file is the training sample. The training sample is input into the convolutional neural network for learning, and a training model is obtained. The training model contains a set of feature information of the target object of the training image. In this way, through the training of a large number of training images, different refrigerator panels can be obtained. A collection of feature information.

一个实施例中,将各个类型的冰箱面板图像收集,通过LabelMe工具,对目标对象在训练图像中进行细致的轮廓标定,值得一提的是,该LabelMe工具可用于创建定制化标注任务或执行图像标注。目标对象的轮廓标注完成后,生成一个JSON(JavaScript ObjectNotation,,JS对象简谱)文件。该JSON文件即训练样本。随后,每个JSON文件转化为DataSet,DataSet包含:img.png,info.yaml,label.png,label_names.txt,label_viz.png,生成mask数据集。卷积神经网络基于mask-rcnn算法读取mask数据集进行模型训练,训练完成生成冰箱面板的特征信息集,该特征信息集也可称为特征数据集,该特征信息集包含多个冰箱面板的特征信息。In one embodiment, various types of refrigerator panel images are collected, and the LabelMe tool is used to perform detailed outline calibration of the target object in the training image. It is worth mentioning that the LabelMe tool can be used to create customized labeling tasks or execute images. callout. After the outline annotation of the target object is completed, a JSON (JavaScript ObjectNotation,, JS Object Notation) file is generated. The JSON file is the training sample. Subsequently, each JSON file is converted into a DataSet, and the DataSet contains: img.png, info.yaml, label.png, label_names.txt, label_viz.png, and generates a mask dataset. The convolutional neural network reads the mask data set based on the mask-rcnn algorithm for model training. After the training is completed, the feature information set of the refrigerator panel is generated. The feature information set can also be called the feature data set. characteristic information.

在一个实施例中,如图1C所示,步骤130包括:In one embodiment, as shown in Figure 1C, step 130 includes:

步骤131,对每一所述特征信息,选取预设数量的候选感兴趣区域。Step 131: For each of the feature information, select a preset number of candidate regions of interest.

步骤132,对所述候选感兴趣区域进行前后景的二值分类,从预设数量的所述候选感兴趣区域筛选出所述图像的感兴趣区域。Step 132 , perform binary classification of the foreground and background on the candidate regions of interest, and select the regions of interest of the image from a preset number of the candidate regions of interest.

本实施例中,对每一特征信息,分别设定预设数量个的候选感兴趣区域。具体地,对获得的多个特征信息的集合的每一点,分别设定预设数量的候选的感兴趣区域(ROI,Region Of Interest),该预设数量为预先设定。将这些候选的的感兴趣区域送入区域网络进行前后景的二值分类,过滤掉一部分候选的的感兴趣区域,筛选出合适的感兴趣区域。应该理解的是,该区域网络为对输入的图像进行区域框的候选,利用图像的边缘、纹理、色彩、颜色变化等信息在图像中选取可能包含物体的区域。本实施例中,对候选的的感兴趣区域送入区域网络进行前后景的二值分类过程中,将根据图像的前景与后景的像素值差异,根据预设的像素阈值,对候选感兴趣区域进行分类,从而筛选出感兴趣区域。In this embodiment, a preset number of candidate regions of interest are respectively set for each feature information. Specifically, a preset number of candidate regions of interest (ROI, Region Of Interest) are respectively set for each point of the obtained sets of multiple feature information, and the preset number is preset. These candidate regions of interest are sent to the regional network for binary classification of the foreground and background, and some candidate regions of interest are filtered out to screen out suitable regions of interest. It should be understood that the area network is a candidate for performing an area frame on the input image, and uses the edge, texture, color, color change and other information of the image to select areas in the image that may contain objects. In this embodiment, the candidate region of interest is sent to the regional network for binary classification of the foreground and background, and the candidate is interested in the candidate according to the pixel value difference between the foreground and the background of the image according to the preset pixel threshold. Regions are classified to filter out regions of interest.

在一个实施例中,所述基于所述目标对象在所述图像的覆盖区域,获得所述目标对象在所述图像中的目标轮廓的步骤包括:所述基于所述目标对象在所述图像的覆盖区域,采用目标检测方法与阈值分割方法,在所述图像中提取所述目标对象的目标轮廓。In one embodiment, the step of obtaining the target contour of the target object in the image based on the coverage area of the target object in the image includes: In the coverage area, the target contour of the target object is extracted from the image by using the target detection method and the threshold segmentation method.

具体地,本实施例中,通过在前述实施例中,通过语义分割检测到目标对象的位置信息,基于该位置信息,采用目标检测方法与阈值分割方法,在复杂背景中将目标对象在图像中的轮廓提取出来,得到目标轮廓。值得一提的是,阈值分割算法可采用fast rcnn、yolo,SSD等算法。通过该目标检测方法与阈值分割方法,能够高效、准确提取出目标轮廓。Specifically, in this embodiment, the position information of the target object is detected through semantic segmentation in the previous embodiment, and based on the position information, the target detection method and the threshold segmentation method are used to separate the target object in the image in the complex background. The contour is extracted to obtain the target contour. It is worth mentioning that the threshold segmentation algorithm can use fast rcnn, yolo, SSD and other algorithms. Through the target detection method and the threshold segmentation method, the target contour can be extracted efficiently and accurately.

在一个实施例中,如图1D所示,步骤160包括:In one embodiment, as shown in Figure ID, step 160 includes:

步骤161,对提取的所述目标轮廓进行边缘处理,得到所述目标轮廓的边缘位置信息。Step 161: Perform edge processing on the extracted target contour to obtain edge position information of the target contour.

步骤162,基于所述目标轮廓的边缘位置信息,从所述图像中提取所述目标对象。Step 162: Extract the target object from the image based on the edge position information of the target contour.

本实施例中,通过边缘处理,找到目标轮廓的一个最优的边缘,得到目标轮廓的边缘的准确的位置信息,进而基于该边缘位置信息,能够精确定位目标轮廓的位置和范围,进而提高从图像中提取的目标对象的精度。In this embodiment, through edge processing, an optimal edge of the target contour is found, and accurate position information of the edge of the target contour is obtained, and then based on the edge position information, the position and range of the target contour can be accurately located, thereby improving the accuracy of the target contour. The accuracy of the target object extracted in the image.

在一个实施例中,所述对提取的所述目标轮廓进行边缘处理,得到所述目标轮廓的边缘位置信息的步骤包括:基于所述目标轮廓,获得所述图像的包含黑白二色的掩膜图像;采用Canny检测算法,对所述黑白二色的掩膜图像进行边缘处理,得到所述目标轮廓的边缘位置信息。In one embodiment, the step of performing edge processing on the extracted target contour to obtain edge position information of the target contour includes: based on the target contour, obtaining a mask including black and white for the image image; using the Canny detection algorithm to perform edge processing on the black and white mask image to obtain the edge position information of the target contour.

本实施例中,将图像中的目标轮廓提取出来后,提取出只含黑白两种颜色的掩膜图像,采用图像Canny检测算法,对掩膜图像进行边缘处理,得到一个最优边缘,这样,能够使得目标轮廓的边缘更为精确,有利于提高对目标对象的提取的精度。In this embodiment, after the target contour in the image is extracted, a mask image containing only black and white colors is extracted, and the image Canny detection algorithm is used to perform edge processing on the mask image to obtain an optimal edge. In this way, The edge of the target contour can be made more accurate, which is beneficial to improve the extraction accuracy of the target object.

在一个实施例中,所述基于所述目标轮廓的边缘位置信息,从所述图像中提取所述目标对象的步骤包括:采用阈值分割方法,获取所述图像中各像素点的灰度值;将所述图像中各像素点的灰度值与预设灰度阈值进行比较,对所述图像中各像素点的灰度值与预设灰度阈值的比较结果进行二值化处理,得到二值化处理后的图像;基于所述目标轮廓的边缘位置信息,从二值化处理后的图像中提取所述目标对象。In one embodiment, the step of extracting the target object from the image based on the edge position information of the target contour includes: using a threshold segmentation method to obtain the gray value of each pixel in the image; Compare the grayscale value of each pixel in the image with a preset grayscale threshold, and perform binarization on the comparison result of the grayscale value of each pixel in the image and the preset grayscale threshold to obtain two The binarized image; extracting the target object from the binarized image based on the edge position information of the target contour.

具体地,采用阈值分割方法,确定图像中每个像素点的处于灰度范围的某个灰度值,将所得到的图像中各个像素的灰度值与上一步骤中采用阈值分割方法得到的灰度阈值进行比较,选取合适的阈值的进行分割,并且进行二值化算法处理,最后实现对目标对象的提取。该合适的阈值可根据目标对象与背景的像素灰度而设定,同设定该阈值即获得预设灰度阈值。通过上述过程,可以减少由于环境造成的光照对图像的特征的影响。Specifically, the threshold segmentation method is used to determine a certain gray value of each pixel in the image that is in the gray scale range, and the gray value of each pixel in the obtained image is compared with that obtained by the threshold segmentation method in the previous step. The gray threshold is compared, and the appropriate threshold is selected for segmentation, and the binarization algorithm is processed, and finally the target object is extracted. The appropriate threshold can be set according to the pixel grayscale of the target object and the background, and the preset grayscale threshold can be obtained by setting the threshold at the same time. Through the above process, the influence of illumination caused by the environment on the features of the image can be reduced.

应该理解的是,该阈值分隔方法,是以选取一个合适的像素值作为预设灰度阈值,该预设灰度阈值可由人工根据分析图像的像素值进行设定。通过该预设灰度阈值作为界限将图像处理成高对比度、容易识别的图像。比如,将大于预设灰度阈值,设为白色,小于或等于预设灰度阈值设为黑色,输出的黑白色图像,白色则为目标对象,黑色为图像中目标对象以外的背景。这样,即可使得目标对象从图像中分离,实现目标对象的提取。It should be understood that, in the threshold separation method, an appropriate pixel value is selected as the preset grayscale threshold, and the preset grayscale threshold can be manually set according to the pixel value of the analyzed image. The image is processed into a high-contrast, easy-to-recognize image using the preset grayscale threshold as a limit. For example, if it is greater than the preset grayscale threshold, set it as white, and if it is less than or equal to the preset grayscale threshold, set it as black, the output black and white image, the white is the target object, and the black is the background other than the target object in the image. In this way, the target object can be separated from the image to realize the extraction of the target object.

下面是一个具体的实施例:The following is a specific example:

首先,冰箱面板图形打标训练。请结合图4,利用人工智能的深度学习方法,对冰箱面板特征图像进行数据采集,再针对冰箱各个类型面板特征进行打标,用卷积神经网络算法根据样本信息进行模型训练,得到语义识别的面板对象。First, the refrigerator panel graphic marking training. Please refer to Figure 4 and use the deep learning method of artificial intelligence to collect data on the feature images of the refrigerator panels, and then mark the features of each type of refrigerator panels, and use the convolutional neural network algorithm to train the model according to the sample information to obtain semantic recognition. panel object.

其次,特征检测搜索。通过一种实例分割深度学习Mask-RCNN框架的分支网络对候选区域进行特征检测。请结合图5,,首先对输入的图片进行预处理操作,然后将其输入到一个预训练好的神经网络中获得对应的数据信息;接着,对这个图像数据信息中的每个点设定预定个的ROI,从而获得多个候选ROI;将这些候选的ROI送入区域网络进行前后景的二值分类,过滤掉一部分候选的ROI;最后对这些ROI进行分类,定位搜索到冰箱面板位置区域。Second, feature detection search. Feature detection is performed on candidate regions through a branched network of an instance segmentation deep learning Mask-RCNN framework. Please refer to Figure 5, first preprocess the input image, and then input it into a pre-trained neural network to obtain the corresponding data information; then, set a predetermined value for each point in the image data information A number of ROIs are obtained to obtain multiple candidate ROIs; these candidate ROIs are sent to the regional network for binary classification of the foreground and background, and some candidate ROIs are filtered out; finally, these ROIs are classified, and the location area of the refrigerator panel is located and searched.

最后,目标对象提取。通过语义分割检测到目标特征,利用目标检测与阈值分割技术,在复杂背景中将面板的大体轮廓提取出来,提取出只含黑白颜色掩膜,将该掩膜使用图像canny检测算法,进行边缘处理,找到一个最优的边缘,尽可能地标识出图像中的实际边缘,再采用阈值分割方法,确定冰箱面板图像中每个像素点的处于灰度范围的某个灰度值,将所得到的图像中各个像素的灰度值与之前确定的阈值进行比较其分割的过程,并且进行二值化算法处理,选取合适的阈值可以减少由于环境造成的光照对图像特征的影响,最后自动化地提取特征冰箱面板图像。Finally, target object extraction. The target features are detected by semantic segmentation, and the general outline of the panel is extracted from the complex background by using target detection and threshold segmentation technology, and a mask containing only black and white colors is extracted. The mask is processed by the image canny detection algorithm for edge processing. , find an optimal edge, identify the actual edge in the image as much as possible, and then use the threshold segmentation method to determine a certain gray value of each pixel in the gray scale range of the refrigerator panel image. The gray value of each pixel in the image is compared with the previously determined threshold, and the segmentation process is performed, and the binarization algorithm is processed. Selecting the appropriate threshold can reduce the influence of the illumination caused by the environment on the image features, and finally extract the features automatically. Refrigerator panel image.

本实施例中,阈值分割算法还可以是采用fast rcnn、yolo,SSD等算法。In this embodiment, the threshold segmentation algorithm may also adopt algorithms such as fast rcnn, yolo, and SSD.

本申请中,利用人工智能深度学习算法、语义分割技术、图像边缘检测,检测冰箱面板区域面积,进行像素级的分类,自动快速准确提取冰箱面板信息,提高质检人员的工作效率。In this application, the artificial intelligence deep learning algorithm, semantic segmentation technology, and image edge detection are used to detect the area of the refrigerator panel area, perform pixel-level classification, automatically, quickly and accurately extract refrigerator panel information, and improve the work efficiency of quality inspectors.

本申请利用人工智能的图像分割算法,自动对制造行业冰箱面板做出特征提取。本申请提出的方法相对于传统的人工或半自动方法,基于深度学习算法,通过训练冰箱面板信息数据,可以达到特征自动化提取客观化、标准化、统一化,并且准确度相对于人工选择特征区域来说有很大的提升,解决了人工选择特征区域因人而异,不够客观问题,提高了检测系统的效率与检测精度。The present application uses artificial intelligence image segmentation algorithms to automatically extract features for refrigerator panels in the manufacturing industry. Compared with traditional manual or semi-automatic methods, the method proposed in this application can achieve objectification, standardization and unification of automatic feature extraction based on deep learning algorithm and by training refrigerator panel information data, and the accuracy is higher than that of manual selection of feature regions. There is a great improvement, which solves the problem of artificial selection of feature areas that vary from person to person and is not objective enough, and improves the efficiency and detection accuracy of the detection system.

本方法提出一种基于人工智能的冰箱面板特征自动提取方法,利用人工智能深度学习算法与语义分割技术,实现了制造业冰箱面板的自动精准提取,此方法解决了传统意义上的人工标定或者半自动地特定环境拍照的问题,达到自动精准提取、快速便捷,有效地节约时间精简人力。This method proposes an automatic extraction method of refrigerator panel features based on artificial intelligence. Using artificial intelligence deep learning algorithm and semantic segmentation technology, the automatic and accurate extraction of refrigerator panels in manufacturing industry is realized. This method solves the problem of manual calibration or semi-automatic calibration in the traditional sense. The problem of taking pictures in a specific environment can be automatically and accurately extracted, fast and convenient, and effectively save time and manpower.

在一个实施例中,一种产品检测方法,其特征在于,包括根据上述任一实施例中所述的图像目标对象提取方法提取产品图像中目标对象,并获得所述目标对象的图像信息,根据目标对象的图像信息判断产品是否满足预设要求。In one embodiment, a product detection method is characterized in that it includes extracting a target object in a product image according to the image target object extraction method described in any of the above embodiments, and obtaining image information of the target object, according to The image information of the target object determines whether the product meets the preset requirements.

本实施例中,产品检测方法也可称为产品图像的目标对象的缺陷检测方法,该方法用于检测产品上的某一部位的缺陷,比如,该方法用于检测冰箱的面板的缺陷。通过目标对象提取方法将产品的目标对象提取,比如,首先将冰箱图像中将冰箱面板提取,从而精确定位到冰箱面板,随后根据目标对象的图像信息判断产品是否满足预设要求,进而对冰箱面板进行缺陷检测。产品检测方法除了包含图像的目标对象提取方法的各步骤外,还包括对目标对象的缺陷检测的步骤,值得一提的是,对该目标对象的缺陷检测的步骤,可采用现有技术实现,也可以采用本领域的常规的缺陷检测方法实现,这些缺陷检测的手段均为本领域技术人员能够获知的,本实施例中不再赘述。In this embodiment, the product detection method may also be referred to as a defect detection method of a target object of a product image, and the method is used to detect a defect in a certain part of the product, for example, the method is used to detect a defect of a panel of a refrigerator. Extract the target object of the product through the target object extraction method. For example, first extract the refrigerator panel from the refrigerator image, so as to accurately locate the refrigerator panel, and then judge whether the product meets the preset requirements according to the image information of the target object, and then analyze the refrigerator panel. Perform defect detection. In addition to the steps of the method for extracting the target object of the image, the product detection method also includes the step of detecting the defect of the target object. It is worth mentioning that the step of detecting the defect of the target object can be realized by using the existing technology. It can also be implemented by using a conventional defect detection method in the art. These defect detection methods are known to those skilled in the art, and are not repeated in this embodiment.

在一个实施例中,如图2所示,提供了一种图像目标对象提取装置,包括:In one embodiment, as shown in FIG. 2, an image target object extraction apparatus is provided, including:

图像获取模块210,用于获取图像;an image acquisition module 210, configured to acquire an image;

特征信息获得模块220,用于将所述图像输入至预先训练好的训练模型中进行特征检测,获得所述图像的特征信息;A feature information obtaining module 220, configured to input the image into a pre-trained training model for feature detection to obtain feature information of the image;

感兴趣区域获得模块230,用于对每一所述特征信息选取预设数量的感兴趣区域;a region of interest obtaining module 230, configured to select a preset number of regions of interest for each of the feature information;

目标位置信息获得模块240,用于对包含所述感兴趣区域的所述图像进行前后景的二值分类,得到前后景的像素值,基于预设像素阈值进行分类,从所述感兴趣区域中得到目标对象在所述图像的覆盖区域;The target position information obtaining module 240 is configured to perform binary classification of the foreground and background on the image including the region of interest, obtain pixel values of the foreground and background, classify based on a preset pixel threshold, and extract the image from the region of interest. Obtain the coverage area of the target object in the image;

目标轮廓获得模块250,用于基于所述目标对象在所述图像的覆盖区域,获得所述目标对象在所述图像中的目标轮廓;A target contour obtaining module 250, configured to obtain the target contour of the target object in the image based on the coverage area of the target object in the image;

目标对象提取模块260,用于根据所述图像中的目标轮廓,从所述图像中提取所述目标对象。The target object extraction module 260 is configured to extract the target object from the image according to the target contour in the image.

在一个实施例中,图像目标对象提取装置还包括:In one embodiment, the image target object extraction apparatus further includes:

训练图像获取模块,用于获取训练图像;A training image acquisition module for acquiring training images;

训练图像打标模块,用于对所述训练图像的目标对象进行轮廓标定,生成训练样本,所述训练样本为标定了目标对象的轮廓的图像文件;A training image marking module is used to demarcate the outline of the target object of the training image, and generate a training sample, and the training sample is an image file that has demarcated the outline of the target object;

训练模型生成模块,用于将所述训练样本输入至卷积神经网络中进行学习,得到包含各所述训练图像的目标对象的特征信息的所述训练模型。A training model generation module is configured to input the training samples into a convolutional neural network for learning, and obtain the training model including the feature information of the target object of each of the training images.

在一个实施例中,感兴趣区域获得模块包括:In one embodiment, the region of interest obtaining module includes:

候选感兴趣区域获得单元,用于对每一所述特征信息,选取预设数量的候选感兴趣区域;a candidate region of interest obtaining unit for selecting a preset number of candidate regions of interest for each of the feature information;

感兴趣区域筛选单元,用于对所述候选感兴趣区域进行前后景的二值分类,从预设数量的所述候选感兴趣区域筛选出所述图像的感兴趣区域。A region of interest screening unit, configured to perform binary classification of the foreground and background on the candidate region of interest, and select the region of interest of the image from a preset number of the candidate regions of interest.

在一个实施例中,目标轮廓获得模块还用于所述基于所述目标对象在所述图像的覆盖区域,采用目标检测方法与阈值分割方法,在所述图像中提取所述目标对象的目标轮廓。In one embodiment, the target contour obtaining module is further configured to extract the target contour of the target object in the image by adopting a target detection method and a threshold segmentation method based on the coverage area of the target object in the image. .

在一个实施例中,目标对象提取模块包括:In one embodiment, the target object extraction module includes:

边缘位置信息获得单元,用于对提取的所述目标轮廓进行边缘处理,得到所述目标轮廓的边缘位置信息;an edge position information obtaining unit, configured to perform edge processing on the extracted target contour to obtain edge position information of the target contour;

目标对象提取单元,用于基于所述目标轮廓的边缘位置信息,从所述图像中提取所述目标对象。A target object extraction unit, configured to extract the target object from the image based on edge position information of the target contour.

在一个实施例中,边缘位置信息获得单元包括:In one embodiment, the edge location information obtaining unit includes:

掩膜图像获得子单元,用于基于所述目标轮廓,获得所述图像的包含黑白二色的掩膜图像;a mask image obtaining subunit, configured to obtain a mask image including black and white of the image based on the target contour;

边缘位置信息获得子单元,用于采用Canny检测算法,对所述黑白二色的掩膜图像进行边缘处理,得到所述目标轮廓的边缘位置信息。The edge position information obtaining sub-unit is used for using the Canny detection algorithm to perform edge processing on the black and white mask image to obtain the edge position information of the target contour.

在一个实施例中,目标对象提取单元包括:In one embodiment, the target object extraction unit includes:

灰度值获取子单元,用于采用阈值分割方法,获取所述图像中各像素点的灰度值;a gray value obtaining subunit, used for obtaining the gray value of each pixel in the image by adopting a threshold segmentation method;

二值化处理子单元,用于将所述图像中各像素点的灰度值与预设灰度阈值进行比较,对所述图像中各像素点的灰度值与预设灰度阈值的比较结果进行二值化处理,得到二值化处理后的图像;The binarization processing subunit is used to compare the gray value of each pixel in the image with a preset gray threshold, and compare the gray value of each pixel in the image with the preset gray threshold The result is binarized to obtain a binarized image;

目标对象提取子单元,用于基于所述目标轮廓的边缘位置信息,从二值化处理后的图像中提取所述目标对象。The target object extraction subunit is used for extracting the target object from the binarized image based on the edge position information of the target contour.

关于图像目标对象提取装置的具体限定可以参见上文中对于图像目标对象提取方法的限定,在此不再赘述。上述图像目标对象提取装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the image target object extraction apparatus, reference may be made to the above limitation on the image target object extraction method, which will not be repeated here. Each module in the above-mentioned image target object extraction apparatus may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

在一个实施例中,提供了计算机设备。其内部结构图可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于外部计算机通过网络连接通信。该计算机程序被处理器执行时以实现一种图像目标对象提取方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. Its internal structure diagram can be shown in Figure 3. The computer equipment includes a processor, memory, a network interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for external computers to communicate over the network connection. The computer program, when executed by the processor, implements an image target object extraction method. The display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.

本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

获取图像;get image;

将所述图像输入至预先训练好的训练模型中进行特征检测,获得所述图像的特征信息;Inputting the image into a pre-trained training model for feature detection to obtain feature information of the image;

对每一所述特征信息选取预设数量的感兴趣区域;Selecting a preset number of regions of interest for each of the feature information;

对包含所述感兴趣区域的所述图像进行前后景的二值分类,得到前后景的像素值,基于预设像素阈值进行分类,从所述感兴趣区域中得到目标对象在所述图像的覆盖区域;Perform binary classification of the foreground and background on the image including the region of interest, obtain pixel values of the foreground and background, classify based on a preset pixel threshold, and obtain the coverage of the target object in the image from the region of interest area;

基于所述目标对象在所述图像的覆盖区域,获得所述目标对象在所述图像中的目标轮廓;Obtain the target contour of the target object in the image based on the coverage area of the target object in the image;

根据所述图像中的目标轮廓,从所述图像中提取所述目标对象。The target object is extracted from the image according to the target contour in the image.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor further implements the following steps when executing the computer program:

获取训练图像;Get training images;

对所述训练图像的目标对象进行轮廓标定,生成训练样本,所述训练样本为标定了目标对象的轮廓的图像文件;Carry out contour calibration on the target object of the training image, and generate a training sample, and the training sample is an image file demarcating the contour of the target object;

将所述训练样本输入至卷积神经网络中进行学习,得到包含各所述训练图像的目标对象的特征信息的所述训练模型。The training samples are input into a convolutional neural network for learning, and the training model including the feature information of the target object of each training image is obtained.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor further implements the following steps when executing the computer program:

对每一所述特征信息,选取预设数量的候选感兴趣区域;For each of the feature information, select a preset number of candidate regions of interest;

对所述候选感兴趣区域进行前后景的二值分类,从预设数量的所述候选感兴趣区域筛选出所述图像的感兴趣区域。Binary classification of foreground and background is performed on the candidate regions of interest, and a region of interest of the image is selected from a preset number of the candidate regions of interest.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor further implements the following steps when executing the computer program:

所述基于所述目标对象在所述图像的覆盖区域,采用目标检测方法与阈值分割方法,在所述图像中提取所述目标对象的目标轮廓。The target contour of the target object is extracted from the image based on the coverage area of the target object in the image, using a target detection method and a threshold segmentation method.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor further implements the following steps when executing the computer program:

对提取的所述目标轮廓进行边缘处理,得到所述目标轮廓的边缘位置信息;performing edge processing on the extracted target contour to obtain edge position information of the target contour;

基于所述目标轮廓的边缘位置信息,从所述图像中提取所述目标对象。The target object is extracted from the image based on edge position information of the target contour.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor further implements the following steps when executing the computer program:

基于所述目标轮廓,获得所述图像的包含黑白二色的掩膜图像;Based on the target contour, obtain a mask image of the image including black and white;

采用Canny检测算法,对所述黑白二色的掩膜图像进行边缘处理,得到所述目标轮廓的边缘位置信息。The Canny detection algorithm is used to perform edge processing on the black and white mask image to obtain edge position information of the target contour.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor further implements the following steps when executing the computer program:

采用阈值分割方法,获取所述图像中各像素点的灰度值;Using a threshold segmentation method, the gray value of each pixel in the image is obtained;

将所述图像中各像素点的灰度值与预设灰度阈值进行比较,对所述图像中各像素点的灰度值与预设灰度阈值的比较结果进行二值化处理,得到二值化处理后的图像;Compare the grayscale value of each pixel in the image with a preset grayscale threshold, and perform binarization on the comparison result of the grayscale value of each pixel in the image and the preset grayscale threshold to obtain two The image after value processing;

基于所述目标轮廓的边缘位置信息,从二值化处理后的图像中提取所述目标对象。The target object is extracted from the binarized image based on the edge position information of the target contour.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现产品检测方法。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements a product detection method when the computer program is executed.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

获取图像;get image;

将所述图像输入至预先训练好的训练模型中进行特征检测,获得所述图像的特征信息;Inputting the image into a pre-trained training model for feature detection to obtain feature information of the image;

对每一所述特征信息选取预设数量的感兴趣区域;Selecting a preset number of regions of interest for each of the feature information;

对包含所述感兴趣区域的所述图像进行前后景的二值分类,得到前后景的像素值,基于预设像素阈值进行分类,从所述感兴趣区域中得到目标对象在所述图像的覆盖区域;Perform binary classification of the foreground and background on the image including the region of interest, obtain pixel values of the foreground and background, classify based on a preset pixel threshold, and obtain the coverage of the target object in the image from the region of interest area;

基于所述目标对象在所述图像的覆盖区域,获得所述目标对象在所述图像中的目标轮廓;Obtain the target contour of the target object in the image based on the coverage area of the target object in the image;

根据所述图像中的目标轮廓,从所述图像中提取所述目标对象。The target object is extracted from the image according to the target contour in the image.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program further implements the following steps when executed by the processor:

获取训练图像;Get training images;

对所述训练图像的目标对象进行轮廓标定,生成训练样本,所述训练样本为标定了目标对象的轮廓的图像文件;Carry out contour calibration on the target object of the training image, and generate a training sample, and the training sample is an image file demarcating the contour of the target object;

将所述训练样本输入至卷积神经网络中进行学习,得到包含各所述训练图像的目标对象的特征信息的所述训练模型。The training samples are input into a convolutional neural network for learning, and the training model including the feature information of the target object of each training image is obtained.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program further implements the following steps when executed by the processor:

对每一所述特征信息,选取预设数量的候选感兴趣区域;For each of the feature information, select a preset number of candidate regions of interest;

对所述候选感兴趣区域进行前后景的二值分类,从预设数量的所述候选感兴趣区域筛选出所述图像的感兴趣区域。Binary classification of foreground and background is performed on the candidate regions of interest, and a region of interest of the image is selected from a preset number of the candidate regions of interest.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program further implements the following steps when executed by the processor:

所述基于所述目标对象在所述图像的覆盖区域,采用目标检测方法与阈值分割方法,在所述图像中提取所述目标对象的目标轮廓。The target contour of the target object is extracted from the image based on the coverage area of the target object in the image, using a target detection method and a threshold segmentation method.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program further implements the following steps when executed by the processor:

对提取的所述目标轮廓进行边缘处理,得到所述目标轮廓的边缘位置信息;performing edge processing on the extracted target contour to obtain edge position information of the target contour;

基于所述目标轮廓的边缘位置信息,从所述图像中提取所述目标对象。The target object is extracted from the image based on edge position information of the target contour.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program further implements the following steps when executed by the processor:

基于所述目标轮廓,获得所述图像的包含黑白二色的掩膜图像;Based on the target contour, obtain a mask image of the image including black and white;

采用Canny检测算法,对所述黑白二色的掩膜图像进行边缘处理,得到所述目标轮廓的边缘位置信息。The Canny detection algorithm is used to perform edge processing on the black and white mask image to obtain edge position information of the target contour.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program further implements the following steps when executed by the processor:

采用阈值分割方法,获取所述图像中各像素点的灰度值;Using a threshold segmentation method, the gray value of each pixel in the image is obtained;

将所述图像中各像素点的灰度值与预设灰度阈值进行比较,对所述图像中各像素点的灰度值与预设灰度阈值的比较结果进行二值化处理,得到二值化处理后的图像;Compare the grayscale value of each pixel in the image with a preset grayscale threshold, and perform binarization on the comparison result of the grayscale value of each pixel in the image and the preset grayscale threshold to obtain two The image after value processing;

基于所述目标轮廓的边缘位置信息,从二值化处理后的图像中提取所述目标对象。The target object is extracted from the binarized image based on the edge position information of the target contour.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现产品检测方法。In one embodiment, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, implements a product detection method.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (11)

1. An image target object extraction method, comprising:
acquiring an image;
inputting the image into a training model trained in advance for feature detection to obtain feature information of the image;
selecting a preset number of interested areas for each feature information;
performing foreground and background binary classification on the image containing the region of interest to obtain a foreground and background pixel value, performing classification based on a preset pixel threshold value, and obtaining a coverage area of a target object in the image from the region of interest;
obtaining a target contour of the target object in the image based on the coverage area of the target object in the image;
and extracting the target object from the image according to the target contour in the image.
2. The method of claim 1, further comprising, prior to the step of acquiring an image:
acquiring a training image;
carrying out contour calibration on a target object of the training image to generate a training sample, wherein the training sample is an image file with the contour of the target object calibrated;
and inputting the training samples into a convolutional neural network for learning to obtain the training model containing the characteristic information of the target object of each training image.
3. The method of claim 1, wherein the step of selecting a predetermined number of regions of interest for each of the feature information comprises:
selecting a preset number of candidate interesting regions for each characteristic information;
and carrying out foreground and background binary classification on the candidate interesting regions, and screening the interesting regions of the image from a preset number of the candidate interesting regions.
4. The method of claim 1, wherein the step of obtaining a target contour of the target object in the image based on a coverage area of the target object in the image comprises:
and extracting a target contour of the target object in the image by adopting a target detection method and a threshold segmentation method based on the coverage area of the target object in the image.
5. The method according to any one of claims 1-4, wherein said step of extracting said target object from said image based on a target contour in said image comprises:
performing edge processing on the extracted target contour to obtain edge position information of the target contour;
and extracting the target object from the image based on the edge position information of the target contour.
6. The method according to claim 5, wherein the step of performing edge processing on the extracted target contour to obtain edge position information of the target contour comprises:
obtaining a mask image containing black and white two colors of the image based on the target contour;
and performing edge processing on the black-white two-color mask image by adopting a Canny detection algorithm to obtain edge position information of the target contour.
7. The method of claim 5, wherein the step of extracting the target object from the image based on the edge position information of the target contour comprises:
acquiring the gray value of each pixel point in the image by adopting a threshold segmentation method;
comparing the gray value of each pixel point in the image with a preset gray threshold value, and performing binarization processing on the comparison result of the gray value of each pixel point in the image and the preset gray threshold value to obtain an image after binarization processing;
and extracting the target object from the image after the binarization processing based on the edge position information of the target contour.
8. A method of product inspection, comprising:
the image target object extraction method according to any one of claims 1 to 7, extracting a target object in a product image, obtaining image information of the target object, and judging whether the product meets a preset requirement according to the image information of the target object.
9. An image target object extraction device characterized by comprising:
the image acquisition module is used for acquiring an image;
the characteristic information acquisition module is used for inputting the image into a pre-trained training model for characteristic detection to acquire characteristic information of the image;
the interesting region obtaining module is used for selecting a preset number of interesting regions for each piece of characteristic information;
the target position information obtaining module is used for carrying out foreground and background binary classification on the image containing the region of interest to obtain a foreground and background pixel value, carrying out classification based on a preset pixel threshold value and obtaining a coverage area of a target object in the image from the region of interest;
a target contour obtaining module, configured to obtain a target contour of the target object in the image based on a coverage area of the target object in the image;
and the target object extraction module is used for extracting the target object from the image according to the target contour in the image.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202010542166.1A 2020-06-15 2020-06-15 Target object extraction method, product detection method, device, computer and medium Active CN111753692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010542166.1A CN111753692B (en) 2020-06-15 2020-06-15 Target object extraction method, product detection method, device, computer and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010542166.1A CN111753692B (en) 2020-06-15 2020-06-15 Target object extraction method, product detection method, device, computer and medium

Publications (2)

Publication Number Publication Date
CN111753692A true CN111753692A (en) 2020-10-09
CN111753692B CN111753692B (en) 2024-05-28

Family

ID=72675169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010542166.1A Active CN111753692B (en) 2020-06-15 2020-06-15 Target object extraction method, product detection method, device, computer and medium

Country Status (1)

Country Link
CN (1) CN111753692B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330598A (en) * 2020-10-14 2021-02-05 浙江华睿科技有限公司 Method and device for detecting stiff silk defects on chemical fiber surface and storage medium
CN112712077A (en) * 2020-12-30 2021-04-27 中冶赛迪重庆信息技术有限公司 Steel flow contour determination method, system, terminal and medium
CN113076907A (en) * 2021-04-16 2021-07-06 青岛海尔电冰箱有限公司 Method for identifying information of articles in refrigerator, refrigerator and computer storage medium
CN113223041A (en) * 2021-06-25 2021-08-06 上海添音生物科技有限公司 Method, system and storage medium for automatically extracting target area in image
CN113361487A (en) * 2021-07-09 2021-09-07 无锡时代天使医疗器械科技有限公司 Foreign matter detection method, device, equipment and computer readable storage medium
CN113505781A (en) * 2021-06-01 2021-10-15 北京旷视科技有限公司 Target detection method and device, electronic equipment and readable storage medium
CN113902910A (en) * 2021-12-10 2022-01-07 中国科学院自动化研究所 Vision measurement method and system
CN114789452A (en) * 2022-06-21 2022-07-26 季华实验室 Robot grabbing method and system based on machine vision
CN115170792A (en) * 2022-09-07 2022-10-11 烟台艾睿光电科技有限公司 Infrared image processing method, device and equipment and storage medium
CN115564790A (en) * 2021-07-01 2023-01-03 富泰华工业(深圳)有限公司 Target object detection method, electronic device and storage medium
CN116999053A (en) * 2023-08-29 2023-11-07 武汉联影医疗科技有限公司 Automatic detrusor thickness measuring method, system, device and storage medium
CN117132974A (en) * 2023-06-07 2023-11-28 深圳市纬安共创信息技术有限公司 Object detection methods, devices and electronic equipment based on artificial intelligence
CN117197425A (en) * 2023-08-22 2023-12-08 麦克奥迪实业集团有限公司 A method, device and electronic equipment for identifying regions of interest in stained sections
WO2024065976A1 (en) * 2022-09-28 2024-04-04 广东利元亨智能装备股份有限公司 Cell alignment degree measurement method, controller, detection system, and storage medium
CN119784672A (en) * 2024-11-15 2025-04-08 江苏优普纳科技有限公司 Camshaft end surface defect detection method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139415A (en) * 2015-09-29 2015-12-09 小米科技有限责任公司 Foreground and background segmentation method and apparatus of image, and terminal
CN109635733A (en) * 2018-12-12 2019-04-16 哈尔滨工业大学 View-based access control model conspicuousness and the modified parking lot of queue and vehicle target detection method
CN109741346A (en) * 2018-12-30 2019-05-10 上海联影智能医疗科技有限公司 Region of interest extraction method, device, device and storage medium
CN109993734A (en) * 2019-03-29 2019-07-09 北京百度网讯科技有限公司 Method and apparatus for output information
CN110490212A (en) * 2019-02-26 2019-11-22 腾讯科技(深圳)有限公司 Mammography target image processing equipment, method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139415A (en) * 2015-09-29 2015-12-09 小米科技有限责任公司 Foreground and background segmentation method and apparatus of image, and terminal
CN109635733A (en) * 2018-12-12 2019-04-16 哈尔滨工业大学 View-based access control model conspicuousness and the modified parking lot of queue and vehicle target detection method
CN109741346A (en) * 2018-12-30 2019-05-10 上海联影智能医疗科技有限公司 Region of interest extraction method, device, device and storage medium
CN110490212A (en) * 2019-02-26 2019-11-22 腾讯科技(深圳)有限公司 Mammography target image processing equipment, method and device
CN109993734A (en) * 2019-03-29 2019-07-09 北京百度网讯科技有限公司 Method and apparatus for output information

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330598A (en) * 2020-10-14 2021-02-05 浙江华睿科技有限公司 Method and device for detecting stiff silk defects on chemical fiber surface and storage medium
CN112330598B (en) * 2020-10-14 2023-07-25 浙江华睿科技股份有限公司 Method, device and storage medium for detecting stiff yarn defects on chemical fiber surface
CN112712077A (en) * 2020-12-30 2021-04-27 中冶赛迪重庆信息技术有限公司 Steel flow contour determination method, system, terminal and medium
CN112712077B (en) * 2020-12-30 2023-04-07 中冶赛迪信息技术(重庆)有限公司 Steel flow contour determination method, system, terminal and medium
CN113076907A (en) * 2021-04-16 2021-07-06 青岛海尔电冰箱有限公司 Method for identifying information of articles in refrigerator, refrigerator and computer storage medium
CN113505781A (en) * 2021-06-01 2021-10-15 北京旷视科技有限公司 Target detection method and device, electronic equipment and readable storage medium
CN113223041A (en) * 2021-06-25 2021-08-06 上海添音生物科技有限公司 Method, system and storage medium for automatically extracting target area in image
CN113223041B (en) * 2021-06-25 2024-01-12 上海添音生物科技有限公司 Method, system and storage medium for automatically extracting target area in image
CN115564790A (en) * 2021-07-01 2023-01-03 富泰华工业(深圳)有限公司 Target object detection method, electronic device and storage medium
CN113361487A (en) * 2021-07-09 2021-09-07 无锡时代天使医疗器械科技有限公司 Foreign matter detection method, device, equipment and computer readable storage medium
CN113902910A (en) * 2021-12-10 2022-01-07 中国科学院自动化研究所 Vision measurement method and system
CN114789452B (en) * 2022-06-21 2022-09-16 季华实验室 Robot grabbing method and system based on machine vision
CN114789452A (en) * 2022-06-21 2022-07-26 季华实验室 Robot grabbing method and system based on machine vision
WO2024051067A1 (en) * 2022-09-07 2024-03-14 烟台艾睿光电科技有限公司 Infrared image processing method, apparatus, and device, and storage medium
CN115170792B (en) * 2022-09-07 2023-01-10 烟台艾睿光电科技有限公司 Infrared image processing method, device and equipment, storage medium
CN115170792A (en) * 2022-09-07 2022-10-11 烟台艾睿光电科技有限公司 Infrared image processing method, device and equipment and storage medium
WO2024065976A1 (en) * 2022-09-28 2024-04-04 广东利元亨智能装备股份有限公司 Cell alignment degree measurement method, controller, detection system, and storage medium
US12573025B2 (en) 2022-09-28 2026-03-10 Guangdong Lyric Robot Automation Co., Ltd. Cell alignment metric detection method, controller, detection system and storage medium
CN117132974A (en) * 2023-06-07 2023-11-28 深圳市纬安共创信息技术有限公司 Object detection methods, devices and electronic equipment based on artificial intelligence
CN117197425A (en) * 2023-08-22 2023-12-08 麦克奥迪实业集团有限公司 A method, device and electronic equipment for identifying regions of interest in stained sections
CN116999053A (en) * 2023-08-29 2023-11-07 武汉联影医疗科技有限公司 Automatic detrusor thickness measuring method, system, device and storage medium
CN119784672A (en) * 2024-11-15 2025-04-08 江苏优普纳科技有限公司 Camshaft end surface defect detection method and system

Also Published As

Publication number Publication date
CN111753692B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
CN111753692A (en) Target object extraction method, product detection method, device, computer and medium
CN118967672B (en) Industrial defect detection method, system, device and storage medium
CN111179251B (en) Defect detection system and method based on twin neural network and by utilizing template comparison
CN110110799B (en) Cell sorting method, cell sorting device, computer equipment and storage medium
CN116596875B (en) Wafer defect detection method, device, electronic equipment and storage medium
CN113205511B (en) Electronic component batch information detection method and system based on deep neural network
EP3904866A1 (en) Defect inspecting device, defect inspecting method, and program for same
CN111815564B (en) Method and device for detecting silk ingots and silk ingot sorting system
CN117392042A (en) Defect detection method, defect detection equipment and storage medium
CN111274926B (en) Image data screening method, device, computer equipment and storage medium
CN112365497A (en) High-speed target detection method and system based on Trident Net and Cascade-RCNN structures
CN111709421B (en) Bird identification method, bird identification device, computer equipment and storage medium
WO2021000524A1 (en) Hole protection cap detection method and apparatus, computer device and storage medium
CN114998192B (en) Defect detection method, device, equipment and storage medium based on deep learning
CN120088240B (en) Improved steel surface defect detection method and device based on YOLO11n
Wah et al. Analysis on feature extraction and classification of rice kernels for Myanmar rice using image processing techniques
CN116823768B (en) A surface defect detection method and related device based on a sensor autoencoder
CN111340796A (en) A defect detection method, device, electronic device and storage medium
CN114926441A (en) Defect detection method and system for machining and molding injection molding part
CN119323567B (en) Module lens dirt detection and glue line detection method
CN112949408A (en) Real-time identification method and system for target fish passing through fish channel
CN120102589A (en) Surface defect detection method and related equipment for touch screen
CN112308010B (en) Ship shielding detection method and device based on YOLO-V3 algorithm
CN117540715A (en) Table identification method and system based on deep learning and computer vision
CN114240929B (en) A color difference detection method and device

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
GR01 Patent grant
GR01 Patent grant