CN104298441A - Method for dynamically adjusting screen character display of terminal and terminal - Google Patents
Method for dynamically adjusting screen character display of terminal and terminal Download PDFInfo
- Publication number
- CN104298441A CN104298441A CN201410453841.8A CN201410453841A CN104298441A CN 104298441 A CN104298441 A CN 104298441A CN 201410453841 A CN201410453841 A CN 201410453841A CN 104298441 A CN104298441 A CN 104298441A
- Authority
- CN
- China
- Prior art keywords
- ratio
- human face
- screen
- face region
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a method for dynamically adjusting screen character display of a terminal. The method includes the steps that when the terminal receives a screen character display adjusting instruction, a camera of the terminal collects a first frame of facial image and a second frame of facial image of the current user; a first facial area in the first frame of facial image and a second facial area in the second frame of facial image are detected; screen character display of the terminal is adjusted according to the resolution ratio of the first facial area, the resolution ratio of the second facial area and the screen resolution ratio of the terminal. The invention further discloses a terminal.
Description
Technical field
The present invention relates to terminal screen administrative skill, particularly relate to a kind of method and terminal of dynamic conditioning terminal screen text importing.
Background technology
Mobile terminal refers to the computer equipment that can use in movement, and saying of broad sense comprises mobile phone, notebook, panel computer, wearable intelligent terminal, vehicle-mounted computer etc.But, refer to mobile phone under normal circumstances or there is the smart mobile phone of multiple application function, panel computer and wearable intelligent terminal.Along with the develop rapidly of integrated circuit technique, the function of mobile terminal is more and more abundanter and powerful, and the use in work, life is also more and more extensive.
At present, user can use smart mobile phone in motion process, panel computer, the mobile terminals such as wearable intelligent terminal, but in motion process, usually rocking in various degree can be there is in user and mobile terminal, this can cause the screen text of mobile terminal to produce relative displacement with human eye sight, although user can revise the position of self or mobile terminal under normal circumstances in time to see terminal screen word clearly, but inevitably cause the discomfort of user, especially when slosh frequency is higher, the discomfort reaction of user is more obvious, user is made to have to stop using mobile terminal.
In order to improve the experience of user, existing terminal screen text importing Adjusted Option one, be remain motionless based on user, only mobile terminal motion hypothesis, the adjustment of terminal screen text importing is carried out according to the sensor of mobile terminal self, under the prerequisite of above-mentioned hypothesis, existing scheme one has ideal effect.
Existing terminal screen font Adjusted Option two, carry out screen text in conjunction with the sensor of external measurement devices and mobile terminal self to show and adjust, user's body installs and measures device measuring human motion situation, and combine with the human motion situation that mobile terminal self is measured, thus in several cases all can Correctly adjust terminal screen text importing.
Inventor is realizing in process of the present invention, finds that the scheme of existing adjustment terminal screen text importing at least exists following defect:
Scheme one, when user move or with mobile terminal associated movement time, scheme one there will be larger error, that is: when user needs to adjust screen text display, there is the not phenomenon of reaction in time, and when user does not need to adjust screen text display, there is wrong reaction.
Scheme two, the program are better than the scheme works of simple dependence mobile terminal self-sensor device, but need additional measuring equipment, therefore, can increase extra cost; Further, set up that measuring equipment can cause user to wear inconvenience, easily loses, continuation of the journey is difficult to the problems such as guarantee.
As can be seen here, scheme that is in real time a kind of and dynamically adjustment terminal screen text importing is needed at present badly.
Summary of the invention
In view of this, the embodiment of the present invention expects to provide a kind of method and terminal of dynamic conditioning terminal screen text importing, can while not increasing cost and carrying complexity, in real time and dynamically adjust the screen text display of terminal.
For achieving the above object, technical scheme of the present invention is achieved in that
Embodiments provide a kind of method of dynamic conditioning terminal screen text importing, the method comprises:
When terminal receives screen text display adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal;
To detect in described first frame facial image the second human face region in the first human face region and described second frame facial image;
According to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal.
In such scheme, the first frame facial image of the described camera collection active user by described terminal and the second frame facial image, comprising:
According to setting-up time interval mode, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal.
In such scheme, the second human face region in the first human face region and described second frame facial image in the described first frame facial image of described detection, comprising:
Respectively pre-service is carried out to described first frame facial image and described second frame facial image;
According to Face datection algorithm and face tracking algorithm, detect the first human face region in pretreated first frame facial image and the second human face region in pretreated second frame facial image.
In such scheme, the described resolution according to described first human face region, the described resolution of the second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal, comprising:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the longitudinal frame X of described first human face region
1and the screen longitudinal frame X of described terminal
c, determine the first ratio
and according to the longitudinal frame X of described second human face region
2and the screen longitudinal frame X of described terminal
c, determine the second ratio
If described first ratio R
1with described second ratio R
2belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described first ratio R
1with described second ratio R
2do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described second ratio R
2the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
In such scheme, the described resolution according to described first human face region, the described resolution of the second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal, comprising:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the lateral resolution Y of described first human face region
1and the screen lateral resolution Y of described terminal
c, determine the 3rd ratio
and according to the lateral resolution Y of described second human face region
2and the screen lateral resolution Y of described terminal
c, determine the 4th ratio
If described 3rd ratio R
3with described 4th ratio R
4belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described 3rd ratio R
3with described 4th ratio R
4do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described 4th ratio R
4the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
Based on said method, embodiments provide a kind of terminal, this terminal comprises: image acquisition units, region detection unit, display adjustment unit; Wherein,
Described image acquisition units, during for receiving screen font adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal;
Described region detection unit, for detecting in described first frame facial image the second human face region in the first human face region and described second frame facial image;
Described display adjustment unit, for sending screen font adjustment instruction to described image acquisition units; And according to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal.
In such scheme, described image acquisition units specifically for:
According to setting-up time interval mode, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal.
In such scheme, described region detection unit specifically for:
Respectively pre-service is carried out to described first frame facial image and described second frame facial image;
According to Face datection algorithm and face tracking algorithm, detect the first human face region in pretreated first frame facial image and the second human face region in pretreated second frame facial image.
In such scheme, described display adjustment unit specifically for:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the longitudinal frame X of described first human face region
1and the screen longitudinal frame X of described terminal
c, determine the first ratio
and according to the longitudinal frame X of described second human face region
2and the screen longitudinal frame X of described terminal
c, determine the second ratio
If described first ratio R
1with described second ratio R
2belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described first ratio R
1with described second ratio R
2do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described second ratio R
2the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
In such scheme, described display adjustment unit specifically for:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the lateral resolution Y of described first human face region
1and the screen lateral resolution Y of described terminal
c, determine the 3rd ratio
and according to the lateral resolution Y of described second human face region
2and the screen lateral resolution Y of described terminal
c, determine the 4th ratio
If described 3rd ratio R
3with described 4th ratio R
4belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described 3rd ratio R
3with described 4th ratio R
4do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described 4th ratio R
4the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
The method of the dynamic conditioning terminal screen text importing that the embodiment of the present invention provides and terminal, when terminal receives screen text display adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal; To detect in described first frame facial image the second human face region in the first human face region and described second frame facial image; According to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal.So, the embodiment of the present invention can according to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, can while not increasing cost and carrying complexity, in real time and dynamically adjust described terminal screen text display, thus strengthen Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the method realization flow schematic diagram of embodiment of the present invention dynamic conditioning terminal screen text importing;
Fig. 2 is embodiment of the present invention terminal composition structural representation.
Embodiment
In the embodiment of the present invention, when terminal receives screen text display adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal; To detect in described first frame facial image the second human face region in the first human face region and described second frame facial image; According to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal.
In the embodiment of the present invention, described terminal can be the equipment possessing intelligent Presentation Function, such as, can be: smart mobile phone, panel computer ipad, apparatus such as computer.
Below in conjunction with the drawings and specific embodiments, the method for the invention and device are described further.
The embodiment of the present invention proposes a kind of method of dynamic conditioning terminal screen text importing, and as shown in Figure 1, the method comprises:
Step S100: when terminal receives screen text display adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal.
Here, described first frame facial image represents present frame facial image, and described second frame facial image represents the next frame facial image of present frame facial image.
Here, when user opens the screen text display adjustment function of terminal, the control devices such as the processor of terminal can identify the unlatching screen text display adjustment feature operation of user, and the control devices such as processor can send screen text display adjustment instruction.
Here, when terminal receives screen text display adjustment instruction, first terminal described in initialization front-facing camera and described front-facing camera is operated in backstage, then according to setting-up time interval mode, every setting-up time interval, gathered a frame facial image of active user by the front-facing camera of described terminal, specific implementation is as follows:
When terminal receives screen font adjustment instruction, gathered the present frame facial image of active user by the front-facing camera of described terminal; After the time duration is set, the next frame facial image gathering present frame facial image is started; Using next frame facial image as present frame facial image, after next setting-up time interval, continue the lower next frame facial image gathering active user.
Here, setting-up time interval according to the actual requirements, such as, setting-up time is spaced apart 0.5S, a frame facial image of active user is gathered by the front-facing camera of described terminal every 0.5S, the adjustment number of times of screen text display in the unit interval can be reduced like this, thus reduce the resource consumption of described terminal.
Step S101: to detect in described first frame facial image the second human face region in the first human face region and described second frame facial image.
Here, the rectangular area only comprising face face-image is called human face region, first detectable minimum human face region is needed, if minimum human face region is too small, there will be human face region error detection phenomenon, if minimum human face region is excessive, can cause detecting human face region, usually, the resolution of minimum human face region can be set to 20% of terminal screen resolution, to guarantee correctly human face region to be detected.
Below to how detecting in described first frame facial image the second human face region in the first human face region and described second frame facial image, be specifically described:
Step one: respectively pre-service is carried out to described first frame facial image and described second frame facial image; Wherein, described pre-service comprises the operations such as image denoising, brightness of image and contrast strengthen;
Here, concrete restriction is not done to Preprocessing Algorithm, Preprocessing Algorithm can be selected to carry out pretreatment operation to facial image according to actual conditions; Concrete how according to Preprocessing Algorithm, pre-service is carried out respectively to described first frame facial image and described second frame facial image and belongs to prior art, repeat no more here;
Step one: according to Face datection algorithm and face tracking algorithm, detect the first human face region in pretreated first frame facial image and the second human face region in pretreated second frame facial image, implementation is as follows:
When the first frame facial image of the active user gathered is initial frame facial image, pre-service is carried out to described first frame facial image, then adopt based on the first human face region in the pretreated first frame facial image of Face datection algorithm detection of machine learning, because Face datection algorithm consume system resources is more, therefore, the follow-up human face region just not needing to continue to adopt in the facial image of Face datection algorithm detection subsequent acquisition, and the face tracking algorithm that consume system resources can be adopted less is followed the trail of the human face region in the facial image of subsequent acquisition, such as, Camshift algorithm, need to carry out pre-service to described first human face region before adopting Camshift algorithm, such as, histogram equalization is carried out to described first human face region, normalization, binaryzation, the process such as color space conversion, wherein, histogram equalization is carried out to described first human face region, the process such as color space conversion is to ensure follow-up tracking effect, then adopt Camshift algorithm by the first face Area generation tracing object after process, follow the trail of the second human face region in described second frame facial image according to described tracing object.
Here, concrete restriction is not done to Face datection algorithm and face tracking algorithm; Concrete how according to Face datection algorithm and face tracking algorithm, detect the first human face region in pretreated first frame facial image and the second human face region in pretreated second frame facial image belongs to prior art, repeat no more here.
Step S102: according to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjusts the screen text display of described terminal.
Here, the resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2, that is, the longitudinal frame of described first human face region is X
1, lateral resolution is Y
1; The longitudinal frame of described second human face region is X
2, lateral resolution is Y
2.
Here, how according to the resolution X of described first human face region
1* Y
1, described second human face region resolution X
2* Y
2and the screen resolution X of described terminal
c* Y
c, adjust the screen text display of described terminal, specifically can adopt the following two kinds mode:
Mode one, be X according to the longitudinal frame of described first human face region
1and the longitudinal frame of described second human face region is X
2, adjust the screen text display of described terminal:
According to the longitudinal frame X of described first human face region
1and the screen longitudinal frame X of described terminal
c, determine the first ratio
and according to the longitudinal frame X of described second human face region
2and the screen longitudinal frame X of described terminal
c, determine the second ratio
Preset the corresponding relation of ratio interval and screen display font size;
If described first ratio R
1with described second ratio R
2belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described first ratio R
1with described second ratio R
2do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described second ratio R
2the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
Mode two, be Y according to the lateral resolution of described second human face region
1and the lateral resolution of described second human face region is Y
2, adjust the screen text display of described terminal:
According to the lateral resolution Y of described first human face region
1and the screen lateral resolution Y of described terminal
c, determine the 3rd ratio
and according to the lateral resolution Y of described second human face region
2and the screen lateral resolution Y of described terminal
c, determine the 4th ratio
Preset the corresponding relation of ratio interval and screen display font size;
If described 3rd ratio R
3with described 4th ratio R
4belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described 3rd ratio R
3with described 4th ratio R
4do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described 4th ratio R
4the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
Here, multiple ratio can be preset according to the actual requirements interval from interval 0 ~ 1, such as, default five ratio intervals (0 ~ 0.2], (0.2 ~ 0.33], (0.33 ~ 0.5], (0.5 ~ 0.75], (0.75 ~ 1], and corresponding screen display font size is set respectively for ratio is interval; Due to, more the bright human face region of novel is less for numerical value in ratio interval, namely face from terminal front-facing camera more away from, therefore, use for the convenience of the user and need according to above-mentioned rule for the ratio interval that numerical value is less arranges corresponding relatively large screen font, the ratio interval larger for numerical value arranges corresponding relatively little screen display font size, such as, arrange ratio interval (0 ~ 0.2] corresponding screen display font size is 16sp, wherein, sp is that Android gives tacit consent to font size unit; Arrange ratio interval (0.2 ~ 0.33] corresponding screen display font size is 15sp; Arrange ratio interval (0.33 ~ 0.5] corresponding screen display font size is 14sp; Arrange ratio interval (0.5 ~ 0.75] corresponding screen display font size is 13sp; Arrange ratio interval (0.75 ~ 1] corresponding screen display font size is 12sp; The ratio preset is interval as shown in table 1 with the corresponding relation of screen display font size.
Ratio is interval | Screen font size (unit: sp) |
(0~0.2] | 16sp |
(0.2~0.33] | 15sp |
(0.33~0.5] | 14sp |
(0.5~0.75] | 13sp |
(0.75~1] | 12sp |
Table 1
In the embodiment of the present invention, when terminal receives screen text display adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal; To detect in described first frame facial image the second human face region in the first human face region and described second frame facial image; According to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal.So, the embodiment of the present invention can according to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, in real time and dynamically adjust the screen text display of described terminal, thus strengthens Consumer's Experience.
In order to more clearly be described the embodiment of the present invention, below for embodiment one, the flow process of the dynamic conditioning terminal screen text importing in the embodiment of the present invention is described in detail:
In this embodiment one, the corresponding relation that ratio interval and the screen text preset according to the actual requirements show is as shown in table 1.
If the screen longitudinal frame of terminal is 300 pixels, in the present frame facial image detected, the longitudinal frame of human face region is 100 pixels, according to screen longitudinal frame 300 pixel of longitudinal frame 100 pixel and described terminal, determines the first ratio
after time interval 0.5S, in the next frame facial image of the present frame detected, the longitudinal frame of human face region is 140 pixels, according to screen longitudinal frame 300 pixel of longitudinal frame 140 pixel and described terminal, determines the second ratio
due to 0.333 and 0.47 belong to same ratio interval (0.33 ~ 0.5], therefore, the display of the screen text of described terminal is not adjusted, still according to the screen text display of the described terminal of No. 14, screen display font size adjustment of 0.333 correspondence;
Using next frame facial image as present frame facial image, then
after time interval 0.5S, detect that the longitudinal frame of human face region in lower next frame facial image is 160 pixels, according to screen lateral resolution 300 pixel of longitudinal frame 160 pixel and described terminal, determine the second ratio
because 0.47 and 0.533 does not belong to same ratio interval, belong to two ratio intervals (0.33 ~ 0.5] and (0.5 ~ 0.75], therefore, interval No. 13 corresponding, the screen display font size of ratio belonging to 0.533, adjust the screen text display of described terminal, that is: No. 14, screen display font size is adjusted to No. 13, so, in real time and dynamically adjust terminal screen text importing, thus strengthen Consumer's Experience.
For realizing said method, embodiments provide a kind of terminal, the principle of dealing with problems due to this terminal is similar to method, therefore, the implementation process of terminal and enforcement principle all see the implementation process of preceding method and can implement principles illustrated, repeat part and repeat no more.
As shown in Figure 2, the terminal that the embodiment of the present invention provides, comprising: image acquisition units 200, region detection unit 201, display adjustment unit 202; Wherein,
Described image acquisition units 200, during for receiving screen text display adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal;
Described region detection unit 201, for detecting in described first frame facial image the second human face region in the first human face region and described second frame facial image;
Described font adjustment unit 202, for sending screen text display adjustment instruction to described image acquisition units 200; And according to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal.
The dividing mode of above functional unit or module is only the preferred implementation of one that the embodiment of the present invention provides, and the dividing mode of functional unit or module is not construed as limiting the invention.
In concrete enforcement, described image acquisition units 200 specifically for:
According to setting-up time interval mode, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal.
In concrete enforcement, described region detection unit 201 specifically for:
Respectively pre-service is carried out to described first frame facial image and described second frame facial image;
According to Face datection algorithm and face tracking algorithm, detect the first human face region in pretreated first frame facial image and the second human face region in pretreated second frame facial image.
In concrete enforcement, described display adjustment unit 202 specifically for:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the longitudinal frame X of described first human face region
1and the screen longitudinal frame X of described terminal
c, determine the first ratio
and according to the longitudinal frame X of described second human face region
2and the screen longitudinal frame X of described terminal
c, determine the second ratio
If described first ratio R
1with described second ratio R
2belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described first ratio R
1with described second ratio R
2do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described second ratio R
2the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
In concrete enforcement, described display adjustment unit 202 specifically for:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the lateral resolution Y of described first human face region
1and the screen lateral resolution Y of described terminal
c, determine the 3rd ratio
and according to the lateral resolution Y of described second human face region
2and the screen lateral resolution Y of described terminal
c, determine the 4th ratio
If described 3rd ratio R
3with described 4th ratio R
4belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described 3rd ratio R
3with described 4th ratio R
4do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described 4th ratio R
4the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
In actual applications, described image acquisition units 200, region detection unit 201, display adjustment unit 202 can realize by being positioned at the central processing unit (CPU) of described terminal, microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA).
Method of the present invention is not limited to the embodiment described in embodiment, and those skilled in the art's technical scheme according to the present invention draws and other embodiment belongs to technological innovation scope of the present invention equally.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. a method for dynamic conditioning terminal screen text importing, is characterized in that, described method comprises:
When terminal receives screen text display adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal;
To detect in described first frame facial image the second human face region in the first human face region and described second frame facial image;
According to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal.
2. method according to claim 1, is characterized in that, the first frame facial image of the described camera collection active user by described terminal and the second frame facial image, comprising:
According to setting-up time interval mode, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal.
3. method according to claim 1, is characterized in that, the second human face region in the first human face region and described second frame facial image in the described first frame facial image of described detection, comprising:
Respectively pre-service is carried out to described first frame facial image and described second frame facial image;
According to Face datection algorithm and face tracking algorithm, detect the first human face region in pretreated first frame facial image and the second human face region in pretreated second frame facial image.
4. the method according to any one of claims 1 to 3, it is characterized in that, the described resolution according to described first human face region, the described resolution of the second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal, comprising:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the longitudinal frame X of described first human face region
1and the screen longitudinal frame X of described terminal
c, determine the first ratio
and according to the longitudinal frame X of described second human face region
2and the screen longitudinal frame X of described terminal
c, determine the second ratio
If described first ratio R
1with described second ratio R
2belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described first ratio R
1with described second ratio R
2do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described second ratio R
2the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
5. the method according to any one of claims 1 to 3, it is characterized in that, the described resolution according to described first human face region, the described resolution of the second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal, comprising:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the lateral resolution Y of described first human face region
1and the screen lateral resolution Y of described terminal
c, determine the 3rd ratio
and according to the lateral resolution Y of described second human face region
2and the screen lateral resolution Y of described terminal
c, determine the 4th ratio
If described 3rd ratio R
3with described 4th ratio R
4belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described 3rd ratio R
3with described 4th ratio R
4do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described 4th ratio R
4the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
6. a terminal, is characterized in that, described terminal comprises: image acquisition units, region detection unit, display adjustment unit; Wherein,
Described image acquisition units, during for receiving screen font adjustment instruction, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal;
Described region detection unit, for detecting in described first frame facial image the second human face region in the first human face region and described second frame facial image;
Described display adjustment unit, for sending screen font adjustment instruction to described image acquisition units; And according to the resolution of described first human face region, the resolution of described second human face region and the screen resolution of described terminal, adjust the screen text display of described terminal.
7. terminal according to claim 6, is characterized in that, described image acquisition units specifically for:
According to setting-up time interval mode, by the first frame facial image and the second frame facial image of the camera collection active user of described terminal.
8. terminal according to claim 6, is characterized in that, described region detection unit specifically for:
Respectively pre-service is carried out to described first frame facial image and described second frame facial image;
According to Face datection algorithm and face tracking algorithm, detect the first human face region in pretreated first frame facial image and the second human face region in pretreated second frame facial image.
9. the terminal according to any one of claim 6 to 8, is characterized in that, described display adjustment unit specifically for:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the longitudinal frame X of described first human face region
1and the screen longitudinal frame X of described terminal
c, determine the first ratio
and according to the longitudinal frame X of described second human face region
2and the screen longitudinal frame X of described terminal
c, determine the second ratio
If described first ratio R
1with described second ratio R
2belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described first ratio R
1with described second ratio R
2do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described second ratio R
2the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
10. the terminal according to any one of claim 6 to 8, is characterized in that, described display adjustment unit specifically for:
The resolution of described first human face region is preset as X
1* Y
1, described second human face region resolution be preset as X
2* Y
2;
According to the lateral resolution Y of described first human face region
1and the screen lateral resolution Y of described terminal
c, determine the 3rd ratio
and according to the lateral resolution Y of described second human face region
2and the screen lateral resolution Y of described terminal
c, determine the 4th ratio
If described 3rd ratio R
3with described 4th ratio R
4belong to same ratio interval, then the screen text display of described terminal is not adjusted;
If described 3rd ratio R
3with described 4th ratio R
4do not belong to same ratio interval, then corresponding relation that is interval according to the ratio preset and screen display font size determines described 4th ratio R
4the affiliated screen display font size corresponding to ratio interval, adjusts the screen text display of described terminal according to the screen display font size of correspondence.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410453841.8A CN104298441A (en) | 2014-09-05 | 2014-09-05 | Method for dynamically adjusting screen character display of terminal and terminal |
PCT/CN2014/092173 WO2016033877A1 (en) | 2014-09-05 | 2014-11-25 | Method for dynamically adjusting screen character display of terminal, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410453841.8A CN104298441A (en) | 2014-09-05 | 2014-09-05 | Method for dynamically adjusting screen character display of terminal and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104298441A true CN104298441A (en) | 2015-01-21 |
Family
ID=52318191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410453841.8A Pending CN104298441A (en) | 2014-09-05 | 2014-09-05 | Method for dynamically adjusting screen character display of terminal and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104298441A (en) |
WO (1) | WO2016033877A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016155435A1 (en) * | 2015-03-27 | 2016-10-06 | 中兴通讯股份有限公司 | Method for dynamically adjusting terminal screen display, terminal and storage medium utilizing same |
CN111767098A (en) * | 2019-04-24 | 2020-10-13 | 北京京东尚科信息技术有限公司 | Method and device for adjusting font size |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020071036A1 (en) * | 2000-12-13 | 2002-06-13 | International Business Machines Corporation | Method and system for video object range sensing |
CN101539989A (en) * | 2008-03-20 | 2009-09-23 | 中国科学院研究生院 | Human face detection-based method for testing incorrect reading posture |
CN101788876A (en) * | 2009-01-23 | 2010-07-28 | 英华达(上海)电子有限公司 | Method for automatic scaling adjustment and system therefor |
CN102914286A (en) * | 2012-09-12 | 2013-02-06 | 福建网龙计算机网络信息技术有限公司 | Method for automatically detecting user sitting posture based on handheld equipment |
CN103491307A (en) * | 2013-10-07 | 2014-01-01 | 厦门美图网科技有限公司 | Intelligent selfie method through rear camera |
CN103903595A (en) * | 2012-12-29 | 2014-07-02 | 深圳富泰宏精密工业有限公司 | Typeface adjusting method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200929070A (en) * | 2007-12-26 | 2009-07-01 | Altek Corp | Method of image processing of adjusting the human face ratio |
CN101751209B (en) * | 2008-11-28 | 2012-10-10 | 联想(北京)有限公司 | Method and computer for adjusting screen display element |
CN102591550A (en) * | 2011-01-04 | 2012-07-18 | ***通信集团公司 | Zoom control method and device of terminal interface contents |
CN103377643B (en) * | 2012-04-26 | 2017-02-15 | 富泰华工业(深圳)有限公司 | System and method for adjusting fonts |
-
2014
- 2014-09-05 CN CN201410453841.8A patent/CN104298441A/en active Pending
- 2014-11-25 WO PCT/CN2014/092173 patent/WO2016033877A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020071036A1 (en) * | 2000-12-13 | 2002-06-13 | International Business Machines Corporation | Method and system for video object range sensing |
CN101539989A (en) * | 2008-03-20 | 2009-09-23 | 中国科学院研究生院 | Human face detection-based method for testing incorrect reading posture |
CN101788876A (en) * | 2009-01-23 | 2010-07-28 | 英华达(上海)电子有限公司 | Method for automatic scaling adjustment and system therefor |
CN102914286A (en) * | 2012-09-12 | 2013-02-06 | 福建网龙计算机网络信息技术有限公司 | Method for automatically detecting user sitting posture based on handheld equipment |
CN103903595A (en) * | 2012-12-29 | 2014-07-02 | 深圳富泰宏精密工业有限公司 | Typeface adjusting method and system |
CN103491307A (en) * | 2013-10-07 | 2014-01-01 | 厦门美图网科技有限公司 | Intelligent selfie method through rear camera |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016155435A1 (en) * | 2015-03-27 | 2016-10-06 | 中兴通讯股份有限公司 | Method for dynamically adjusting terminal screen display, terminal and storage medium utilizing same |
CN106155279A (en) * | 2015-03-27 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of method that dynamic adjustment terminal screen shows and terminal |
CN111767098A (en) * | 2019-04-24 | 2020-10-13 | 北京京东尚科信息技术有限公司 | Method and device for adjusting font size |
Also Published As
Publication number | Publication date |
---|---|
WO2016033877A1 (en) | 2016-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110088799B (en) | Image processing apparatus and image processing method | |
US9086749B2 (en) | System and method for improved processing of touch sensor data | |
US9478037B2 (en) | Techniques for efficient stereo block matching for gesture recognition | |
CN103853514A (en) | Information processing method and electronic equipment | |
DE112015007219T5 (en) | Touch gesture recognition assessment | |
CN109345992A (en) | The method of adjustment of electronic device and screen refresh frequency | |
US20160062455A1 (en) | Electronic device and method for adjusting brightness of display screen | |
CN111095350B (en) | Image processing apparatus, method for processing image, and computer-readable recording medium | |
US20160154564A1 (en) | Electronic device and method for providing desktop user interface | |
CN105094734A (en) | Control method for flexible screen, and electronic device | |
US20170075466A1 (en) | Information Processing Method and Electronic Device | |
CN106828371A (en) | A kind of control method for vehicle and relevant device | |
CN110502153A (en) | Method of adjustment, touch screen, electronic equipment and the storage medium of touch screen report point rate | |
CN109727212B (en) | Image processing method and mobile terminal | |
CN106204552A (en) | The detection method of a kind of video source and device | |
CN104123084A (en) | Electronic device and method for controlling picture parameter of electronic device | |
CN104376834A (en) | Brightness adjusting method and electronic device | |
CN109891459B (en) | Image processing apparatus and image processing method | |
CN104298441A (en) | Method for dynamically adjusting screen character display of terminal and terminal | |
CN112596598B (en) | Display control method, display control device and electronic equipment | |
CN106303215A (en) | The acquisition method of a kind of image and device | |
KR20140118283A (en) | Smart device and method for controlling display power based on screen division | |
US10147164B2 (en) | Electronic device and data-erasing method | |
CN105682313A (en) | Monitoring system and method | |
CN107734119A (en) | A kind of method, storage medium and terminal for adjusting screen intensity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150121 |
|
RJ01 | Rejection of invention patent application after publication |