CN110489047A - A kind of display control method and flexible terminal - Google Patents
A kind of display control method and flexible terminal Download PDFInfo
- Publication number
- CN110489047A CN110489047A CN201910678327.7A CN201910678327A CN110489047A CN 110489047 A CN110489047 A CN 110489047A CN 201910678327 A CN201910678327 A CN 201910678327A CN 110489047 A CN110489047 A CN 110489047A
- Authority
- CN
- China
- Prior art keywords
- target
- screen area
- flexible terminal
- image
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/163—Wearable computers, e.g. on a belt
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1652—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
-
- 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/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
Abstract
The present invention provides a kind of display control method, flexible terminal, mobile terminal and computer readable storage mediums, the display control method includes: the target image for obtaining the acquisition of target camera, based on the target image, determine target data, in the case where flexible terminal is preset target flexural state, based on target data, the display of target screen area is updated.In the above-mentioned methods, the display for the updating target data target screen area that flexible terminal is acquired according to target camera, so that the screen of flexible terminal, which is shown, to arrange in pairs or groups with dress, accessories or the specified object of user, the diversity that screen is shown is increased, decoration effect of flexible terminal is realized.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of display control method, flexible terminal, movements eventually
End and computer readable storage medium.
Background technique
Flexible terminal uses flexible screen, in flattened state, can be used as traditional telephone terminal and uses;In bending state
When, volume becomes smaller, and can be used as a wearable device and wears use, is folded into flexible terminal for example, user can choose
Wearing regime makes it be suspended on coat pocket, or is worn on wrist.
Inventor has found that existing flexible terminal is typically designed as in wearing regime in the research process to the prior art
When, meeting automatic extinguishing screen enters standby mode, and standby display is usually intrinsic display content, such as display blank screen.For chasing after
It asks for the user of fashion, the standby display mode of flexible terminal is very dull.
Summary of the invention
The embodiment of the present invention provides a kind of display control method, flexible terminal, mobile terminal and computer-readable storage medium
Matter, to solve the problem of that existing flexible terminal display mode fixes the demand of the different display effect of user of being unable to satisfy.
In a first aspect, being applied to flexible terminal, the method packet the embodiment of the invention provides a kind of display control method
It includes:
Obtain the target image of target camera acquisition;
Based on the target image, target data is determined;
In the case where the flexible terminal is preset target flexural state, it is based on the target data, more fresh target
The display of screen area;
Wherein, under the target flexural state, the display location of the flexible terminal is in the opposite direction of bending direction
Flexible terminal surface.
Optionally, described to be based on the target data, before the display for updating target screen area, further includes:
Obtain the bending part position of the flexible terminal;
Based on the bending part position, the first screen area and the second screen area, first screen are determined
Terminal side where region includes the target camera;
Determine the target screen area in first screen area and second screen area.
Optionally, the target screen area in the determination first screen area and second screen area, packet
It includes:
In the case where the target camera is blocked, second screen area is determined as target screen area;
In the case where the target camera is not blocked, first screen area is determined as target screen area
Domain.
Optionally, described to be based on the target image, determine target data, comprising:
Identify the first face information in the target image;
In the case where first face information is the face information of first user, identify in the target image
Garment region target data.
Optionally, the target data include the colouring information of the clothes, in the pattern-information on the clothes extremely
One item missing.
Optionally, described to be based on the target data, the display of target screen area is updated, is included at least one of the following:
In the case where the target data includes the first color of first user's clothes, by the color of target screen area
It is set as and associated second color of first color;
In the case where the target data includes the first pattern of first user's clothes, shown on target screen area
First pattern.
Optionally, the target data is the target image, and the target image is the image of target object;The base
In the target data, the display of target screen area is updated, comprising:
Obtain the picture depth of the target image;
In the case where described image depth is less than or equal to predetermined depth threshold value, institute is shown in the target screen area
State each frame preview image data for the target object that target camera acquires in real time.
Second aspect, the embodiment of the invention provides a kind of flexible terminal, the flexible terminal includes:
Target image obtains module, for obtaining the target image of target camera acquisition;
Target data determining module determines target data for being based on the target image;
Update module, for being based on the target in the case where the flexible terminal is preset target flexural state
Data update the display of target screen area;
Wherein, under the target flexural state, the display location of the flexible terminal is in the opposite direction of bending direction
Flexible terminal surface.
Optionally, the flexible terminal further include:
Position acquisition module, for obtaining the bending part position of the flexible terminal;
Screen area determining module determines the first screen area and second for being based on the bending part position
Screen area, terminal side where first screen area includes the target camera;
Target screen area determination module, for determining the mesh in first screen area and second screen area
Mark screen area.
Optionally, the target screen area determination module, comprising:
First determines submodule, in the case where the target camera is blocked, by second screen area
It is determined as target screen area;
Second determines submodule, in the case where the target camera is not blocked, by first screen area
Domain is determined as target screen area.
Optionally, the target data determining module, comprising:
Recognition of face submodule, for identification the first face information in the target image;
Data identify submodule, for the case where first face information is the face information of first user
Under, identify the target data of the Garment region in the target image.
Optionally, the target data include the colouring information of the clothes, in the pattern-information on the clothes extremely
One item missing.
Optionally, the update module includes at least one of the following:
Submodule is arranged in color, in the case where the target data includes the first color of first user's clothes,
It sets the color of target screen area to and associated second color of first color;
Pattern displaying submodule, in the case where the target data includes the first pattern of first user's clothes,
First pattern is shown on target screen area.
Optionally, the target data is the target image, and the target image is the image of target object;It is described more
New module includes:
Depth acquisition submodule, for obtaining the picture depth of the target image;
Real-time display submodule is used in the case where described image depth is less than or equal to predetermined depth threshold value, in institute
State each frame preview image data for the target object that target screen area shows that the target camera acquires in real time.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
Now the step of display control method as described in relation to the first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Computer program is stored on medium, and display control as described in relation to the first aspect is realized when the computer program is executed by processor
The step of method.
In embodiments of the present invention, flexible terminal obtains the target image of target camera acquisition, is based on the target figure
Picture determines target data, in the case where flexible terminal is preset target flexural state, is based on target data, more fresh target
The display of screen area.In the above-mentioned methods, the updating target data target screen that flexible terminal is acquired according to target camera
The display in region increases so that the screen of flexible terminal, which is shown, to arrange in pairs or groups with dress, accessories or the specified object of user
Add the diversity that screen is shown, realizes decoration effect of flexible terminal.
Detailed description of the invention
Fig. 1 is one of the flow chart of display control method provided in the embodiment of the present invention;
Fig. 2 be the schematic diagram that flexible terminal is bent to preset target flexural state that is provided in the embodiment of the present invention it
One;
Fig. 3 be the schematic diagram that flexible terminal is bent to preset target flexural state that is provided in the embodiment of the present invention it
Two;
Fig. 4 is the schematic diagram of the flexible terminal in wearing regime provided in the embodiment of the present invention;
Fig. 5 is that one of the schematic diagram for the screen area that sets the goal really is provided in the embodiment of the present invention;
Fig. 6 be provided in the embodiment of the present invention screen area that sets the goal really schematic diagram two;
The two of the flow chart of the display control method provided in Fig. 7 embodiment of the present invention;
Fig. 8 is schematic diagram of the target camera towards local user clothes provided in the embodiment of the present invention;
Fig. 9 is schematic diagram of the target camera towards other people clothes provided in the embodiment of the present invention;
Figure 10 is one of the structural block diagram of flexible terminal provided in the embodiment of the present invention;
Figure 11 is the two of the structural block diagram of the flexible terminal provided in the embodiment of the present invention;
Figure 12 is a kind of hardware structural diagram of the mobile terminal provided in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, one of the flow chart of display control method provided in the embodiment of the present invention is provided, flexibility is applied to
Terminal, the terminal described in embodiments of the present invention may include such as mobile phone, tablet computer, laptop, palm PC,
Personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media
Player, PMP), navigation device, wearable device, Intelligent bracelet, the mobile terminals such as pedometer, and it is such as number TV, desk-top
The fixed terminals such as computer, it is however noted that, the flexibility that above-mentioned terminal is understood as being designed with flexible screen is whole
End, and flexible screen can be realized based on current terminal enclosure and is bending or folding over.
The display control method can specifically include following steps:
Step 101, the target image of target camera acquisition is obtained.
In embodiments of the present invention, the target image that the available target camera of flexible terminal is acquired by preview mode
Data.The camera of flexible terminal generally may include positioned at the proactive of terminal flexible screen part and positioned at terminal enclosure part
After take the photograph, and target camera herein can be based on flexible terminal current shape state determine some camera, example
Such as, it can be positioned at the proactive of flexible terminal display screen part.In addition, user can adjust to obtain the target images of needs
The direction of whole target camera.For example, it is located at the image for obtaining user's clothes, it can be by target camera towards user's clothes
Direction.
The movement of above-mentioned target camera acquisition target image can be terminal and detect that the unlatching for being directed to camera refers to
It is carried out after order, which can be the instruction that the casing part in flexible terminal is operated, for example, the open command can
To be pressing operation of the user to flexible terminal shell predetermined patterns, be also possible to user by the display screen of flexible terminal be bent to
Target flexural state.
Step 102, it is based on the target image, determines target data.
In embodiments of the present invention, according to target image, target data can therefrom be got.Specifically, if target is taken the photograph
As the clothing that head wear user, then target image is the image of user's clothes, and target data can be user's clothes
Color or pattern;If target camera faces the clothing that other people wear, target image is the image of other people clothes, target data
It can be the color or pattern of other people clothes;If camera faces the accessories that user wears, target image is the accessories, target
Data are the color or pattern of the accessories.
Step 103, in the case where the flexible terminal is preset target flexural state, it is based on the target data,
Update the display of target screen area;Wherein, under the target flexural state, the display location of the flexible terminal is in bending
The surface of the flexible terminal of the opposite direction in direction.
In embodiments of the present invention, the display screen that preset target flexural state can be flexible terminal is bent to wearing mould
The state of formula, at this point, the display location of flexible terminal is in the surface of the flexible terminal of the opposite direction of flexible terminal bending direction,
And target screen area is located on the display screen of above-mentioned flexible terminal, is displayed for target data, target screen area can
Be flexible terminal display screen all display areas or part display area, the embodiment of the present invention do not do specific limit to this
It is fixed.Target camera is the camera on the display screen of above-mentioned flexible terminal.
Referring to Fig. 2, shows and provided in an embodiment of the present invention flexible terminal is bent to preset target flexural state
One of schematic diagram.In Fig. 2, S1 show the target camera of flexible terminal, on the left of Fig. 2, does not carry out for flexible terminal curved
Bent state, the right side Fig. 2, is bent for flexible terminal according to direction shown in S2, and be bent to goal-selling bending state, curved
Target camera is oriented arrow direction shown in S3, i.e. outside of the camera S1 towards flexible terminal after song, and in Fig. 2
Right side, it is seen from above, the bending direction of flexible terminal be it is downward, then display location is in the surface of flexible terminal upward direction,
That is surface shown in S7 and S8.
Referring to Fig. 3, shows and provided in an embodiment of the present invention flexible terminal is bent to preset target flexural state
The two of schematic diagram.In Fig. 3, S1 show the target camera of flexible terminal, on the left of Fig. 3, does not carry out for flexible terminal curved
Bent state, the right side Fig. 3, is bent for flexible terminal according to direction shown in S4, and be bent to goal-selling bending state, curved
The rear camera of song is oriented arrow direction shown in S5, i.e. outside of the camera S1 towards flexible terminal, and on the right side Fig. 3
Side, seen from above, the bending direction of flexible terminal is still downward, then display location is in the surface of flexible terminal upward direction.
Under target flexural state, it can be based on target data, update the display of target screen area, for example, can incite somebody to action
Target data is shown on target screen area.Specifically, if target data is the color or pattern of user's clothes, by the face
Color or pattern displaying are soft when flexible terminal is suspended on coat pocket or is worn on wrist by user in target screen area
Property terminal screen color or pattern formed and echoed with user's clothes color or pattern, improve flexible terminal and user's clothing
Collocation sense, makes flexible terminal be provided with decoration effect of wearing product.
Referring to Fig. 4, the schematic diagram of the flexible terminal provided in an embodiment of the present invention in wearing regime is shown.In Fig. 4
In, flexible terminal is bent to target flexural state, and the coat pocket of user is ridden over as wearing product, and flexible terminal is based on user
Clothes color, the clothes color is shown in target screen area D1.
Optionally, described to be based on the target data, it, can also be by following before the display for updating target screen area
Step A1- step A3 determines the target screen area of flexible terminal.
Step A1 obtains the bending part position of the flexible terminal.
In embodiments of the present invention, user, which applies to the power of flexible terminal center position the both ends of flexible terminal, makes flexibility
Terminal bends, and flexible terminal can detect the stress of terminal by built-in sensor, then be obtained by force analysis soft
The bending part position of property terminal.
Step A2 is based on the bending part position, determines the first screen area and the second screen area, and described the
Terminal side where one screen area includes the target camera.
Specifically, according to bending part position, the display screen of flexible terminal can be divided into two screen areas, point
It Wei the first screen area and the second screen area, wherein using the screen area where target camera as the first screen area
Domain.
For example, S6 show bending part in Fig. 2, P1 and P2 are respectively two screen areas divided by S6,
Wherein, the screen area P1 where target camera S1 is the first screen area.
Step A3 determines the target screen area in first screen area and second screen area.
When target screen area can be flexible terminal and be in wearing regime, external screen area can be shown in.This
Sample, in target screen area displaying target data, so that it may realize decoration effect of flexible terminal.
Specifically, step A3 may include:
Second screen area is determined as target screen in the case where the target camera is blocked by step A31
Curtain region.
In embodiments of the present invention, target camera judges whether it is blocked according to preview image, if being blocked, explanation
The first screen area where target camera contacts more close with user, for example, the clothing of the first screen area and user
The wrist skin contact of clothes contact or the first screen area and user, in short, the first screen area cannot be shown in external environment
In.At this point, the second screen area that will be shown in external environment is determined as target screen area.
Referring to Fig. 5, one of the schematic diagram of determining target screen area provided in an embodiment of the present invention is shown.In Fig. 5,
Flexible terminal rides over the coat pocket of user A, is based on bending part position, determines screen area P3 and screen area P4,
Wherein, because terminal side where screen area P3 includes target camera S1, then using screen area P3 as the first screen area,
Screen area P4 is as the second screen area.The direction of target camera S1 direction is direction shown in arrow T1, i.e. target images
Coat pocket of the head S1 towards user A.In this case, target camera S1 is blocked by the coat pocket of user A, then,
Second screen area P4 is determined as target screen area.
First screen area is determined as target in the case where the target camera is not blocked by step A32
Screen area.
If target camera judges that it is not blocked according to preview image, by the first screen where target camera
Region is as target screen area, in the first screen area displaying target data.
Referring to Fig. 6, the two of the schematic diagram of determining target screen area provided in an embodiment of the present invention are shown.In Fig. 6,
Flexible terminal rides over the coat pocket of user A, is based on bending part position, determines screen area P5 and screen area P6,
Wherein, because terminal side where screen area P6 includes target camera S1, then using screen area P6 as the first screen area,
Screen area P5 is as the second screen area.The direction of target camera S1 direction is direction shown in arrow T1, i.e. target images
Head S1 is towards the outside of flexible terminal.In this case, target camera S1 is not blocked by anything, then, by first
Screen area P6 is determined as target screen area.
By the method for above-mentioned determining target screen area, target data can be made to be shown in the flexible terminal not being blocked
Screen area, wear so as to so that target data is clearly shown in the external world, enhance flexible terminal and user, accessories are taken
With sense.
In conclusion in embodiments of the present invention, flexible terminal obtains the target image of target camera acquisition, it is based on institute
Target image is stated, determines target data, in the case where flexible terminal is preset target flexural state, is based on target data,
Update the display of target screen area.In the above-mentioned methods, the updating target data that flexible terminal is acquired according to target camera
The display of target screen area so that the screen of flexible terminal show can with dress, accessories or the specified object of user into
Row collocation, increases the diversity that screen is shown, realizes decoration effect of flexible terminal.
Referring to Fig. 7, the two of the flow chart of display control method provided in an embodiment of the present invention are shown, are applied to flexible whole
End, the display control method can specifically include following steps:
Step 201, the target image of target camera acquisition is obtained.
In embodiments of the present invention, step 201 is referred to step 101, and details are not described herein again.
Step 202, the first face information in the target image is identified.
In embodiments of the present invention, the first face information can be redefined for the face information of local user, can also be with
Without setting, so that target camera is when towards other people, other people available face information.
Referring to Fig. 8, schematic diagram of the target camera towards local user clothes provided in an embodiment of the present invention is shown.In
In Fig. 8, target camera S1 is located at the outside of flexible terminal, and the direction of target camera S1 direction is side shown in arrow T2
To that is, user oriented clothes.In this case, the target image that target camera is got is the face of user and its clothes
Color or pattern, flexible terminal therefrom extract the face information of local user.Also, the bending position based on flexible terminal, will be soft
The display screen of property terminal is divided into screen area P7 and screen area P8, and target camera S1 is located at screen area P8, then by screen
Region P8 as the first screen area, screen area P7 as the second screen area, target camera S1 towards user clothes,
Target camera S1 is blocked by user's clothes, then using the second screen area P7 as target screen area.
Referring to Fig. 9, schematic diagram of the target camera towards other people clothes provided in an embodiment of the present invention is shown.In Fig. 9
In, local user A holds flexible terminal, and the direction of target camera S1 direction is direction, the i.e. face camera S1 shown in arrow T1
To the clothes of personage B.In this case, the target image that camera is got is the color or pattern of personage B and its clothes,
Flexible terminal therefrom extracts the face information of personage B.Also, since target camera S1 is towards outside flexible terminal shown in T1
The first screen area P9 where target camera S1 is then determined as target screen area by side direction.
Step 203, in the case where first face information is the face information of first user, the mesh is identified
The target data of Garment region in logo image.
In embodiments of the present invention, the first user can be set as local user, the first user can also be set to be any
People, then, in the case where the first face information is the face information of local user, identified downwards from human face region, Ke Yishi
It is clipped to the Garment region of local user, the extracting target from images data from Garment region;It is other people in the first face information
It in the case where face information, is equally identified downwards from human face region, other people Garment region can be recognized, from the Garment region
Extracting target from images data.
By the first face information in recognition target image, the target data of the Garment region in recognition target image,
The data in clothes that target data behaviour can be made worn, avoiding the target data recognized although is clothes data, but
It but is not the clothes that people is worn, for example, the clothes of clothes shop or the clothes etc. being suspended on clothes hanger, therefore, by first identifying
Face information identifies the target area of Garment region again, can will not be that the clothes that people is worn recognizes to avoid flexible terminal, mention
The high effect of identification, reduces meaningless identification.
Optionally, the target data include the colouring information of the clothes, in the pattern-information on the clothes extremely
One item missing.
In embodiments of the present invention, in order to which the display for making flexible terminal target screen area and the clothes of user are taken
Match, or arrange in pairs or groups with other people clothes, the target data extracted from target image can be the colouring information of clothes, pattern
Information, thus by the color, pattern displaying on target screen area.Specifically, for in Fig. 8 in the case of, it is flexible eventually
The clothing color or pattern of user will be shown in the target screen area at end;For in Fig. 9 in the case of, flexible terminal
Target screen area in will show personage B clothes pattern or color.
The target screen area of flexible terminal shows the clothes color or pattern of user, provides the face according to clothes
Color adaptively adjusts the mode of the standby display of flexible terminal, on the one hand can remove user from and change the cumbersome of standby display manually,
On the other hand when flexible terminal is ridden over coat pocket or be worn on wrist by user as wearing product, the standby of flexible terminal is shown
Show to be formed with clothes pattern or color and echo, to the feeling that a kind of mobile phone of people and clothes combine together, enhances playability and entertaining
Property.
The target screen area of flexible terminal shows other people clothes color or pattern, and it is manual on the one hand to eliminate user
Change the cumbersome of standby display, on the other hand can convey some psychological activities of user indirectly, for example, good opinion, admire fondly,
Wish concern etc., enhances the expressivity, playability and interest of flexible terminal.
It should be noted that in practical applications, be also possible to that people is not present in the shooting direction of target camera, thus
There is no the clothes of people, if but at this time in shooting direction there are when the color of other large area or pattern-information, it can also be in mesh
The color or pattern-information are shown in mark screen area;If any color or pattern-information is not present in shooting direction at this time,
Default information is shown in target screen area or does not show any information.
After step 203, step 204 can be executed, or, step 205, or, step 206- step 207.
Step 204, in the case where the target data includes the first color of first user's clothes, by target screen area
The color in domain is set as and associated second color of first color.
In embodiments of the present invention, the clothes positioned at the color and user that make target screen area is arranged in pairs or groups, and not only may be used
To show the primary colors of user's clothes in target screen area, i.e. the first color can also be shown and the first color associated second
Color, in this way, available better arranging effect.For example, the first color of user's clothes is black, then it can be by target screen
The color in curtain region is set as the red more arranged in pairs or groups with black, in this way, can break the feeling of heaviness of black dress, brings vigor
Feeling, obtain better arranging effect.
Step 205, in the case where the target data includes the first pattern of first user's clothes, in target screen area
First pattern is shown on domain.
In embodiments of the present invention, it if the clothes of the first user includes the first pattern, is also shown in target screen area
First pattern.For example, the first pattern is design of scattered small flowers and plants or grid pattern, then the design of scattered small flowers and plants or trellis diagram are also shown in target screen area
Case.
By showing the first pattern on target screen area, the target data that target screen area is shown can be expanded
Type further increases the arranging effect of flexible terminal Yu user's clothes.
Step 206, the picture depth of the target image is obtained.
In embodiments of the present invention, picture depth refers to the distance of each object in from image acquisition device to scene, wherein deep
Degree is the meaning of distance.For the flexible terminal using two camera imagings, can be obtained using binocular depth estimation method
The picture depth of target image is taken, because there are a certain distance between two cameras, same scenery passes through two mirrors
Head imaging has certain difference, both parallaxes, can be due to estimating the substantially deep of scenery because of the presence of parallax information
Spend information;For the flexible terminal being imaged using single camera, the estimation of Depth that can be understood using image content-based
Method, the depth estimation method that picture material understands is mainly by classifying to each scenery piecemeal in image, then
Their depth information is estimated the scenery of each classification with the method for each self application respectively;The depth based on focusing can also be used
Estimation method is spent, depth of focus estimation is exactly that video camera is made to be in heat build-up position relative to measured point, then according to lens imaging
Formula can acquire distance of the measured point relative to video camera.
Step 207, in the case where described image depth is less than or equal to predetermined depth threshold value, in the target screen area
Domain shows each frame preview image data for the target object that the target camera acquires in real time.
In embodiments of the present invention, depth threshold can be preset, if the picture depth of each object is respectively less than in image
Or be equal to predetermined depth threshold value, then illustrate the distance between each object very little in image, further relates to the camera of flexible terminal
It places oneself in the midst of in narrow space.In order to recognize user, the inner case of narrow space, flexible terminal at this time can be to target figures
As the operation without extracting color or pattern, but captured in the Dynamically Announce narrow space directly in target screen area
The each frame preview image data arrived.
Specifically, if user is it should be understood that situation inside narrow space, can send the unlatching for camera first
Instruction, then has being filled in the narrow space on one side for camera to obtain target image flexible terminal, then, camera is to mesh
Logo image carries out image analysis, obtains picture depth, detects that picture depth is less than or equal to predetermined depth threshold value, then in target
Each frame image on screen area in real-time display narrow space, i.e. video information in narrow space are thus expanded
The visual range of human eye.Existing flexible terminal can also realize the situation in shooting narrow space using camera, but need
Flexible terminal records a video or takes pictures in narrow space and finishes, and could take out flexible terminal, replays video recording or checks photograph album
It sees effect, position cannot be adjusted according to the scene seen in real time, this programme can accomplish the real-time display on screen area, more
It is convenient, fast.
In conclusion display control method provided in an embodiment of the present invention, except having with the display control method in Fig. 1
Outside beneficial effect, also pass through the first face information in recognition target image, the number of targets of the Garment region in recognition target image
According to can will not be that the clothes that people is worn recognizes to avoid flexible terminal, improve the effect of identification, reduce meaningless knowledge
Not;Also, in the case where the target data includes the first color of first user's clothes, by the color of target screen area
It is set as and associated second color of first color, available better arranging effect;Furthermore, it is possible to by target
The depth analysis of image, each frame image of Dynamically Announce target data, has expanded the visual of human eye in target screen area
Range, and operate more convenient, quick.
Referring to Fig.1 0, it is one of the structural block diagram of flexible terminal provided in an embodiment of the present invention, the flexible terminal 300 is specific
May include:
Target image obtains module 301, for obtaining the target image of target camera acquisition;
Target data determining module 302 determines target data for being based on the target image;
Update module 303, for being based on the mesh in the case where the flexible terminal is preset target flexural state
Data are marked, the display of target screen area is updated;
Wherein, under the target flexural state, the display location of the flexible terminal is in the opposite direction of bending direction
Flexible terminal surface.
Optionally, the terminal 300 further include:
Position acquisition module, for obtaining the bending part position of the flexible terminal;
Screen area determining module determines the first screen area and second for being based on the bending part position
Screen area, terminal side where first screen area includes the target camera;
Target screen area determination module, for determining the mesh in first screen area and second screen area
Mark screen area.
Optionally, the target screen area determination module, comprising:
First determines submodule, in the case where the target camera is blocked, by second screen area
It is determined as target screen area;
Second determines submodule, in the case where the target camera is not blocked, by first screen area
Domain is determined as target screen area.
Flexible terminal provided in an embodiment of the present invention can be realized each process realized in the embodiment of the method for Fig. 1, be
It avoids repeating, which is not described herein again.
Flexible terminal provided in an embodiment of the present invention obtains the target image of target camera acquisition, is based on the target
Image determines target data, in the case where flexible terminal is preset target flexural state, is based on target data, updates mesh
Mark the display of screen area.In the above-mentioned methods, the updating target data target screen that flexible terminal is acquired according to target camera
The display in curtain region, so that the screen of flexible terminal, which is shown, to arrange in pairs or groups with dress, accessories or the specified object of user,
The diversity that screen is shown is increased, decoration effect of flexible terminal is realized.
Referring to Fig.1 1, on the basis of above-mentioned Figure 10, show the flexible terminal of the embodiment of the present invention structural block diagram it
Two, the target data determining module 302, comprising:
Recognition of face submodule 3021, for identification the first face information in the target image;
Data identify submodule 3022, for the feelings in the face information that first face information is first user
Under condition, the target data of the Garment region in the target image is identified.
Optionally, the target data include the colouring information of the clothes, in the pattern-information on the clothes extremely
One item missing.
The update module 303 includes at least one of the following:
Submodule 3031 is arranged in color, for including the case where the first color of first user's clothes in the target data
Under, it sets the color of target screen area to and associated second color of first color;
Pattern displaying submodule 3032, for including the case where the first pattern of first user's clothes in the target data
Under, first pattern is shown on target screen area.
Optionally, the target data is the target image, and the target image is the image of target object;It is described more
New module 303 includes:
Depth acquisition submodule 3033, for obtaining the picture depth of the target image;
Real-time display submodule 3034 is used in the case where described image depth is less than or equal to predetermined depth threshold value,
The each frame preview image number for the target object that the target camera acquires in real time is shown in the target screen area
According to.
Flexible terminal provided in an embodiment of the present invention can be realized each process realized in the embodiment of the method for Fig. 7, be
It avoids repeating, which is not described herein again.
Flexible terminal provided in an embodiment of the present invention also passes through in addition to the beneficial effect with the flexible terminal in Figure 10
The first face information in recognition target image, the target data of the Garment region in recognition target image, can be to avoid flexibility
Terminal will not be that the clothes that people is worn recognizes, and improves the effect of identification, reduces meaningless identification;Also, described
In the case that target data includes the first color of first user's clothes, set the color of target screen area to and described
Associated second color of one color, available better arranging effect;Furthermore, it is possible to pass through the depth to target image point
Analysis, each frame image of Dynamically Announce target data in target screen area have been expanded the visual range of human eye, and have been operated more
For convenience, quick.
The hardware structural diagram of Figure 12 one of each embodiment mobile terminal to realize the present invention,
The mobile terminal 400 includes but is not limited to: radio frequency unit 401, network module 402, voice output unit 403, defeated
Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor
The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Figure 12 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410 are used for:
Obtain the target image of target camera acquisition;
Based on the target image, target data is determined;
In the case where the flexible terminal is preset target flexural state, it is based on the target data, more fresh target
The display of screen area;
Wherein, under the target flexural state, the display location of the flexible terminal is in the opposite direction of bending direction
Flexible terminal surface.
In embodiments of the present invention, flexible terminal obtains the target image of target camera acquisition, is based on the target figure
Picture determines target data, in the case where flexible terminal is preset target flexural state, is based on target data, more fresh target
The display of screen area.In the above-mentioned methods, the updating target data target screen that flexible terminal is acquired according to target camera
The display in region increases so that the screen of flexible terminal, which is shown, to arrange in pairs or groups with dress, accessories or the specified object of user
Add the diversity that screen is shown, realizes decoration effect of flexible terminal.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Voice output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409
The voice data of storage is converted into voice signal and exports to be sound.Moreover, voice output unit 403 can also be provided and be moved
The relevant sound output of the specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Voice output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving sound or vision signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 capture mould in video
The image data of the static images or video that are obtained in formula or image capture mode by image capture apparatus (such as camera) carries out
Processing.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can
To be stored in memory 409 (or other storage mediums) or be sent via radio frequency unit 401 or network module 402.
Microphone 4042 can receive sound, and can be voice data by such acoustic processing.Treated, and voice data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 401 in the case where telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear
Display panel 4061 or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three in all directions
Axis) acceleration size, can detect that size and the direction of gravity when static, it is (such as horizontal to can be used to identify mobile terminal posture
Vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor
405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, humidity
Meter, thermometer, infrared sensor etc., details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 with
And other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching
The type for touching event provides corresponding visual output on display panel 4061.Although in Figure 12, touch panel 4071 and aobvious
Show that panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port voice input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal
Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program or module that are stored in memory 409, and calls and is stored in memory
Data in 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Processing
Device 410 may include one or more processing units;Preferably, processor 410 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 110.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can run on above-mentioned processor 410, the computer program are executed by processor 410
Each process of Shi Shixian above-mentioned display method embodiment, and identical technical effect can be reached, to avoid repeating, here no longer
It repeats.
Based on the hardware configuration of above-mentioned mobile terminal, various embodiments of the present invention are described in detail below.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, realizes each process of above-mentioned display method embodiment when which is executed by processor, and can reach
Identical technical effect, to avoid repeating, which is not described herein again.Wherein, above-mentioned computer readable storage medium is deposited Ru read-only
Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM),
Magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of display control method is applied to flexible terminal, which is characterized in that the described method includes:
Obtain the target image of target camera acquisition;
Based on the target image, target data is determined;
In the case where the flexible terminal is preset target flexural state, it is based on the target data, updates target screen
The display in region;
Wherein, under the target flexural state, the display location of the flexible terminal in bending direction opposite direction it is soft
The surface of property terminal.
2. updating target screen area the method according to claim 1, wherein described be based on the target data
Before the display in domain, further includes:
Obtain the bending part position of the flexible terminal;
Based on the bending part position, the first screen area and the second screen area, first screen area are determined
Place terminal side includes the target camera;
Determine the target screen area in first screen area and second screen area.
3. according to the method described in claim 2, it is characterized in that, the determination first screen area and second screen
Target screen area in curtain region, comprising:
In the case where the target camera is blocked, second screen area is determined as target screen area;
In the case where the target camera is not blocked, first screen area is determined as target screen area.
4. determining target data the method according to claim 1, wherein described be based on the target image, wrap
It includes:
Identify the first face information in the target image;
In the case where first face information is the face information of first user, the clothing in the target image is identified
Take the target data in region.
5. according to the method described in claim 4, it is characterized in that, the target data include the clothes colouring information,
At least one of in pattern-information on the clothes.
6. according to the method described in claim 5, it is characterized in that, described be based on the target data, update target screen area
The display in domain, includes at least one of the following:
In the case where the target data includes the first color of first user's clothes, the color of target screen area is arranged
For with associated second color of first color;
In the case where the target data includes the first pattern of first user's clothes, on target screen area described in display
First pattern.
7. the method according to claim 1, wherein the target data is the target image, the target
Image is the image of target object;It is described to be based on the target data, update the display of target screen area, comprising:
Obtain the picture depth of the target image;
In the case where described image depth is less than or equal to predetermined depth threshold value, the mesh is shown in the target screen area
The each frame preview image data for the target object that mark camera acquires in real time.
8. a kind of flexible terminal, which is characterized in that the flexible terminal includes:
Target image obtains module, for obtaining the target image of target camera acquisition;
Target data determining module determines target data for being based on the target image;
Update module, for being based on the target data in the case where the flexible terminal is preset target flexural state,
Update the display of target screen area;
Wherein, under the target flexural state, the display location of the flexible terminal in bending direction opposite direction it is soft
The surface of property terminal.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 7
The step of described in any item display control methods.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, the display control method as described in any one of claims 1 to 7 is realized when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910678327.7A CN110489047B (en) | 2019-07-25 | 2019-07-25 | Display control method and flexible terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910678327.7A CN110489047B (en) | 2019-07-25 | 2019-07-25 | Display control method and flexible terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110489047A true CN110489047A (en) | 2019-11-22 |
CN110489047B CN110489047B (en) | 2021-03-02 |
Family
ID=68548246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910678327.7A Active CN110489047B (en) | 2019-07-25 | 2019-07-25 | Display control method and flexible terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110489047B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593009A (en) * | 2011-02-10 | 2014-02-19 | 三星电子株式会社 | Portable device comprising a touch-screen display, and method for controlling same |
US20160301832A1 (en) * | 2015-04-07 | 2016-10-13 | Lenovo (Beijing) Co., Ltd. | Electronic Device and Method for Controlling Cameras Thereof |
CN108228032A (en) * | 2018-01-26 | 2018-06-29 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of display screen |
CN109766048A (en) * | 2018-12-29 | 2019-05-17 | 维沃移动通信有限公司 | A kind of display methods and mobile terminal of flexible display screen |
-
2019
- 2019-07-25 CN CN201910678327.7A patent/CN110489047B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593009A (en) * | 2011-02-10 | 2014-02-19 | 三星电子株式会社 | Portable device comprising a touch-screen display, and method for controlling same |
US20160301832A1 (en) * | 2015-04-07 | 2016-10-13 | Lenovo (Beijing) Co., Ltd. | Electronic Device and Method for Controlling Cameras Thereof |
CN108228032A (en) * | 2018-01-26 | 2018-06-29 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of display screen |
CN109766048A (en) * | 2018-12-29 | 2019-05-17 | 维沃移动通信有限公司 | A kind of display methods and mobile terminal of flexible display screen |
Also Published As
Publication number | Publication date |
---|---|
CN110489047B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108712603B (en) | Image processing method and mobile terminal | |
CN107835367A (en) | A kind of image processing method, device and mobile terminal | |
CN109600550A (en) | A kind of shooting reminding method and terminal device | |
CN108600647A (en) | Shooting preview method, mobile terminal and storage medium | |
CN107864336B (en) | A kind of image processing method, mobile terminal | |
CN109218648A (en) | A kind of display control method and terminal device | |
CN108462826A (en) | A kind of method and mobile terminal of auxiliary photo-taking | |
CN109474786A (en) | A kind of preview image generation method and terminal | |
CN109409244A (en) | A kind of object puts the output method and mobile terminal of scheme | |
CN110490897A (en) | Imitate the method and electronic equipment that video generates | |
CN109461124A (en) | A kind of image processing method and terminal device | |
CN109669611A (en) | Fitting method and terminal | |
CN108881544A (en) | A kind of method taken pictures and mobile terminal | |
CN109167914A (en) | A kind of image processing method and mobile terminal | |
CN109448069A (en) | A kind of template generation method and mobile terminal | |
CN108174081B (en) | A kind of image pickup method and mobile terminal | |
CN109544445A (en) | A kind of image processing method, device and mobile terminal | |
CN108718389A (en) | A kind of screening-mode selection method and mobile terminal | |
CN109671034A (en) | A kind of image processing method and terminal device | |
CN108881721A (en) | A kind of display methods and terminal | |
CN107948503A (en) | A kind of photographic method, camera arrangement and mobile terminal | |
CN110086998A (en) | A kind of image pickup method and terminal | |
CN109639981A (en) | A kind of image capturing method and mobile terminal | |
CN109740493A (en) | A kind of target object recommended method and mobile terminal | |
CN109542307A (en) | A kind of image processing 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |