# US 2020/0349875 A1 · Display screen quality detection method, apparatus, electronic device and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0349875 A1
- Document ID: US20200349875A1
- Status: Published application
- Kind: A1
- Application number: 16/936,806
- Filed: 2020-07-23
- Published: 2020-11-05
- Earliest claimed: 2018-07-02
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science Technology Co., Ltd.
- Inventors: Yawei WEN; Jiabing LENG; Minghao LIU; Yulin XU; Jiangliang GUO; Xu LI
- Web page: https://patentgrep.com/patent/US20200349875A1

## CPC

- G09G 3/006: {Electronic inspection or testing of displays and display drivers, e.g. of LED or LCD displays (testing individual LED's G01R31/2635; testing lamps G01R31/44; testing of optical features of LCD displays G02F1/1309)}
- G01N 21/956: Inspecting patterns on the surface of objects {(contactless testing of electronic circuits G01R31/308; testing currency G07D; manufacturing processes per se of semiconductor devices implementing a measuring step H10P74/20)}
- G09G 2320/103: Detection of image changes, e.g. determination of an index representative of the image change
- G09G 2330/10: Dealing with defective pixels
- G09G 2340/0407: Resolution change, inclusive of the use of different resolutions for different screen areas
- G09G 2340/045: Zooming at least part of an image, i.e. enlarging it or shrinking it
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)

## Abstract

The present disclosure provides a display screen quality detection method, an apparatus, an electronic device and a storage medium, where the method comprises: receiving a quality detection request sent by a console deployed on a display screen production line, where the quality detection request includes a display screen image captured by an image capturing device on the display screen production line, performing image preprocessing on the display screen image, and inputting the preprocessed display screen image into a defect detection model to obtain a defect detection result, where the defect detection model is obtained by training with a historical defect display screen image using a deep convolutional neural network structure and an instance segmentation algorithm, determining, according to the defect detection result, quality of a display screen corresponding to the display screen image. The technical solution has high defect detection accuracy, good system performance, and high business expansion capability.

## Claims

### Claim 1

A display screen quality detection method, comprising:
receiving a quality detection request sent by a console deployed on a display screen production line, wherein the quality detection request comprises a display screen image captured by an image capturing device on the display screen production line;
performing image preprocessing on the display screen image, wherein the image preprocessing comprises one or more of following processes:
trimming, cutting, rotating, reducing, and zooming;
inputting the preprocessed display screen image into a defect detection model to obtain a defect detection result, wherein the defect detection model is obtained by training with a historical defect display screen image using a deep convolutional neural network structure and an instance segmentation algorithm; and
determining, according to the defect detection result, quality of a display screen corresponding to the display screen image.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the defect detection model is a result obtained by performing combined training with candidate region loss, region category loss, region boundary loss, and pixel instance loss of the historical defect display screen image to make a total loss value of the candidate region loss, the region category loss, the region boundary loss, and the pixel instance loss meet a preset loss threshold;
wherein the candidate region loss refers to a loss value between a selected defect region and an actual defect region in the historical defect display screen image, the region category loss refers to a loss value between a predicted defect category and an actual defect category in the selected defect region, the region boundary loss refers to a loss between a predicted defect boundary and an actual defect boundary in the selected defect region, and the pixel instance loss refers to a loss between a predicted pixel instance and an actual pixel instance in the historical defect display screen image.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the inputting the preprocessed display screen image into a defect detection model to obtain a defect detection result, comprises:
determining, according to a load balancing policy, a detection model server that hosts a processing resource; and
inputting the preprocessed display screen image into the defect detection model running on the detection model server to obtain the defect detection result.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the defect detection result comprises: a defect category, and/or a defect instance, and/or a defect location; and
the determining, according to the defect detection result, quality of a display screen corresponding to the display screen image, comprises:
determining, according to production stage information and the defect detection result, the quality of the display screen corresponding to the display screen image.

### Claim 5 (depends on 1)

The method according to claim 1, wherein after the determining, according to the defect detection result, quality of a display screen corresponding to the display screen image, the method further comprises:
if it is determined that the display screen is a bad screen, performing one or more of following operations:
sending, through a controller, alarm information to a production manager;
storing, through the controller, the defect detection result in a production database as a log;
sending, through the controller, a production control instruction to the console to eliminate a defect; and
inputting the display screen image and the defect detection result into the defect detection model to optimize the defect detection model.

### Claim 6

A display screen quality detection apparatus, wherein the display screen quality detection apparatus comprises: a processor, a memory, and a computer program stored on the memory and operable on the processor, and the processor executes the computer program to:
receive a quality detection request sent by a console deployed on a display screen production line, wherein the quality detection request comprises a display screen image captured by an image capturing device on the display screen production line;
perform image preprocessing on the display screen image, and input the preprocessed display screen image into a defect detection model to obtain a defect detection result, wherein the image preprocessing comprises one or more of following processes: trimming, cutting, rotating, reducing, and zooming, and wherein the defect detection model is obtained by training with a historical defect display screen image using a deep convolutional neural network structure and an instance segmentation algorithm; and
determine, according to the defect detection result, quality of a display screen corresponding to the display screen image.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein the defect detection model is a result obtained by performing combined training with candidate region loss, region category loss, region boundary loss, and pixel instance loss of the historical defect display screen image, to make a total loss value of the candidate region loss, the region category loss, the region boundary loss and the pixel instance loss meet a preset loss threshold;
wherein the candidate region loss refers to a loss value between a selected defect region and an actual defect region in the historical defect display screen image, the region category loss refers to a loss value between a predicted defect category and an actual defect category in the selected defect region, the region boundary loss refers to a loss between a predicted defect boundary and an actual defect boundary in the selected defect region, and the pixel instance loss refers to a loss between a predicted pixel instance and an actual pixel instance in the historical defect display screen image.

### Claim 8 (depends on 6)

The apparatus according to claim 6, wherein
the processor executes the computer program to determine, according to a load balancing policy, a detection model server that hosts a processing resource, and input the display screen image into the defect detection model running on the detection model server to obtain the defect detection result.

### Claim 9 (depends on 6)

The apparatus according to claim 6, wherein the defect detection result comprises: a defect category, and/or a defect instance, and/or a defect location; and
the processor executes the computer program to determine, according to production stage information and the defect detection result, the quality of the display screen corresponding to the display screen image.

### Claim 10 (depends on 6)

The apparatus according to claim 6, wherein
the processor further executes the computer program to: after the determining module determines, according to the defect detection result, the quality of the display screen corresponding to the display screen image, if it is determined that the display screen is a bad screen, perform one or more of following operations:
send, through a controller, alarm information to a production manager;
store, through the controller, the defect detection result in a production database as a log;
send, through the controller, a production control instruction to the console to eliminate a defect; and
input the display screen image and the defect detection result into the defect detection model to optimize the defect detection model.

### Claim 11

A storage medium, wherein the storage medium stores instructions that, when run on a computer, cause the computer to perform following steps:
receiving a quality detection request sent by a console deployed on a display screen production line, wherein the quality detection request comprises a display screen image captured by an image capturing device on the display screen production line;
performing image preprocessing on the display screen image, wherein the image preprocessing comprises one or more of following processes:
trimming, cutting, rotating, reducing, and zooming;
inputting the preprocessed display screen image into a defect detection model to obtain a defect detection result, wherein the defect detection model is obtained by training with a historical defect display screen image using a deep convolutional neural network structure and an instance segmentation algorithm; and
determining, according to the defect detection result, quality of a display screen corresponding to the display screen image.

### Claim 12 (depends on 11)

The storage medium according to claim 11, wherein the defect detection model is a result obtained by performing combined training with candidate region loss, region category loss, region boundary loss, and pixel instance loss of the historical defect display screen image to make a total loss value of the candidate region loss, the region category loss, the region boundary loss, and the pixel instance loss meet a preset loss threshold;
wherein the candidate region loss refers to a loss value between a selected defect region and an actual defect region in the historical defect display screen image, the region category loss refers to a loss value between a predicted defect category and an actual defect category in the selected defect region, the region boundary loss refers to a loss between a predicted defect boundary and an actual defect boundary in the selected defect region, and the pixel instance loss refers to a loss between a predicted pixel instance and an actual pixel instance in the historical defect display screen image.

### Claim 13 (depends on 11)

The storage medium according to claim 11, wherein the inputting the preprocessed display screen image into a defect detection model to obtain a defect detection result, comprises:
determining, according to a load balancing policy, a detection model server that hosts a processing resource; and
inputting the preprocessed display screen image into the defect detection model running on the detection model server to obtain the defect detection result.

### Claim 14 (depends on 11)

The storage medium according to claim 11, wherein the defect detection result comprises: a defect category, and/or a defect instance, and/or a defect location; and
the determining, according to the defect detection result, quality of a display screen corresponding to the display screen image, comprises:
determining, according to production stage information and the defect detection result, the quality of the display screen corresponding to the display screen image.

### Claim 15 (depends on 11)

The storage medium according to claim 11, wherein after the determining, according to the defect detection result, quality of a display screen corresponding to the display screen image, the method further comprises:
if it is determined that the display screen is a bad screen, performing one or more of following operations:
sending, through a controller, alarm information to a production manager;
storing, through the controller, the defect detection result in a production database as a log;
sending, through the controller, a production control instruction to the console to eliminate a defect; and
inputting the display screen image and the defect detection result into the defect detection model to optimize the defect detection model.
