CN108303237A - A kind of method, detection device and the storage medium of terminal screen detection - Google Patents

A kind of method, detection device and the storage medium of terminal screen detection Download PDF

Info

Publication number
CN108303237A
CN108303237A CN201810172038.5A CN201810172038A CN108303237A CN 108303237 A CN108303237 A CN 108303237A CN 201810172038 A CN201810172038 A CN 201810172038A CN 108303237 A CN108303237 A CN 108303237A
Authority
CN
China
Prior art keywords
image
range
detected
terminal
suspension icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810172038.5A
Other languages
Chinese (zh)
Other versions
CN108303237B (en
Inventor
叶飞
何帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Recycling Technology Co Ltd
Original Assignee
Shenzhen Recycling Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Recycling Technology Co Ltd filed Critical Shenzhen Recycling Technology Co Ltd
Priority to CN201810172038.5A priority Critical patent/CN108303237B/en
Publication of CN108303237A publication Critical patent/CN108303237A/en
Application granted granted Critical
Publication of CN108303237B publication Critical patent/CN108303237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An embodiment of the present invention provides a kind of methods of terminal screen detection, which is characterized in that the method includes:The first image of terminal display to be detected is shot, wherein showing solid-color image and suspension icon on the display screen of the terminal to be detected;The suspension icon is moved to outside the range of suspension icon home position, and shoots the second image of the terminal display to be detected;It identifies described first image and the second image, and determines the defect information of the terminal display to be detected according to recognition result.The embodiment of the present invention additionally provides a kind of detection device and storage medium, to execute the terminal screen detection method of the embodiment of the present invention.

Description

A kind of method, detection device and the storage medium of terminal screen detection
Technical field
The invention belongs to terminal detection technique field, more particularly to a kind of method of terminal screen detection, detection device with And storage medium.
Background technology
With the development of electronic technology and mobile Internet, various electronic products are gradually popularized in life, electronics production Product have become people's life or the indispensable part that works.In addition, with the improvement of people's environmental awareness, mesh The electronic product that preceding user also gradually tends to be not suitable for is recycled or is sold on second-hand market.
It during recycling terminal, needs to be detected final element, to determine the value of terminal.Now To in terminal screen detection process, sometimes because terminal suspension icon stops, influencing screen detection.
Invention content
In view of this, an embodiment of the present invention provides a kind of method of terminal screen detection, detection device and storages to be situated between Matter.
The embodiment of the present invention provides a kind of method of terminal screen detection, which is characterized in that the method includes:
The first image of terminal display to be detected is shot, wherein being shown on the display screen of the terminal to be detected pure Color image and suspension icon;
The suspension icon is moved to outside the range of suspension icon home position, and it is aobvious to shoot the terminal to be detected Second image of display screen curtain;
It identifies described first image and the second image, and the terminal display to be detected is determined according to recognition result Defect information.
The embodiment of the present invention additionally provides a kind of terminal screen detection method, which is characterized in that including:
A kind of detection method of terminal screen, which is characterized in that the method includes:
The first image of terminal display to be detected is shot, wherein being shown on the display screen of the terminal to be detected pure Color image and suspension icon;
The suspension icon is moved to outside the range of suspension icon home position, and it is aobvious to shoot the terminal to be detected Second image of display screen curtain;
Described first image and second image are sent to server, the server is made to identify first figure As and the second image, and determine according to recognition result the defect information of the terminal display to be detected.
The embodiment of the present invention additionally provides a kind of detection device, which is characterized in that including:
Processor, the memory for storing the processor-executable instruction;
The wherein described processor makes detection device execute the present invention and implements for calling the instruction stored in the memory The either method of example.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is deposited in the computer readable storage medium Instruction is contained, when being run in terminal so that detection device executes either method according to claims 1-8.
Method, detection device and the storage medium of a kind of terminal screen detection provided in an embodiment of the present invention can facilitate User understands detection process.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability For the those of ordinary skill of domain, without having to pay creative labor, others are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the structural framing schematic diagram of detection device provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of detection device provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of terminal screen detection method provided in an embodiment of the present invention;
Fig. 4 is another flow chart of terminal screen detection method provided in an embodiment of the present invention;
Fig. 5 is another flow chart of terminal screen detection method provided in an embodiment of the present invention;
Fig. 6 is another flow chart of terminal screen detection method provided in an embodiment of the present invention;
Fig. 7 is another flow chart of terminal screen detection method provided in an embodiment of the present invention;
Fig. 8 is another flow chart of terminal screen detection method provided in an embodiment of the present invention;
Fig. 9 is another flow chart of terminal screen detection method provided in an embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention discloses the detection device of description, the various embodiments of method and storage medium, for moving The detection of the SOT state of termination such as phone, mobile phone, tablet computer, to determine the state of terminal.Further, it can be detected according to terminal State, to promote to the identificating and evaluating of terminal, buy and/or other processes, terminal can be allowed to determine the value of terminal The owner more quickly understands the value of terminal, to facilitate transaction.
Some details will be described in following specification and Fig. 1-9, in order to which those skilled in the art understands this The understanding of inventive embodiments.In other instances, usually with the terminal of the embodiment of the present invention and/or device, such as smart mobile phone, Mobile phone, handheld device, consumer-elcetronics devices, family are calculated the relevant known structure such as hardware, software and network system, material Matter, operation and/or system will be no longer described in detail in the following examples, to avoid each of unnecessary fuzzy this technology The description of embodiment.However, it will be appreciated by those skilled in the art that this technology can be not comprising one as described herein or more It is carried out in the case of a details, or be carried out with other structures, method, component etc. situations such as.
Term used below should be explained with its broadest reasonable manner, even if the term and this technology embodiment Certain exemplary datail descriptions be used together.In fact, certain terms even can may be hereinafter emphasised;However, purport It will be clearly defined so in specific embodiment part in any term explained in a manner of any restrictions.
Attached drawing describes the embodiment of this technology, but and does not lie in and limit its protection domain.Described various original papers Size is not necessarily drawn to scale, these various elements may be what arbitrary proportion amplified, to improve its identifiability.Work as group To completely understanding how to make, and when the use of the present invention being unnecessary, these details in attached drawing may be the details of part It is abstract to exclude certain accurate connections between these details, such as the position of component and these components.
In the accompanying drawings, identical reference numeral is identified as identical element, or at least substantially similar element.In order to be conducive to Most important one or more numbers of the discussion of some particular components, some reference numerals refer to that the element is introduced into for the first time Attached graph laplacian.
The terms such as " first " of the embodiment of the present invention, " second " only distinguish the relevant technologies feature, do not indicate that successively suitable Sequence.
In order to illustrate the technical solution described in the embodiment of the present invention, illustrated below by specific embodiment.
Fig. 1 is a kind of structural framing schematic diagram for the detection device 100 for implementing this technology.The detection device 100 can be The equipment for only detecting the SOT state of termination to be detected, can also be further includes having other assemblies and/or element group terminal to be detected in pairs Evaluate after being detected, then treats detection terminal and carry out recycling or the equipment of other processing modes.The embodiment of the present invention waits for Detection terminal, is the terminal for being put into detection device preparation and carrying out state-detection, and the terminal can include but is not limited to be mobile Phone, smart mobile phone, portable electronic device, tablet computer, MP3, MP4, notebook, super basis, personal digital assistant (PDA), music player, set-top box, remote controler, e-book, intelligent wearable device (such as intelligent glasses, smartwatch etc.) Equal electronic equipments.The detection device 100 of the embodiment of the present invention is believed the state of detection by detecting the state of terminal to be detected Breath is sold for treating detection terminal, sells, recycles, contributes, exchanges, identificates and evaluates, fixes a price, auctions, scraps or overhaul again Deng operation." recycling " described in the embodiment of the present invention typically refer to sell electronic equipment and/or buy, sell again, exchange, Contribute and/or receive etc..
The detection device 100 of the embodiment of the present invention may include having all components or device shown in FIG. 1, can also lack The component or device of few a portion.As shown in Figure 1, detection device 100 may include having processor 110, supply unit 120, input unit 130, detection components 140, memory 150, display screen 160, communication component 170, recycling component 180, friendship Easy component 190.
Processor 110 may include one or more processors, such as processor 110 may include one or more centers Processor, or including a central processing unit and a graphics processor.When processor 110 includes multiple processors, this Multiple processors can be integrated on same chip, can also be respectively to be independent chip.One processor may include One or more process cores.
Supply unit 120 provides electric energy for detection device, can be the dresses such as battery or the plug for being connected to electric power network It sets.
Input unit 130 can specifically can include but is not limited to be camera 131 to detection device input information, The detection device 100 is given for shooting image and/or video, and by the image taken and/or video input;Trackpad 132 input corresponding instruction, such as can be the operations such as the corresponding character of input, icon;Other input units, such as wheat Gram, scan components etc., details are not described herein.
Detection components 140 are used to detect the state of terminal to be detected, and the state of specific terminal to be detected is that assessment is to be checked The information for surveying terminal value is referred to as:The state of terminal to be detected includes the performance state of terminal to be detected, such as software performance And/or hardware performance state;The state of terminal to be detected can also include the hardware configuration of terminal to be detected, such as processor Parameter, memory size, screen performance etc.;The state of terminal to be detected may include needing the apparent condition of detection terminal, example Whether fragmentation, corner are with the presence or absence of information of colliding with the presence or absence of scratch, screen for such as shell.Detection components 140 may include having Hatch door, the terminal to be detected are entered by hatch door 141 and carry out state-detection in detection device 100.Mechanical component 142 moves The operations such as dynamic, overturning, rotation, touch-control, to assist treating the detection of detection terminal.143 terminal to be detected of Internal camera head is clapped Take the photograph image and/or video.Other are used to detect the component etc. of the SOT state of termination to be detected.For example, being arrived by movement terminal to be detected Specified position carries out the moving component of appearance detection;The touch screen for either treating detection terminal is slided, and is touched with inputting Control the touch control component etc. of information.
Memory 150 stores computer program, which includes operating system program 1522, application program 1521 Deng.Processor 110 is used to read the computer program in memory 150, then executes the method that computer program defines, such as 110 read operation system program 1522 of processor in terminal so that run operating system to realize the various work(of operating system Can, or one or more application programs 1521 are read to run application in terminal.
Memory 150 is also stored with other data 153 in addition to computer program, other data 1523 may include behaviour Make system 1522 or application program 1521 be run after the data that generate, which includes system data (such as operating system Configure parameter) and user data, for example, the data that process generates when running.
Memory 150 generally comprises memory 151 and external memory 152.Memory 151 can be random access memory (RAM), read-only to deposit Reservoir (ROM) and cache (CACHE) etc..The memory space of the embodiment of the present invention may include flash memory (flash), hard Disk, CD, USB disk, floppy disk or magnetic tape station etc..Computer program is typically stored on external memory 152, and processor 150 is executing Computer program can be loaded into memory 151 from external memory before processing.
Display screen 160 is used to show information in detection process, can will be in detection process in the embodiment of the present invention Detection picture is shown on the display screen.A kind of feasible embodiment is, the Trackpad in input unit can and display screen Curtain is combined, and forms touch screen.To avoid misunderstanding in the embodiment of the present invention, display screen is individually described.But It is understood that either showing that screen is combined into one separately as information display device and/or component, or with Trackpad Body, in the protection domain of the embodiment of the present invention.
Communication component 170 is communicated to connect for making detection device and terminal to be detected establish, and specific communication component can be with Include antenna, is wirelessly connected for being established with terminal to be detected, specifically can include but is not limited to be WiFi (Wireless Fidelity, the WLAN based on IEEE 802.11b standards), bluetooth (Bluetooth), NFC (Near Field Communication), the carrier networks such as 3G, 4G or 5G connection etc..
Recycling component 180 is to treat after detection terminal carries out state-detection, and the value of assessment is supplied to user, when After user receives estimated value, the component that detection terminal is recycled is treated.It includes but not limited to recovery capsule to recycle component 180 181, it is recycled and is stored for treating detection terminal;Transmission component 182 is used to move terminal to be detected either recovery capsule, To ensure that terminal to be detected is placed into suitable position.
Transaction component 190 is used to the value of assessment being supplied to user, the specific can be that cash-out device, Electronic Transfer dress It sets.
Fig. 2 is a kind of specific structural schematic diagram of the detection device of the embodiment of the present invention.Detection device may include having Shell 210, shell 210 are provided with camera 220 for fixing in other assemblies, such as shell 210, can be used for shooting user Image when carrying out operation detection device and/or video.Shell 210 is also provided with display screen 230, specific to show Screen 230 can be that liquid crystal display (LCD) or light emitting diode (LED) show screen, projection display etc., be used for user Information is provided, prompt etc..Hatch door 240 is additionally provided on shell 210, terminal to be detected enters shell 210 by hatch door 240 It is interior, it is detected by the detection components 140 described in Fig. 1, with the state of determination terminal to be detected.May be used also in detection device 100 To include recovery capsule 250, the terminal storage to be detected of recycling is in recovery capsule 250.Detection device 100 can also include pedestal 260, it is used to support detection device 100.
Fig. 3 is a kind of flow diagram of the method for terminal screen detection of the embodiment of the present invention.Specific implementation mode is such as It is lower described:
First image of 310 shooting terminal displays to be detected, wherein being shown on the display screen of the terminal to be detected Show solid-color image and suspension icon.
First image includes terminal display to be detected, wherein the bright screen of terminal to be detected, and show pure color figure Picture.Solid-color image refers to only having a kind of image of color.It specifically, as an implementation, can be to terminal to be detected The first instruction is sent, wherein the first instruction shows solid-color image, such as black, white, red, indigo plant for controlling terminal to be detected Color, green etc., wherein red (RED, referred to as " R "), blue (BLUE, referred to as " B "), green (GREEN, referred to as " G ") It is to show the three primary colors of screen, and each primary colors usually has 8 grades, you can to show 0-255, if it is pure red, show For (255,0,0), pure green is then shown as (0,255,0), and pure blue is then shown as (0,0,255).The colors such as black, white can It is shown with being combined by three primary colors.Then the display screen for treating detection terminal again is shot, and shooting image is obtained.
As another embodiment, the second instruction of terminal to be detected is received first, wherein the second instruction is to be detected Terminal shows sending after solid-color image and treats detection terminal for controlling detection device and show the finger that is shot of screen It enables;It is then based on the second instruction, detection terminal is treated and shows that screen is shot, obtain shooting image.By making terminal show Solid-color image is conducive to the identification to the display defect of terminal display.
The suspension icon (such as " desktop dot ", or " dot ") of the embodiment of the present invention refers to that be shown in terminal aobvious Show the operational controls such as the icon, button, widget of interface top layer, such as in Android (Android operation system) or IOS The terminal of (Apple Macintosh operating system) can show suspension icon on display interface, in order to be switched fast the operations such as the page.Example It such as can be by suspension icon, to be quickly switched into homepage (the Home pages).Under normal conditions, suspension icon is shown in terminal Interface top layer, and it is shown in the boundary of terminal display or the position by proximal border, in any interface, suspension icon Will occur on the display screen.The display screen of the terminal to be detected, terminal screen or screen also referred to as to be detected or Person is display device etc..
320 are moved to the suspension icon outside the range of suspension icon home position, and shoot the end to be detected End shows the second image of screen.
A kind of feasible embodiment of the embodiment of the present invention is to send mobile suspension icon to the terminal to be detected Suspension icon, is moved to outside the range of home position by instruction with controlling the terminal to be detected.For example, passing through terminal operating system Either application program carrys out control terminal and moves suspension icon to specified distance either direction.A kind of illustrative implementation Mode is, sends and instructs to terminal to be detected, and control suspension icon moves up 2cm and (or no less than suspends The distance of icon lower-upper length) or move left and right 2cm (or no less than suspension icon up and down width distance), you can with Ensure that suspension icon is moved to other than the range of home position.
The feasible embodiment of another kind of the embodiment of the present invention is to pass through the touch device for including, sheet in detection device The touch device of inventive embodiments be stylus, touch-control finger etc. can treat detection terminal Trackpad generate click, sliding, The device of the touch control operations such as dragging, long-press, double-click, kneading.Specific implementation mode is as follows:
410 shoot the second image of terminal displays to be detected, are shown in the display screen of the terminal to be detected Suspension icon.
By the camera of detection device, the second image of terminal display to be detected is shot.Specifically, to be detected When terminal display is lighted, that is, when showing the display interface of terminal to be detected, pass through the camera of terminal to be detected, shooting The second image with terminal display to be detected.
420 identification second images, determine the home position of the suspension icon.
By handling second image, such as the processing such as denoising, binaryzation, gray processing, extract the processing The feature, such as color, gray value, lines etc. in the second image afterwards, by aspect ratio to identifying the position of suspension icon And the coordinate range in second image, to determine the home position of suspension icon.
430, by touch device, move outside the suspension icon to suspension icon home position range.
Detection device passes through mobile touch device to the home position of suspension icon, dragging or the mobile suspension icon To outside the range of home position.Such as upwardly or downwardly either to the left or a certain distance that moves right (no less than suspend figure Mark length or the distance of width), so that the suspension icon is moved to outside the range of home position.
The feasible embodiment of another kind of the embodiment of the present invention is to pass through the touch device for including, sheet in detection device The touch device of inventive embodiments be stylus, touch-control finger etc. can treat detection terminal Trackpad generate click, sliding, The device of the touch control operations such as dragging, long-press, double-click, kneading.Specific implementation mode is as follows:
510 identification described first images, determine the home position of the suspension icon.
By obtaining described first image, then described first image is handled, such as denoising, binaryzation, gray scale The processing such as change, feature, such as color, gray value, lines etc. in extraction is described treated the first image pass through aspect ratio pair The position of suspension icon and the coordinate range in described first image are identified, to determine the home position of suspension icon.
520, by touch device, move outside the suspension icon to suspension icon home position range.
Detection device passes through mobile touch device to the home position of suspension icon, dragging or the mobile suspension icon To outside the range of home position.Such as upwardly or downwardly either to the left or a certain distance that moves right (no less than suspend figure Mark length or the distance of width), so that the suspension icon is moved to outside the range of home position.
330 identification described first images and the second image, and determine that the terminal to be detected is shown according to recognition result The defect information of screen.
The first image and the second image to shooting carry out image procossing, such as carry out denoising, binaryzation, gray processing etc. Processing.Then the image feature information after extraction process, such as characteristic information can be colouring information and/or shape information etc.. In described first image or the second image, inquires and be compared with the feature of the display screen defect information to prestore, if There are when the feature of screen defect, that is, determine that corresponding region is that terminal is shown in described first image or the second image The defect area of screen, such as the abnormal brightness line segment information of extraction and/or abnormal luminance point information.
It is described pure when determining that treating detection terminal shows that screen progress bright point information and/or bright line information are detected Color is black, by showing that black can improve contrast, contributes to the identification to bright spot and/or bright line.
It is described pure when determining that treating detection terminal shows that screen progress dim spot information and/or concealed wire information are detected Color is white, can provide contrast by being displayed in white, contribute to the identification to dim spot and/or bright line.Abnormal brightness line segment Information includes quantity and length of abnormal brightness line segment etc., and abnormal luminance point information includes the quantity of abnormal luminance point.Different Abnormal brightness line segment information or abnormal luminance point information, corresponding different display performance grade.Based on abnormal brightness line segment information Or abnormal luminance point information, it may be determined that the display performance grade of terminal display to be detected.
A kind of more specific embodiment of the embodiment of the present invention is extracted in described first image and the second image Parts of images, the terminal display for identifying and/or being combined into respectively completion are identified, to determine terminal screen to be detected With the presence or absence of defect.Specific implementation mode is as follows:
610 in terminal display range to be detected, extract the image in the first range, in institute in described first image State in the second image in terminal display range to be detected, extract the image in the second range, wherein first range with Second range combinations are not less than the range of terminal display to be detected, and first range does not include with the second range The suspension icon.
The image of first range is the parts of images not comprising suspension icon home position.By identifying described first image In terminal display to be detected range, extraction not comprising suspension picture mark position range the first range image.Similar, The image of the second range is also extracted on second image, wherein the second range does not include the position range of suspension icon.The The image of one range and the image of the second range combine, and guarantee to cover all of terminal display to be detected Range.For example, in the first image, suspension icon is located at the top half of terminal display to be detected, in the second image, Suspension icon is located at the lower half portion of terminal display to be detected;Extract terminal display range to be detected in the first image Lower half portion, extract the top half of middle terminal display to be detected in the second image, be then directed to the image point of extraction It is not identified, you can realize that treating detection terminal shows that all ranges of screen are identified.
Image in first range and the second range described in 620 identification roots, determines lacking for the terminal screen to be detected Fall into information.
Image procossing, example are carried out to extracting the first range image of the first image and the second range image of the second image Such as carry out denoising, binaryzation, gray processing processing.Then the image feature information after extraction process, such as characteristic information can be with For colouring information and/or shape information etc..In first range image or the second range image, the screen inquiring and prestore The feature of curtain defect information is compared, if there are screen defects in first range image or the second range image Feature when, that is, determine corresponding region be terminal display defect area.
A kind of feasible embodiment of the embodiment of the present invention is, to first range image or the second image graph Picture extracts pixel value therein, then pixel value is compared, and determines the defect information of terminal display to be detected.Tool Body embodiment is as follows:
The maximum pixel value of probability of occurrence in pixel value in 710 extractions, first range and the second range, and really The pixel value of the fixed maximum probability is standard value.
It is the value assigned by computer when image is digitized that the pixel value, which is pixel value, and it is a certain that it represents image The average brightness and/or colouring information of blockage or point.Specific pixel value, can be by standard primary to indicating.
A kind of feasible embodiment is to pass through to obtain rgb value, that is, obtains the canonical red brightness value for showing image, mark Quasi- Green brightness value and standard blue intensity values, to indicate pixel value.Specifically, obtaining standard RGB values includes:Obtain display figure Red luma value, Green brightness value and the blue intensity values (hereinafter referred to as rgb value) of multiple pixels as in;Count each pixel Rgb value obtains the maximum rgb value of probability of occurrence;The maximum rgb value of the probability of occurrence is determined as to show the standard of image Rgb value.In order to reduce calculation amount, detection speed is improved, can sample the rgb value for obtaining and showing multiple pixels in image.Wherein, The rgb value of each pixel is counted, it includes two kinds of embodiments to obtain the maximum rgb value of probability of occurrence, the first, to all RGB Value is clustered, and the cluster of multiple rgb values is obtained, and then calculates separately the weight of each cluster, and the mean value of the maximum cluster of weight is true It is set to standard RGB values.Second, respectively by each rgb value divided by default integer, obtain quotient;To going the decimal place of quotient unless each, obtain To each integer quotient;The product for obtaining each integer quotient and default integer obtains each product value, and count each product value goes out occurrence Number;By the most product value of occurrence number, it is determined as standard RGB values.
720 obtain in the pixel value in first range and the second range with the standard value difference more than setting threshold It is worth pixel, and determines that the pixel is the defect information of terminal display to be detected.
The difference for obtaining maximum value and minimum value in standard RGB values, judges whether difference is more than the first predetermined threshold value.If poor Value is less than the first predetermined threshold value, then judges terminal screen not colour cast, if difference is more than the first predetermined threshold value, judges terminal screen Colour cast.
The embodiment of the present invention
810 are partitioned into first range image and the second range image the subregion of setting.
By first range and and the second range image according to setting rule, such as it is crisscross, staggeredly point It the modes such as cuts, is divided into several sub-regions.
The pixel value of pixel between the 820 comparison all subregions, and determine that the subregion to differ greatly is to be detected The abnormal area of terminal display.
Statistics is per the pixel value of the pixel in sub-regions, the pixel value, when to be pixel value be that image is digitized The value assigned by computer, it represents the average luminance information of a certain blockage of image or point.Specific pixel value, can be with By standard primary to indicating.A kind of feasible embodiment is to pass through to obtain rgb value, that is, obtains the standard for showing image Red luma value, standard green brightness value and standard blue intensity values, to indicate pixel value.
Pass through the average pixel value etc. of the either subregion of the maximum pixel value of probability of occurrence in counting per sub-regions.So After compare each maximum pixel value of sub-regions probability of occurrence either average pixel value, to determine one between each sub-regions Cause property.If the value differences between each sub-regions are more than the threshold value of setting, it may determine that colour cast occur.
A kind of flow diagram of the method for terminal screen detection of the embodiment of the present invention.The following institute of specific implementation mode It states:
First image of 910 shooting terminal displays to be detected, wherein being shown on the display screen of the terminal to be detected Show solid-color image and suspension icon.
920 are moved to the suspension icon outside the range of suspension icon home position, and shoot the end to be detected End shows the second image of screen.
Described first image and second image are sent to server by 930, make server identification described the One image and the second image, and determine according to recognition result the defect information of the terminal display to be detected.
The embodiment of the embodiment of the present invention obtains detection data, such as the first image, the second figure by detection device The data such as picture.Detection data is sent to server by the detection device, and is carried out to corresponding detection data by server Reason, determines the defect information of terminal display to be detected.Other are description information, referring to above-described embodiment.
The embodiment of the present invention additionally provides a kind of detection device, can be run described in above-described embodiment in the detection device Method.Specifically, detection device provided in an embodiment of the present invention, which includes at least, processor, it can for storing the processor The memory executed instruction;The wherein described processor is used to control detection device and implements either method in above-described embodiment.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is deposited in the computer readable storage medium Instruction is contained, when running on detection means so that detection device executes the either method described in above-described embodiment.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is schematical, for example, the mould The division of block or unit is a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling or direct-coupling discussed or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie Matter may include:Can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of method of terminal screen detection, which is characterized in that the method includes:
The first image of terminal display to be detected is shot, wherein showing pure color figure on the display screen of the terminal to be detected Picture and suspension icon;
The suspension icon is moved to outside the range of suspension icon home position, and shoots the terminal display screen to be detected Second image of curtain;
It identifies described first image and the second image, and lacking for the terminal display to be detected is determined according to recognition result Fall into information.
2. the method as described in claim 1, which is characterized in that described that the suspension icon is moved to the suspension icon original Include outside beginning position range:
Shoot the second image of terminal display to be detected;
It identifies second image, determines the home position of the suspension icon;
By touch device, outside the mobile suspension icon to suspension icon home position range.
3. the method as described in claim 1, which is characterized in that described that the suspension icon is moved to the suspension icon original Include outside beginning position range:
It identifies described first image, determines the home position of the suspension icon;
By touch device, outside the mobile suspension icon to suspension icon home position range.
4. the method as described in claim 1, which is characterized in that described that the suspension icon is moved to the suspension icon original It is specially outside beginning position range:
The instruction that mobile suspension icon is sent to the terminal to be detected, is moved suspension icon with controlling the terminal to be detected To outside the range of home position.
5. the either method as described in claim 1-4, which is characterized in that the identification described first image and the second figure Picture, and determine that the defect information of the terminal display to be detected includes according to recognition result:
In described first image in terminal display range to be detected, the image in the first range is extracted, described second In image in terminal display range to be detected, the image in the second range is extracted, wherein first range and the second model Range of the combination not less than terminal display to be detected is enclosed, and is not included in first range and the second range described outstanding Relief mark;
It identifies the image in first range and the second range, determines the defect information of the terminal screen to be detected.
6. method as claimed in claim 5, which is characterized in that the figure identified in first range and the second range Picture determines that the defect information of the terminal screen to be detected includes:
The maximum pixel value of probability of occurrence in the pixel value in first range and the second range is extracted, and is determined described general The maximum pixel value of rate is standard value;
It obtains in the pixel value in first range and the second range with the standard value difference more than given threshold pixel Point, and determine that the pixel is the defect information of terminal display to be detected.
7. method as claimed in claim 5, which is characterized in that the figure identified in first range and the second range Picture determines that the defect information of the terminal screen to be detected includes:
First range image and the second range image are partitioned into the subregion of setting;
The pixel value of pixel between all subregion is compared, and determines that the subregion to differ greatly is that terminal to be detected is shown The abnormal area of screen.
8. a kind of detection method of terminal screen, which is characterized in that the method includes:
The first image of terminal display to be detected is shot, wherein showing pure color figure on the display screen of the terminal to be detected Picture and suspension icon;
The suspension icon is moved to outside the range of suspension icon home position, and shoots the terminal display screen to be detected Second image of curtain;
Described first image and second image are sent to server, make server identification described first image with And second image, and determine according to recognition result the defect information of the terminal display to be detected.
9. a kind of detection device, which is characterized in that including:
Processor, the memory for storing the processor-executable instruction;
The wherein described processor makes detection device execute such as claim 1-8 for calling the instruction stored in the memory The either method.
10. a kind of computer readable storage medium, it is stored with instruction in the computer readable storage medium, when in detection device When upper operation so that detection device executes either method according to claims 1-8.
CN201810172038.5A 2018-03-01 2018-03-01 Terminal screen detection method, detection device and storage medium Active CN108303237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810172038.5A CN108303237B (en) 2018-03-01 2018-03-01 Terminal screen detection method, detection device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810172038.5A CN108303237B (en) 2018-03-01 2018-03-01 Terminal screen detection method, detection device and storage medium

Publications (2)

Publication Number Publication Date
CN108303237A true CN108303237A (en) 2018-07-20
CN108303237B CN108303237B (en) 2020-07-28

Family

ID=62849402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810172038.5A Active CN108303237B (en) 2018-03-01 2018-03-01 Terminal screen detection method, detection device and storage medium

Country Status (1)

Country Link
CN (1) CN108303237B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345691A (en) * 2018-07-23 2019-02-15 深圳回收宝科技有限公司 A kind of method, portable terminal and the storage medium of electronic product recycling
CN110086921A (en) * 2019-04-28 2019-08-02 深圳回收宝科技有限公司 Detection method, device, portable terminal and the storage medium of terminal capabilities state
CN110189670A (en) * 2019-06-24 2019-08-30 珠海格力智能装备有限公司 A kind of LED display screen defect inspection method
CN112950608A (en) * 2021-03-15 2021-06-11 读书郎教育科技有限公司 Method for detecting screen splash and screen splash of terminal screen in factory

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0979946A (en) * 1995-09-18 1997-03-28 Sanyo Electric Co Ltd Inspection device for display device
JP2002340740A (en) * 2001-05-16 2002-11-27 Matsushita Electric Ind Co Ltd Method for inspecting address of display defect in liquid crystal display unit
JP2007071785A (en) * 2005-09-08 2007-03-22 Victor Co Of Japan Ltd Method for inspecting projector
CN101655614A (en) * 2008-08-19 2010-02-24 京东方科技集团股份有限公司 Method and device for detecting cloud pattern defects of liquid crystal display panel
TWI490791B (en) * 2011-12-09 2015-07-01 國立高雄應用科技大學 Display defect-inspecting method
CN105679221A (en) * 2016-03-31 2016-06-15 广东欧珀移动通信有限公司 Chromatic aberration detection method and device and terminal
CN105973894A (en) * 2016-04-28 2016-09-28 蚌埠国显科技有限公司 Display screen foreign matter detection method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0979946A (en) * 1995-09-18 1997-03-28 Sanyo Electric Co Ltd Inspection device for display device
JP2002340740A (en) * 2001-05-16 2002-11-27 Matsushita Electric Ind Co Ltd Method for inspecting address of display defect in liquid crystal display unit
JP2007071785A (en) * 2005-09-08 2007-03-22 Victor Co Of Japan Ltd Method for inspecting projector
CN101655614A (en) * 2008-08-19 2010-02-24 京东方科技集团股份有限公司 Method and device for detecting cloud pattern defects of liquid crystal display panel
TWI490791B (en) * 2011-12-09 2015-07-01 國立高雄應用科技大學 Display defect-inspecting method
CN105679221A (en) * 2016-03-31 2016-06-15 广东欧珀移动通信有限公司 Chromatic aberration detection method and device and terminal
CN105973894A (en) * 2016-04-28 2016-09-28 蚌埠国显科技有限公司 Display screen foreign matter detection method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
年轻小鲜橙: "怎么检测显示器坏点", 《百度知道》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345691A (en) * 2018-07-23 2019-02-15 深圳回收宝科技有限公司 A kind of method, portable terminal and the storage medium of electronic product recycling
CN110086921A (en) * 2019-04-28 2019-08-02 深圳回收宝科技有限公司 Detection method, device, portable terminal and the storage medium of terminal capabilities state
CN110189670A (en) * 2019-06-24 2019-08-30 珠海格力智能装备有限公司 A kind of LED display screen defect inspection method
CN112950608A (en) * 2021-03-15 2021-06-11 读书郎教育科技有限公司 Method for detecting screen splash and screen splash of terminal screen in factory
CN112950608B (en) * 2021-03-15 2023-05-26 读书郎教育科技有限公司 Method for detecting screen pattern and screen flashing of terminal in factory

Also Published As

Publication number Publication date
CN108303237B (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN109191410B (en) Face image fusion method and device and storage medium
CN108303237A (en) A kind of method, detection device and the storage medium of terminal screen detection
CN107945769B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
US20150193951A1 (en) Displaying particle effect on screen of electronic device
CN108593672A (en) A kind of detection method, detection device and the storage medium of terminal touch screen
CN106937045A (en) The display methods and terminal device of a kind of preview image
CN107395958A (en) Image processing method and device, electronic equipment and storage medium
CN108550107A (en) A kind of image processing method, picture processing unit and mobile terminal
CN108769634A (en) A kind of image processing method, image processing apparatus and terminal device
CN109151337A (en) Recognition of face light compensation method, recognition of face light compensating apparatus and mobile terminal
CN109118447A (en) A kind of image processing method, picture processing unit and terminal device
CN106406667A (en) A method and a device for setting application program icons on a desktop wallpaper
CN107239222A (en) The control method and terminal device of a kind of touch-screen
JP2015075920A (en) Image processing apparatus, image processing method, and program
CN106600524A (en) Image processing method and terminal
CN106251191A (en) The display control method of a kind of terminal screen and terminal
CN112257501A (en) Face feature enhancement display method and device, electronic equipment and medium
CN108805095A (en) image processing method, device, mobile terminal and computer readable storage medium
CN110618852A (en) View processing method, view processing device and terminal equipment
EP4099162A1 (en) Method and apparatus for configuring theme color of terminal device, and terminal device
CN110444181A (en) Display methods, device, terminal and computer readable storage medium
CN106775548B (en) page processing method and device
CN113052923A (en) Tone mapping method, tone mapping apparatus, electronic device, and storage medium
CN104917969B (en) The method and mobile terminal of a kind of image procossing
CN112511890A (en) Video image processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 518000 building 20, Shenzhen International Innovation Center, No. 1006, Shennan Road, Futian District, Shenzhen, Guangdong, Guangdong

Patentee after: SHENZHEN HUISHOUBAO TECH Co.,Ltd.

Address before: 518057 building 7, building 8, Granville Software Park, Nanshan District science and Technology Park, Shenzhen, Guangdong

Patentee before: SHENZHEN HUISHOUBAO TECH Co.,Ltd.