CN110363785A - A kind of super frame detection method and device of text - Google Patents

A kind of super frame detection method and device of text Download PDF

Info

Publication number
CN110363785A
CN110363785A CN201910638541.XA CN201910638541A CN110363785A CN 110363785 A CN110363785 A CN 110363785A CN 201910638541 A CN201910638541 A CN 201910638541A CN 110363785 A CN110363785 A CN 110363785A
Authority
CN
China
Prior art keywords
text
super frame
image
average value
text filed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910638541.XA
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910638541.XA priority Critical patent/CN110363785A/en
Publication of CN110363785A publication Critical patent/CN110363785A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30176Document

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)

Abstract

This application discloses a kind of super frame detection method and device of text, it is able to detect text filed whether beyond text box, text filed whether beyond button and text filed whether a variety of super frame situations, the application scenarios such as Chong Die with other UI elements are wide.The application method includes: to obtain image to be detected comprising text filed and user interface UI element;Extract the characteristics of image of described image to be detected;Judged according to described image feature and preset judgment rule described text filed with the presence or absence of the super frame of text.

Description

A kind of super frame detection method and device of text
Technical field
This application involves Internet technical field more particularly to a kind of super frame detection method and device of text.
Background technique
With the development of internet technology, human-computer interaction is more and more common.Wherein user interface (User Interface, It UI is) that user and machine carry out the operation interface intuitively faced when human-computer interaction.
Various interface elements comprising building user interface in UI, such as form, text box, button, icon.Actually answering In, UI often will appear the super frame problem of text.The super frame of text includes a variety of situations, including text filed beyond text box or is pressed Button frame, it is text filed between the overlapped content of text caused in text filed show it is unintelligible, it is text filed with other UI It is unintelligible that element overlapping causes the content of text in text filed to show.
Currently, super frame detection method be mainly according in text filed content of text and text box capacity detected, For example, it is assumed that need to judge one in UI it is text filed with the presence or absence of super frame phenomenon, existing method is true according to content of text Surely the display area size needed, wherein content of text includes the contents such as number of words, font and font size, is then compared display area Size is compared with text box capacity, so that it is determined that whether text filed can exceed text box.
As can be seen that whether above-mentioned super frame detection method is only capable of detecting text filed beyond text box, application scenarios are limited.
Summary of the invention
The embodiment of the present application provides a kind of super frame detection method and device of text, is able to detect text filed whether exceed Text box, it is text filed whether beyond button and it is text filed whether a variety of super frame situations such as Chong Die with other UI elements, answer It is wide with scene.
In view of this, the application first aspect provides a kind of super frame detection method of text, comprising:
Obtain image to be detected comprising text filed and user interface UI element;
Extract the characteristics of image of described image to be detected;
Judged according to described image feature and preset judgment rule described text filed with the presence or absence of the super frame of text.
The application second aspect provides a kind of super frame detection device of text, comprising:
First acquisition unit includes text filed image to be detected with UI element for obtaining;
Extraction unit, for extracting the characteristics of image of described image to be detected;
Judging unit, for judging described text filed whether there is according to described image feature and preset judgment rule The super frame of text.
In a kind of possible design, in the first implementation of the second aspect of the embodiment of the present application,
The extraction unit, for carrying out edge detection simultaneously to described image to be detected according to preset edge detection algorithm Extract the edge feature of described image to be detected.
In a kind of possible design, in second of implementation of the second aspect of the embodiment of the present application,
The edge feature is included in edge detection results image, white pixel in the most pixel column of white pixel point The first of white pixel point maximum continuous length and white pixel in the most pixel column of first ratio of point, white pixel point First position of the most pixel column of point in the detection result image;
The judging unit, for being respectively greater than first when first ratio and the first maximum continuous length and presetting Value and the second preset value, and when the first position is located in preset first range judge that described text filed there are texts to surpass Frame.
In a kind of possible design, in the third implementation of the second aspect of the embodiment of the present application,
The edge feature is included in edge detection results image, white pixel in the most pixel column of white pixel point The second of white pixel point maximum continuous length and white pixel in the most pixel column of second ratio of point, white pixel point The second position of the most pixel column of point in the detection result image;
The judging unit, for being respectively greater than third when second ratio and the second maximum continuous length and presetting Value and the 4th preset value, and when the second position is located in preset second range judge that described text filed there are texts to surpass Frame.
In a kind of possible design, in the 4th kind of implementation of the second aspect of the embodiment of the present application, the dress It sets further include:
Second acquisition unit, for obtaining the second coordinate of text filed first coordinate and the UI element;
Determination unit, for determining the described text filed and described UI member according to first coordinate and second coordinate The overlapping region of element;
The extraction unit, for extracting the color characteristic of described image to be detected according to the overlapping region.
It is described to mention in the 5th kind of implementation of the second aspect of the embodiment of the present application in a kind of possible design Unit is taken to be used for:
When the overlapping region and the text filed area ratio are greater than default first area ratio, the overlapping is obtained The third average value of first average value of the blue channel in region, the second average value of yellow channels and green channel;
Obtain the 4th average value of the text filed middle blue channel except the overlapping region, yellow channels it is the 5th flat 6th average value of mean value and green channel;
The judging unit is used for:
According to first average value, second average value, the third average value, the 4th average value, described The judgment rule of 5th average value, the 6th average value and threshold value judges described text filed with the presence or absence of the super frame of text.
In a kind of possible design, in the 6th kind of implementation of the second aspect of the embodiment of the present application,
The judging unit is used for:
Obtain the first absolute value of the difference of first average value and the 4th average value;
Obtain the second absolute value of the difference of second average value and the 5th average value;
Obtain the third absolute value of the difference of the third average value and the 6th average value;
The sum of first absolute value, second absolute value and the third absolute value is obtained as color difference value;
If the color difference value is greater than default first difference value, judge described text filed in the presence of super frame.
In a kind of possible design, in the 7th kind of implementation of the second aspect of the embodiment of the present application,
The extraction unit is used for:
When the overlapping region and the text filed area ratio are greater than default first area ratio, to described to be detected Image carries out gray proces;
Binarization segmentation is carried out to by image to be detected of gray proces;
It obtains in image to be detected by binarization segmentation, the first accounting of white area in the overlapping region, with And the second accounting of the text filed middle white area in addition to the overlapping region;
The judging unit is used for:
Described text filed whether there is is judged according to first accounting, second accounting and preset judgment rule The super frame of text.
In a kind of possible design, in the 8th kind of implementation of the second aspect of the embodiment of the present application,
The judging unit is used for:
If the absolute value of the difference of first accounting and second accounting is greater than default second difference value, institute is judged It states text filed in the presence of super frame.
The application third aspect provides a kind of server, which may include the entities such as terminal device or chip, The server includes: processor, memory;The memory is for storing instruction;The processor is for executing described deposit Described instruction in reservoir, so that the server realizes the function of the super frame detection device of text in aforementioned second aspect.
The fourth aspect of the application provides a kind of computer readable storage medium, in the computer readable storage medium It is stored with instruction, when run on a computer, so that computer realizes the super frame detection device of text in aforementioned second aspect Function.
The embodiment of the present application fourteenth aspect provides a kind of computer program product, which includes meter Calculation machine software instruction, the computer software instructions can be loaded to realize the super frame of text in aforementioned second aspect by processor The function of detection device.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
Image to be detected comprising text filed and UI element is first obtained, the characteristics of image of image to be detected is then extracted, In UI, since button frame or text box are there are apparent edge, so characteristics of image be able to reflect it is text filed with edge Relative position, and as the UI element of pattern one kind often in color with text filed there are larger difference, this species diversity also can Reflected by characteristics of image, so being judged according to characteristics of image and preset judgment rule text filed super with the presence or absence of text Frame is capable of detecting when that the super frame of the text of more kinds of situations, application scenarios are more extensive.
Detailed description of the invention
Fig. 1 is the application scenario diagram of the super frame detection method of text in the embodiment of the present application;
Fig. 2 is the super frame detection method one embodiment schematic diagram of text in the embodiment of the present application;
Fig. 3 is the first embodiment schematic diagram of image to be detected in the embodiment of the present application;
Fig. 4 is the second embodiment schematic diagram of image to be detected in the embodiment of the present application;
Fig. 5 is the 3rd embodiment schematic diagram of image to be detected in the embodiment of the present application;
Fig. 6 is the edge detection results that the embodiment of the present application carries out that edge detection is obtained to image to be detected shown in fig. 5 Image schematic diagram;
Fig. 7 is another embodiment schematic diagram of the super frame detection method of text in the embodiment of the present application;
Fig. 8 is another embodiment schematic diagram of the super frame detection method of text in the embodiment of the present application;
Fig. 9 is the fourth embodiment schematic diagram of image to be detected in the embodiment of the present application;
Figure 10 is a still further embodiment schematic diagram of the super frame detection method of text in the embodiment of the present application;
Figure 11 is the image for obtain after gray proces and binarization segmentation to image to be detected shown in Fig. 4;
Figure 12 is a kind of one embodiment schematic diagram of the super frame detection device of text provided by the embodiments of the present application;
Figure 13 is a kind of another embodiment schematic diagram of the super frame detection device of text provided by the embodiments of the present application;
Figure 14 is a structural schematic diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application provides a kind of super frame detection method and device of text, is able to detect text filed whether exceed Text box, it is text filed whether beyond button and it is text filed whether a variety of super frame situations such as Chong Die with other UI elements, answer It is wide with scene.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that embodiments herein described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " corresponding to " and their times What is deformed, it is intended that cover it is non-exclusive include, for example, contain the process, method of a series of steps or units, system, Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for The intrinsic other step or units of these process, methods, product or equipment.
It should be understood that the application provides a kind of super frame detection method of text, it is applied to UI scene and specifically sees Fig. 1, The application scenario diagram of the super frame detection method of text in the embodiment of the present application.Shown in FIG. 1 is the logged-on user interface of a system, Element in the logged-on user interface includes text filed, button and icon, wherein it is text filed specifically include " user name ", " password ", " identifying code " and " login ", " login " are distributed in button frame, and icon is magnifying glass.Though from figure 1 it appears that Right text filed " login " is not departing from button frame, but UI element button overlaps with text filed " identifying code ", causes Content of text identifying code is shown not exclusively.
As shown in Figure 1, the color of UI element button is deeper, and it is text filed in font it is white, so text filed Average color it is shallower, when UI element button and it is text filed overlap when, necessarily result in text filed script color hair Changing, specifically, since the partial region in text filed is blocked by UI element button, so text filed average face Color can be deepened, and this variation can be reflected by characteristics of image.So the super frame inspection of the text provided in the embodiment of the present application Survey method surpasses frame to text based on characteristics of image and detects, and is capable of detecting when the super frame phenomenon of text shown in FIG. 1.
It should be noted that under normal circumstances, inherently there is some difference for text filed and UI element characteristics of image, So using the present processes detect it is text filed whether super frame has preferably effect, the super frame of text provided by the present application is examined Survey method is suitable for several scenes, can not only detect the super frame phenomenon of text shown in FIG. 1, additionally it is possible to detect characteristics of image The changed super frame phenomenon of any other text.
In order to make it easy to understand, referring to Fig. 2, Fig. 2 is an implementation of the super frame detection method of text in the embodiment of the present application It illustrates and is intended to.
The embodiment of the present application provides a kind of super frame detection method of text, comprising:
101, obtain image to be detected comprising text filed and user interface UI element.
Due to the embodiment of the present application need to detect it is text filed with the presence or absence of super frame, so comprising text in image to be detected Region, due to it is text filed with it is text filed it is Chong Die can directly be detected by text filed coordinate, so this Shen Please embodiment predominantly detect to UI element and the super frame problem of text filed relevant text, so in image to be detected comprising UI member Element.
It should be noted that image to be detected can be using text box as the text filed of boundary, text is judged for convenience One's respective area whether there is super frame, and the embodiment of the present application is to the text filed certain pixel of each extension up and down, and after extending Image as image to be detected.
In the embodiment of the present application, image to be detected can be complete user interface image, be also possible to user interface Topography, as shown in figure 3, in the embodiment of the present application image to be detected first embodiment schematic diagram, Fig. 3 shows use The topography at family interface;UI element can be a part for being completely also possible to part UI element, as shown in figure 4, this Shen Please in embodiment image to be detected second embodiment schematic diagram, in Fig. 4, left side pentagonal regions are character costume icon A part, since the part overlaps with text filed, so only by left side pentagonal regions and text filed just can It detects text filed with the presence or absence of super frame;Similarly, text filed to can be complete text filed, it is also possible to part text Region is not detailed herein.
102, extract the characteristics of image of image to be detected.
In the embodiment of the present application, characteristics of image may include color characteristic, textural characteristics, shape feature and spatial relationship Feature;Wherein spatial relation characteristics can be understood as the relative positional relationship in image to be detected between two regions, such as text The relative positional relationship of one's respective area and UI element, and color characteristic, textural characteristics and shape feature are readily appreciated that, the application is implemented It is not described here in detail for example.
It is understood that characteristics of image is related to image to be detected, the characteristics of image of different image to be detected is different;Example Such as, the characteristics of image of image to be detected that one text region is constituted from different UI elements can be different, it is different it is text filed with The characteristics of image of image to be detected that same UI element is constituted can also be different.
In addition, color characteristic, textural characteristics, shape feature and spatial relationship are special when text filed frame super there are text Sign can all can reflect the super frame phenomenon of text.
So for these reasons, the embodiment of the present application without limitation, surpasses characteristics of image as long as being able to reflect out text Frame phenomenon.
103, judged according to characteristics of image and preset judgment rule text filed with the presence or absence of the super frame of text.
It is understood that judgment rule include it is a variety of, it is corresponding with characteristics of image, it is corresponding so characteristics of image is different Judgment rule and specific judgment method are also different, and the embodiment of the present application does not limit this.
In the embodiment of the present application, image to be detected comprising text filed and UI element is first obtained, is then extracted to be checked The characteristics of image of altimetric image, in UI, since there are apparent edges for button frame or text box, so characteristics of image is able to reflect The text filed relative position with edge, and as the UI element of pattern one kind often in color with text filed there are larger differences Different, this species diversity can also be reflected by characteristics of image, so judging text area according to characteristics of image and preset judgment rule Domain whether there is the super frame of text, be capable of detecting when that the super frame of the text of more kinds of situations, application scenarios are more extensive.
Wherein, extracting characteristics of image includes a variety of methods, and the embodiment of the present application below will be to the method for extracting characteristics of image It is specifically introduced.In another embodiment of the super frame detection method of text provided by the embodiments of the present application, extract to be detected The characteristics of image of image includes:
Edge detection is carried out to image to be detected according to preset edge detection algorithm and extracts the edge of image to be detected Feature.
Referring to Fig. 5, in the embodiment of the present application image to be detected 3rd embodiment schematic diagram.In the embodiment of the present application In, edge detection is carried out to image to be detected shown in fig. 5 using edge detection algorithm, obtained edge detection results image is such as Shown in Fig. 6, edge feature then is extracted from edge detection results image shown in fig. 6.Wherein, edge feature may include more Kind feature.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, edge feature is included in side In edge detection result image, the first ratio of white pixel point, white pixel point are most in the most pixel column of white pixel point Pixel column in white pixel point the first maximum continuous length and the most pixel column of white pixel point in testing result figure First position as in.
It is understood that by taking Fig. 6 as an example, the most pixel column of detection white pixel point, it is assumed that in Fig. 6 " Hero " The white pixel point of a column pixel column at " e " is most, which has 180 pixels altogether, and wherein white pixel point is 120, So the first ratio is then 2/3, in this 120 white pixel points, white pixel point be continuous, some white pixels Black pixel point is separated between point, the embodiment of the present application obtains the at most corresponding first maximum continuous length of continuous quantity;The One position can be absolute position, be also possible to relative position, and absolute position can be understood as the position in the entire interface UI, Relative position can be understood as the position in image to be detected, and wherein position can be indicated with coordinate.
When edge feature is features described above, text filed whether deposit is judged according to characteristics of image and preset judgment rule Surpassing frame in text may include:
If the first ratio and the first maximum continuous length are respectively greater than the first preset value and the second preset value, and first position In preset first range, then judge that text filed there are the super frames of text.
In the embodiment of the present application, by the restriction of the first preset value and the second preset value, guarantee white pixel point respectively The number and distribution of white pixel point in most pixel columns, and the most pixel column of white pixel point is often the side of UI element Frame, especially when UI element is text box or button frame;Here still by Fig. 5 and it is shown in fig. 6 for, can be with from Fig. 5 Find out, include text filed and text box in image to be detected, and text frame is approximate rectangular, so obtaining in Fig. 6 The most pixel column of white pixel point be then text box a line frame, when the first ratio and the first maximum continuous length difference When greater than the first preset value and the second preset value, illustrate the frame long enough of text box, as long as at this point, first position is in the first model In enclosing, so that it may it is text filed to guarantee that the frame of text frame can pass through, to cause the super frame of text.
It is understood that first range can be set according to the actual situation, under normal circumstances, the first range is Image to be detected is located in the middle a range, from fig. 6, it can be seen that if the first range is set as the margin location of image to be detected Set, which is not present content of text, so even if the frame long enough of text box, can not pass through it is text filed, because This not will cause the super frame of text.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, edge feature is included in side In edge detection result image, the second ratio of white pixel point, white pixel point are most in the most pixel column of white pixel point Pixel column in white pixel point the second maximum continuous length and the most pixel column of white pixel point in testing result figure The second position as in;
Judge that the text filed super frame of text that whether there is includes: according to characteristics of image and preset judgment rule
If the second ratio and the second maximum continuous length are respectively greater than third preset value and the 4th preset value, and the second position In preset second range, then judge that text filed there are the super frames of text.
It should be noted that in the aforementioned embodiment, be judge based on pixel column it is text filed with the presence or absence of super frame, and Application embodiment be judge based on pixel column it is text filed whether super frame, detailed process be based on pixel column and judge text filed be The no process that there is super frame is similar, and it is not described here in detail.
The text filed specific mistake with the presence or absence of super frame is judged by edge feature it should be noted that being described above Journey is explained below and judges the text filed detailed process with the presence or absence of super frame by color characteristic.
Referring to Fig. 7, Fig. 7 is another embodiment schematic diagram of the super frame detection method of text in the embodiment of the present application.
The embodiment of the present application provides a kind of one embodiment of super frame detection method of text, comprising:
201, obtain image to be detected comprising text filed and user interface UI element.
In the embodiment of the present application, step 201 is similar with step 101 in previous embodiment, and it is not described here in detail.
202, obtain the second coordinate of text filed first coordinate and UI element.
It is understood that the first coordinate can be the coordinate of text filed frame, the second coordinate can be UI element frame Coordinate.
203, text filed and UI element overlapping region is determined according to the first coordinate and the second coordinate.
It is understood that carrying out coordinate calculating according to the first coordinate and the second coordinate, overlapping region can be determined, specifically Calculation method is more mature technology, and it is not described here in detail.
204, the color characteristic of image to be detected is extracted according to overlapping region.
It is text filed when UI element and text filed there are when overlapping region it should be noted that in practical applications The super frame of text may be not present;
For example, being calculated when due to overlapping region according to the coordinate of UI element frame when UI element cannot be full of UI element frame It obtains, so even if there are overlapping regions, but actually UI element is with text filed not overlapping, at this time text area Domain be not present the super frame of text, so according only to coordinate calculating overlapping region size, can not accurate judgement it is text filed whether There are super frames.
For another example there are transparent attributes for part UI element, even if UI element overlaps with text filed, but UI element is Transparent attribute, so the content of text that not will cause in text filed is unintelligible, so text filed super frame is also not present.
Based on above-mentioned analysis, text filed with the presence or absence of super frame in order to more accurately judge, the embodiment of the present application extraction to The color characteristic of overlapping region in detection image, it is text filed with the presence or absence of the super frame of text to be judged according to color characteristic.
205, judged according to characteristics of image and preset judgment rule text filed with the presence or absence of the super frame of text.
It should be noted that in the embodiment of the present application, characteristics of image is the color characteristic that step 204 is extracted, color Feature is different, and corresponding judgment rule and deterministic process difference, the embodiment of the present application, which does not do color characteristic and judgment rule, to be had Body limits, as long as can judge text filed with the presence or absence of the super frame of text, will be directed to different color characteristics below to sentencing Disconnected process is specifically introduced.
Referring to Fig. 8, Fig. 8 is another embodiment schematic diagram of the super frame detection method of text in the embodiment of the present application.
The embodiment of the present application provides a kind of one embodiment of super frame detection method of text, comprising:
301, obtain image to be detected comprising text filed and user interface UI element.
302, obtain the second coordinate of text filed first coordinate and UI element.
303, text filed and UI element overlapping region is determined according to the first coordinate and the second coordinate.
304, if overlapping region and text filed area ratio are greater than default first area ratio, obtain the indigo plant of overlapping region The third average value of first average value of chrominance channel, the second average value of yellow channels and green channel.
In the embodiment of the present application, first the size of overlapping region is determined, specifically according to overlapping region and text The area ratio in region is determined, and when area ratio is greater than default first area ratio, represents overlapping region relative to text filed For it is sufficiently large, so there are the possibility of the super frame of text;And when area ratio is not more than default first area ratio, represent overlay region Domain very little, so smaller a possibility that content of text in the overlay text region of overlapping region.
By taking Fig. 9 as an example, Fig. 9 is the fourth embodiment schematic diagram of image to be detected in the embodiment of the present application.It is assumed that Fig. 9 institute The entire image to be detected shown be it is text filed, the encircled of the lower left Fig. 9 represents overlapping region, it can be seen that overlapping region It is smaller, therefore area ratio is also smaller, there is no content of text in overlay text region for overlapping region at this time, so text is not present Super frame.
Therefore, the embodiment of the present application just surpasses frame to text and carries out in the case where area ratio is greater than default first area ratio Judgement.Default first area ratio can be configured according to actual needs, such as can be set to 0.05, may be set to be 0.08。
It is understood that all colours are all by logical to blue channel, yellow in a kind of current color system The variation and superposition of road and green channel constructs various colors, therefore, the embodiment of the present application obtain in overlapping region this three The average value of a Color Channel indicates the color characteristic of overlapping region with the average value of three Color Channels.
305, obtain the 4th average value of text filed middle blue channel except overlapping region, yellow channels it is the 5th flat 6th average value of mean value and green channel.
It is understood that obtain overlapping region except it is text filed in three Color Channels average value, be used for table Show the text filed color characteristic except overlapping region.
306, according to the first average value, the second average value, third average value, the 4th average value, the 5th average value, the 6th flat The judgment rule of mean value and threshold value judges text filed with the presence or absence of the super frame of text.
It should be noted that according to this six average values can there are many judgment methods, the embodiment of the present application not to do to this It limits.It will be described in detail by taking one kind as an example below.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, according to the first average value, The judgment rule judgement of second average value, third average value, the 4th average value, the 5th average value, the 6th average value and threshold value It is text filed to include: with the presence or absence of the super frame of text
Obtain the first absolute value of the difference of the first average value and the 4th average value;
Obtain the second absolute value of the difference of the second average value and the 5th average value;
Obtain the third absolute value of the difference of third average value and the 6th average value;
The sum of the first absolute value, the second absolute value and third absolute value is obtained as color difference value;
If color difference value is greater than default first difference value, judge text filed in the presence of super frame.
In the embodiment of the present application, it obtains text filed under each Color Channel in overlapping region and outside overlapping region Difference, the text filed color difference value outside overlapping region and overlapping region is determined according to difference, when color difference value is big When default first difference value, it is believed that the color characteristic of overlapping region with and overlapping region outside text filed color characteristic deposit In larger difference, then judge text filed in the presence of super frame;Wherein, the first difference value can also be configured according to actual needs, Such as it can be set to 150,160 or 170.
Above-described embodiment is that a kind of text filed method with the presence or absence of super frame is judged by color characteristic, is explained below Another kind judges the text filed method with the presence or absence of super frame by color characteristic.
Referring to Fig. 10, Figure 10 is a still further embodiment schematic diagram of the super frame detection method of text in the embodiment of the present application.
The embodiment of the present application provides a kind of one embodiment of super frame detection method of text, comprising:
401, obtain image to be detected comprising text filed and user interface UI element.
It should be noted that step 401 is identical as step 301, it is not detailed herein.
402, obtain the second coordinate of text filed first coordinate and UI element.
It should be noted that step 402 is identical as step 302, it is not detailed herein.
403, text filed and UI element overlapping region is determined according to the first coordinate and the second coordinate.
It should be noted that step 403 is identical as step 303, it is not detailed herein.
404, if overlapping region and text filed area ratio are greater than default first area ratio, image to be detected is carried out Gray proces.
It should be noted that gray proces are more mature technologies, it is not described here in detail.
405, binarization segmentation is carried out to by image to be detected of gray proces.
It should be noted that binarization segmentation is equally more mature technology, and after binarization segmentation, image to be detected It will become only black and white image.
Binarization segmentation in order to better understand, the embodiment of the present application carry out in detail by taking image to be detected shown in Fig. 4 as an example It describes in detail bright.After carrying out gray proces and binarization segmentation to image to be detected shown in Fig. 4, obtained image is as shown in figure 11.
406, it obtains in image to be detected by binarization segmentation, the first accounting of white area in overlapping region, with And the second accounting of the text filed middle white area in addition to overlapping region.
Comparative diagram 4 and Figure 11 can be seen that overlapping region and be all white area, and it is text filed in Non-overlapping Domain only Having content of text region is white area.
In the embodiment of the present application, the color characteristic of overlapping region is indicated using the first accounting of white area, use is white Second accounting in color region indicates the text filed color characteristic in addition to overlapping region.
407, judged according to the first accounting, the second accounting and preset judgment rule text filed super with the presence or absence of text Frame.
It should be noted that the more being planted according to the method that the first accounting and the second accounting judge whether there is the super frame of text.
Such as can directly compare the first accounting and the second accounting, then according to the first accounting, the second accounting and preset Judgment rule judges that the text filed super frame of text that whether there is includes:
If the absolute value of the difference of the first accounting and the second accounting is greater than default second difference value, text filed deposit is judged In super frame.
In addition to this it is possible to then the first accounting and the second accounting are compared again respectively multiplied by correspondingly weight, Specifically it is not detailed.
Please refer to Figure 12, a kind of one embodiment schematic diagram of the super frame detection device of text provided by the embodiments of the present application. As shown in figure 12, the embodiment of the present application provides a kind of super frame detection device of text, comprising:
First acquisition unit 121 includes text filed image to be detected with UI element for obtaining;
Extraction unit 122, for extracting the characteristics of image of image to be detected;
Judging unit 123, it is text filed with the presence or absence of text for being judged according to characteristics of image and preset judgment rule Super frame.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, extraction unit 121 is used for Edge detection is carried out to image to be detected according to preset edge detection algorithm and extracts the edge feature of image to be detected.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, edge feature is included in side In edge detection result image, the first ratio of white pixel point, white pixel point are most in the most pixel column of white pixel point Pixel column in white pixel point the first maximum continuous length and the most pixel column of white pixel point in testing result figure First position as in;
Judging unit 123, for being respectively greater than the first preset value and second when the first ratio and the first maximum continuous length Preset value, and when first position is located in preset first range judges that text filed there are the super frames of text.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, edge feature is included in side In edge detection result image, the second ratio of white pixel point, white pixel point are most in the most pixel column of white pixel point Pixel column in white pixel point the second maximum continuous length and the most pixel column of white pixel point in testing result figure The second position as in;
Judging unit 123, for being respectively greater than third preset value and the 4th when the second ratio and the second maximum continuous length Preset value, the and when second position is located in preset second range judges that text filed there are the super frames of text.
Please refer to Figure 13, a kind of another embodiment signal of the super frame detection device of text provided by the embodiments of the present application Figure.As shown in figure 13, the embodiment of the present application provides a kind of super frame detection device of text, comprising:
First acquisition unit 131 includes text filed image to be detected with UI element for obtaining;
Second acquisition unit 132, for obtaining the second coordinate of text filed first coordinate and UI element;
Determination unit 133, for determining text filed and UI element overlapping region according to the first coordinate and the second coordinate;
Extraction unit 134, for extracting the color characteristic of image to be detected according to overlapping region.
Judging unit 135, it is text filed with the presence or absence of text for being judged according to characteristics of image and preset judgment rule Super frame.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, extraction unit 134 is used for:
When overlapping region and text filed area ratio are greater than default first area ratio, the blue for obtaining overlapping region is logical The third average value of first average value in road, the second average value of yellow channels and green channel;
Obtain the 4th average value of the text filed middle blue channel except overlapping region, the 5th average value of yellow channels With the 6th average value of green channel;
Judging unit 135 is used for:
According to the first average value, the second average value, third average value, the 4th average value, the 5th average value, the 6th average value And the judgment rule of threshold value judge it is text filed with the presence or absence of the super frame of text.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, judging unit 135 is used for:
Obtain the first absolute value of the difference of the first average value and the 4th average value;
Obtain the second absolute value of the difference of the second average value and the 5th average value;
Obtain the third absolute value of the difference of third average value and the 6th average value;
The sum of the first absolute value, the second absolute value and third absolute value is obtained as color difference value;
If color difference value is greater than default first difference value, judge text filed in the presence of super frame.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, extraction unit 134 is used for:
When overlapping region and text filed area ratio are greater than default first area ratio, gray scale is carried out to image to be detected Processing;
Binarization segmentation is carried out to by image to be detected of gray proces;
It obtains in image to be detected by binarization segmentation, the first accounting of white area in overlapping region, and removes Second accounting of the text filed middle white area except overlapping region;
Judging unit 135 is used for:
Judged according to the first accounting, the second accounting and preset judgment rule text filed with the presence or absence of the super frame of text.
In another embodiment of the super frame detection method of text provided by the embodiments of the present application, judging unit 135 is used for:
If the absolute value of the difference of the first accounting and the second accounting is greater than default second difference value, text filed deposit is judged In super frame.
Next, the embodiment of the present application also provides a kind of terminal devices, as shown in figure 14, for ease of description, only show Go out part related to the embodiment of the present invention, it is disclosed by specific technical details, please refer to present invention method part. It includes mobile phone, tablet computer, personal digital assistant (Personal Digital that the attribute information, which shows that device can be, Assistant, PDA), point-of-sale terminal (Point of Sales, POS), any terminal device such as vehicle-mounted computer, with attribute information Show device for for mobile phone:
Figure 14 shows the part-structure of mobile phone relevant to attribute information provided in an embodiment of the present invention displaying device Block diagram.With reference to Figure 14, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1410, memory 1420, input unit 1430, display unit 1440, sensor 1450, voicefrequency circuit 1460, Wireless Fidelity (wireless fidelity, WiFi) mould The components such as block 1470, processor 1480 and power supply 1490.It will be understood by those skilled in the art that mobile phone shown in Figure 14 Structure does not constitute the restriction to mobile phone, may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.
It is specifically introduced below with reference to each component parts of the Figure 14 to mobile phone:
RF circuit 1410 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 1480;In addition, the data for designing uplink are sent to base station.In general, RF circuit 1410 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 1410 can also be logical with network and other equipment by wireless communication Letter.Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division MultIPle Access, CDMA), wideband code division multiple access (Wideband Code Division MultIPle Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1420 can be used for storing software program and module, and processor 1480 is stored in memory by operation 1420 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1420 can be led It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to mobile phone Data (such as audio data, phone directory etc.) of creation etc..In addition, memory 1420 may include high random access storage Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid State memory device.
Input unit 1430 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 1430 may include touch panel 1431 and other inputs Equipment 1414.Touch panel 1431, also referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1431 or near touch panel 1431 Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1431 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 1480, and order that processor 1480 is sent can be received and executed.In addition, Touch panel 1431 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface Plate 1431, input unit 1430 can also include other input equipments 1414.Specifically, other input equipments 1414 may include But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more.
Display unit 1440 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1440 may include display panel 1441, it is alternatively possible to using liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 1441.Further, touch panel 1431 can cover display panel 1441, when touch panel 1431 detects After arriving touch operation on it or nearby, processor 1480 is sent to determine the type of touch event, is followed by subsequent processing device 1480 provide corresponding visual output according to the type of touch event on display panel 1441.Although in Figure 14, touch surface Plate 1431 and display panel 1441 are the input and input function for realizing mobile phone as two independent components, but certain In embodiment, can be integrated by touch panel 1431 and display panel 1441 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1450, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1441, proximity sensor can close display panel when mobile phone is moved in one's ear 1441 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1460, loudspeaker 1461, microphone 1462 can provide the audio interface between user and mobile phone.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 1461, be converted by loudspeaker 1461 by circuit 1460 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1462, by voicefrequency circuit 1460 Audio data is converted to after reception, then by after the processing of audio data output processor 1480, through RF circuit 1410 to be sent to ratio Such as another mobile phone, or audio data is exported to memory 1420 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1470 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 14 is shown WiFi module 1470, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 1480 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1420, and calls and be stored in memory 1420 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 1480 may include one or more processing units;Optionally, processor 1480 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1480.
Mobile phone further includes the power supply 1490 (such as battery) powered to all parts, and optionally, power supply can pass through power supply Management system and processor 1480 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include photographing module, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 1480 included by the terminal device also has the super frame detection dress of aforementioned texts The function of setting.
The embodiment of the present application also provides a kind of computer storage medium, the computer storage medium is above-mentioned for being stored as Computer software instructions used in the super frame detection device of text comprising set for executing for the super frame detection device of text or terminal Standby designed program.
A kind of computer program product including electronic payment instruction is also provided in the embodiment of the present application, when it is in computer When upper operation, so that computer realizes the function of the super frame detection device of aforementioned texts.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of super frame detection method of text characterized by comprising
Obtain image to be detected comprising text filed and user interface UI element;
Extract the characteristics of image of described image to be detected;
Judged according to described image feature and preset judgment rule described text filed with the presence or absence of the super frame of text.
2. the super frame detection method of text according to claim 1, which is characterized in that described described image to be detected of extraction Characteristics of image includes:
Edge detection is carried out to described image to be detected according to preset edge detection algorithm and extracts described image to be detected Edge feature.
3. the super frame detection method of text according to claim 2, which is characterized in that the edge feature is included in edge inspection It surveys in result images, the most picture of the first ratio of white pixel point, white pixel point in the most pixel column of white pixel point The first maximum continuous length of white pixel point and the most pixel column of white pixel point are in the testing result figure in element column First position as in;
Judge that the text filed super frame of text that whether there is includes: according to described image feature and preset judgment rule
If first ratio and the first maximum continuous length are respectively greater than the first preset value and the second preset value, and described First position is located in preset first range, then judges that described text filed there are the super frames of text.
4. the super frame detection method of text according to claim 2, which is characterized in that the edge feature is included in edge inspection It surveys in result images, the most picture of the second ratio of white pixel point, white pixel point in the most pixel column of white pixel point The second of white pixel point the maximum continuous length and the most pixel column of white pixel point are in the testing result figure in plain row The second position as in;
Judge that the text filed super frame of text that whether there is includes: according to described image feature and preset judgment rule
If second ratio and the second maximum continuous length are respectively greater than third preset value and the 4th preset value, and described The second position is located in preset second range, then judges that described text filed there are the super frames of text.
5. the super frame detection method of text according to claim 1, which is characterized in that extract described image to be detected described Characteristics of image before, further includes:
Obtain the second coordinate of text filed first coordinate and the UI element;
The overlapping region of the described text filed and described UI element is determined according to first coordinate and second coordinate;
The characteristics of image for extracting described image to be detected includes:
The color characteristic of described image to be detected is extracted according to the overlapping region.
6. according to the super frame detection method of text described in claim 5, which is characterized in that according to the overlapping region extract it is described to The color characteristic of detection image includes:
If the overlapping region and the text filed area ratio are greater than default first area ratio, the overlapping region is obtained The first average value of blue channel, the second average value of yellow channels and green channel third average value;
Obtain the 4th average value of the text filed middle blue channel except the overlapping region, the 5th average value of yellow channels With the 6th average value of green channel;
Judge that the text filed super frame of text that whether there is includes: according to described image feature and preset judgment rule
According to first average value, second average value, the third average value, the 4th average value, the described 5th The judgment rule of average value, the 6th average value and threshold value judges described text filed with the presence or absence of the super frame of text.
7. according to the super frame detection method of text as claimed in claim 6, which is characterized in that described according to first average value, institute State the second average value, the third average value, the 4th average value, the 5th average value, the 6th average value and The judgment rule of threshold value judges that the text filed super frame of text that whether there is includes:
Obtain the first absolute value of the difference of first average value and the 4th average value;
Obtain the second absolute value of the difference of second average value and the 5th average value;
Obtain the third absolute value of the difference of the third average value and the 6th average value;
The sum of first absolute value, second absolute value and the third absolute value is obtained as color difference value;
If the color difference value is greater than default first difference value, judge described text filed in the presence of super frame.
8. the super frame detection method of text according to claim 5, which is characterized in that according to the extraction of the overlapping region The color characteristic of image to be detected includes:
If the overlapping region and the text filed area ratio are greater than default first area ratio, to described image to be detected Carry out gray proces;
Binarization segmentation is carried out to by image to be detected of gray proces;
It obtains in image to be detected by binarization segmentation, the first accounting of white area in the overlapping region, and removes Second accounting of the text filed middle white area except the overlapping region;
Judge that the text filed super frame of text that whether there is includes: according to described image feature and preset judgment rule
Judged according to first accounting, second accounting and preset judgment rule described text filed with the presence or absence of text Super frame.
9. the super frame detection method of text according to claim 8, which is characterized in that described according to first accounting, institute It states the second accounting and preset judgment rule judges that the text filed super frame of text that whether there is includes:
If the absolute value of the difference of first accounting and second accounting is greater than default second difference value, the text is judged There is super frame in one's respective area.
10. a kind of super frame detection device of text characterized by comprising
First acquisition unit includes text filed image to be detected with UI element for obtaining;
Extraction unit, for extracting the characteristics of image of described image to be detected;
Judging unit, it is described text filed with the presence or absence of text for being judged according to described image feature and preset judgment rule Super frame.
CN201910638541.XA 2019-07-15 2019-07-15 A kind of super frame detection method and device of text Pending CN110363785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910638541.XA CN110363785A (en) 2019-07-15 2019-07-15 A kind of super frame detection method and device of text

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910638541.XA CN110363785A (en) 2019-07-15 2019-07-15 A kind of super frame detection method and device of text

Publications (1)

Publication Number Publication Date
CN110363785A true CN110363785A (en) 2019-10-22

Family

ID=68219405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910638541.XA Pending CN110363785A (en) 2019-07-15 2019-07-15 A kind of super frame detection method and device of text

Country Status (1)

Country Link
CN (1) CN110363785A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674819A (en) * 2019-12-03 2020-01-10 捷德(中国)信息科技有限公司 Card surface picture detection method, device, equipment and storage medium
CN110865812A (en) * 2019-10-24 2020-03-06 腾讯科技(深圳)有限公司 User interface identification method and device
CN111027560A (en) * 2019-11-07 2020-04-17 浙江大华技术股份有限公司 Text detection method and related device
CN113034421A (en) * 2019-12-06 2021-06-25 腾讯科技(深圳)有限公司 Image detection method, device and storage medium
CN117725888A (en) * 2024-02-07 2024-03-19 福昕鲲鹏(北京)信息科技有限公司 Typesetting method and device for button control, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103413342A (en) * 2013-07-25 2013-11-27 南京师范大学 Image and character gradual-change method based on pixel points
CN103455814A (en) * 2012-05-31 2013-12-18 佳能株式会社 Text line segmenting method and text line segmenting system for document images
CN103632159A (en) * 2012-08-23 2014-03-12 阿里巴巴集团控股有限公司 Method and system for training classifier and detecting text area in image
CN108304761A (en) * 2017-09-25 2018-07-20 腾讯科技(深圳)有限公司 Method for text detection, device, storage medium and computer equipment
WO2018133717A1 (en) * 2017-01-17 2018-07-26 腾讯科技(深圳)有限公司 Image thresholding method and device, and terminal
CN108550101A (en) * 2018-04-19 2018-09-18 腾讯科技(深圳)有限公司 Image processing method, device and storage medium
CN108615030A (en) * 2018-05-14 2018-10-02 北京奇艺世纪科技有限公司 A kind of title consistency detecting method, device and electronic equipment
CN109117843A (en) * 2018-08-01 2019-01-01 百度在线网络技术(北京)有限公司 Character occlusion detection method and device
CN109753953A (en) * 2017-11-03 2019-05-14 腾讯科技(深圳)有限公司 The method, apparatus of localization of text, electronic equipment and storage medium in image

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455814A (en) * 2012-05-31 2013-12-18 佳能株式会社 Text line segmenting method and text line segmenting system for document images
CN103632159A (en) * 2012-08-23 2014-03-12 阿里巴巴集团控股有限公司 Method and system for training classifier and detecting text area in image
CN103413342A (en) * 2013-07-25 2013-11-27 南京师范大学 Image and character gradual-change method based on pixel points
WO2018133717A1 (en) * 2017-01-17 2018-07-26 腾讯科技(深圳)有限公司 Image thresholding method and device, and terminal
CN108304761A (en) * 2017-09-25 2018-07-20 腾讯科技(深圳)有限公司 Method for text detection, device, storage medium and computer equipment
CN109753953A (en) * 2017-11-03 2019-05-14 腾讯科技(深圳)有限公司 The method, apparatus of localization of text, electronic equipment and storage medium in image
CN108550101A (en) * 2018-04-19 2018-09-18 腾讯科技(深圳)有限公司 Image processing method, device and storage medium
CN108615030A (en) * 2018-05-14 2018-10-02 北京奇艺世纪科技有限公司 A kind of title consistency detecting method, device and electronic equipment
CN109117843A (en) * 2018-08-01 2019-01-01 百度在线网络技术(北京)有限公司 Character occlusion detection method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865812A (en) * 2019-10-24 2020-03-06 腾讯科技(深圳)有限公司 User interface identification method and device
CN110865812B (en) * 2019-10-24 2024-04-23 腾讯科技(深圳)有限公司 User interface identification method and device
CN111027560A (en) * 2019-11-07 2020-04-17 浙江大华技术股份有限公司 Text detection method and related device
CN111027560B (en) * 2019-11-07 2023-09-29 浙江大华技术股份有限公司 Text detection method and related device
CN110674819A (en) * 2019-12-03 2020-01-10 捷德(中国)信息科技有限公司 Card surface picture detection method, device, equipment and storage medium
CN113034421A (en) * 2019-12-06 2021-06-25 腾讯科技(深圳)有限公司 Image detection method, device and storage medium
CN117725888A (en) * 2024-02-07 2024-03-19 福昕鲲鹏(北京)信息科技有限公司 Typesetting method and device for button control, electronic equipment and storage medium
CN117725888B (en) * 2024-02-07 2024-06-04 福昕鲲鹏(北京)信息科技有限公司 Typesetting method and device for button control, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105867730B (en) The display methods and device of status bar
US11429276B2 (en) Method for displaying graphical user interface and mobile terminal
CN110363785A (en) A kind of super frame detection method and device of text
CN107945769B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
CN107966209A (en) Environment light detection method, device, storage medium and electronic equipment
CN108205398B (en) Method and device for adapting webpage animation to screen
CN106204552B (en) A kind of detection method and device of video source
CN109919836A (en) Video keying processing method, video keying processing client and readable storage medium storing program for executing
CN107748856A (en) Two-dimensional code identification method, terminal and computer-readable recording medium
CN106296623B (en) A kind of image processing method and device
CN107977652A (en) The extracting method and mobile terminal of a kind of screen display content
CN112040223A (en) Image processing method, terminal device and storage medium
CN106296617A (en) The processing method and processing device of facial image
CN109495616B (en) Photographing method and terminal equipment
CN109213407A (en) A kind of screenshot method and terminal device
CN110263729A (en) A kind of method of shot boundary detector, model training method and relevant apparatus
CN109189300A (en) A kind of view circularly exhibiting method and apparatus
CN110070034A (en) Model training method, section recognition methods, device, equipment and medium
CN109670507A (en) Image processing method, device and mobile terminal
CN109067975B (en) Contact person information management method and terminal equipment
CN108027967B (en) Image stitching method and electronic equipment
CN109976846B (en) Image processing method, terminal equipment and system
CN107506120A (en) Method for information display, terminal and computer-readable recording medium
CN109508133A (en) Method, terminal and the computer readable storage medium of screen display control
CN109710209A (en) A kind of split screen comparison method, equipment and computer readable storage medium

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