CN107357540B - Display direction adjusting method and mobile terminal - Google Patents

Display direction adjusting method and mobile terminal Download PDF

Info

Publication number
CN107357540B
CN107357540B CN201710524055.6A CN201710524055A CN107357540B CN 107357540 B CN107357540 B CN 107357540B CN 201710524055 A CN201710524055 A CN 201710524055A CN 107357540 B CN107357540 B CN 107357540B
Authority
CN
China
Prior art keywords
display
display interface
interface
display direction
face feature
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.)
Active
Application number
CN201710524055.6A
Other languages
Chinese (zh)
Other versions
CN107357540A (en
Inventor
吕叶靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710524055.6A priority Critical patent/CN107357540B/en
Publication of CN107357540A publication Critical patent/CN107357540A/en
Application granted granted Critical
Publication of CN107357540B publication Critical patent/CN107357540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a display direction adjusting method and a mobile terminal, wherein the method comprises the following steps: acquiring display directions of a first display interface and a second display interface in display interfaces of the mobile terminal; when the display direction of the first display interface is different from that of the second display interface, the display direction of the other display interface is adjusted according to the display direction of one display interface of the first display interface or the second display interface, so that the display direction of the first display interface is the same as that of the second display interface. Therefore, the problem that the display direction of the mobile terminal interface is different from the watching direction of the user in the prior art is solved.

Description

Display direction adjusting method and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a display direction adjusting method and a mobile terminal.
Background
With the rapid development of electronic technology, portable mobile devices such as smart phones and tablet computers greatly change the life and working modes of people, and these mobile devices are usually equipped with one or more cameras to meet the higher and higher shooting requirements of users.
At present, as the camera uses scenes more and more, for example, technologies such as AR/VR, cell-phone 3D projection are gradually emerging, and the requirements for camera imaging effect and framing accuracy are also higher and higher. At present, in order to realize accurate view angle, after a smart phone starts a camera to perform online video or take a picture, the angle change direction in the vertical direction is judged and identified through a gravity sensor (G-sensor), and the corresponding adjustment of the view angle of the camera is always consistent with the gravity direction when the mobile phone rotates by 90 degrees. The method is used for preventing the situations of portrait and scene inversion caused by rotation of the smart phone.
However, in some scenarios where the gravity sensor is not suitable or the screen is split, due to the inability to display or the orientation of the user, the display of the interface is often displayed according to a preset angle, which may be different from the orientation of the user, and thus normal viewing by the user is affected.
Disclosure of Invention
The embodiment of the invention provides a display direction adjusting method and a mobile terminal, and aims to solve the problem that the display direction of an interface in the mobile terminal is different from the watching direction of a user in the prior art.
In a first aspect, an embodiment of the present invention provides a method for adjusting a display direction, which is applied to a mobile terminal, and the method includes:
acquiring display directions of a first display interface and a second display interface in display interfaces of the mobile terminal;
when the display direction of the first display interface is different from that of the second display interface, the display direction of the other display interface is adjusted according to the display direction of one display interface of the first display interface or the second display interface, so that the display direction of the first display interface is the same as that of the second display interface.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the view finding direction acquiring module is used for acquiring the display directions of a first display interface and a second display interface in the display interfaces of the mobile terminal;
and the view direction adjusting module is used for adjusting the display direction of the other display interface according to the display direction of one display interface of the first display interface or the second display interface when the display direction of the first display interface is different from the display direction of the second display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface.
In this way, in the embodiment of the present invention, the display directions of the first display interface and the second display interface in the display interface of the mobile terminal are obtained; when the display direction of the first display interface is different from that of the second display interface, the display direction of the other display interface is adjusted according to the display direction of one display interface of the first display interface or the second display interface, so that the display direction of the first display interface is the same as that of the second display interface, and the problem that the display direction of the interface in the mobile terminal is different from the viewing direction of a user in the prior art is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating a method for adjusting a display direction according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for adjusting a display direction according to a second embodiment of the present invention;
fig. 2A is a schematic diagram illustrating adjustment of the display direction of a T-shaped region of a human face according to a second embodiment of the present invention;
fig. 3 is a block diagram illustrating a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram illustrating a mobile terminal according to a third embodiment of the present invention;
fig. 5 is a block diagram illustrating a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Referring to fig. 1, a flowchart illustrating a method for adjusting a display direction according to a first embodiment of the present invention is shown, which may specifically include the following steps:
and step 110, acquiring display directions of a first display interface and a second display interface in the display interfaces of the mobile terminal.
In the embodiment of the invention, when the mobile terminal is used and the display screen on the mobile terminal is determined to be in the open state, two display interfaces, namely a first display interface and a second display interface, are detected. The first display interface and the second display interface can be two independent display interfaces of a split screen or can be overlapped display interfaces. For example, the display area of the first display interface is smaller than that of the second display interface, and the first display interface is suspended on the second display interface.
The present embodiment further illustrates the split screen as an example. Firstly, whether the double-screen Display is started in the mobile terminal is judged, wherein components related to the Display in the Android frame mainly comprise active Activity, window attribute windowState, window management Service Windows Manager Service, Display management Service Display Manager Service, interface management Surface Manager/Surface flag, Display Layer Display HAL (hardwareAbstract Layer) and Display driving in Linux Kernel of a Linux system core. The Android platform adds support for multiple screens after the 4.2 version, and there are mainly 3 screen types: a Primary screen (Primary Display), an External screen (External Display), and a Virtual screen (Virtual Display). In which the self-contained screen is generally recognized as a main screen, and HDMI will be set as an outer screen. In order to facilitate the APP to access the 3 screens, the Android further provides a unified screen management service DisplayManageService, and parameters of the display device can be conveniently acquired through the DisplayManageService, and double-screen display operation is achieved. The Android system maintains the current window stack through a list of windowState, and the list represents the window depth of field (front and back) layout sequence displayed by the current window from the beginning to the end. The list is bound to the current display default device, while the WindowState itself contains Surface information for the current form. The connection relation among the default display equipment, the Windows State list and the Surface of each Window is realized. And then, judging according to the current display condition, and if the current display condition is the double-screen simultaneous display state, displaying an application request to a second screen. Firstly, a new window stack-a second window stack is created according to a default window stack, namely a default WindowState list, a second screen operation context object DisplayContent is obtained through a DisplayManagerService, and the newly created second window stack is bound with the obtained context object. At this time, the window state object WindowState of the current application is searched from the first window stack, so that the opening state of the double-screen display of the mobile terminal can be known by obtaining specific parameters of the WindowState, and when the split-screen state is in the opening state, the display directions of the display pictures of the first display screen and the second display screen are further obtained.
And step 120, when the display direction of the first display interface is different from the display direction of the second display interface, adjusting the display direction of the other display interface according to the display direction of one of the first display interface and the second display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface.
In the embodiment of the invention, in practical application, the preview direction of the Camera can be rotated by 360 degrees on the mobile phone screen, so as to ensure that a user can see a correct preview picture no matter how the mobile phone is rotated (the correct picture means that the sequence of the picture before the user sees is matched with the picture of the UI preview interface), the view direction in the double-screen display interface of the mobile terminal is not necessarily the same, the data collected by the image Sensor is rotated at the bottom layer of the Android system according to the current direction of the mobile phone screen and then is sent to the display system, therefore, after the Camera application is opened, no matter how the mobile phone is rotated, the correct picture can be seen, the Android system provides an API to manually set the preview direction of the Camera, which is called setDisplayOrientation, and under the default condition, the value is 0 and is consistent with the direction of the image Sensor, so for the transverse screen application, the Camera preview direction does not need to be changed, but if the application is a portrait application, the Camera preview direction must be rotated by 90 through the API to be consistent with the mobile phone screen direction, so that a correct preview picture can be obtained. The shooting direction of the Camera is that when the user clicks the shooting button, the obtained picture direction is not necessarily consistent with the preview direction in the picture, because the shot picture directly stores the data collected by the image sensor on the SDCard, and therefore, the shooting direction of the Camera is consistent with the image sensor direction of the Camera. Therefore, if the photographing direction is not the correct direction, the viewing direction of one display screen in the dual screens is taken as the main direction, and the viewing directions of the two display screens are adjusted to be consistent, wherein the preview direction of the camera is ensured to be consistent with the Activity direction by calling the setDisplayOrientation (), namely, the camera is adjusted to be the correct direction.
In the embodiment of the invention, the display directions of a first display interface and a second display interface in the display interfaces of the mobile terminal are obtained; when the display direction of the first display interface is different from that of the second display interface, the display direction of the other display interface is adjusted according to the display direction of one display interface of the first display interface or the second display interface, so that the display direction of the first display interface is the same as that of the second display interface. The method has the beneficial effect that the preview direction of the camera, namely the view-taking direction, is always adjusted to face the positive direction of the user, so that the use experience of the user is enhanced.
Example two
Referring to fig. 2, a flowchart of a method for adjusting a display direction according to a second embodiment of the present invention is shown, which may specifically include the following steps:
step 210, obtaining display directions of a first display interface and a second display interface after screen splitting, wherein the first display interface is a reduced interface of the display interface before screen splitting.
In the embodiment of the invention, the Display-related components in the Android frame mainly include active Activity, Windows, window attribute windowState, window management Service Windows Manager Service, Display management Service Display Manager Service, interface management Surface Manager/Surface flag, Display layer displayHAL (hardware interaction layer), and the Display driving in Linux Kernel of Linux system core. The Android platform adds support for multiple screens after the 4.2 version, and there are mainly 3 screen types: a Primary screen (Primary Display), an External screen (External Display), and a Virtual screen (Virtual Display). In which the self-contained screen is generally recognized as a main screen, and HDMI will be set as an outer screen. In order to facilitate the APP to access the 3 screens, the Android further provides a unified screen management service displaymanager service. Although the screens are divided into 3 types, the composition and rendering of windows built on them are still uniformly managed by the surface flickers. The introduction of these new features ensures a framework basis for dual-screen metamorphosis. In specific implementation, if the Surface manager identifies that the current device has multiple logical Display devices, a corresponding Surface can be created as needed, and the Display manager service can conveniently acquire and operate the Display device list. The Android system maintains the current window stack through a list of windowState, and the list represents the window depth of field (front and back) layout sequence displayed by the current window from the beginning to the end. The list is bound with current display default equipment, the Windows State contains Surface information of a current window body so as to realize double-screen display on a display screen of the mobile terminal, the first display interface can be a reduced interface of the display interface before split screen according to change of parameter setting, and the size of the reduced interface and the proportion of the reduced interface to the full screen can be set according to firmware parameters of the current mobile terminal. Of course, the manner of detecting the dual-screen state of the mobile terminal is not limited to the above description, and the embodiment of the present invention is not limited thereto.
Step 220, adjusting the display direction of the second display interface according to the display direction of the first display interface, so that the display direction of the second display interface is the same as the display direction of the first display interface.
In the embodiment of the invention, the judgment is carried out according to the current display condition, and if the current display state is the double-screen simultaneous display state, an application request is displayed on the second screen. Firstly, a new window stack-a second window stack is created according to a default window stack, namely a default WindowState list, a second screen operation context object DisplayContent is obtained through a Display Manager Service, and the newly created second window stack is bound with the obtained context object. At this time, the window state object WindowState of the current application is searched from the first window stack, so that whether the state of the double-screen display of the mobile terminal is in an open state can be known by acquiring specific parameters in the WindowState. When the mobile terminal is judged to start the dual-screen display according to the method, one application is displayed in one display task for the photographing application, the other application is displayed in the second display task, at this time, display contents and display directions in the first display task and the second display task are obtained by obtaining a calling parameter related to the second display task in the WindowState, for example, through a function tosecond display (), wherein mDisplayContents, and the display directions in the first display interface are usually facing to a user, so that the display directions in the second display interface are adjusted to be the same as the display directions in the first interface mainly by taking the directions as main directions. And according to the display direction of the display interface before the split screen, the display interface of the first display interface after the split screen can be known. The first display interface is a reduced interface of the display interface before split screen. Because the display direction of the first display interface is adaptive to the user, the display direction of the second display interface can be adjusted to ensure that the user can not be influenced by split screen after split screen.
Preferably, in another embodiment of the present invention, the method further comprises:
step 210A, in the video call process, a first display interface acquired by a front camera of a mobile terminal is acquired, and the display direction of the first display interface is determined according to the face of the first display interface.
In the embodiment of the present invention, in practical application, taking an android system as an example, first, whether a device has a camera is detected, when a video call is in progress, first, whether the device has a camera may be determined according to a return value of a function hasCamera (), and whether front and rear cameras of the device are usable may be determined through the function hasBackFacingCamera () and the function hasFrontFacingCamera (), and further, a state of the camera may be determined, a function camera is called in a main thread to obtain RuntimeException corresponding to catch, and if the return value measure is equal, it is determined that the current camera is in an on state. When the state of the camera on the equipment is determined to be an open state, the framing content of the camera is further judged according to the parameter returned by the video call opening operation, the face feature in the framing content in the framing picture is extracted, and the display direction of the first display interface is judged according to the display direction of the face feature.
Preferably, step 210A specifically includes: substeps 210A1-210A 2;
the sub-step 210a1 is to determine the display direction of the first display interface according to the T-shaped region angle offset parameter in the human face feature in the first display interface.
In the embodiment of the invention, the face recognition is mainly applied to mobile phone photographing: in the face detection method based on geometric features, firstly, the face is determined to be composed of parts such as eyes, a nose, a mouth, a jaw and the like, and each face in the world is different due to various differences in shapes, sizes and structures of the parts, so that geometric description of the shapes and structural relations of the parts can be used as important features for face recognition. Roughly, a number of salient points are first determined from the contour curve and from these salient points a set of feature metrics for identification, such as distance, angle, etc., is derived from the integral projections near the lines in the frontal grayscale. When the contour curve which accords with the identification characteristic is found in the photographing process, the contour curve can be quickly positioned and marked. The positions of facial feature points to be identified are roughly the positions of eyebrows, the left side of a nose, the tip of the nose, the right side of the nose, the lower side of a nostril, the positions of pupils, the lower side of an upper lip and the like, and the feature points are distributed like a T shape. After the T-shaped area of the human face features is determined, the display angle of the area can be specifically judged, and therefore the display direction of the shooting view angle is judged.
Preferably, the sub-step 210a1 specifically includes: sub-step 210A 11-sub-step 210A 13;
and a substep 210a11, determining whether the face feature is a single face feature according to the face feature in the first display interface.
In the embodiment of the invention, if a plurality of human face features are detected in a preview picture shot and displayed by monitoring the T-shaped features of human faces, the existence of a plurality of human faces in the current preview picture is judged, and if only one T-shaped area is detected, the current preview picture is determined to be one human face. When the single face feature is determined to be detected, extracting the T-shaped area angle offset parameter of the face feature, assuming that the scene is horizontally placed (or the mobile phone gravity sensor is abnormal), starting the automatic face recognition function in the view frame,identifying the T-shaped areas of the eyes and the nose bridge of the human face, judging whether to find the view correctly or not, and gradually changing from T to T
Figure BDA0001338194800000081
Or
Figure BDA0001338194800000082
In time, the angle offset parameter may be obtained according to the angle of the T-word.
Step 210a12, if the single face feature is detected, determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the single face feature.
In the embodiment of the invention, as shown in fig. 2A, assuming that the scene is a horizontally placed mobile phone (or a gravity sensor of the mobile phone is abnormal), the automatic face recognition function in the viewing frame is turned on to recognize the T-shaped areas such as the eyes and the nose bridge of the face, and thus the correct viewing standard is determined, and when the T-shaped areas are gradually changed from the T-shaped areas to the T-shaped areas
Figure BDA0001338194800000083
Or
Figure BDA0001338194800000084
When the angle of view is switched to 90 degrees. And the deviation variable quantity of the face T-shaped area and the view angle is read in real time, and the view angle of the camera can be switched once the deviation of the face T-shaped area and the view angle of the camera exceeds a 45-degree threshold.
Step 210a13, if the number of the face features is multiple, determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature with the largest area among the multiple face features.
In the embodiment of the invention, if a plurality of faces appear on a screen and the deviation angles of T-shaped regions of the faces are inconsistent due to behavior inconsistency (head inclination), the size of the area of a face recognition region needs to be detected, the area of the largest individual face recognition region is taken as a main reference face, and the view angle deviation of the T-shaped region of the face and the current camera is extracted as a standard for judging the view angle change of the camera, wherein the identification degree of the face feature with the largest area in the faces is the highest, and the extracted face feature of the T-shaped region can indicate the view direction of a view picture, so that if the T-shaped regions of the faces are detected, the T-shaped region in the face feature with the largest area is taken as the T-shaped feature of a judgment angle deviation parameter.
In the substep 210a2, when the difference between the T-shaped region angle in the face feature in the second display interface and the T-shaped region angle in the face feature in the first display interface reaches a preset switching threshold, the display direction of the second display interface is adjusted according to the display direction of the first display interface, so that the display direction of the second display interface is the same as the display direction of the first display interface.
In the embodiment of the present invention, when the viewing directions of the cameras of the first display interface and the second display interface are determined by the above method, whether the display directions of the two display interfaces are consistent or not is determined according to the offset angle of the display directions of the two display interfaces, and if not, the adjustment is performed, for example, in the above example, when it is determined that the angle offset between the T-shaped region of the human face in the second display interface and the T-shaped region of the human face in the first display interface exceeds the threshold of 45 degrees, the viewing direction of the second display interface is rotated to less than 20 degrees, where 20 degrees is a preset forward viewing value, specifically, the current display task direction can be known by calling the function getCameraInfo (), the function getWindowManager () and the function getDefaultDisplay (), and the viewing direction of the camera is adjusted to a preset value through surface. The embodiments of the present invention are not limited in this respect.
Preferably, in another embodiment of the present invention, the method further comprises:
step 210B, a second display interface of the opposite side in the video call is obtained, and the display direction of the second display interface is determined according to the face of the second display interface.
In the embodiment of the present invention, the second display interface is generally an image of a video call counterpart, a face feature in the display interface is extracted, and a display direction of the face feature is further determined, so as to determine the display direction of the second display interface. Therefore, the display direction of the face can be determined after processing according to the main features in the face.
And step 210C, adjusting the display direction of the second display interface according to the display direction of the first display interface so that the display direction of the second display interface is the same as the display direction of the first display interface.
This step is the same as step 220 and will not be described in detail here.
In the embodiment of the invention, the display directions of the first display interface and the second display interface after screen splitting are obtained, the display direction of the second display interface is adjusted according to the display direction of the first display interface, so that the display direction of the second display interface is the same as the display direction of the first display interface, the first display interface collected by a front camera of the mobile terminal is obtained in the video call process, the display direction of the first display interface is determined according to the face of the first display interface, and the directions of the two display interfaces are adjusted to be consistent, so that the beneficial effects of improving user experience in self-shooting, video call and the like in a complex scene are realized.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal 300 includes: a viewing direction acquisition module 301 and a viewing direction adjustment module 302.
A viewing direction obtaining module 301, configured to obtain display directions of a first display interface and a second display interface in display interfaces of the mobile terminal; a view direction adjusting module 302, configured to, when the display direction of the first display interface is different from the display direction of the second display interface, adjust the display direction of one of the first display interface and the second display interface according to the display direction of the other display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface.
Referring to fig. 4, the functions of the modules of the mobile terminal 400 and the interaction relationship between the modules are described in detail below.
A viewing direction obtaining module 401, configured to obtain display directions of a first display interface and a second display interface in a display interface of the mobile terminal;
preferably, the view direction acquiring module 401 specifically includes:
the sub-module 4011 for obtaining the display directions of the first display interface and the second display interface after screen splitting is performed, where the first display interface is a reduced interface of the display interface before screen splitting;
preferably, in another embodiment of the present invention, the viewing direction acquiring module 401 includes:
the first display direction acquisition submodule is used for acquiring a first display interface acquired by a front camera of the mobile terminal in the video call process and determining the display direction of the first display interface according to the face of the first display interface;
the second display direction acquisition submodule is used for acquiring a second display interface of the opposite side in the video call and determining the display direction of the second display interface according to the face of the second display interface;
preferably, the first display direction sub-module specifically includes:
the face feature direction determining unit is used for determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature in the first display interface;
preferably, the face feature direction determining unit specifically includes:
the single face feature judgment subunit is used for judging whether the face feature is a single face feature according to the face feature in the first display interface;
and the single face display direction determining subunit is used for determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the single face feature if the single face feature is the single face feature.
And the multi-face display direction determining subunit is used for determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature with the largest area in the plurality of face features if the face features are the plurality of face features.
A viewing direction adjusting module 402, configured to, when the display direction of the first display interface is different from the display direction of the second display interface, adjust the display direction of one of the first display interface and the second display interface according to the display direction of the other display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface.
Preferably, the view direction adjusting module 402 specifically includes:
the view direction adjusting sub-module 4021 adjusts the display direction of the second display interface according to the display direction of the first display interface, so that the display direction of the second display interface is the same as the display direction of the first display interface.
The view direction determining and adjusting sub-module 4022 is configured to adjust the display direction of the second display interface according to the display direction of the first display interface when a difference between the angle of the T-shaped area in the face feature in the second display interface and the angle of the T-shaped area in the face feature in the first display interface reaches a preset switching threshold, so that the display direction of the second display interface is the same as the display direction of the first display interface.
In the embodiment of the invention, the display directions of the first display interface and the second display interface after screen splitting are obtained, the display direction of the second display interface is adjusted according to the display direction of the first display interface, so that the display direction of the second display interface is the same as the display direction of the first display interface, the first display interface collected by a front camera of the mobile terminal is obtained in the video call process, the display direction of the first display interface is determined according to the face of the first display interface, and the directions of the two display interfaces are adjusted to be consistent, so that the beneficial effects of improving user experience in self-shooting, video call and the like in a complex scene are realized.
Example four
Referring to fig. 5, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504 and user interface 503, and a photographing component 506. The various components in the mobile terminal 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 502 of the subject systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, the processor 501 is configured to obtain display directions of a first display interface and a second display interface in display interfaces of the mobile terminal by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022; when the display direction of the first display interface is different from that of the second display interface, the display direction of the other display interface is adjusted according to the display direction of one display interface of the first display interface or the second display interface, so that the display direction of the first display interface is the same as that of the second display interface. The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The processor 501 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, when the processor 501 processes the display directions of the first display interface and the second display interface in the display interfaces of the mobile terminal, the processor is further configured to: acquiring display directions of a first display interface and a second display interface after screen splitting, wherein the first display interface is a reduced interface of the display interface before screen splitting; the method further includes adjusting a display direction of one of the first display interface and the second display interface according to the display direction of the other display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface, and further includes: and adjusting the display direction of the second display interface according to the display direction of the first display interface so that the display direction of the second display interface is the same as the display direction of the first display interface.
Optionally, when the processor 501 processes the display directions of the first display interface and the second display interface in the display interfaces of the mobile terminal, the processor is further configured to: in the video call process, acquiring a first display interface acquired by a front camera of a mobile terminal, and determining the display direction of the first display interface according to the face of the first display interface; acquiring a second display interface of the opposite side in the video call, and determining the display direction of the second display interface according to the face of the second display interface; the method further includes adjusting a display direction of one of the first display interface and the second display interface according to the display direction of the other display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface, and further includes: and adjusting the display direction of the second display interface according to the display direction of the first display interface so that the display direction of the second display interface is the same as the display direction of the first display interface.
Optionally, when the processor 501 processes the determination of the display direction of the first display interface according to the face of the first display interface, the processor is further configured to: determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature in the first display interface; when the display direction of the first display interface is different from the display direction of the second display interface, adjusting the display direction of the other display interface according to the display direction of one display interface of the first display interface or the second display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface, and further configured to: and when the difference between the angle of the T-shaped area in the face feature in the second display interface and the angle of the T-shaped area in the face feature in the first display interface reaches a preset switching threshold, adjusting the display direction of the second display interface according to the display direction of the first display interface so as to enable the display direction of the second display interface to be the same as the display direction of the first display interface.
Optionally, when the processor 501 processes the display direction of the first display interface according to the T-shaped region angle offset parameter in the human face feature in the first display interface, the processor is further configured to: judging whether the face features are single face features or not according to the face features in the first display interface; if the face feature is a single face feature, determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the single face feature; and if the number of the face features is multiple, determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature with the largest area in the multiple face features.
Therefore, in the embodiment of the invention, by acquiring the display directions of the first display interface and the second display interface after screen splitting, and adjusting the display direction of the second display interface according to the display direction of the first display interface, the display direction of the second display interface is the same as the display direction of the first display interface, and by acquiring the first display interface acquired by the front camera of the mobile terminal in the video call process, determining the display direction of the first display interface according to the face of the first display interface, and adjusting the directions of the two display interfaces to be the same, the beneficial effects of improving user experience in self-shooting, video call and the like in a complex scene are realized.
EXAMPLE five
Fig. 6 shows a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
The mobile terminal of the embodiment of the invention can be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal in fig. 6 includes a Radio Frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a processor 660, an audio circuit 670, a wifi (wireless fidelity) module 680, and a power supply 690.
The input unit 630 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal. Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, and the other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among them, the display unit 640 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of an LCD or an organic light-emitting diode (OLED).
It should be noted that the touch panel 631 may cover the display panel 641 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 660 to determine the type of the touch event, and then the processor 660 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 660 is a control center of the mobile terminal, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions and processes data of the mobile terminal by operating or executing software programs and/or modules stored in the first memory 621 and calling data stored in the second memory 622, thereby performing overall monitoring of the mobile terminal. Optionally, processor 660 may include one or more processing units.
In the embodiment of the present invention, the processor 660 is configured to obtain the display directions of the first display interface and the second display interface in the display interfaces of the mobile terminal by calling the software program and/or the module stored in the first memory 621 and/or the data stored in the second memory 622; when the display direction of the first display interface is different from that of the second display interface, the display direction of the other display interface is adjusted according to the display direction of one display interface of the first display interface or the second display interface, so that the display direction of the first display interface is the same as that of the second display interface.
Optionally, when the processor 660 processes the display directions of the first display interface and the second display interface in the display interfaces of the mobile terminal, the processor is further configured to: acquiring display directions of a first display interface and a second display interface after screen splitting, wherein the first display interface is a reduced interface of the display interface before screen splitting; the method further includes adjusting a display direction of one of the first display interface and the second display interface according to the display direction of the other display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface, and further includes: and adjusting the display direction of the second display interface according to the display direction of the first display interface so that the display direction of the second display interface is the same as the display direction of the first display interface.
Optionally, when the processor 660 processes the display directions of the first display interface and the second display interface in the display interfaces of the mobile terminal, the processor is further configured to: in the video call process, acquiring a first display interface acquired by a front camera of a mobile terminal, and determining the display direction of the first display interface according to the face of the first display interface; acquiring a second display interface of the opposite side in the video call, and determining the display direction of the second display interface according to the face of the second display interface; the method further includes adjusting a display direction of one of the first display interface and the second display interface according to the display direction of the other display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface, and further includes: and adjusting the display direction of the second display interface according to the display direction of the first display interface so that the display direction of the second display interface is the same as the display direction of the first display interface.
Optionally, when the processor 660 processes the determining of the display direction of the first display interface according to the face of the first display interface, the processor is further configured to: determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature in the first display interface; when the display direction of the first display interface is different from the display direction of the second display interface, adjusting the display direction of the other display interface according to the display direction of one display interface of the first display interface or the second display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface, and further configured to: and when the difference between the angle of the T-shaped area in the face feature in the second display interface and the angle of the T-shaped area in the face feature in the first display interface reaches a preset switching threshold, adjusting the display direction of the second display interface according to the display direction of the first display interface so as to enable the display direction of the second display interface to be the same as the display direction of the first display interface.
Optionally, the processor 660 is further configured to, when determining the display direction of the first display interface according to the T-shaped region angle offset parameter in the face feature in the first display interface, further: judging whether the face features are single face features or not according to the face features in the first display interface; if the face feature is a single face feature, determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the single face feature; and if the number of the face features is multiple, determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature with the largest area in the multiple face features.
Therefore, in the embodiment of the invention, by acquiring the display directions of the first display interface and the second display interface after screen splitting, and adjusting the display direction of the second display interface according to the display direction of the first display interface, the display direction of the second display interface is the same as the display direction of the first display interface, and by acquiring the first display interface acquired by the front camera of the mobile terminal in the video call process, determining the display direction of the first display interface according to the face of the first display interface, and adjusting the directions of the two display interfaces to be the same, the beneficial effects of improving user experience in self-shooting, video call and the like in a complex scene are realized.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement embodiments in accordance with the inventionShootingSome or all of the functions of some or all of the components in the device. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for adjusting a display direction is applied to a mobile terminal, and is characterized by comprising the following steps:
the method for acquiring the display directions of a first display interface and a second display interface in the display interfaces of the mobile terminal comprises the following steps: acquiring display directions of a first display interface and a second display interface after screen splitting, wherein the first display interface is a reduced interface of the display interface before screen splitting;
when the display direction of the first display interface is different from the display direction of the second display interface, adjusting the display direction of the other display interface according to the display direction of one display interface of the first display interface or the second display interface so that the display direction of the first display interface is the same as the display direction of the second display interface, including: and adjusting the display direction of the second display interface according to the display direction of the first display interface so that the display direction of the second display interface is the same as the display direction of the first display interface.
2. The method according to claim 1, wherein the step of obtaining the display directions of the first display interface and the second display interface in the display interfaces of the mobile terminal comprises:
in the video call process, acquiring a first display interface acquired by a front camera of a mobile terminal, and determining the display direction of the first display interface according to the face of the first display interface;
acquiring a second display interface of the opposite side in the video call, and determining the display direction of the second display interface according to the face of the second display interface;
the step of adjusting the display direction of the other display interface according to the display direction of one display interface of the first display interface or the second display interface so that the display direction of the first display interface is the same as the display direction of the second display interface includes:
and adjusting the display direction of the second display interface according to the display direction of the first display interface so that the display direction of the second display interface is the same as the display direction of the first display interface.
3. The method according to claim 2, wherein the step of determining the display direction of the first display interface according to the face of the first display interface comprises:
determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature in the first display interface;
when the display direction of the first display interface is different from the display direction of the second display interface, the step of adjusting the display direction of the other display interface according to the display direction of one display interface of the first display interface or the second display interface so that the display direction of the first display interface is the same as the display direction of the second display interface includes:
and when the difference between the angle of the T-shaped area in the face feature in the second display interface and the angle of the T-shaped area in the face feature in the first display interface reaches a preset switching threshold, adjusting the display direction of the second display interface according to the display direction of the first display interface so as to enable the display direction of the second display interface to be the same as the display direction of the first display interface.
4. The method according to claim 3, wherein the step of determining the display direction of the first display interface according to the T-shaped region angle offset parameter in the human face feature in the first display interface comprises:
judging whether the face features are single face features or not according to the face features in the first display interface;
if the face feature is a single face feature, determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the single face feature;
and if the number of the face features is multiple, determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature with the largest area in the multiple face features.
5. A mobile terminal, comprising:
the view finding direction acquiring module is used for acquiring the display directions of a first display interface and a second display interface in the display interfaces of the mobile terminal;
the view direction adjusting module is used for adjusting the display direction of the other display interface according to the display direction of one display interface of the first display interface or the second display interface when the display direction of the first display interface is different from the display direction of the second display interface, so that the display direction of the first display interface is the same as the display direction of the second display interface;
the viewing direction acquiring module comprises:
the sub-module for acquiring the display direction of the split screen is used for acquiring the display direction of a first display interface and a second display interface after the split screen is performed, wherein the first display interface is a reduced interface of the display interface before the split screen is performed;
the viewing direction adjustment module includes: and the view direction adjusting submodule is used for adjusting the display direction of the second display interface according to the display direction of the first display interface so as to enable the display direction of the second display interface to be the same as the display direction of the first display interface.
6. The mobile terminal of claim 5, wherein the viewing direction obtaining module comprises:
the first display direction acquisition submodule is used for acquiring a first display interface acquired by a front camera of the mobile terminal in the video call process and determining the display direction of the first display interface according to the face of the first display interface;
the second display direction acquisition submodule is used for acquiring a second display interface of the opposite side in the video call and determining the display direction of the second display interface according to the face of the second display interface;
the viewing direction adjustment module includes: and the view direction adjusting submodule adjusts the display direction of the second display interface according to the display direction of the first display interface so as to enable the display direction of the second display interface to be the same as the display direction of the first display interface.
7. The mobile terminal of claim 6, wherein the first display direction sub-module comprises:
the face feature direction determining unit is used for determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature in the first display interface;
the viewing direction adjustment module includes: and the view direction judgment and adjustment submodule is used for adjusting the display direction of the second display interface according to the display direction of the first display interface when the difference between the angle of the T-shaped area in the face feature in the second display interface and the angle of the T-shaped area in the face feature in the first display interface reaches a preset switching threshold, so that the display direction of the second display interface is the same as the display direction of the first display interface.
8. The mobile terminal of claim 7, wherein the face feature direction determining unit comprises:
the single face feature judgment subunit is used for judging whether the face feature is a single face feature according to the face feature in the first display interface;
the single face display direction determining subunit is used for determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the single face feature if the single face feature is the single face feature;
and the multi-face display direction determining subunit is used for determining the display direction of the first display interface according to the T-shaped area angle offset parameter in the face feature with the largest area in the plurality of face features if the face features are the plurality of face features.
CN201710524055.6A 2017-06-30 2017-06-30 Display direction adjusting method and mobile terminal Active CN107357540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710524055.6A CN107357540B (en) 2017-06-30 2017-06-30 Display direction adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710524055.6A CN107357540B (en) 2017-06-30 2017-06-30 Display direction adjusting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107357540A CN107357540A (en) 2017-11-17
CN107357540B true CN107357540B (en) 2020-08-18

Family

ID=60274094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710524055.6A Active CN107357540B (en) 2017-06-30 2017-06-30 Display direction adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107357540B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109922204A (en) * 2017-12-13 2019-06-21 中兴通讯股份有限公司 Image processing method and terminal
CN107977131B (en) * 2017-12-18 2021-07-27 深圳市芯云显控技术有限公司 Display device control method, storage medium, control device, and display device
CN108289186A (en) * 2017-12-20 2018-07-17 维沃移动通信有限公司 A kind of video image method of adjustment, mobile terminal
CN108134903B (en) * 2017-12-25 2020-01-14 Oppo广东移动通信有限公司 Shooting method and related product
CN108536371A (en) * 2018-03-30 2018-09-14 维沃移动通信有限公司 A kind of method for displaying image and terminal
CN109117241B (en) * 2018-09-27 2020-08-21 Oppo广东移动通信有限公司 Display direction control method, system and mobile terminal
CN109933298B (en) * 2018-11-08 2022-04-22 闽江学院 Method and device for displaying according to user position
CN109981898B (en) * 2019-03-14 2021-03-26 维沃移动通信有限公司 Screen recording method and device and terminal
CN112118347A (en) * 2019-06-20 2020-12-22 中兴通讯股份有限公司 Head portrait processing method and device
CN110290269A (en) * 2019-06-26 2019-09-27 努比亚技术有限公司 Display control method, mobile terminal and computer readable storage medium
CN111176374B (en) * 2019-12-09 2021-12-10 北京点石经纬科技有限公司 Control method for realizing rotation of auxiliary screen based on android system
CN111182356A (en) * 2019-12-31 2020-05-19 珠海六点智能科技有限公司 Method and system for realizing double-screen different display of Android video playing
CN111914693A (en) * 2020-07-16 2020-11-10 上海云从企业发展有限公司 Face posture adjusting method, system, device, equipment and medium
CN117519865A (en) * 2023-09-26 2024-02-06 荣耀终端有限公司 Method for reloading display interface and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100833241B1 (en) * 2006-04-28 2008-05-28 삼성전자주식회사 Sliding-tilt unit and mobile appliance adopting the same
TW200813601A (en) * 2006-09-06 2008-03-16 Coretronic Corp Projection device and the method for automatically adjusting an angle of a projection image
CN103853459A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Display method and device
KR20170051950A (en) * 2015-11-03 2017-05-12 삼성전자주식회사 Electronic device and method for controlling display thereof

Also Published As

Publication number Publication date
CN107357540A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN107357540B (en) Display direction adjusting method and mobile terminal
EP3279763B1 (en) Method for controlling display and electronic device
CN109753159B (en) Method and apparatus for controlling electronic device
US8773502B2 (en) Smart targets facilitating the capture of contiguous images
US9185286B2 (en) Combining effective images in electronic device having a plurality of cameras
US8379059B2 (en) Portable electronic device and method for adjusting display orientation of the portable electronic device
US10222877B2 (en) Method and apparatus for presenting panoramic photo in mobile terminal, and mobile terminal
WO2019001152A1 (en) Photographing method and mobile terminal
KR102348947B1 (en) Method and apparatus for controlling display on electronic devices
US20190244369A1 (en) Display device and method for image processing
WO2020030065A1 (en) Display adaptation method and apparatus for application, device, and storage medium
CN107659722B (en) Image selection method and mobile terminal
CN107509030B (en) focusing method and mobile terminal
US20210084228A1 (en) Tracking shot method and device, and storage medium
CN107172347B (en) Photographing method and terminal
EP2950196A1 (en) Electronic device and method for operating display
CN107515669B (en) Display method and device
US20150063785A1 (en) Method of overlappingly displaying visual object on video, storage medium, and electronic device
CN107360375B (en) Shooting method and mobile terminal
CN106815809B (en) Picture processing method and device
EP2447915A1 (en) Real time three-dimensional menu/icon shading
US9582169B2 (en) Display device, display method, and program
CN112667835A (en) Work processing method and device, electronic equipment and storage medium
WO2023284632A1 (en) Image display method and apparatus, and electronic device
CN113613028A (en) Live broadcast data processing method, device, terminal, server and 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