WO2021082921A1 - Back cover appearance defect detection method for electronic apparatus, and apparatus - Google Patents

Back cover appearance defect detection method for electronic apparatus, and apparatus Download PDF

Info

Publication number
WO2021082921A1
WO2021082921A1 PCT/CN2020/120878 CN2020120878W WO2021082921A1 WO 2021082921 A1 WO2021082921 A1 WO 2021082921A1 CN 2020120878 W CN2020120878 W CN 2020120878W WO 2021082921 A1 WO2021082921 A1 WO 2021082921A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
backplane
image
defect
appearance
Prior art date
Application number
PCT/CN2020/120878
Other languages
French (fr)
Chinese (zh)
Inventor
徐鹏
沈圣远
常树林
姚巨虎
Original Assignee
上海悦易网络信息技术有限公司
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 上海悦易网络信息技术有限公司 filed Critical 上海悦易网络信息技术有限公司
Priority to JP2022502080A priority Critical patent/JP2022539912A/en
Publication of WO2021082921A1 publication Critical patent/WO2021082921A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]

Definitions

  • the invention relates to the field of computers, and in particular to a method and equipment for detecting defects in the appearance of an electronic device backplane.
  • the defect detection of the appearance of the back panel of second-hand electronic equipment such as mobile phones is mainly based on traditional image algorithms.
  • the detection is performed through color space conversion, filtering, feature point extraction, and pattern matching.
  • the traditional detection methods can only A defect is detected in a certain area, but the definition of the defect cannot be distinguished.
  • An object of the present invention is to provide a method and equipment for detecting the appearance defect of the backplane of an electronic device.
  • a method for detecting appearance defects of an electronic device backplane including:
  • the defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network.
  • the defect detection result includes: the type of the defect of the backplane of the electronic device, and the number of defects in the backplane of the electronic device Confidence of location and defect detection results.
  • extracting the appearance area image of the backplane of the electronic device from the appearance image of the electronic device includes:
  • the Unet instance segmentation method is used to extract the appearance area image of the backplane of the electronic device from the appearance image of the electronic device.
  • the first two layers of the backbone network adopt a res structure
  • the last two layers of the network adopt an inception structure
  • the method after receiving the output defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network, the method further includes:
  • output result information including the type of the defect of the backplane of the electronic device and the position of the defect on the backplane of the electronic device.
  • the method before inputting the backplane appearance area image into the FPN network combined with the backbone network model, the method further includes:
  • Step one preset the FPN network combined with the backbone network model and its initial model parameters
  • Step 2 Input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device.
  • the defect prediction result includes: sample electronics The type of defect on the backplane of the device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
  • Step 3 Calculate the difference between the defect prediction result and the real defect result of the sample electronic device based on a preset objective function, and identify whether the difference is greater than a second preset threshold,
  • step 4 after updating the model parameters of the FPN network combined with the backbone network based on the difference, restart execution from step 2;
  • step 5 the FPN network combined with the backbone network model with the current model parameters is used as the model of the FPN network combined with the backbone network after the training.
  • adjusting the image of the appearance area of the backplane to an image with the same length and width includes:
  • the length direction of the image of the appearance area of the backplane is scaled.
  • a device for detecting the appearance defect of the backplane of an electronic device including:
  • the first device is used to obtain the appearance image of the electronic device
  • the second device is used to extract the appearance area image of the backboard of the electronic device from the appearance image of the electronic equipment, and adjust the appearance area image of the backboard to an image with the same length and width;
  • the third device is used to input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after the training;
  • the fourth device is used to receive and output the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network.
  • the defect detection result includes: the type of the defect of the backplane of the electronic device and the defect in the electronic device. The position in the backplane of the device and the confidence level of the defect detection result.
  • the second device is used to extract the appearance area image of the backboard of the electronic device from the appearance image of the electronic device by using Unet instance segmentation.
  • the first two layers of the backbone network adopt a res structure
  • the last two layers of the network adopt an inception structure
  • the fourth device is also used to identify whether the confidence of the defect detection result is greater than a first preset threshold, and if it is greater than the first preset threshold, the output includes the back of the electronic device.
  • the result information of the type of the board defect and the position of the defect in the backplane of the electronic device is also used to identify whether the confidence of the defect detection result is greater than a first preset threshold, and if it is greater than the first preset threshold, the output includes the back of the electronic device.
  • the above-mentioned equipment further includes a fifth device, including:
  • the fifth device is used to preset the FPN network combined with the backbone network model and its initial model parameters
  • the fifth and second device is used to input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device, and the defect prediction result Including: the type of defect on the backplane of the sample electronic device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
  • the fifty-third device is configured to calculate the difference between the defect prediction result and the actual defect result of the sample electronic device based on a preset objective function, and to identify whether the difference is greater than a second preset threshold, and if the difference is Is greater than the second preset threshold, execute the fifth and fourth device, which is used to update the model parameters of the FPN network combined with the backbone network based on the difference based on the fifth and fourth device, and then restart from the fifth and second device carried out;
  • the fifth and fifth device is executed, and the model of the FPN network combined with the backbone network with the current model parameters is used as the model of the FPN network combined with the backbone network after the training is completed.
  • the second device is used to scale the longitudinal direction of the image of the appearance area of the backplane.
  • the present invention also provides a computing-based device, which includes:
  • a memory arranged to store computer-executable instructions which, when executed, cause the processor to:
  • the defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network.
  • the defect detection result includes: the type of the defect of the backplane of the electronic device and the number of defects in the backplane of the electronic device Confidence of location and defect detection results.
  • the present invention also provides a computer-readable storage medium on which computer-executable instructions are stored, wherein, when the computer-executable instructions are executed by a processor, the processor:
  • the defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network.
  • the defect detection result includes: the type of the defect of the backplane of the electronic device and the number of defects in the backplane of the electronic device Confidence of location and defect detection results.
  • the present invention obtains the appearance image of the electronic device; extracts the appearance area image of the backboard of the electronic device from the appearance image of the electronic device, and adjusts the appearance area image of the backboard to the length and width.
  • the same image input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after training; receive the output defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network
  • the defect detection result includes: the type of the defect of the backplane of the electronic device, the position of the defect in the backplane of the electronic device, and the confidence level of the defect detection result, which can accurately identify the appearance of the backplane of the electronic device of the second-hand electronic device such as a mobile phone The difference in blemishes.
  • FIG. 1 shows a flowchart of a method for detecting appearance defects of an electronic device backplane according to an embodiment of the present invention
  • Fig. 2 shows a schematic diagram of a defect detection result according to an embodiment of the present invention
  • FIG. 3 shows a schematic diagram of a model of an FPN network combined with a backbone network according to an embodiment of the present invention.
  • the terminal, the equipment of the service network, and the trusted party all include one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in a computer readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include non-transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
  • the present invention provides a method for detecting appearance defects of an electronic device backplane, the method including:
  • Step S1 obtaining an appearance image of the electronic device
  • Step S2 extracting the appearance area image of the backplane of the electronic device from the appearance image of the electronic device, and adjusting the appearance area image of the backplane to an image with the same length and width;
  • the appearance area of the back panel of the electronic device includes the back area other than the front screen area and the side area where the electronics are installed.
  • the back area is generally equipped with components such as a camera.
  • the aspect ratio of the image of the appearance area of the backplane is abnormal, which is convenient for subsequent model recognition and avoids image loss.
  • the aspect ratio of the image of the appearance area of the backplane needs to be adjusted to 1:1; step S3, the adjusted appearance area of the backplane
  • Step S4 receiving and outputting the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network.
  • the defect detection result includes: the defect type of the backplane of the electronic device and the defect on the back of the electronic device. The position in the board and the confidence level of the defect detection result.
  • the model of the FPN network combined with the backbone network can be shown in FIG. 3.
  • each defect detection result includes cls, x1, y1, x2, y2, score, where cls is the defect type, x1, y1, x2, y2 are the 4 coordinates of the position of the defect in the image of the backplane appearance area, and score is the confidence level of this defect.
  • the present invention mainly uses the improved feature pyramid (FPN) network combined with the deep learning model of the backbone network to accurately identify the difference in the appearance of the backplane of the electronic device of the second-hand electronic equipment such as the mobile phone, and can accurately distinguish the types of the defects.
  • FPN improved feature pyramid
  • step S2 extracting the appearance area image of the backplane of the electronic device from the appearance image of the electronic device includes:
  • the Unet instance segmentation method is used to extract the appearance area image of the backplane of the electronic device from the appearance image of the electronic device.
  • the appearance area image of the backplane can be obtained quickly and efficiently.
  • the first two layers of the backbone network adopt a res structure
  • the last two layers of the network adopt an inception structure
  • step S4 after receiving the output defect detection result of the appearance area of the backplane of the electronic device from the model of the FPN network combined with the backbone network, further includes:
  • output result information including the type of the defect of the backplane of the electronic device and the position of the defect on the backplane of the electronic device.
  • the types of defects on the back panel of the electronic device may include: cracks, bracket screen separation, deformation, missing chipping, large-area paint drop, small-area paint drop (deformation, depression to reveal color), depression and no change in color, deep scratches And the color is different from the surroundings, small dots and the color is different from the surroundings, chipping, etc.
  • step S3 before inputting the appearance area image of the backplane into the model of the FPN network combined with the backbone network, the method further includes:
  • Step one preset the FPN network combined with the backbone network model and its initial model parameters
  • Step 2 Input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device.
  • the defect prediction result includes: sample electronics The type of defect on the backplane of the device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
  • Step 3 Calculate the difference between the defect prediction result and the real defect result of the sample electronic device based on a preset objective function, and identify whether the difference is greater than a second preset threshold,
  • step 4 after updating the model parameters of the FPN network combined with the backbone network based on the difference, restart execution from step 2;
  • step 5 the FPN network combined with the backbone network model with the current model parameters is used as the model of the FPN network combined with the backbone network after the training.
  • the model of the FPN network combined with the backbone network is cyclically trained to obtain a reliable model.
  • adjusting the appearance area image of the backplane to an image with the same length and width includes:
  • the image of the appearance area of the backplane may be scaled to a size of 2048*2048 pixels, so as to obtain the image of the appearance area of the backplane adjusted to an image with the same length and width.
  • the present invention provides a device for detecting defects in the appearance of a backplane of an electronic device, and the device includes:
  • the first device is used to obtain the appearance image of the electronic device
  • the second device is used to extract the appearance area image of the backboard of the electronic device from the appearance image of the electronic equipment, and adjust the appearance area image of the backboard to an image with the same length and width;
  • the appearance area of the back panel of the electronic device includes side areas other than the front screen area and the back area where the electronics are arranged.
  • the side areas are generally installed with earphone holes, speakers, charging holes and other components.
  • the image of the appearance area of the backplane has an abnormal aspect ratio, which is convenient for subsequent model recognition and avoids image loss. It is necessary to adjust the aspect ratio of the image of the appearance area of the backplane to 1:1;
  • the third device is used to input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after the training;
  • the fourth device is used to receive and output the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network.
  • the defect detection result includes: the type of the defect of the backplane of the electronic device and the defect in the electronic device. The position in the backplane of the device and the confidence level of the defect detection result.
  • each defect detection result of the backplane appearance area of the electronic device received and output from the FPN network combined with the backbone network model
  • each defect detection result includes cls, x1, y1, x2, y2, score, where cls is Defect type, x1, y1, x2, y2 are the 4 coordinates of the position of the defect in the image of the back panel appearance area, and score is the confidence level of this defect.
  • the present invention mainly utilizes the improved feature pyramid (FPN) network combined with the deep learning model of the backbone network to accurately identify the difference in appearance of the electronic device backplanes of second-hand electronic devices such as mobile phones.
  • FPN improved feature pyramid
  • the second device is used to extract the appearance area image of the backplane of the electronic device from the appearance image of the electronic device by using the Unet instance segmentation method .
  • the appearance area image of the backplane can be obtained quickly and efficiently.
  • the first two layers of the backbone network adopt a res structure
  • the last two layers of the network adopt an inception structure
  • the fourth device is also used to identify whether the confidence of the defect detection result is greater than a first preset threshold, and if it is greater than the first preset Threshold, then output the result information including the defect type of the backplane of the electronic device and the position of the defect on the backplane of the electronic device.
  • the types of defects on the backplane of the electronic device may sequentially include the types of shallow scratches, hard scratches, and chipping with increasing levels.
  • a fifth device including:
  • the fifth device is used to preset the FPN network combined with the backbone network model and its initial model parameters
  • the fifth and second device is used to input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device, and the defect prediction result Including: the type of defect on the backplane of the sample electronic device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
  • the fifty-third device is configured to calculate the difference between the defect prediction result and the actual defect result of the sample electronic device based on a preset objective function, and to identify whether the difference is greater than a second preset threshold, and if the difference is Greater than the second preset threshold, execute the fifth and fourth device, which is used to update the model parameters of the FPN network combined with the backbone network based on the difference based on the fifth and fourth device, and then restart from the fifth and second device carried out;
  • the fifth and fifth device is executed, and the model of the FPN network combined with the backbone network with the current model parameters is used as the model of the FPN network combined with the backbone network after the training is completed.
  • the model of the FPN network combined with the backbone network is cyclically trained to obtain a reliable model.
  • the second device is used to scale the longitudinal direction of the image of the appearance area of the backplane.
  • the image of the appearance area of the backplane may be scaled to a size of 2048*2048 pixels, so as to obtain the image of the appearance area of the backplane adjusted to an image with the same length and width.
  • the present invention also provides a computing-based device, which includes:
  • a memory arranged to store computer-executable instructions which, when executed, cause the processor to:
  • Step S1 obtaining an appearance image of the electronic device
  • Step S2 extracting the appearance area image of the backboard of the electronic device from the appearance image of the electronic device, and adjusting the appearance area image of the backboard to an image with the same length and width;
  • Step S3 input the adjusted backplane appearance area image into the model of the FPN network after the training and the backbone network;
  • Step S4 receiving and outputting the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network.
  • the defect detection result includes: the defect type of the backplane of the electronic device and the defect on the back of the electronic device. The position in the board and the confidence level of the defect detection result.
  • the present invention also provides a computer-readable storage medium on which computer-executable instructions are stored, wherein, when the computer-executable instructions are executed by a processor, the processor:
  • Step S1 obtaining an appearance image of the electronic device
  • Step S2 extracting the appearance area image of the backboard of the electronic device from the appearance image of the electronic device, and adjusting the appearance area image of the backboard to an image with the same length and width;
  • Step S3 input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after the training;
  • Step S4 receiving and outputting the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network.
  • the defect detection result includes: the defect type of the backplane of the electronic device and the defect on the back of the electronic device. The position in the board and the confidence level of the defect detection result.
  • the present invention can be implemented in software and/or a combination of software and hardware.
  • it can be implemented by an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device.
  • the software program of the present invention may be executed by a processor to realize the steps or functions described above.
  • the software program (including related data structure) of the present invention can be stored in a computer-readable recording medium, such as a RAM memory, a magnetic or optical drive or a floppy disk and similar devices.
  • some steps or functions of the present invention may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.
  • a part of the present invention can be applied as a computer program product, such as a computer program instruction, when it is executed by a computer, through the operation of the computer, the method and/or technical solution according to the present invention can be invoked or provided.
  • the program instructions for invoking the method of the present invention may be stored in a fixed or removable recording medium, and/or transmitted through a data stream in a broadcast or other signal-bearing medium, and/or stored in accordance with the Said program instructions run in the working memory of the computer equipment.
  • an embodiment according to the present invention includes a device including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, trigger
  • the operation of the device is based on the aforementioned methods and/or technical solutions according to multiple embodiments of the present invention.

Abstract

Provided are a back cover appearance defect detection method for an electronic apparatus and an apparatus. The invention comprises: acquiring an appearance image of an electronic apparatus; extracting a back cover appearance region image of the electronic apparatus from the appearance image thereof, and adjusting the back cover appearance region image to be an image having an equal length and width; inputting the adjusted back cover appearance region image into a trained model combining an FPN network and a backbone network; and receiving a defect detection result of a back cover appearance region of the electronic apparatus from the model combining the FPN network and the backbone network, wherein the defect detection result comprises a defect type of a back cover of the electronic apparatus, a position of a defect in the back cover of the electronic apparatus, and a confidence level of the defect detection result. The invention accurately identifies appearance defect differences of electronic apparatus back covers of second-handed electronic apparatuses, such as mobile phones.

Description

电子设备背板外观瑕疵检测方法及设备Method and equipment for detecting appearance defect of electronic equipment backplane 技术领域Technical field
本发明涉及计算机领域,尤其涉及一种电子设备背板外观瑕疵检测方法及设备。The invention relates to the field of computers, and in particular to a method and equipment for detecting defects in the appearance of an electronic device backplane.
背景技术Background technique
目前在二手电子设备如手机等的电子设备背板外观的缺陷检测这块主要基于传统图像算法,通过颜色空间变换、滤波、特征点提取、模式匹配的方式进行检测,基于传统的检测方法只能检测出某个区域有缺陷,但是对于缺陷的定义没法区分。At present, the defect detection of the appearance of the back panel of second-hand electronic equipment such as mobile phones is mainly based on traditional image algorithms. The detection is performed through color space conversion, filtering, feature point extraction, and pattern matching. The traditional detection methods can only A defect is detected in a certain area, but the definition of the defect cannot be distinguished.
发明内容Summary of the invention
本发明的一个目的是提供一种电子设备背板外观瑕疵检测方法及设备。An object of the present invention is to provide a method and equipment for detecting the appearance defect of the backplane of an electronic device.
根据本发明的一个方面,提供了一种电子设备背板外观瑕疵检测方法,该方法包括:According to one aspect of the present invention, there is provided a method for detecting appearance defects of an electronic device backplane, the method including:
获取电子设备的外观图像;Obtain the appearance image of the electronic device;
从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Extracting an image of the appearance area of the back panel of the electronic device from the appearance image of the electronic device, and adjusting the image of the appearance area of the back panel to an image with the same length and width;
将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;Input the adjusted backplane appearance area image into the model of the FPN network after training and the backbone network;
从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。The defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network. The defect detection result includes: the type of the defect of the backplane of the electronic device, and the number of defects in the backplane of the electronic device Confidence of location and defect detection results.
进一步的,上述方法中,从所述电子设备的外观图像中提取该电子设 备的背板外观区域图像,包括:Further, in the above method, extracting the appearance area image of the backplane of the electronic device from the appearance image of the electronic device includes:
采用Unet实例分割的方式,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像。The Unet instance segmentation method is used to extract the appearance area image of the backplane of the electronic device from the appearance image of the electronic device.
进一步的,上述方法中,所述backbone网络的前2层采用res结构,网络的后2层采用inception结构。Further, in the above method, the first two layers of the backbone network adopt a res structure, and the last two layers of the network adopt an inception structure.
进一步的,上述方法中,从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果之后,还包括:Further, in the above method, after receiving the output defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network, the method further includes:
识别所述瑕疵检测结果的置信度是否大于第一预设阈值,Identifying whether the confidence level of the defect detection result is greater than a first preset threshold,
若大于所述第一预设阈值,则输出包括电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置的结果信息。If it is greater than the first preset threshold, output result information including the type of the defect of the backplane of the electronic device and the position of the defect on the backplane of the electronic device.
进一步的,上述方法中,将所述背板外观区域图像输入FPN网络结合backbone网络的模型之前,还包括:Further, in the above method, before inputting the backplane appearance area image into the FPN network combined with the backbone network model, the method further includes:
步骤一,预设FPN网络结合backbone网络的模型及其初始的模型参数;Step one, preset the FPN network combined with the backbone network model and its initial model parameters;
步骤二,将样本电子设备的背板外观区域图像输入带有当前的模型参数的FPN网络结合backbone网络的模型,得到样本电子设备的背板的瑕疵预测结果,所述瑕疵预测结果包括:样本电子设备的背板的瑕疵种类、瑕疵在样本电子设备的背板中的位置和瑕疵检测结果的置信度;Step 2: Input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device. The defect prediction result includes: sample electronics The type of defect on the backplane of the device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
步骤三,基于预设目标函数计算所述瑕疵预测结果与样本电子设备的真实瑕疵结果之间的差值,识别所述差值是否大于第二预设阈,Step 3: Calculate the difference between the defect prediction result and the real defect result of the sample electronic device based on a preset objective function, and identify whether the difference is greater than a second preset threshold,
若所述差值大于第二预设阈值,则步骤四,基于所述差值更新所述FPN网络结合backbone网络的模型参数后,重新从步骤二开始执行;If the difference is greater than the second preset threshold, step 4, after updating the model parameters of the FPN network combined with the backbone network based on the difference, restart execution from step 2;
若所述差值小于等于第二预设阈值,则步骤五,将带有当前的模型参数的FPN网络结合backbone网络的模型作为训练结束后的FPN网络结合backbone网络的模型。If the difference is less than or equal to the second preset threshold, step 5, the FPN network combined with the backbone network model with the current model parameters is used as the model of the FPN network combined with the backbone network after the training.
进一步的,上述方法中,将所述背板外观区域图像调整为长度和宽度 相同的图像,包括:Further, in the above method, adjusting the image of the appearance area of the backplane to an image with the same length and width includes:
将所述背板外观区域图像的长度方向进行缩放。The length direction of the image of the appearance area of the backplane is scaled.
根据本发明的另一方面,还提供了一种电子设备背板外观瑕疵检测设备,该设备包括:According to another aspect of the present invention, there is also provided a device for detecting the appearance defect of the backplane of an electronic device, the device including:
第一装置,用于获取电子设备的外观图像;The first device is used to obtain the appearance image of the electronic device;
第二装置,用于从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;The second device is used to extract the appearance area image of the backboard of the electronic device from the appearance image of the electronic equipment, and adjust the appearance area image of the backboard to an image with the same length and width;
第三装置,用于将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;The third device is used to input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after the training;
第四装置,用于从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。The fourth device is used to receive and output the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network. The defect detection result includes: the type of the defect of the backplane of the electronic device and the defect in the electronic device. The position in the backplane of the device and the confidence level of the defect detection result.
进一步的,上述设备中,所述第二装置,用于采用Unet实例分割的方式,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像。Further, in the above-mentioned device, the second device is used to extract the appearance area image of the backboard of the electronic device from the appearance image of the electronic device by using Unet instance segmentation.
进一步的,上述设备中,所述backbone网络的前2层采用res结构,网络的后2层采用inception结构。Further, in the above device, the first two layers of the backbone network adopt a res structure, and the last two layers of the network adopt an inception structure.
进一步的,上述设备中,所述第四装置,还用于识别所述瑕疵检测结果的置信度是否大于第一预设阈值,若大于所述第一预设阈值,则输出包括电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置的结果信息。Further, in the above-mentioned device, the fourth device is also used to identify whether the confidence of the defect detection result is greater than a first preset threshold, and if it is greater than the first preset threshold, the output includes the back of the electronic device. The result information of the type of the board defect and the position of the defect in the backplane of the electronic device.
进一步的,上述设备中,还包括第五装置,包括:Further, the above-mentioned equipment further includes a fifth device, including:
第五一装置,用于预设FPN网络结合backbone网络的模型及其初始的模型参数;The fifth device is used to preset the FPN network combined with the backbone network model and its initial model parameters;
第五二装置,用于将样本电子设备的背板外观区域图像输入带有当前的模型参数的FPN网络结合backbone网络的模型,得到样本电子设备的背板的瑕疵预测结果,所述瑕疵预测结果包括:样本电子设备的背板的瑕疵种类、瑕疵在样本电子设备的背板中的位置和瑕疵检测结果的置信度;The fifth and second device is used to input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device, and the defect prediction result Including: the type of defect on the backplane of the sample electronic device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
第五三装置,用于基于预设目标函数计算所述瑕疵预测结果与样本电子设备的真实瑕疵结果之间的差值,识别所述差值是否大于第二预设阈,若所述差值大于第二预设阈值,则执行第五四装置,用于基于行第五四装置,用于基于所述差值更新所述FPN网络结合backbone网络的模型参数后,重新从第五二装置开始执行;The fifty-third device is configured to calculate the difference between the defect prediction result and the actual defect result of the sample electronic device based on a preset objective function, and to identify whether the difference is greater than a second preset threshold, and if the difference is Is greater than the second preset threshold, execute the fifth and fourth device, which is used to update the model parameters of the FPN network combined with the backbone network based on the difference based on the fifth and fourth device, and then restart from the fifth and second device carried out;
若所述差值小于等于第二预设阈值,则执行第五五装置,将带有当前的模型参数的FPN网络结合backbone网络的模型作为训练结束后的FPN网络结合backbone网络的模型。If the difference is less than or equal to the second preset threshold, the fifth and fifth device is executed, and the model of the FPN network combined with the backbone network with the current model parameters is used as the model of the FPN network combined with the backbone network after the training is completed.
进一步的,上述设备中,所述第二装置,用于将所述背板外观区域图像的长度方向进行缩放。Further, in the above-mentioned equipment, the second device is used to scale the longitudinal direction of the image of the appearance area of the backplane.
本发明还提供一种基于计算的设备,其中,包括:The present invention also provides a computing-based device, which includes:
处理器;以及Processor; and
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
获取电子设备的外观图像;Obtain the appearance image of the electronic device;
从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Extracting an image of the appearance area of the back panel of the electronic device from the appearance image of the electronic device, and adjusting the image of the appearance area of the back panel to an image with the same length and width;
将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;Input the adjusted backplane appearance area image into the model of the FPN network after training and the backbone network;
从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的 瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。The defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network. The defect detection result includes: the type of the defect of the backplane of the electronic device and the number of defects in the backplane of the electronic device Confidence of location and defect detection results.
本发明还提供一种计算机可读存储介质,其上存储有计算机可执行指令,其中,该计算机可执行指令被处理器执行时使得该处理器:The present invention also provides a computer-readable storage medium on which computer-executable instructions are stored, wherein, when the computer-executable instructions are executed by a processor, the processor:
获取电子设备的外观图像;Obtain the appearance image of the electronic device;
从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Extracting an image of the appearance area of the back panel of the electronic device from the appearance image of the electronic device, and adjusting the image of the appearance area of the back panel to an image with the same length and width;
将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;Input the adjusted backplane appearance area image into the model of the FPN network after training and the backbone network;
从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。The defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network. The defect detection result includes: the type of the defect of the backplane of the electronic device and the number of defects in the backplane of the electronic device Confidence of location and defect detection results.
与现有技术相比,本发明通过获取电子设备的外观图像;从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度,能够准确地识别二手电子设备如手机的电子设备背板外观的瑕疵差异。Compared with the prior art, the present invention obtains the appearance image of the electronic device; extracts the appearance area image of the backboard of the electronic device from the appearance image of the electronic device, and adjusts the appearance area image of the backboard to the length and width. The same image; input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after training; receive the output defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network The defect detection result includes: the type of the defect of the backplane of the electronic device, the position of the defect in the backplane of the electronic device, and the confidence level of the defect detection result, which can accurately identify the appearance of the backplane of the electronic device of the second-hand electronic device such as a mobile phone The difference in blemishes.
附图说明Description of the drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes and advantages of the present invention will become more apparent:
图1示出本发明一实施例的电子设备背板外观瑕疵检测方法的流程图;FIG. 1 shows a flowchart of a method for detecting appearance defects of an electronic device backplane according to an embodiment of the present invention;
图2示出本发明一实施例的瑕疵检测结果的示意图;Fig. 2 shows a schematic diagram of a defect detection result according to an embodiment of the present invention;
图3示出本发明一实施例的FPN网络结合backbone网络的模型的示意图。FIG. 3 shows a schematic diagram of a model of an FPN network combined with a backbone network according to an embodiment of the present invention.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference signs in the drawings represent the same or similar components.
具体实施方式Detailed ways
下面结合附图对本发明作进一步详细描述。The present invention will be described in further detail below in conjunction with the accompanying drawings.
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of this application, the terminal, the equipment of the service network, and the trusted party all include one or more processors (CPU), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in a computer readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include non-transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
本发明提供一种电子设备背板外观瑕疵检测方法,所述方法包括:The present invention provides a method for detecting appearance defects of an electronic device backplane, the method including:
步骤S1,获取电子设备的外观图像;Step S1, obtaining an appearance image of the electronic device;
步骤S2,从所述电子设备的外观图像中提取该电子设备的背板外观区 域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Step S2, extracting the appearance area image of the backplane of the electronic device from the appearance image of the electronic device, and adjusting the appearance area image of the backplane to an image with the same length and width;
在此,电子设备的背板外观区域包括除电子设置在正面屏幕区域和侧面区域之外的背面区域,该背面区域一般安装有摄像头等部件。Here, the appearance area of the back panel of the electronic device includes the back area other than the front screen area and the side area where the electronics are installed. The back area is generally equipped with components such as a camera.
背板外观区域图像存在长宽比异常的情况,便于后续模型识别,避免图像损失,需要将背板外观区域图像的长宽比调整为1:1;步骤S3,将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;The aspect ratio of the image of the appearance area of the backplane is abnormal, which is convenient for subsequent model recognition and avoids image loss. The aspect ratio of the image of the appearance area of the backplane needs to be adjusted to 1:1; step S3, the adjusted appearance area of the backplane The model of FPN network combined with backbone network after image input training;
步骤S4,从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。Step S4, receiving and outputting the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network. The defect detection result includes: the defect type of the backplane of the electronic device and the defect on the back of the electronic device. The position in the board and the confidence level of the defect detection result.
所述FPN网络结合backbone网络的模型可如图3所示。The model of the FPN network combined with the backbone network can be shown in FIG. 3.
在此,从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,如图2所示,每个瑕疵检测结果包含cls,x1,y1,x2,y2,score,其中,cls是缺陷类型,x1,y1,x2,y2是背板外观区域图像中瑕疵所在位置的4个坐标,score为这个瑕疵的置信度。Here, the defect detection results of the backplane appearance area of the electronic device received and output from the FPN network combined with the backbone network model, as shown in Figure 2, each defect detection result includes cls, x1, y1, x2, y2, score, where cls is the defect type, x1, y1, x2, y2 are the 4 coordinates of the position of the defect in the image of the backplane appearance area, and score is the confidence level of this defect.
本发明主要利用改进的特征金字塔(FPN)网络结合backbone网络的深度学习模型,能够准确地识别二手电子设备如手机的电子设备背板外观的瑕疵差异,对瑕疵种类能够准确区分。The present invention mainly uses the improved feature pyramid (FPN) network combined with the deep learning model of the backbone network to accurately identify the difference in the appearance of the backplane of the electronic device of the second-hand electronic equipment such as the mobile phone, and can accurately distinguish the types of the defects.
本发明的电子设备背板外观瑕疵检测方法一实施例中,步骤S2,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,包括:In an embodiment of the method for detecting the appearance defect of the backplane of an electronic device of the present invention, step S2, extracting the appearance area image of the backplane of the electronic device from the appearance image of the electronic device includes:
采用Unet实例分割的方式,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像。The Unet instance segmentation method is used to extract the appearance area image of the backplane of the electronic device from the appearance image of the electronic device.
在此,通过Unet实例分割,能够快速高效的得到背板外观区域图像。Here, through Unet instance segmentation, the appearance area image of the backplane can be obtained quickly and efficiently.
本发明的电子设备背板外观瑕疵检测方法一实施例中,所述backbone 网络的前2层采用res结构,网络的后2层采用inception结构。In an embodiment of the method for detecting the appearance defect of the backplane of an electronic device of the present invention, the first two layers of the backbone network adopt a res structure, and the last two layers of the network adopt an inception structure.
本发明的电子设备背板外观瑕疵检测方法一实施例中,步骤S4,从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果之后,还包括:In an embodiment of the method for detecting the appearance defect of the backplane of an electronic device of the present invention, step S4, after receiving the output defect detection result of the appearance area of the backplane of the electronic device from the model of the FPN network combined with the backbone network, further includes:
识别所述瑕疵检测结果的置信度是否大于第一预设阈值,Identifying whether the confidence level of the defect detection result is greater than a first preset threshold,
若大于所述第一预设阈值,则输出包括电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置的结果信息。If it is greater than the first preset threshold, output result information including the type of the defect of the backplane of the electronic device and the position of the defect on the backplane of the electronic device.
在此,电子设备背板的瑕疵种类可以包括:裂缝、支架屏幕分离、变形、碎裂缺失、大面积掉漆、小面积掉漆(变形,凹陷露出颜色)、凹陷且不变色、划痕深且颜色与周围不一样、小点且颜色与周围不一样、碎裂等等。Here, the types of defects on the back panel of the electronic device may include: cracks, bracket screen separation, deformation, missing chipping, large-area paint drop, small-area paint drop (deformation, depression to reveal color), depression and no change in color, deep scratches And the color is different from the surroundings, small dots and the color is different from the surroundings, chipping, etc.
本实施例通过识别所述瑕疵检测结果的置信度,可以从瑕疵检测结果中筛选出可靠的结果进行输出。In this embodiment, by identifying the confidence level of the defect detection result, reliable results can be screened out from the defect detection results for output.
本发明的电子设备背板外观瑕疵检测方法一实施例中,步骤S3,将所述背板外观区域图像输入FPN网络结合backbone网络的模型之前,还包括:In an embodiment of the method for detecting the appearance defect of the backplane of an electronic device of the present invention, in step S3, before inputting the appearance area image of the backplane into the model of the FPN network combined with the backbone network, the method further includes:
步骤一,预设FPN网络结合backbone网络的模型及其初始的模型参数;Step one, preset the FPN network combined with the backbone network model and its initial model parameters;
步骤二,将样本电子设备的背板外观区域图像输入带有当前的模型参数的FPN网络结合backbone网络的模型,得到样本电子设备的背板的瑕疵预测结果,所述瑕疵预测结果包括:样本电子设备的背板的瑕疵种类、瑕疵在样本电子设备的背板中的位置和瑕疵检测结果的置信度;Step 2: Input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device. The defect prediction result includes: sample electronics The type of defect on the backplane of the device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
步骤三,基于预设目标函数计算所述瑕疵预测结果与样本电子设备的真实瑕疵结果之间的差值,识别所述差值是否大于第二预设阈,Step 3: Calculate the difference between the defect prediction result and the real defect result of the sample electronic device based on a preset objective function, and identify whether the difference is greater than a second preset threshold,
若所述差值大于第二预设阈值,则步骤四,基于所述差值更新所述FPN网络结合backbone网络的模型参数后,重新从步骤二开始执行;If the difference is greater than the second preset threshold, step 4, after updating the model parameters of the FPN network combined with the backbone network based on the difference, restart execution from step 2;
若所述差值小于等于第二预设阈值,则步骤五,将带有当前的模型参数的FPN网络结合backbone网络的模型作为训练结束后的FPN网络结合backbone网络的模型。If the difference is less than or equal to the second preset threshold, step 5, the FPN network combined with the backbone network model with the current model parameters is used as the model of the FPN network combined with the backbone network after the training.
在此,通过识别所述差值是否大于第二预设阈,来循环训练FPN网络结合backbone网络的模型,能够得到可靠的模型。Here, by identifying whether the difference is greater than the second preset threshold, the model of the FPN network combined with the backbone network is cyclically trained to obtain a reliable model.
本发明的电子设备背板外观瑕疵检测方法一实施例中,将所述背板外观区域图像调整为长度和宽度相同的图像,包括:In an embodiment of the method for detecting the appearance defect of the backplane of an electronic device of the present invention, adjusting the appearance area image of the backplane to an image with the same length and width includes:
将所述背板外观区域图像的长度方向进行缩放。Scale the length direction of the image of the appearance area of the backplane.
在此,可以将背板外观区域图像缩放到2048*2048像素大小,以得到所述背板外观区域图像调整为长度和宽度相同的图像。Here, the image of the appearance area of the backplane may be scaled to a size of 2048*2048 pixels, so as to obtain the image of the appearance area of the backplane adjusted to an image with the same length and width.
本发明提供一种电子设备背板外观瑕疵检测设备,所述设备包括:The present invention provides a device for detecting defects in the appearance of a backplane of an electronic device, and the device includes:
第一装置,用于获取电子设备的外观图像;The first device is used to obtain the appearance image of the electronic device;
第二装置,用于从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;The second device is used to extract the appearance area image of the backboard of the electronic device from the appearance image of the electronic equipment, and adjust the appearance area image of the backboard to an image with the same length and width;
在此,电子设备的背板外观区域包括除电子设置在正面屏幕区域和背面区域的侧面区域,该侧面区域一般安装的耳机孔、扬声器、充电孔等部件。Here, the appearance area of the back panel of the electronic device includes side areas other than the front screen area and the back area where the electronics are arranged. The side areas are generally installed with earphone holes, speakers, charging holes and other components.
背板外观区域图像存在长宽比异常的情况,便于后续模型识别,避免图像损失,需要将背板外观区域图像的长宽比调整为1:1;The image of the appearance area of the backplane has an abnormal aspect ratio, which is convenient for subsequent model recognition and avoids image loss. It is necessary to adjust the aspect ratio of the image of the appearance area of the backplane to 1:1;
第三装置,用于将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;The third device is used to input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after the training;
第四装置,用于从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。The fourth device is used to receive and output the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network. The defect detection result includes: the type of the defect of the backplane of the electronic device and the defect in the electronic device. The position in the backplane of the device and the confidence level of the defect detection result.
在此,从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,每个瑕疵检测结果包含cls,x1,y1,x2,y2,score,其中,cls是缺陷类型,x1,y1,x2,y2是背板外观区域图像中瑕疵所在位置的4个坐标,score为这个瑕疵的置信度。Here, the defect detection result of the backplane appearance area of the electronic device received and output from the FPN network combined with the backbone network model, each defect detection result includes cls, x1, y1, x2, y2, score, where cls is Defect type, x1, y1, x2, y2 are the 4 coordinates of the position of the defect in the image of the back panel appearance area, and score is the confidence level of this defect.
本发明主要利用改进的特征金字塔(FPN)网络结合backbone网络的深度学习模型,能够准确地识别二手电子设备如手机的电子设备背板外观差异。The present invention mainly utilizes the improved feature pyramid (FPN) network combined with the deep learning model of the backbone network to accurately identify the difference in appearance of the electronic device backplanes of second-hand electronic devices such as mobile phones.
本发明的电子设备背板外观瑕疵检测方法一实施例中,所述第二装置,用于采用Unet实例分割的方式,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像。In an embodiment of the method for detecting the appearance defect of the backplane of an electronic device of the present invention, the second device is used to extract the appearance area image of the backplane of the electronic device from the appearance image of the electronic device by using the Unet instance segmentation method .
在此,通过Unet实例分割,能够快速高效的得到背板外观区域图像。Here, through Unet instance segmentation, the appearance area image of the backplane can be obtained quickly and efficiently.
本发明的电子设备背板外观瑕疵检测方法一实施例中,所述backbone网络的前2层采用res结构,网络的后2层采用inception结构。In an embodiment of the method for detecting the appearance defect of the backplane of an electronic device of the present invention, the first two layers of the backbone network adopt a res structure, and the last two layers of the network adopt an inception structure.
本发明的电子设备背板外观瑕疵检测方法一实施例中,所述第四装置,还用于识别所述瑕疵检测结果的置信度是否大于第一预设阈值,若大于所述第一预设阈值,则输出包括电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置的结果信息。In an embodiment of the method for detecting the appearance defect of an electronic device backplane of the present invention, the fourth device is also used to identify whether the confidence of the defect detection result is greater than a first preset threshold, and if it is greater than the first preset Threshold, then output the result information including the defect type of the backplane of the electronic device and the position of the defect on the backplane of the electronic device.
在此,电子设备背板的瑕疵种类可以依次包括等级依次增加的浅划痕、硬划痕和碎裂种类。Here, the types of defects on the backplane of the electronic device may sequentially include the types of shallow scratches, hard scratches, and chipping with increasing levels.
本实施例通过识别所述瑕疵检测结果的置信度,可以从瑕疵检测结果中筛选出可靠的结果进行输出。In this embodiment, by identifying the confidence level of the defect detection result, reliable results can be screened out from the defect detection results for output.
本发明的电子设备背板外观瑕疵检测方法一实施例中,还包括第五装置,包括:In an embodiment of the method for detecting appearance defects of an electronic device backplane of the present invention, it further includes a fifth device, including:
第五一装置,用于预设FPN网络结合backbone网络的模型及其初始的模型参数;The fifth device is used to preset the FPN network combined with the backbone network model and its initial model parameters;
第五二装置,用于将样本电子设备的背板外观区域图像输入带有当前 的模型参数的FPN网络结合backbone网络的模型,得到样本电子设备的背板的瑕疵预测结果,所述瑕疵预测结果包括:样本电子设备的背板的瑕疵种类、瑕疵在样本电子设备的背板中的位置和瑕疵检测结果的置信度;The fifth and second device is used to input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device, and the defect prediction result Including: the type of defect on the backplane of the sample electronic device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
第五三装置,用于基于预设目标函数计算所述瑕疵预测结果与样本电子设备的真实瑕疵结果之间的差值,识别所述差值是否大于第二预设阈,若所述差值大于第二预设阈值,则执行第五四装置,用于基于行第五四装置,用于基于所述差值更新所述FPN网络结合backbone网络的模型参数后,重新从第五二装置开始执行;The fifty-third device is configured to calculate the difference between the defect prediction result and the actual defect result of the sample electronic device based on a preset objective function, and to identify whether the difference is greater than a second preset threshold, and if the difference is Greater than the second preset threshold, execute the fifth and fourth device, which is used to update the model parameters of the FPN network combined with the backbone network based on the difference based on the fifth and fourth device, and then restart from the fifth and second device carried out;
若所述差值小于等于第二预设阈值,则执行第五五装置,将带有当前的模型参数的FPN网络结合backbone网络的模型作为训练结束后的FPN网络结合backbone网络的模型。If the difference is less than or equal to the second preset threshold, the fifth and fifth device is executed, and the model of the FPN network combined with the backbone network with the current model parameters is used as the model of the FPN network combined with the backbone network after the training is completed.
在此,通过识别所述差值是否大于第二预设阈,来循环训练FPN网络结合backbone网络的模型,能够得到可靠的模型。Here, by identifying whether the difference is greater than the second preset threshold, the model of the FPN network combined with the backbone network is cyclically trained to obtain a reliable model.
本发明的电子设备背板外观瑕疵检测方法一实施例中,所述第二装置,用于将所述背板外观区域图像的长度方向进行缩放。In an embodiment of the method for detecting the appearance defect of the backplane of an electronic device of the present invention, the second device is used to scale the longitudinal direction of the image of the appearance area of the backplane.
在此,可以将背板外观区域图像缩放到2048*2048像素大小,以得到所述背板外观区域图像调整为长度和宽度相同的图像。Here, the image of the appearance area of the backplane may be scaled to a size of 2048*2048 pixels, so as to obtain the image of the appearance area of the backplane adjusted to an image with the same length and width.
本发明还提供一种基于计算的设备,其中,包括:The present invention also provides a computing-based device, which includes:
处理器;以及Processor; and
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
步骤S1,获取电子设备的外观图像;Step S1, obtaining an appearance image of the electronic device;
步骤S2,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Step S2, extracting the appearance area image of the backboard of the electronic device from the appearance image of the electronic device, and adjusting the appearance area image of the backboard to an image with the same length and width;
步骤S3,将调整后的背板外观区域图像输入训练结束后的FPN网络结 合backbone网络的模型;Step S3, input the adjusted backplane appearance area image into the model of the FPN network after the training and the backbone network;
步骤S4,从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。Step S4, receiving and outputting the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network. The defect detection result includes: the defect type of the backplane of the electronic device and the defect on the back of the electronic device. The position in the board and the confidence level of the defect detection result.
本发明还提供一种计算机可读存储介质,其上存储有计算机可执行指令,其中,该计算机可执行指令被处理器执行时使得该处理器:The present invention also provides a computer-readable storage medium on which computer-executable instructions are stored, wherein, when the computer-executable instructions are executed by a processor, the processor:
步骤S1,获取电子设备的外观图像;Step S1, obtaining an appearance image of the electronic device;
步骤S2,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Step S2, extracting the appearance area image of the backboard of the electronic device from the appearance image of the electronic device, and adjusting the appearance area image of the backboard to an image with the same length and width;
步骤S3,将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;Step S3, input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after the training;
步骤S4,从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。Step S4, receiving and outputting the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network. The defect detection result includes: the defect type of the backplane of the electronic device and the defect on the back of the electronic device. The position in the board and the confidence level of the defect detection result.
本发明的各设备和存储介质实施例的详细内容,具体可参见各方法实施例的对应部分,在此,不再赘述。For details of the device and storage medium embodiments of the present invention, please refer to the corresponding parts of the method embodiments for details, which will not be repeated here.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.
需要注意的是,本发明可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本发明的软件程序可以通过处理器执行以实现上 文所述步骤或功能。同样地,本发明的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本发明的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present invention can be implemented in software and/or a combination of software and hardware. For example, it can be implemented by an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In an embodiment, the software program of the present invention may be executed by a processor to realize the steps or functions described above. Similarly, the software program (including related data structure) of the present invention can be stored in a computer-readable recording medium, such as a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present invention may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.
另外,本发明的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本发明的方法和/或技术方案。而调用本发明的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本发明的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本发明的多个实施例的方法和/或技术方案。In addition, a part of the present invention can be applied as a computer program product, such as a computer program instruction, when it is executed by a computer, through the operation of the computer, the method and/or technical solution according to the present invention can be invoked or provided. The program instructions for invoking the method of the present invention may be stored in a fixed or removable recording medium, and/or transmitted through a data stream in a broadcast or other signal-bearing medium, and/or stored in accordance with the Said program instructions run in the working memory of the computer equipment. Here, an embodiment according to the present invention includes a device including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, trigger The operation of the device is based on the aforementioned methods and/or technical solutions according to multiple embodiments of the present invention.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description, and therefore it is intended to fall into the claims. All changes within the meaning and scope of the equivalent elements of are included in the present invention. Any reference signs in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claims can also be implemented by one unit or device through software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.

Claims (14)

  1. 一种电子设备背板外观瑕疵检测方法,其中,该方法包括:A method for detecting appearance defects of an electronic device backplane, wherein the method includes:
    获取电子设备的外观图像;Obtain the appearance image of the electronic device;
    从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Extracting an image of the appearance area of the back panel of the electronic device from the appearance image of the electronic device, and adjusting the image of the appearance area of the back panel to an image with the same length and width;
    将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;Input the adjusted backplane appearance area image into the model of the FPN network after training and the backbone network;
    从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。The defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network. The defect detection result includes: the type of the defect of the backplane of the electronic device and the number of defects in the backplane of the electronic device Confidence of location and defect detection results.
  2. 根据权利要求1所述的方法,其中,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,包括:The method according to claim 1, wherein extracting the appearance area image of the backplane of the electronic device from the appearance image of the electronic device comprises:
    采用Unet实例分割的方式,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像。The Unet instance segmentation method is used to extract the appearance area image of the backplane of the electronic device from the appearance image of the electronic device.
  3. 根据权利要求1所述的方法,其中,所述backbone网络的前2层采用res结构,网络的后2层采用inception结构。The method according to claim 1, wherein the first two layers of the backbone network adopt a res structure, and the last two layers of the network adopt an inception structure.
  4. 根据权利要求1所述的方法,其中,从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果之后,还包括:The method according to claim 1, wherein after receiving the output of the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network, the method further comprises:
    识别所述瑕疵检测结果的置信度是否大于第一预设阈值,Identifying whether the confidence level of the defect detection result is greater than a first preset threshold,
    若大于所述第一预设阈值,则输出包括电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置的结果信息。If it is greater than the first preset threshold, output result information including the type of the defect of the backplane of the electronic device and the position of the defect on the backplane of the electronic device.
  5. 根据权利要求1所述的方法,其中,将所述背板外观区域图像输入FPN网络结合backbone网络的模型之前,还包括:The method according to claim 1, wherein before inputting the image of the appearance area of the backplane into the FPN network combined with the backbone network model, the method further comprises:
    步骤一,预设FPN网络结合backbone网络的模型及其初始的模型参 数;Step one: preset the FPN network combined with the backbone network model and its initial model parameters;
    步骤二,将样本电子设备的背板外观区域图像输入带有当前的模型参数的FPN网络结合backbone网络的模型,得到样本电子设备的背板的瑕疵预测结果,所述瑕疵预测结果包括:样本电子设备的背板的瑕疵种类、瑕疵在样本电子设备的背板中的位置和瑕疵检测结果的置信度;Step 2: Input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device. The defect prediction result includes: sample electronics The type of defect on the backplane of the device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
    步骤三,基于预设目标函数计算所述瑕疵预测结果与样本电子设备的真实瑕疵结果之间的差值,识别所述差值是否大于第二预设阈,Step 3: Calculate the difference between the defect prediction result and the real defect result of the sample electronic device based on a preset objective function, and identify whether the difference is greater than a second preset threshold,
    若所述差值大于第二预设阈值,则步骤四,基于所述差值更新所述FPN网络结合backbone网络的模型参数后,重新从步骤二开始执行;If the difference is greater than the second preset threshold, step 4, after updating the model parameters of the FPN network combined with the backbone network based on the difference, restart execution from step 2;
    若所述差值小于等于第二预设阈值,则步骤五,将带有当前的模型参数的FPN网络结合backbone网络的模型作为训练结束后的FPN网络结合backbone网络的模型。If the difference is less than or equal to the second preset threshold, step 5, the FPN network combined with the backbone network model with the current model parameters is used as the model of the FPN network combined with the backbone network after the training.
  6. 根据权利要求1所述的方法,其中,将所述背板外观区域图像调整为长度和宽度相同的图像,包括:The method according to claim 1, wherein adjusting the image of the appearance area of the backplane to an image with the same length and width comprises:
    将所述背板外观区域图像的长度方向进行缩放。Scale the length direction of the image of the appearance area of the backplane.
  7. 一种电子设备背板外观瑕疵检测设备,其中,该设备包括:An electronic device backplane appearance defect detection device, wherein the device includes:
    第一装置,用于获取电子设备的外观图像;The first device is used to obtain the appearance image of the electronic device;
    第二装置,用于从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;The second device is used to extract the appearance area image of the backboard of the electronic device from the appearance image of the electronic equipment, and adjust the appearance area image of the backboard to an image with the same length and width;
    第三装置,用于将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;The third device is used to input the adjusted backplane appearance area image into the model of the FPN network combined with the backbone network after the training;
    第四装置,用于从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结 果的置信度。The fourth device is used to receive and output the defect detection result of the backplane appearance area of the electronic device from the model of the FPN network combined with the backbone network, and the defect detection result includes: the defect type of the backplane of the electronic device and the defect in the electronic device. The position in the backplane of the device and the confidence level of the defect detection result.
  8. 根据权利要求7所述的装置,其中,所述第二装置,用于采用Unet实例分割的方式,从所述电子设备的外观图像中提取该电子设备的背板外观区域图像。7. The device according to claim 7, wherein the second device is configured to extract the appearance area image of the backboard of the electronic device from the appearance image of the electronic device by using Unet instance segmentation.
  9. 根据权利要求7所述的装置,其中,所述backbone网络的前2层采用res结构,网络的后2层采用inception结构。7. The device according to claim 7, wherein the first two layers of the backbone network adopt a res structure, and the last two layers of the network adopt an inception structure.
  10. 根据权利要求7所述的装置,其中,所述第四装置,还用于识别所述瑕疵检测结果的置信度是否大于第一预设阈值,若大于所述第一预设阈值,则输出包括电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置的结果信息。7. The device according to claim 7, wherein the fourth device is further configured to identify whether the confidence level of the defect detection result is greater than a first preset threshold, and if it is greater than the first preset threshold, the output includes The result information of the defect type of the backplane of the electronic device and the position of the defect in the backplane of the electronic device.
  11. 根据权利要求7所述的装置,其中,还包括第五装置,包括:The device according to claim 7, further comprising a fifth device, comprising:
    第五一装置,用于预设FPN网络结合backbone网络的模型及其初始的模型参数;The fifth device is used to preset the FPN network combined with the backbone network model and its initial model parameters;
    第五二装置,用于将样本电子设备的背板外观区域图像输入带有当前的模型参数的FPN网络结合backbone网络的模型,得到样本电子设备的背板的瑕疵预测结果,所述瑕疵预测结果包括:样本电子设备的背板的瑕疵种类、瑕疵在样本电子设备的背板中的位置和瑕疵检测结果的置信度;The fifth and second device is used to input the image of the backplane appearance area of the sample electronic device into the FPN network with the current model parameters combined with the backbone network model to obtain the defect prediction result of the backplane of the sample electronic device, and the defect prediction result Including: the type of defect on the backplane of the sample electronic device, the position of the defect in the backplane of the sample electronic device, and the confidence level of the defect detection result;
    第五三装置,用于基于预设目标函数计算所述瑕疵预测结果与样本电子设备的真实瑕疵结果之间的差值,识别所述差值是否大于第二预设阈,若所述差值大于第二预设阈值,则执行第五四装置,用于基于行第五四装置,用于基于所述差值更新所述FPN网络结合backbone网络的模型参数后,重新从第五二装置开始执行;The fifty-third device is configured to calculate the difference between the defect prediction result and the actual defect result of the sample electronic device based on a preset objective function, and to identify whether the difference is greater than a second preset threshold, and if the difference is Is greater than the second preset threshold, execute the fifth and fourth device, which is used to update the model parameters of the FPN network combined with the backbone network based on the difference based on the fifth and fourth device, and then restart from the fifth and second device carried out;
    若所述差值小于等于第二预设阈值,则执行第五五装置,将带有当前的模型参数的FPN网络结合backbone网络的模型作为训练结束后的FPN 网络结合backbone网络的模型。If the difference is less than or equal to the second preset threshold, the fifth and fifth device is executed, and the model of the FPN network combined with the backbone network with the current model parameters is used as the model of the FPN network combined with the backbone network after the training is completed.
  12. 根据权利要求7所述的装置,其中,所述第二装置,用于将所述背板外观区域图像的长度方向进行缩放。8. The device according to claim 7, wherein the second device is used to scale the length direction of the image of the appearance area of the backplane.
  13. 一种基于计算的设备,其中,包括:A computing-based device, which includes:
    处理器;以及Processor; and
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
    获取电子设备的外观图像;Obtain the appearance image of the electronic device;
    从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Extracting an image of the appearance area of the back panel of the electronic device from the appearance image of the electronic device, and adjusting the image of the appearance area of the back panel to an image with the same length and width;
    将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;Input the adjusted backplane appearance area image into the model of the FPN network after training and the backbone network;
    从所述FPN网络结合backbone网络的模型接收输出的电子设备的背板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。The defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network. The defect detection result includes: the type of the defect of the backplane of the electronic device and the number of defects in the backplane of the electronic device Confidence of location and defect detection results.
  14. 一种计算机可读存储介质,其上存储有计算机可执行指令,其中,该计算机可执行指令被处理器执行时使得该处理器:A computer-readable storage medium having computer-executable instructions stored thereon, wherein, when the computer-executable instructions are executed by a processor, the processor:
    获取电子设备的外观图像;Obtain the appearance image of the electronic device;
    从所述电子设备的外观图像中提取该电子设备的背板外观区域图像,将所述背板外观区域图像调整为长度和宽度相同的图像;Extracting an image of the appearance area of the back panel of the electronic device from the appearance image of the electronic device, and adjusting the image of the appearance area of the back panel to an image with the same length and width;
    将调整后的背板外观区域图像输入训练结束后的FPN网络结合backbone网络的模型;Input the adjusted backplane appearance area image into the model of the FPN network after training and the backbone network;
    从所述FPN网络结合backbone网络的模型接收输出的电子设备的背 板外观区域的瑕疵检测结果,所述瑕疵检测结果包括:电子设备的背板的瑕疵种类、瑕疵在电子设备的背板中的位置和瑕疵检测结果的置信度。The defect detection result of the backplane appearance area of the electronic device is received and output from the model of the FPN network combined with the backbone network. The defect detection result includes: the type of the defect of the backplane of the electronic device, and the defect in the backplane of the electronic device Confidence of location and defect detection results.
PCT/CN2020/120878 2019-10-28 2020-10-14 Back cover appearance defect detection method for electronic apparatus, and apparatus WO2021082921A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022502080A JP2022539912A (en) 2019-10-28 2020-10-14 Electronic device backplane appearance defect inspection method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911033637.XA CN110827249A (en) 2019-10-28 2019-10-28 Electronic equipment backboard appearance flaw detection method and equipment
CN201911033637.X 2019-10-28

Publications (1)

Publication Number Publication Date
WO2021082921A1 true WO2021082921A1 (en) 2021-05-06

Family

ID=69550888

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/120878 WO2021082921A1 (en) 2019-10-28 2020-10-14 Back cover appearance defect detection method for electronic apparatus, and apparatus

Country Status (3)

Country Link
JP (1) JP2022539912A (en)
CN (1) CN110827249A (en)
WO (1) WO2021082921A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116681428A (en) * 2023-08-03 2023-09-01 天津奇立软件技术有限公司 Intelligent recycling management system and method for electronic equipment
US11798250B2 (en) 2019-02-18 2023-10-24 Ecoatm, Llc Neural network based physical condition evaluation of electronic devices, and associated systems and methods
US11843206B2 (en) 2019-02-12 2023-12-12 Ecoatm, Llc Connector carrier for electronic device kiosk
CN117288761A (en) * 2023-11-27 2023-12-26 天津市海迅科技发展有限公司 Flaw detection classification evaluation method and system based on test materials
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110827249A (en) * 2019-10-28 2020-02-21 上海悦易网络信息技术有限公司 Electronic equipment backboard appearance flaw detection method and equipment
CN110675399A (en) * 2019-10-28 2020-01-10 上海悦易网络信息技术有限公司 Screen appearance flaw detection method and equipment
CN112700428A (en) * 2021-01-08 2021-04-23 北京网瑞达科技有限公司 Method and device for identifying backboard element of switch

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170277979A1 (en) * 2016-03-22 2017-09-28 Inovision Software Solutions, Inc. Identifying defect on specular surfaces
US20190056333A1 (en) * 2017-08-16 2019-02-21 Siemens Energy, Inc. Method and system for detecting defects on surface of object
CN109711474A (en) * 2018-12-24 2019-05-03 中山大学 A kind of aluminium material surface defects detection algorithm based on deep learning
CN110084124A (en) * 2019-03-28 2019-08-02 北京大学 Feature based on feature pyramid network enhances object detection method
CN110148130A (en) * 2019-05-27 2019-08-20 北京百度网讯科技有限公司 Method and apparatus for detecting part defect
CN110363104A (en) * 2019-06-24 2019-10-22 中国科学技术大学 A kind of detection method of diesel oil black smoke vehicle
CN110675399A (en) * 2019-10-28 2020-01-10 上海悦易网络信息技术有限公司 Screen appearance flaw detection method and equipment
CN110796646A (en) * 2019-10-28 2020-02-14 上海悦易网络信息技术有限公司 Method and device for detecting defects of screen area of electronic device
CN110827249A (en) * 2019-10-28 2020-02-21 上海悦易网络信息技术有限公司 Electronic equipment backboard appearance flaw detection method and equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017156046A1 (en) * 2016-03-07 2017-09-14 Hyla, Inc. Screen damage detection for devices
CN106875381B (en) * 2017-01-17 2020-04-28 同济大学 Mobile phone shell defect detection method based on deep learning
JP6936958B2 (en) * 2017-11-08 2021-09-22 オムロン株式会社 Data generator, data generation method and data generation program
JP7087397B2 (en) * 2018-01-17 2022-06-21 東京エレクトロン株式会社 Substrate defect inspection equipment, substrate defect inspection method and storage medium
CN109886077B (en) * 2018-12-28 2021-07-09 北京旷视科技有限公司 Image recognition method and device, computer equipment and storage medium
CN109859190B (en) * 2019-01-31 2021-09-17 北京工业大学 Target area detection method based on deep learning
CN110378420A (en) * 2019-07-19 2019-10-25 Oppo广东移动通信有限公司 A kind of image detecting method, device and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170277979A1 (en) * 2016-03-22 2017-09-28 Inovision Software Solutions, Inc. Identifying defect on specular surfaces
US20190056333A1 (en) * 2017-08-16 2019-02-21 Siemens Energy, Inc. Method and system for detecting defects on surface of object
CN109711474A (en) * 2018-12-24 2019-05-03 中山大学 A kind of aluminium material surface defects detection algorithm based on deep learning
CN110084124A (en) * 2019-03-28 2019-08-02 北京大学 Feature based on feature pyramid network enhances object detection method
CN110148130A (en) * 2019-05-27 2019-08-20 北京百度网讯科技有限公司 Method and apparatus for detecting part defect
CN110363104A (en) * 2019-06-24 2019-10-22 中国科学技术大学 A kind of detection method of diesel oil black smoke vehicle
CN110675399A (en) * 2019-10-28 2020-01-10 上海悦易网络信息技术有限公司 Screen appearance flaw detection method and equipment
CN110796646A (en) * 2019-10-28 2020-02-14 上海悦易网络信息技术有限公司 Method and device for detecting defects of screen area of electronic device
CN110827249A (en) * 2019-10-28 2020-02-21 上海悦易网络信息技术有限公司 Electronic equipment backboard appearance flaw detection method and equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11843206B2 (en) 2019-02-12 2023-12-12 Ecoatm, Llc Connector carrier for electronic device kiosk
US11798250B2 (en) 2019-02-18 2023-10-24 Ecoatm, Llc Neural network based physical condition evaluation of electronic devices, and associated systems and methods
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition
CN116681428A (en) * 2023-08-03 2023-09-01 天津奇立软件技术有限公司 Intelligent recycling management system and method for electronic equipment
CN116681428B (en) * 2023-08-03 2023-09-29 天津奇立软件技术有限公司 Intelligent recycling management system and method for electronic equipment
CN117288761A (en) * 2023-11-27 2023-12-26 天津市海迅科技发展有限公司 Flaw detection classification evaluation method and system based on test materials
CN117288761B (en) * 2023-11-27 2024-02-06 天津市海迅科技发展有限公司 Flaw detection classification evaluation method and system based on test materials

Also Published As

Publication number Publication date
CN110827249A (en) 2020-02-21
JP2022539912A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
WO2021082921A1 (en) Back cover appearance defect detection method for electronic apparatus, and apparatus
WO2021082918A1 (en) Screen appearance defect detection method and device
WO2021082920A1 (en) Method and device for detecting border appearance defects of electronic device
WO2021082923A1 (en) Electronic device screen area defect detection method and device
US9697416B2 (en) Object detection using cascaded convolutional neural networks
WO2019134504A1 (en) Method and device for blurring image background, storage medium, and electronic apparatus
WO2017185630A1 (en) Emotion recognition-based information recommendation method and apparatus, and electronic device
US9665804B2 (en) Systems and methods for tracking an object
WO2021082919A1 (en) Defect detecting method and equipment for screen region of electronic equipment
WO2021147386A1 (en) Screen scratch and crack detection method and device
CN108875451B (en) Method, device, storage medium and program product for positioning image
WO2020082731A1 (en) Electronic device, credential recognition method and storage medium
EP4099217A1 (en) Image processing model training method and apparatus, device, and storage medium
TW201926131A (en) Method and device for assisting compliance of object image, and electronic equipment
WO2017096946A1 (en) Method and device for locating high-frequency information of image
WO2021189807A1 (en) Image processing method, apparatus and system, and electronic device
CN110827244A (en) Method and equipment for detecting appearance flaws of electronic equipment
WO2020220809A1 (en) Action recognition method and device for target object, and electronic apparatus
CN109791695A (en) Motion vector image block based determines described piece of variance
US10122912B2 (en) Device and method for detecting regions in an image
WO2019159424A1 (en) Evaluation system, evaluation device, evaluation method, evaluation program, and recording medium
WO2021082922A1 (en) Method and device for detecting screen display disconnection
WO2021164328A1 (en) Image generation method, device, and storage medium
US9208404B2 (en) Object detection with boosted exemplars
CN115861400A (en) Target object detection method, training method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20880924

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022502080

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20880924

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20880924

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26.01.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20880924

Country of ref document: EP

Kind code of ref document: A1