CN108881721A - A kind of display methods and terminal - Google Patents
A kind of display methods and terminal Download PDFInfo
- Publication number
- CN108881721A CN108881721A CN201810729611.8A CN201810729611A CN108881721A CN 108881721 A CN108881721 A CN 108881721A CN 201810729611 A CN201810729611 A CN 201810729611A CN 108881721 A CN108881721 A CN 108881721A
- Authority
- CN
- China
- Prior art keywords
- screen
- target object
- terminal
- display
- displaying
- 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
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 8
- 230000008921 facial expression Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
- Studio Devices (AREA)
Abstract
本发明提供一种显示方法及终端,终端包括第一屏幕和第二屏幕,第一屏幕位于终端的第一面,第二屏幕位于终端中与第一面相背离的第二面,终端的第一面上设有第一摄像头,所述方法包括:分别在第一屏幕和第二屏幕上显示第一摄像头采集到的预览图像;识别第一摄像头采集到的预览图像中的第一目标对象;接收所述第一目标对象对应的被拍者发出的第一输入,所述第一输入用于指示所述终端调整所述第一摄像头采集到的预览图像中的第二目标对象的显示状态;根据所述第一输入,显示调整显示状态后的第二目标对象。在本发明中,用户可以根据第一屏幕的显示画面调整自己的拍照姿态,从而可以提高拍照图像的质量。
The present invention provides a display method and a terminal. The terminal includes a first screen and a second screen. The first screen is located on a first surface of the terminal, and the second screen is located on a second surface of the terminal that is away from the first surface. The first screen of the terminal is A first camera is provided on the surface, and the method includes: displaying preview images collected by the first camera on the first screen and the second screen respectively; identifying the first target object in the preview images collected by the first camera; receiving A first input sent by the subject corresponding to the first target object, the first input is used to instruct the terminal to adjust the display state of the second target object in the preview image captured by the first camera; according to The first input displays the second target object after the display state is adjusted. In the present invention, the user can adjust his photographing posture according to the display on the first screen, thereby improving the quality of photographed images.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种显示方法及终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a display method and a terminal.
背景技术Background technique
近年来随着数码相机和手机等终端的普及,使用终端拍照留影已经成为人们的习惯。特别是近几年移动互联网的兴起,人们更加依赖终端记录自己身边的新鲜事物并分享到网络上。In recent years, with the popularization of terminals such as digital cameras and mobile phones, it has become a habit of people to take pictures with terminals. Especially with the rise of the mobile Internet in recent years, people rely more on terminals to record new things around them and share them on the Internet.
目前,终端包括相背离的第一面和第二面,其中,第一面上设有第一摄像头,第二面上设有屏幕和第二摄像头。在使用终端拍照时,无论用户是采用第一摄像头还是第二摄像头进行拍照,摄像头采集的预览图像显示于终端第二面的屏幕上。因此,若用户采用第一摄像头进行拍照,则用户无法观看屏幕显示的摄像头采集到的预览图像,从而用户无法根据屏幕的显示画面调整拍照状态,导致拍图像质量较差。Currently, the terminal includes a first surface and a second surface facing away from each other, wherein the first surface is provided with a first camera, and the second surface is provided with a screen and a second camera. When using the terminal to take pictures, no matter whether the user uses the first camera or the second camera to take pictures, the preview image collected by the camera is displayed on the screen on the second side of the terminal. Therefore, if the user uses the first camera to take pictures, the user cannot watch the preview image captured by the camera displayed on the screen, so the user cannot adjust the photographing state according to the display screen on the screen, resulting in poor image quality.
发明内容Contents of the invention
本发明实施例提供一种显示方法及终端,以解决现有技术中因用户无法观看屏幕显示的摄像头采集到的预览图像,进而无法根据屏幕的显示画面调整拍照姿势和/或面部表情,导致拍照图像质量较差的问题。Embodiments of the present invention provide a display method and terminal to solve the problem in the prior art that the user cannot watch the preview image captured by the camera displayed on the screen, and thus cannot adjust the photographing posture and/or facial expression according to the screen display screen, resulting in Problem with poor image quality.
为解决上述问题,本发明是这样实现的:In order to solve the above problems, the present invention is achieved in that:
第一方面,本发明实施例提供了一种显示方法,所述终端包括第一屏幕和第二屏幕,所述第一屏幕位于所述终端的第一面,所述第二屏幕位于所述终端中与所述第一面相背离的第二面,所述终端的第一面上设有第一摄像头,所述方法包括:In the first aspect, an embodiment of the present invention provides a display method, the terminal includes a first screen and a second screen, the first screen is located on the first side of the terminal, and the second screen is located on the terminal In the second surface that is away from the first surface, a first camera is provided on the first surface of the terminal, and the method includes:
分别在所述第一屏幕和所述第二屏幕上显示所述第一摄像头采集到的预览图像;Displaying preview images captured by the first camera on the first screen and the second screen respectively;
识别所述第一摄像头采集到的预览图像中的第一目标对象;identifying a first target object in the preview image captured by the first camera;
接收所述第一目标对象对应的被拍者发出的第一输入,所述第一输入用于指示所述终端调整所述第一摄像头采集到的预览图像中的第二目标对象的显示状态;receiving a first input from a subject corresponding to the first target object, where the first input is used to instruct the terminal to adjust the display state of the second target object in the preview image captured by the first camera;
根据所述第一输入,显示调整显示状态后的第二目标对象。According to the first input, the second target object after the display state is adjusted is displayed.
第二方面,本发明实施例还提供一种终端,所述终端包括第一屏幕和第二屏幕,所述第一屏幕位于所述终端的第一面,所述第二屏幕位于所述终端中与所述第一面相背离的第二面,所述终端的第一面上设有第一摄像头,所述终端包括:In the second aspect, an embodiment of the present invention further provides a terminal, the terminal includes a first screen and a second screen, the first screen is located on the first side of the terminal, and the second screen is located in the terminal A second surface facing away from the first surface, a first camera is provided on the first surface of the terminal, and the terminal includes:
第一显示模块,用于分别在所述第一屏幕和所述第二屏幕上显示所述第一摄像头采集到的预览图像;A first display module, configured to display preview images captured by the first camera on the first screen and the second screen respectively;
识别模块,用于识别所述第一摄像头采集到的预览图像中的第一目标对象;An identification module, configured to identify the first target object in the preview image collected by the first camera;
接收模块,用于接收所述第一目标对象对应的被拍者发出的第一输入,所述第一输入用于指示所述终端调整所述第一摄像头采集到的预览图像中的第二目标对象的显示状态;A receiving module, configured to receive a first input from the subject corresponding to the first target object, the first input is used to instruct the terminal to adjust the second target in the preview image captured by the first camera the display state of the object;
第二显示模块,用于根据所述第一输入,若接收到用于指示拍照的第二输入,则输出拍照图像。The second display module is configured to, according to the first input, output a photographed image if a second input for instructing photographing is received.
第三方面,本发明实施例还提供一种终端,该终端包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的显示方法的步骤。In the third aspect, an embodiment of the present invention further provides a terminal, the terminal includes a processor, a memory, and a computer program stored in the memory and operable on the processor, the computer program being executed by the processor When executed, the steps of the above-mentioned display method are realized.
第四方面,本发明实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的显示方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned display method are implemented.
在本发明实施例中,终端的第一面设有第一屏幕和第一摄像头,终端的第二面设有第二屏幕,终端在与第一摄像头设于终端同一面的第一屏幕上显示第一摄像头采集到的预览图像,进一步地,可以根据预览图像中的第一目标对象的第一输入,显示调整显示状态后的第二目标对象。这样,与第二目标对象对应的用户可以根据第一屏幕的显示画面调整自己的拍照状态,从而可以提高拍照图像的质量。In this embodiment of the present invention, a first screen and a first camera are provided on the first side of the terminal, a second screen is provided on the second side of the terminal, and the terminal displays on the first screen on the same side as the first camera. The preview image captured by the first camera may further display the second target object after the display state has been adjusted according to the first input of the first target object in the preview image. In this way, the user corresponding to the second target object can adjust his photographing state according to the display on the first screen, thereby improving the quality of photographed images.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例提供的显示方法的流程图;FIG. 1 is a flowchart of a display method provided by an embodiment of the present invention;
图2a是本发明实施例提供的终端的示意图;Fig. 2a is a schematic diagram of a terminal provided by an embodiment of the present invention;
图2b是本发明实施例提供的终端的第一屏幕的示意图之一;Fig. 2b is one of the schematic diagrams of the first screen of the terminal provided by the embodiment of the present invention;
图2c是本发明实施例提供的终端的第二屏幕的示意图;Fig. 2c is a schematic diagram of a second screen of a terminal provided by an embodiment of the present invention;
图3a是本发明实施例提供的终端的第一屏幕的示意图之二;Fig. 3a is the second schematic diagram of the first screen of the terminal provided by the embodiment of the present invention;
图3b是本发明实施例提供的终端的第一屏幕的示意图之三;Fig. 3b is the third schematic diagram of the first screen of the terminal provided by the embodiment of the present invention;
图4是本发明实施例提供的终端的第一屏幕的示意图之四;Fig. 4 is the fourth schematic diagram of the first screen of the terminal provided by the embodiment of the present invention;
图5是本发明实施例提供的终端的结构图之一;FIG. 5 is one of the structural diagrams of a terminal provided by an embodiment of the present invention;
图6是本发明实施例提供的终端的结构图之二。FIG. 6 is the second structural diagram of a terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例的显示方法主要应用于终端。The display method in the embodiment of the present invention is mainly applied to a terminal.
需要说明的是,本发明实施例的终端包括第一屏幕和第二屏幕,所述第一屏幕位于所述终端的第一面,所述第二屏幕位于所述终端中与所述第一面相背离的第二面,即第一屏幕和第二屏幕折叠设置;所述终端的第一面上设有第一摄像头。进一步地,所述终端的第二面上可以设有第二摄像头。也就是说,在本发明实施例中,终端可以仅设置在一个摄像头,也可以在第一面和第二面上分别设有一个摄像头。It should be noted that the terminal in this embodiment of the present invention includes a first screen and a second screen, the first screen is located on a first side of the terminal, and the second screen is located in the terminal opposite to the first side. The second side facing away, that is, the first screen and the second screen are folded; and the first camera is arranged on the first side of the terminal. Further, a second camera may be provided on the second surface of the terminal. That is to say, in this embodiment of the present invention, the terminal may be provided with only one camera, or may be provided with a camera on the first surface and the second surface respectively.
应理解的是,本发明实施例的终端可以是折叠双面屏终端。这样,在拍照场景中,可以将第一屏幕和第二屏幕进行折叠设置,以实现本发明实施例的显示方法;在其他应用场景中,如视频观看场景中,可以将第一屏幕和第二屏幕进行平铺设置,以增大显示面积。It should be understood that the terminal in this embodiment of the present invention may be a foldable double-sided screen terminal. In this way, in the scene of taking pictures, the first screen and the second screen can be folded to realize the display method of the embodiment of the present invention; The screen is tiled to increase the display area.
具体实现时,终端可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。During specific implementation, the terminal can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet device (Mobile Internet Device, MID) or a Wearable device (Wearable Device), etc.
以下对本发明实施例的显示方法进行说明。The display method of the embodiment of the present invention will be described below.
参见图1,图1是本发明实施例提供的显示方法的流程图。如图1所示,本实施例的显示方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of a display method provided by an embodiment of the present invention. As shown in Figure 1, the display method of this embodiment includes the following steps:
步骤101、分别在所述第一屏幕和所述第二屏幕上显示所述第一摄像头采集到的预览图像。Step 101. Display preview images captured by the first camera on the first screen and the second screen respectively.
在本步骤中,终端启动第一摄像头进行拍照,并在第一屏幕和第二屏幕上均显示第一摄像头采集到的预览图像,从而被拍者可以通过第一屏幕观看第一摄像头采集到的预览图像,拍摄者可以通过第二屏幕观看第二摄像头采集到的预览图像,提高了终端屏幕的利用率。In this step, the terminal starts the first camera to take pictures, and displays the preview images captured by the first camera on both the first screen and the second screen, so that the person being photographed can watch the images captured by the first camera through the first screen. Preview images, the photographer can watch the preview images collected by the second camera through the second screen, which improves the utilization rate of the terminal screen.
应理解的是,预览图像在第一屏幕上的显示比例与预览图像在第二屏幕上的显示比例可以相同,也可以不同。It should be understood that the display ratio of the preview image on the first screen may be the same as or different from the display ratio of the preview image on the second screen.
针对预览图像在第一屏幕上的显示比例与预览图像在第二屏幕上的显示比例不同的场景,可选的,所述分别在所述第一屏幕和所述第二屏幕上显示所述第一摄像头采集到的预览图像,包括:For the scenario where the display ratio of the preview image on the first screen is different from the display ratio of the preview image on the second screen, optionally, displaying the second screen on the first screen and the second screen respectively A preview image captured by a camera, including:
在所述第一屏幕以第一比例显示所述第一摄像头采集到的预览图像,在所述第二屏幕上以第二比例显示所述第一摄像头采集到的预览图像;displaying the preview image captured by the first camera on the first screen at a first scale, and displaying the preview image captured by the first camera on the second screen at a second scale;
其中,所述第一比例的比例值大于所述第二比例的比例值。也就是说,预览图像在第一屏幕上的第一显示尺寸大于预览图像在第二屏幕上的第二显示尺寸。示例性的,第一比例可以是1:1,即在第一屏幕上全屏显示预览图像;第二比例可以是9:10,即预览图像的显示尺寸占第二屏幕的9/10。Wherein, the proportion value of the first proportion is greater than the proportion value of the second proportion. That is to say, the first display size of the preview image on the first screen is larger than the second display size of the preview image on the second screen. Exemplarily, the first ratio may be 1:1, that is, the preview image is displayed in full screen on the first screen; the second ratio may be 9:10, that is, the display size of the preview image occupies 9/10 of the second screen.
这样,第二屏幕上还可以显示除预览图像之外的其它内容,如包括设置控件、拍照控件等辅助功能控件的功能栏,方便拍摄者调节拍照参数,进而提高拍照质量。In this way, other content besides the preview image can also be displayed on the second screen, such as a function bar including auxiliary function controls such as setting controls and photographing controls, which is convenient for the photographer to adjust the photographing parameters, thereby improving the photographing quality.
为方便理解,请一并参阅图2a、图2b和图2c。For easy understanding, please refer to Fig. 2a, Fig. 2b and Fig. 2c together.
如图2a所示,终端包括相背离的第一面21和第二面22。如图2b所示,第一面21上可以设有第一屏幕211和第一摄像头212。如图2c所示,第二面22上可以设有第二屏幕221和第二摄像头222。As shown in FIG. 2a, the terminal includes a first face 21 and a second face 22 facing away from each other. As shown in FIG. 2 b , a first screen 211 and a first camera 212 may be provided on the first surface 21 . As shown in FIG. 2 c , a second screen 221 and a second camera 222 may be provided on the second surface 22 .
如图2b,第一屏幕211可以全屏显示第一摄像头212采集到的预览图像23,从而可以提高预览图像23在第一屏幕211上的显示比例,进而提升显示效果;如图2c所示,为方便拍摄者调整拍照参数或触发终端执行拍照操作,第二屏幕221上除显示第一摄像头212采集的预览图像23之外,还可以显示包括设置控件、拍照控件等辅助功能控件的功能栏24。As shown in Fig. 2b, the first screen 211 can display the preview image 23 collected by the first camera 212 in full screen, so that the display ratio of the preview image 23 on the first screen 211 can be improved, thereby improving the display effect; as shown in Fig. 2c, for It is convenient for the photographer to adjust the camera parameters or trigger the terminal to perform the camera operation. In addition to displaying the preview image 23 captured by the first camera 212, the second screen 221 can also display a function bar 24 including auxiliary function controls such as setting controls and camera controls.
步骤102、识别所述第一摄像头采集到的预览图像中的第一目标对象。Step 102. Identify the first target object in the preview image captured by the first camera.
应理解的是,预览图像中可以包括一个或多个对象,对象可以理解为被拍者在预览图像中的成像。因此,可以视对象与被拍者之间存在对应关系。It should be understood that the preview image may include one or more objects, and the object may be understood as the image of the subject in the preview image. Therefore, it can be seen that there is a corresponding relationship between the object and the person being photographed.
在本实施例中,第一目标对象对应的被拍者用于实现与终端的互动,具体地,可以通过执行输入,触发终端执行放大显示第一摄像头采集到的预览图像中的第二目标对象。In this embodiment, the subject corresponding to the first target object is used to realize the interaction with the terminal. Specifically, the terminal may be triggered to zoom in and display the second target object in the preview image captured by the first camera by performing an input. .
具体实现时,第一目标对象可以由系统默认设置,如默认将预览图像中从左至右第一个对象确定为第一目标对象;或者,将预览图像中显示比例最大的对象确定为第一目标对象,具体可根据实际需要设定,本发明是实施例对此不作限定。During specific implementation, the first target object can be set by default by the system, for example, the first object from left to right in the preview image is determined as the first target object by default; or, the object with the largest display ratio in the preview image is determined as the first target object The target object can be specifically set according to actual needs, which is not limited by the embodiments of the present invention.
当然,第一目标对象也可以由拍摄者设定,如终端可以将接收到拍摄者的触控输入的位置所显示的对象确定为第一目标对象;或者,终端可以设有第一目标对象确定控件,用户在点击第一目标对象确定控件后,终端可以显示候选对象,即预览图像中的所有对象,并将用户选择的对象确定为第一目标对象。Of course, the first target object can also be set by the photographer, for example, the terminal can determine the object displayed at the position where the photographer’s touch input is received as the first target object; or, the terminal can set the first target object to determine control, after the user clicks on the first target object determination control, the terminal may display candidate objects, that is, all objects in the preview image, and determine the object selected by the user as the first target object.
此外,终端也可以将摆出特定手势,如伸出拳头的对象确定为第一目标对象,具体可根据实际需要决定,本发明实施例对此不作限定。In addition, the terminal may also determine an object that poses a specific gesture, such as stretching out a fist, as the first target object, which may be determined according to actual needs, which is not limited in this embodiment of the present invention.
步骤103、接收所述第一目标对象对应的被拍者发出的第一输入。Step 103, receiving a first input from a subject corresponding to the first target object.
在本步骤中,所述第一输入用于指示所述终端调整所述第一摄像头采集到的预览图像中的第二目标对象的显示状态。In this step, the first input is used to instruct the terminal to adjust the display state of the second target object in the preview image captured by the first camera.
具体实现时,第一输入可以表现为手势输入或语音输入。显示状态可以包括显示尺寸或显示位置等,也就是说,第一输入可以用于指示终端调整第二目标对象的显示尺寸,或者,可以用于指示终端调整第二目标对象的显示位置。During specific implementation, the first input may be expressed as gesture input or voice input. The display status may include display size or display position, etc. That is to say, the first input may be used to instruct the terminal to adjust the display size of the second target object, or may be used to instruct the terminal to adjust the display position of the second target object.
终端可以根据第一输入确定第二目标对象。其中,第二目标对象可以是第一目标对象,也可以是预览图像中除第一目标对象之外的任意对象。The terminal may determine the second target object according to the first input. Wherein, the second target object may be the first target object, or any object in the preview image except the first target object.
示例性的,在第二输入表现为手势输入的场景中,终端可以预存储手势与对象的对应关系,以将手势对应的对象确定为第二目标对象。假设在手势与对象的对应关系中,手势A对应预览图像中从左至右的第一个对象,手势B对应预览图像中从左至右的第二个对象,以此类推。Exemplarily, in a scenario where the second input is gesture input, the terminal may pre-store a correspondence between gestures and objects, so as to determine the object corresponding to the gesture as the second target object. Assume that in the correspondence between gestures and objects, gesture A corresponds to the first object from left to right in the preview image, gesture B corresponds to the second object from left to right in the preview image, and so on.
具体实现时,若识别到第一目标对象摆出手势A,则终端可以将手势A对应的对象,即预览图像中从左至右的第一个对象确定为第二目标对象;若识别到第一目标对象摆出手势B,则终端可以将手势B对应的对象,即预览图像中从左至右的第二个对象确定为第二目标对象。During specific implementation, if it is recognized that the first target object poses gesture A, the terminal can determine the object corresponding to gesture A, that is, the first object from left to right in the preview image, as the second target object; When a target object makes gesture B, the terminal may determine the object corresponding to gesture B, that is, the second object from left to right in the preview image, as the second target object.
在第二输入表现为语音输入的场景中,终端可以预存储关键词与对象的对应关系,以将关键词对应的对象确定为第二目标对象。假设在关键词与对象的对应关系中,关键词“一”对应预览图像中从左至右的第一个对象,关键词“二”对应预览图像中从左至右的第二个对象,以此类推。In a scenario where the second input is voice input, the terminal may pre-store the correspondence between keywords and objects, so as to determine the object corresponding to the keyword as the second target object. Assuming that in the correspondence between keywords and objects, the keyword "one" corresponds to the first object from left to right in the preview image, and the keyword "two" corresponds to the second object from left to right in the preview image, and And so on.
具体实现时,若语音识别到第一目标对象对应的被拍者说出关键词“一”,则终端可以将关键词“一”对应的对象,即预览图像中从左至右的第一个对象确定为第二目标对象;若识别到第一目标对象说出关键词“二”,则终端可以将关键词“二”对应的对象,即预览图像中从左至右的第二个对象确定为第二目标对象。During specific implementation, if the voice recognition recognizes that the subject corresponding to the first target object utters the keyword "one", the terminal can display the object corresponding to the keyword "one", that is, the first one from left to right in the preview image. The object is determined as the second target object; if it is recognized that the first target object speaks the keyword "two", the terminal can determine the object corresponding to the keyword "two", that is, the second object from left to right in the preview image as the second target object.
步骤104、根据所述第一输入,显示调整显示状态后的第二目标对象。Step 104: Display the second target object after the display state has been adjusted according to the first input.
具体实现时,终端在接收到第一输入后,可以根据第一输入,调整第二目标对象的显示状态,如显示尺寸或显示位置等,并显示调整显示状态后的第二目标对象。During specific implementation, after receiving the first input, the terminal may adjust the display state of the second target object, such as the display size or display position, according to the first input, and display the second target object after the adjusted display state.
可选的,所述显示调整显示状态后的第二目标对象,包括:Optionally, the displaying the second target object after the display state is adjusted includes:
显示放大后的第二目标对象;或者,display a magnified second target object; or,
在所述第一屏幕上显示调整显示位置后的第二目标对象。The second target object whose display position has been adjusted is displayed on the first screen.
对于显示放大后的第二目标对象的实施方式,需要说明的是,终端在放大显示第二目标对象时,可以是放大显示整个第二目标对象,也可以是放大显示第二目标对象的目标区域,如面部区域、手部区域等。Regarding the embodiment of displaying the enlarged second target object, it should be noted that when the terminal enlarges and displays the second target object, it may enlarge and display the entire second target object, or may enlarge and display the target area of the second target object. , such as face area, hand area, etc.
示例性的,在第一输入表现为手势输入的场景中,终端可以预存储手势与区域的对应关系,以将手指对应的区域确定为目标区域。其中,区域可以包括目标对象的全局区域和目标对象的各局部区域,目标对象的全局区域可以理解为整个目标对象。假设在手势与区域的对应关系中,第一手势对应目标对象的全局区域,第二区域对应目标对象的面部区域,第三手势对应目标对象的手部区域,以此类推。应理解的是,终端确定第二目标对象的方式可以与步骤103中的手势输入场景中确定第二目标对象的方式相同。Exemplarily, in a scenario where the first input is gesture input, the terminal may pre-store a correspondence between gestures and regions, so as to determine the region corresponding to the finger as the target region. Wherein, the area may include the global area of the target object and each local area of the target object, and the global area of the target object may be understood as the entire target object. Assume that in the correspondence between gestures and regions, the first gesture corresponds to the global region of the target object, the second region corresponds to the face region of the target object, the third gesture corresponds to the hand region of the target object, and so on. It should be understood that the manner in which the terminal determines the second target object may be the same as the manner in which the second target object is determined in the gesture input scene in step 103 .
具体实现时,若图像识别到第一目标对象对应的被拍者摆出手势A和第一手势,说明第一目标对象对应的被拍者指示终端放大显示第二目标对象,即预览图像中从左至右的第一个对象的全局区域,则终端可以在第一屏幕上显示整个第二目标对象;若识别到第一目标对象对应的被拍者摆出手势A和第二手势,说明第一目标对象对应的被拍者指示终端放大显示第二目标对象,即预览图像中从左至右的第一个对象的面部区域,则终端可以在第一屏幕上显示第二目标对象的面部区域。During specific implementation, if the image recognizes that the photographed person corresponding to the first target object poses gesture A and the first gesture, it means that the photographed person corresponding to the first target object instructs the terminal to enlarge and display the second target object, that is, from the preview image The global area of the first object from left to right, the terminal can display the entire second target object on the first screen; if it is recognized that the subject corresponding to the first target object makes gesture A and the second gesture The subject corresponding to the first target object instructs the terminal to enlarge and display the second target object, that is, the face area of the first object from left to right in the preview image, then the terminal can display the face of the second target object on the first screen area.
在第一输入表现为语音输入的场景中,终端可以预存储关键词与区域的对应关系,以将关键词对应的区域确定为目标区域。假设在关键词与区域的对应关系中,关键词“全局”对应对象的全局区域,关键词“面部”对应对象的面部区域,关键词“手部”对应对象的手部区域,以此类推。应理解的是,终端确定第二目标对象的方式可以与步骤103中语音输入场景中确定第二目标对象的方式相同。In a scenario where the first input is voice input, the terminal may pre-store the correspondence between keywords and regions, so as to determine the region corresponding to the keyword as the target region. Assume that in the correspondence between keywords and regions, the keyword "global" corresponds to the global region of the object, the keyword "face" corresponds to the face region of the object, the keyword "hand" corresponds to the hand region of the object, and so on. It should be understood that the manner in which the terminal determines the second target object may be the same as the manner in which the second target object is determined in the voice input scene in step 103 .
具体实现时,若语音识别到第一目标对象对应的被拍者说出关键词“一”,则终端可以将关键词“一”和“全局”,说明第一目标对象对应的被拍者指示终端放大显示第二目标对象,即预览图像中从左至右的第一个对象的全局区域,则终端可以在第一屏幕上显示整个第二目标对象;若识别到关键词“一”和“面部”,说明第一目标对象对应的被拍者指示终端放大显示第二目标对象,即预览图像中从左至右的第一个对象的面部区域,则终端可以在第一屏幕上显示第二目标对象的面部区域。During specific implementation, if the voice recognition recognizes that the subject corresponding to the first target object speaks the keyword "one", the terminal can combine the keyword "one" and "global" to indicate that the subject corresponding to the first target object indicates The terminal enlarges and displays the second target object, that is, the global area of the first object from left to right in the preview image, then the terminal can display the entire second target object on the first screen; if the keywords "one" and " Face", indicating that the subject corresponding to the first target object instructs the terminal to enlarge and display the second target object, that is, the face area of the first object from left to right in the preview image, then the terminal can display the second target object on the first screen. The face area of the target object.
具体实现时,所述显示放大后的第二目标对象,包括以下至少一项:During specific implementation, the displaying the enlarged second target object includes at least one of the following:
在所述第一屏幕上显示放大后的第二目标对象;displaying the enlarged second target object on the first screen;
全息显示放大后的第二目标对象。A magnified secondary target object is displayed holographically.
对于在所述第一屏幕上显示放大后的第二目标对象的场景,由于第一屏幕显示的是放大后的第二目标对象,因此,可以理解的,第二目标对象在第一屏幕上的显示尺寸大于未放大的第二目标对象在第一屏幕上的原始显示尺寸。在某些实施方式中,终端可以在第一屏幕上全屏显示放大后的第二目标对象。For the scene where the enlarged second target object is displayed on the first screen, since the first screen displays the enlarged second target object, it can be understood that the second target object on the first screen The display size is larger than the original display size of the non-magnified second target object on the first screen. In some implementation manners, the terminal may display the enlarged second target object in full screen on the first screen.
为方便理解,请一并参阅图3a和图3b。在图2b和图2c中,第一摄像头212采集到的预览图像23中包括第一对象231和第二对象232。假设第二目标对象是第一对象231,第二目标对象的目标区域是第一对象231的面部区域。For easy understanding, please refer to Figure 3a and Figure 3b together. In FIG. 2 b and FIG. 2 c , the preview image 23 captured by the first camera 212 includes a first object 231 and a second object 232 . Assuming that the second target object is the first object 231 , the target area of the second target object is the face area of the first object 231 .
在放大显示整个第二目标对象的场景中,如图3a所示,第二目标对象,即第一对象231放大显示于第一屏幕211上,即第一屏幕211显示放大后的第一对象231;在放大显示第二目标对象的目标区域的场景中,如图3b所示,第二目标对象的目标区域,即第一对象231的面部区域放大显示于第一屏幕211上,即第一屏幕211显示放大后的第二目标对象的目标区域,即第一对象231的面部区域。In the scene where the entire second target object is enlarged and displayed, as shown in FIG. ; In the scene where the target area of the second target object is enlarged and displayed, as shown in FIG. 211 displays the enlarged target area of the second target object, that is, the face area of the first object 231 .
应理解的是,第二目标对象也可以是预览图像23中的第二对象232,或者,是预览图像23中的第一对象231和第二对象232;目标区域也可以是第二目标对象的手部区域等其他局部区域,具体可根据实际需要决定,本发明实施例对此不作限定。It should be understood that the second target object may also be the second object 232 in the preview image 23, or the first object 231 and the second object 232 in the preview image 23; the target area may also be the second object 232 in the preview image 23; Other local areas such as the hand area may be specifically determined according to actual needs, which is not limited in this embodiment of the present invention.
这样,可以提高整个第二目标对象,或,第二目标对象的目标区域在第一屏幕上的显示比例,从而与第二目标对象对应的被拍者可以根据第一屏幕的显示画面调整自己的拍照状态,如拍照姿势和/或面部表情,从而可以提高拍照图像的质量,进而可以提升拍照效率。In this way, the display ratio of the entire second target object, or the target area of the second target object on the first screen can be increased, so that the person being photographed corresponding to the second target object can adjust his/her own image according to the display picture of the first screen. The photographing status, such as photographing posture and/or facial expression, can improve the quality of the photographed image, thereby improving the photographing efficiency.
对于全息显示放大后的第二目标对象的场景,终端可以在屏幕之外以三维或二维的形式显示放大后的第二目标对象,即终端可以将放大后的第二目标对象投影到空气中进行显示。For the scene where the enlarged second target object is displayed holographically, the terminal can display the enlarged second target object in a three-dimensional or two-dimensional form outside the screen, that is, the terminal can project the enlarged second target object into the air to display.
在该应用场景中,放大后的第二目标对象的显示大小可以不局限于终端屏幕的大小。因此,相比于在第一屏幕上显示放大后的第二目标对象,全息显示放大后的第二目标对象可以进一步突破拍照距离的限制,更适合远景拍摄场景。In this application scenario, the displayed size of the enlarged second target object may not be limited to the size of the terminal screen. Therefore, compared to displaying the enlarged second target object on the first screen, the holographic display of the enlarged second target object can further break through the limitation of the photographing distance, and is more suitable for a remote shooting scene.
进一步地,针对显示放大后的第二目标对象的实施方式,所述显示放大后的第二目标对象之后,还可以包括:Further, for the embodiment of displaying the enlarged second target object, after displaying the enlarged second target object, it may further include:
若接收到用于指示拍照的第三输入,则生成拍照图像。If a third input for instructing to take a photo is received, a photo image is generated.
具体实现时,第三输入可以表现为语音输入、手势输入和触控输入中任意一项。其中,第三输入可以是被拍者执行的输入,也可以是拍摄者执行的输入,具体可根据实际需要决定,本发明实施例对此不作限定。During specific implementation, the third input may be any one of voice input, gesture input and touch input. Wherein, the third input may be an input performed by the person being photographed, or an input performed by the photographer, which may be determined according to actual needs, and is not limited in this embodiment of the present invention.
示例性的,第三输入可以是第一目标对象对应的被拍者发出的语音输入,如:第一目标对象对应的被拍者发出“拍照”口令,则可以触发终端生成拍照图像。Exemplarily, the third input may be a voice input from the photographed person corresponding to the first target object, for example, if the photographed person corresponding to the first target object issues a password of "photograph", the terminal may be triggered to generate a photographed image.
具体实现时,所述输出拍照图像可以包括:During specific implementation, the output photographed image may include:
基于第一摄像头采集的预览图像,生成拍照图像;或者,Generate a photographic image based on the preview image collected by the first camera; or,
基于放大显示后的第二目标对象,生成拍照图像。Based on the enlarged and displayed second target object, a photographed image is generated.
在基于第一摄像头采集的预览图像,生成拍照图像的场景中,拍照图像中的第二目标对象以原始显示比例显示于预览图像中;在基于放大显示后的第二目标对象,生成拍照图像的场景中,拍照图像中的第二目标对象以放大显示后的显示比例显示于预览图像中。In the scene where the photographed image is generated based on the preview image collected by the first camera, the second target object in the photographed image is displayed in the preview image with the original display ratio; In the scene, the second target object in the photographed image is displayed in the preview image with an enlarged display ratio.
对于在所述第一屏幕上显示调整显示位置后的第二目标对象的实施方式,将第二目标对象调整显示位置前的显示位置视为第二目标对象的初始显示位置,将第二目标对象调整显示位置后的显示位置视为第二目标对象的最终显示位置。For the embodiment of displaying the second target object after the adjusted display position on the first screen, the display position of the second target object before the display position is adjusted is regarded as the initial display position of the second target object, and the second target object The display position after the display position is adjusted is regarded as the final display position of the second target object.
在该实施方式中,第二目标对象的最终显示位置可以预先设定。具体实现时,第二目标对象的最终显示位置可以由系统默认设置,如默认将预览图像的中心位置确定为第二目标对象的最终显示位置。第二目标对象的最终显示位置也可以由拍摄者设定,如终端可以将接收到拍摄者的触控输入的位置确定为第二目标对象的最终显示位置,具体可根据实际需要决定,本发明实施例对此不作限定。In this embodiment, the final display position of the second target object can be preset. During specific implementation, the final display position of the second target object may be set by default by the system, for example, the center position of the preview image is determined as the final display position of the second target object by default. The final display position of the second target object can also be set by the photographer. For example, the terminal can determine the position received from the photographer's touch input as the final display position of the second target object, which can be determined according to actual needs. The present invention The embodiment does not limit this.
这样,终端可以基于第一目标对象对应的被拍者发出的第一输入,调整第二目标对象在第一屏幕中的显示位置,从而可以向展示第一目标对象的被拍者展示调整显示位置后的预览图像的呈现效果,进而该被拍者可以基于上述呈现效果确定是否移动位置,使其成像在预览图像中的位置与最终显示位置相同,从而使得拍照图像的显示效果更符合用户期望。In this way, the terminal can adjust the display position of the second target object on the first screen based on the first input sent by the subject corresponding to the first target object, so that the adjusted display position can be displayed to the subject showing the first target object. Based on the rendering effect of the final preview image, the subject can determine whether to move the position based on the above rendering effect, so that the imaged position in the preview image is the same as the final display position, so that the display effect of the photographed image is more in line with user expectations.
进一步地,所述在所述第一屏幕上显示调整显示位置后的第二目标对象之后,还包括:Further, after displaying the second target object whose display position has been adjusted on the first screen, the method further includes:
若接收到用于指示拍照的第二输入,则基于调整显示位置后的第二目标对象,生成拍照图像。If the second input for instructing to take a photo is received, a photo image is generated based on the second target object whose display position has been adjusted.
具体实现时,第二输入可以表现为语音输入、手势输入和触控输入中任意一项。其中,第二输入可以是被拍者执行的输入,也可以是拍摄者执行的输入,具体可根据实际需要决定,本发明实施例对此不作限定。During specific implementation, the second input may be any one of voice input, gesture input and touch input. Wherein, the second input may be an input performed by the person being photographed, or an input performed by the photographer, which may be determined according to actual needs, and is not limited in this embodiment of the present invention.
示例性的,第二输入可以是拍摄者执行的触控输入,如:第一目标对象对应的被拍者发出OK口令,通知拍摄者拍照,则拍摄者可以执行对拍照按钮的触控输入,触发终端基于调整显示位置后的第二目标对象,生成拍照图像。Exemplarily, the second input may be a touch input performed by the photographer, such as: the subject corresponding to the first target object issues an OK password to notify the photographer to take a picture, and the photographer may perform a touch input on the camera button, The terminal is triggered to generate a photographed image based on the adjusted display position of the second target object.
在本应用场景中,拍照图像是基于调整显示位置后的第二目标对象生成的,也就是说,在该拍照图像中,第二目标对象在拍照图像中的显示位置为最终显示位置,从而相比于基于第一摄像头采集的预览图像生成的拍照图像的应用场景,为使得在拍照图像中,第二目标对象在拍照图像中的显示位置为最终显示位置,第二目标对象对应的被拍者需要自主移动位置,使其成像在预览图像中的位置与最终显示位置相同,本实施方式可以简化第二目标对象对应的被拍者的移动操作,从而可以提高用户的拍照体验。In this application scenario, the photographed image is generated based on the second target object whose display position has been adjusted, that is, in the photographed image, the display position of the second target object in the photographed image is the final display position, so that Compared with the application scene of the photographed image generated based on the preview image collected by the first camera, in order to make the displayed position of the second target object in the photographed image be the final display position in the photographed image, the photographed person corresponding to the second target object It is necessary to move the position autonomously so that the imaged position in the preview image is the same as the final display position. This embodiment can simplify the movement operation of the subject corresponding to the second target object, thereby improving the user's photographing experience.
本实施例的显示方法,终端的第一面设有第一屏幕和第一摄像头,终端的第二面设有第二屏幕,终端在与第一摄像头设于终端同一面的第一屏幕上显示第一摄像头采集到的预览图像,进一步地,可以根据预览图像中的第一目标对象的第一输入,显示调整显示状态后的第二目标对象。这样,与第二目标对象对应的用户可以根据第一屏幕的显示画面调整自己的拍照状态,从而可以提高拍照图像的质量。In the display method of this embodiment, a first screen and a first camera are provided on the first side of the terminal, a second screen is provided on the second side of the terminal, and the terminal displays on the first screen on the same side as the first camera. The preview image captured by the first camera may further display the second target object after the display state has been adjusted according to the first input of the first target object in the preview image. In this way, the user corresponding to the second target object can adjust his photographing state according to the display on the first screen, thereby improving the quality of photographed images.
此外,终端识别预览图像中的第一目标对象,并基于第一目标对象对应的被拍者发出的第一输入,显示调整显示状态后的第二目标对象,可以提高终端响应第一输入的速率。In addition, the terminal recognizes the first target object in the preview image, and based on the first input sent by the subject corresponding to the first target object, displays the second target object after the display state is adjusted, which can improve the speed of the terminal responding to the first input .
在本发明实施例中,终端在接收到用于指示拍照的输入时,第一屏幕上显示的内容可以是调整显示状态后的第二目标对象,也可以是不做放大处理的预览图像。In the embodiment of the present invention, when the terminal receives an input for instructing to take pictures, the content displayed on the first screen may be the second target object after the display state is adjusted, or a preview image without zooming in.
可选的,所述在所述第一屏幕上显示放大后的第二目标对象之后,所述输出拍照图像之前,还包括:Optionally, after displaying the enlarged second target object on the first screen and before outputting the photographed image, the method further includes:
若接收到第四输入,则在所述第一屏幕上以第三比例显示所述第一摄像头采集到的预览图像中的第二目标对象;If the fourth input is received, displaying the second target object in the preview image captured by the first camera at a third ratio on the first screen;
其中,所述第三比例的比例值小于在接收到所述第四输入前,第二目标对象在第一屏幕上的显示比例的比例值。也就是说,在接收到第四输入后,第二目标对象在第一屏幕上的第一显示尺寸小于在接收到第四输入前,第二目标对象在第一屏幕上的第二显示尺寸。示例性的,在接收到所述第四输入前,第二目标对象在第一屏幕上的显示比例可以是1:1,即在第一屏幕上全屏显示预览图像中的目标对象;第三比例可以是1:4,即目标对象的显示尺寸仅占第一屏幕的1/4。Wherein, the ratio value of the third ratio is smaller than the ratio value of the display ratio of the second target object on the first screen before receiving the fourth input. That is, after receiving the fourth input, the first display size of the second target object on the first screen is smaller than the second display size of the second target object on the first screen before receiving the fourth input. Exemplarily, before receiving the fourth input, the display ratio of the second target object on the first screen may be 1:1, that is, the target object in the preview image is displayed in full screen on the first screen; the third ratio It can be 1:4, that is, the display size of the target object only occupies 1/4 of the first screen.
应理解的是,终端在接收到第四输入后,第一屏幕显示的内容可以是不做放大处理的预览图像。也就是说,第三比例可以是第二目标对象在预览图像中的原始显示比例。It should be understood that, after the terminal receives the fourth input, the content displayed on the first screen may be a preview image without zooming in. That is to say, the third ratio may be the original display ratio of the second target object in the preview image.
具体实现时,第四输入可以是手势输入,也可以是语音输入,具体可根据实际需要决定,本发明实施例对此不作限定。During specific implementation, the fourth input may be a gesture input or a voice input, which may be determined according to actual needs, which is not limited in this embodiment of the present invention.
这样,被拍者可以观看未经放大处理的预览图像的显示效果,以确定是否需要继续调整拍照姿势和/或面部表情,进而提高拍照图像的质量,提高成片率。In this way, the subject can watch the display effect of the unenlarged preview image to determine whether to continue to adjust the photographing posture and/or facial expression, thereby improving the quality of the photographed image and increasing the filming rate.
在本发明实施例中,可选的,所述第二目标对象的数量为N,N为大于1的自然数。对于该应用场景中,终端可以依次显示放大后的N个第二目标对象,即每一次只显示一个放大后的第二目标对象;也可以并行显示放大后的N个第二目标对象,即同时显示放大后的N个第二目标对象。具体说明如下。In this embodiment of the present invention, optionally, the number of the second target objects is N, where N is a natural number greater than 1. For this application scenario, the terminal can display the enlarged N second target objects in sequence, that is, only one enlarged second target object is displayed at a time; it can also display the enlarged N second target objects in parallel, that is, simultaneously The enlarged N second target objects are displayed. The details are as follows.
所述显示放大后的第二目标对象,包括:Said displaying the enlarged second target object includes:
方式一、依次切换显示放大后的N个第二目标对象;或者,Mode 1: switch and display the enlarged N second target objects in sequence; or,
方式二、并行显示放大后的N个第二目标对象。Manner 2: The enlarged N second target objects are displayed in parallel.
在方式一中,所述依次切换显示放大后的N个第二目标对象,具体可以表现为:In the first manner, the sequentially switching and displaying the enlarged N second target objects may specifically be expressed as:
显示放大后的N个第二目标对象中的第i个第二目标对象;Displaying the i-th second target object among the enlarged N second target objects;
在检测到所述第i个第二目标对象的显示时长超过预设时长,或者,接收到切换输入的情况下,显示放大后的所述N个第二目标对象中的第i+1个第二目标对象;When it is detected that the display duration of the ith second target object exceeds a preset duration, or when a switch input is received, displaying the enlarged i+1th second target object among the N second target objects Two target objects;
其中,i为大于0,小于N的自然数。Wherein, i is a natural number greater than 0 and less than N.
在本实施方式中,N个第二目标对象的显示顺序可以基于N个第二目标对象在第一预览图像中的位置确定,如终端可以从左至右依次启动预览图像中的N个第二目标对象;也可以基于切换输入确定,如终端可以将在第一屏幕上显示比例最小的第二目标对象确定为放大显示的第一个第二目标对象,之后终端可以将切换显示输入中指示的第二目标对象确定为下一个放大显示的第二目标对象。In this embodiment, the display order of the N second target objects can be determined based on the positions of the N second target objects in the first preview image. For example, the terminal can sequentially start the N second target objects in the preview image from left to right. The target object can also be determined based on the switch input. For example, the terminal can determine the second target object with the smallest display ratio on the first screen as the first second target object to be enlarged and displayed, and then the terminal can switch the display indicated in the input The second target object is determined as the second target object to be enlarged and displayed next.
对于在检测到所述第i个第二目标对象的显示时长超过预设时长的情况下,显示放大后的所述N个第二目标对象中的第i+1个第二目标对象的场景,终端在确定N个第二目标对象的放大显示顺序后,可以自动切换放大显示的第二目标对象,从而可以简化操作。其中,预设时长可以根据实际需求设定,如5秒等,具体不作限定。For a scene in which the enlarged i+1th second target object among the N second target objects is displayed when it is detected that the display duration of the i-th second target object exceeds a preset duration, After determining the enlarged display order of the N second target objects, the terminal may automatically switch the second target objects for enlarged display, thereby simplifying operations. Wherein, the preset duration can be set according to actual needs, such as 5 seconds, etc., which is not specifically limited.
对于在接收到切换显示输入的情况下,显示放大后的所述N个第二目标对象中的第i+1个第二目标对象的场景,终端无需预先确定N个第二目标对象的放大显示顺序,可以基于切换输入的指示确定下一个放大显示的第二目标对象,从而可以提高N个第二目标对象的放大显示顺序确定的灵活度。For a scene in which the enlarged display of the i+1th second target object among the N second target objects after receiving the display switch input is received, the terminal does not need to predetermine the enlarged display of the N second target objects In order, the second target object to be enlarged and displayed next can be determined based on the indication of the switching input, so that the flexibility of determining the order of enlarged display of the N second target objects can be improved.
在方式二中,对于在第一屏幕上显示放大后的第二目标对象的场景,并行显示放大后的所述第一摄像头采集到的预览图像中的N个第二目标对象可以理解为:在所述第一屏幕上以第一比例分屏显示放大后的N个第二目标对象,即分屏显示的N个第二目标对象的整体在第一屏幕上占第一比例。In the second way, for the scene where the enlarged second target object is displayed on the first screen, parallel display of the enlarged N second target objects in the preview image captured by the first camera can be understood as: The enlarged N second target objects are displayed on the first screen in split screens at a first ratio, that is, the whole of the N second target objects displayed in split screens occupies a first ratio on the first screen.
为方便理解,请一并参阅图4。在图4中,第二目标对象包括第一对象231和第二对象232,第一屏幕211上下分屏显示放大后的第一对象231和第二对象232。For easy understanding, please also refer to Figure 4. In FIG. 4 , the second target object includes a first object 231 and a second object 232 , and the first screen 211 splits up and down to display the enlarged first object 231 and the second object 232 .
应理解的是,图4中的分屏显示方式以及各第二目标对象在第一屏幕中所占的比例仅为示例,在其他实施方式中,分屏显示方式可以是左右分屏显示等,各第二目标对象在第一屏幕中所占的比例可以相等,也可以不相等,具体可根据实际需要决定,本发明实施例对此不作限定。It should be understood that the split-screen display mode and the proportion of each second target object in the first screen in FIG. The proportions of the second target objects on the first screen may be equal or unequal, and may be determined according to actual needs, which is not limited in this embodiment of the present invention.
对于全息显示放大后的第二目标对象,并行显示放大后的所述第一摄像头采集到的预览图像中的N个第二目标对象可以理解为:在空中同时显示放大后的N个第二目标对象。For the holographic display of the enlarged second target objects, parallel display of the enlarged N second target objects in the preview image captured by the first camera can be understood as: simultaneously displaying the enlarged N second target objects in the air object.
相比于方式一中依次切换显示放大后的N个第二目标对象,方式二可以在并行显示放大后的N个第二目标对象,因此可以提高显示效率,减少切换显示操作。Compared with the method 1 in which the enlarged N second target objects are sequentially switched and displayed, the method 2 can display the enlarged N second target objects in parallel, so that the display efficiency can be improved and the display switching operation can be reduced.
另外,相比于方式二,方式一中每次仅显示放大后的N个第二目标对象中的一个第二目标对象,因此,该第二目标对象在第一屏幕的显示比例大于方式二中该第二目标对象在第二屏幕的显示比例,从而可以显示该第二目标对象的更多细节,提高该第二目标对象的拍照者调节拍照姿势或面部表情的准确度。In addition, compared with method 2, in method 1, only one of the enlarged N second target objects is displayed each time, so the display ratio of the second target object on the first screen is larger than in method 2 The display ratio of the second target object on the second screen can display more details of the second target object, and improve the accuracy of the photographer of the second target object in adjusting the posture or facial expression of the second target object.
应理解的是,对于同一第二目标对象的多个局部区域,即所述第二目标对象包括K个区域,K为大于1的自然数的场景,终端可以采用与N个第二目标对象的放大显示的显示方法进行显示,具体可表现为:It should be understood that, for multiple local areas of the same second target object, that is, the scene where the second target object includes K areas, and K is a natural number greater than 1, the terminal may use the zoom-in method of N second target objects The displayed display method is displayed, which can be specifically expressed as:
所述显示放大后的第二目标对象,包括:Said displaying the enlarged second target object includes:
依次切换显示放大后的第二目标对象的K个区域;或者,Sequentially switch and display the K regions of the enlarged second target object; or,
并行显示放大后的第二目标对象的K个区域。The enlarged K regions of the second target object are displayed in parallel.
其实现原理与上述关于显示N个第二目标对象的实现原理类似,具体可参考上述关于显示N个第二目标对象的相关描述,在此不再赘述。Its realization principle is similar to the realization principle of displaying N second target objects above, for details, reference may be made to relevant descriptions of displaying N second target objects above, which will not be repeated here.
需要说明的是,第二屏幕上显示的预览图像的内容可以与第一屏幕上显示的预览图像的内容保持一致,从而拍摄者也可以观看第二屏幕上的显示画面协助被拍者调整拍照姿势和/或面部表情,提高拍照图像的显示效果,提高成片率。当然,终端也可以不对第二屏幕上显示的预览图像做任何处理,具体可根据实际需要决定,本发明实施例对此不作限定。It should be noted that the content of the preview image displayed on the second screen can be consistent with the content of the preview image displayed on the first screen, so that the photographer can also watch the display screen on the second screen to assist the subject to adjust the photographing posture and/or facial expressions to improve the display effect of photographed images and improve the filming rate. Certainly, the terminal may not perform any processing on the preview image displayed on the second screen, which may be determined according to actual needs, and is not limited in this embodiment of the present invention.
此外,在本发明实施例中,在终端在第一面设有第一摄像头,在第二面设有第二摄像头的场景中,终端若启动目标摄像头进行拍照,则终端在与目标摄像头处于同一面的目标屏幕上显示放大后的目标摄像头采集到的预览图像中的第二目标对象。其中,目标摄像头可以是第一摄像头或第二摄像头。具体地,若目标摄像头是第一摄像头,则目标屏幕是第一屏幕;若目标摄像头是第二摄像头,则目标屏幕是第二屏幕。In addition, in the embodiment of the present invention, in the scenario where the terminal is provided with a first camera on the first surface and a second camera is provided on the second surface, if the terminal activates the target camera to take pictures, the terminal is at the same location as the target camera. The second target object in the preview image captured by the zoomed-in target camera is displayed on the target screen on the surface. Wherein, the target camera may be the first camera or the second camera. Specifically, if the target camera is the first camera, the target screen is the first screen; if the target camera is the second camera, the target screen is the second screen.
这样,第二目标对象对应的被拍者可以根据目标屏幕的显示画面调整自己的拍照姿势和/或面部表情,从而可以提高拍照图像的质量。In this way, the photographed person corresponding to the second target object can adjust his photographing posture and/or facial expression according to the display screen of the target screen, thereby improving the quality of photographed images.
应理解的是,本发明实施例中介绍的多种可选的实施方式,彼此可以相互结合实现,也可以单独实现,对此本发明实施例不作限定。It should be understood that the various optional implementation manners introduced in the embodiments of the present invention may be implemented in combination with each other, or may be implemented independently, which is not limited by the embodiments of the present invention.
参见图5,图5是本发明实施例提供的终端的结构图之一。终端500包括第一屏幕和第二屏幕,所述第一屏幕位于所述终端500的第一面,所述第二屏幕位于所述终端500中与所述第一面相背离的第二面,所述终端500的第一面上设有第一摄像头,所述终端500的第二面上设有第二摄像头。如图5所示,终端500包括:Referring to FIG. 5 , FIG. 5 is one of structural diagrams of a terminal provided by an embodiment of the present invention. The terminal 500 includes a first screen and a second screen, the first screen is located on a first side of the terminal 500, and the second screen is located on a second side of the terminal 500 that is away from the first side, so A first camera is provided on a first surface of the terminal 500, and a second camera is provided on a second surface of the terminal 500. As shown in Figure 5, the terminal 500 includes:
第一显示模块501,用于分别在所述第一屏幕和所述第二屏幕上显示所述第一摄像头采集到的预览图像;The first display module 501 is configured to display preview images captured by the first camera on the first screen and the second screen respectively;
识别模块502,用于识别所述第一摄像头采集到的预览图像中的第一目标对象;An identification module 502, configured to identify the first target object in the preview image captured by the first camera;
接收模块503,用于接收所述第一目标对象对应的被拍者发出的第一输入,所述第一输入用于指示所述终端调整所述第一摄像头采集到的预览图像中的第二目标对象的显示状态;The receiving module 503 is configured to receive a first input from the subject corresponding to the first target object, and the first input is used to instruct the terminal to adjust the second input in the preview image captured by the first camera. The display state of the target object;
第二显示模块504,用于根据所述第一输入,显示调整显示状态后的第二目标对象。The second display module 504 is configured to display the second target object whose display state has been adjusted according to the first input.
在图5的基础上,以下对终端500还包括的模块、各模块包括的单元进行说明。On the basis of FIG. 5 , the modules further included in the terminal 500 and the units included in each module will be described below.
可选的,所述第二显示模块504,具体用于根据所述第一输入,执行以下操作:Optionally, the second display module 504 is specifically configured to perform the following operations according to the first input:
显示放大后的第二目标对象;或者,display a magnified second target object; or,
在所述第一屏幕上显示调整显示位置后的第二目标对象。The second target object whose display position has been adjusted is displayed on the first screen.
可选的,所述第二显示模块504,具体用于根据所述第一输入,执行以下至少一项操作:Optionally, the second display module 504 is specifically configured to perform at least one of the following operations according to the first input:
在所述第一屏幕上显示放大后的第二目标对象;displaying the enlarged second target object on the first screen;
全息显示放大后的第二目标对象。A magnified secondary target object is displayed holographically.
可选的,所述第二目标对象的数量为N,N为大于1的自然数;Optionally, the number of the second target objects is N, where N is a natural number greater than 1;
所述第二显示模块504,具体用于根据所述第一输入,执行以下操作:The second display module 504 is specifically configured to perform the following operations according to the first input:
依次切换显示放大后的N个第二目标对象;或者,Sequentially switch and display the enlarged N second target objects; or,
并行显示放大后的N个第二目标对象。The enlarged N second target objects are displayed in parallel.
可选的,终端500还包括:Optionally, the terminal 500 also includes:
生成模块,用于在所述第一屏幕上显示调整显示位置后的第二目标对象之后,若接收到用于指示拍照的第二输入,则基于调整显示位置后的第二目标对象,生成拍照图像。A generating module, configured to generate a photographed object based on the second target object after the adjusted display position if a second input for instructing to take a picture is received after the second target object whose display position has been adjusted is displayed on the first screen. image.
可选的,所述第一显示模块501,具体用于:Optionally, the first display module 501 is specifically used for:
在所述第一屏幕以第一比例显示所述第一摄像头采集到的预览图像,在所述第二屏幕上以第二比例显示所述第一摄像头采集到的预览图像;displaying the preview image captured by the first camera on the first screen at a first scale, and displaying the preview image captured by the first camera on the second screen at a second scale;
其中,所述第一比例的比例值大于所述第二比例的比例值。Wherein, the proportion value of the first proportion is greater than the proportion value of the second proportion.
终端500能够实现本发明方法实施例中的各个过程,以及达到相同的有益效果,为避免重复,这里不再赘述。The terminal 500 can implement each process in the method embodiment of the present invention and achieve the same beneficial effect, and to avoid repetition, details are not repeated here.
请参考图6,图6是本发明实施例提供的终端的结构图之二,该终端可以为实现本发明各个实施例的一种终端的硬件结构示意图。终端600包括第一屏幕和第二屏幕,所述第一屏幕位于所述终端600的第一面,所述第二屏幕位于所述终端600中与所述第一面相背离的第二面,所述终端600的第一面上设有第一摄像头,所述终端600的第二面上设有第二摄像头。Please refer to FIG. 6. FIG. 6 is a second structural diagram of a terminal provided by an embodiment of the present invention. The terminal may be a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention. The terminal 600 includes a first screen and a second screen, the first screen is located on a first side of the terminal 600, and the second screen is located on a second side of the terminal 600 that is away from the first side, so A first camera is provided on a first surface of the terminal 600, and a second camera is provided on a second surface of the terminal 600.
如图6所示,终端600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。As shown in Figure 6, the terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processing Device 610, and power supply 611 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 6 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine some components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器610,用于:Wherein, the processor 610 is used for:
分别在所述第一屏幕和所述第二屏幕上显示所述第一摄像头采集到的预览图像;Displaying preview images captured by the first camera on the first screen and the second screen respectively;
识别所述第一摄像头采集到的预览图像中的第一目标对象;identifying a first target object in the preview image captured by the first camera;
接收所述第一目标对象对应的被拍者发出的第一输入,所述第一输入用于指示所述终端调整所述第一摄像头采集到的预览图像中的第二目标对象的显示状态;receiving a first input from a subject corresponding to the first target object, where the first input is used to instruct the terminal to adjust the display state of the second target object in the preview image captured by the first camera;
根据所述第一输入,显示调整显示状态后的第二目标对象。According to the first input, the second target object after the display state is adjusted is displayed.
可选的,处理器610,还用于:Optionally, the processor 610 is also used for:
显示放大后的第二目标对象;或者,display a magnified second target object; or,
在所述第一屏幕上显示调整显示位置后的第二目标对象。The second target object whose display position has been adjusted is displayed on the first screen.
可选的,处理器610,还用于以下至少一项:Optionally, the processor 610 is also used for at least one of the following:
在所述第一屏幕上显示放大后的第二目标对象;displaying the enlarged second target object on the first screen;
全息显示放大后的第二目标对象。A magnified secondary target object is displayed holographically.
可选的,所述第二目标对象的数量为N,N为大于1的自然数;Optionally, the number of the second target objects is N, where N is a natural number greater than 1;
处理器610,还用于:依次切换显示放大后的N个第二目标对象;或者,并行显示放大后的N个第二目标对象。The processor 610 is further configured to: sequentially switch and display the enlarged N second target objects; or display the enlarged N second target objects in parallel.
可选的,处理器610,还用于:Optionally, the processor 610 is also used for:
若接收到用于指示拍照的第二输入,则基于调整显示位置后的第二目标对象,生成拍照图像。If the second input for instructing to take a photo is received, a photo image is generated based on the second target object whose display position has been adjusted.
可选的,处理器610,还用于:Optionally, the processor 610 is also used for:
在所述第一屏幕以第一比例显示所述第一摄像头采集到的预览图像,在所述第二屏幕上以第二比例显示所述第一摄像头采集到的预览图像;displaying the preview image captured by the first camera on the first screen at a first scale, and displaying the preview image captured by the first camera on the second screen at a second scale;
其中,所述第一比例的比例值大于所述第二比例的比例值。Wherein, the proportion value of the first proportion is greater than the proportion value of the second proportion.
需要说明的是,本实施例中上述终端600可以实现本发明实施例中方法实施例中的各个过程,以及达到相同的有益效果,为避免重复,此处不再赘述。It should be noted that the terminal 600 in this embodiment can implement each process in the method embodiment in the embodiment of the present invention and achieve the same beneficial effect. To avoid repetition, details are not repeated here.
应理解的是,本发明实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 610; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
终端通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 602, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与终端600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the terminal 600 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processing unit (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processing unit 6041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 606 . The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage media) or sent via the radio frequency unit 601 or the network module 602 . The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 601 for output in the case of a phone call mode.
终端600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在终端600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 6061 and/or when the terminal 600 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer posture calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元607可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 607 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072 . The touch panel 6071, also referred to as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 6071 or near the touch panel 6071). operate). The touch panel 6071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 610, receive the command sent by the processor 610 and execute it. In addition, the touch panel 6071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 6071 , the user input unit 607 may also include other input devices 6072 . Specifically, other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 6071 can be covered on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near it, it will be sent to the processor 610 to determine the type of the touch event, and then the processor 610 can The type of event provides a corresponding visual output on the display panel 6061. Although in FIG. 6, the touch panel 6071 and the display panel 6061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated to Realize the input and output functions of the terminal, which is not limited here.
接口单元608为外部装置与终端600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端600内的一个或多个元件或者可以用于在终端600和外部装置之间传输数据。The interface unit 608 is an interface for connecting an external device to the terminal 600 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 608 may be used to receive input from an external device (for example, data information, power, etc.) transfer data between.
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 609 can be used to store software programs as well as various data. The memory 609 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 609 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器610是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610 .
终端600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 600 can also include a power supply 611 (such as a battery) for supplying power to various components. Preferably, the power supply 611 can be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.
另外,终端600包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 600 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种终端,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal, including a processor 610, a memory 609, a computer program stored in the memory 609 and operable on the processor 610, and the computer program is implemented when executed by the processor 610. Each process of the above embodiment of the display method can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same technical effect can be achieved. , to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive. Those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, all of which belong to the protection of the present invention.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810729611.8A CN108881721B (en) | 2018-07-05 | 2018-07-05 | A display method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810729611.8A CN108881721B (en) | 2018-07-05 | 2018-07-05 | A display method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108881721A true CN108881721A (en) | 2018-11-23 |
CN108881721B CN108881721B (en) | 2020-01-21 |
Family
ID=64298989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810729611.8A Active CN108881721B (en) | 2018-07-05 | 2018-07-05 | A display method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881721B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110807383A (en) * | 2019-10-24 | 2020-02-18 | 维沃移动通信有限公司 | Scanning method and electronic equipment |
CN114063864A (en) * | 2021-11-29 | 2022-02-18 | 惠州Tcl移动通信有限公司 | Image display method, apparatus, electronic device, and computer-readable storage medium |
CN114500855A (en) * | 2022-02-28 | 2022-05-13 | 维沃移动通信有限公司 | Display method, display device, electronic device, and readable storage medium |
CN114554167A (en) * | 2022-02-21 | 2022-05-27 | 重庆第二师范学院 | Intelligent holographic projection system based on big data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381119A (en) * | 2000-05-19 | 2002-11-20 | 索尼株式会社 | Network conference system, attendance authentication method, and presentation method |
JP2007143169A (en) * | 2006-12-09 | 2007-06-07 | Fujitsu Ltd | Mobile device |
JP2008228053A (en) * | 2007-03-14 | 2008-09-25 | Nikon Corp | Camera |
JP2011147075A (en) * | 2010-01-18 | 2011-07-28 | Nikon Corp | Display device for camera |
CN107846515A (en) * | 2017-11-07 | 2018-03-27 | 广东欧珀移动通信有限公司 | Shooting parameter adjustment method, device and terminal |
CN108076292A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Image pickup method, mobile terminal and storage medium |
-
2018
- 2018-07-05 CN CN201810729611.8A patent/CN108881721B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381119A (en) * | 2000-05-19 | 2002-11-20 | 索尼株式会社 | Network conference system, attendance authentication method, and presentation method |
JP2007143169A (en) * | 2006-12-09 | 2007-06-07 | Fujitsu Ltd | Mobile device |
JP2008228053A (en) * | 2007-03-14 | 2008-09-25 | Nikon Corp | Camera |
JP2011147075A (en) * | 2010-01-18 | 2011-07-28 | Nikon Corp | Display device for camera |
CN107846515A (en) * | 2017-11-07 | 2018-03-27 | 广东欧珀移动通信有限公司 | Shooting parameter adjustment method, device and terminal |
CN108076292A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Image pickup method, mobile terminal and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110807383A (en) * | 2019-10-24 | 2020-02-18 | 维沃移动通信有限公司 | Scanning method and electronic equipment |
CN110807383B (en) * | 2019-10-24 | 2023-10-17 | 维沃移动通信有限公司 | Scanning method and electronic equipment |
CN114063864A (en) * | 2021-11-29 | 2022-02-18 | 惠州Tcl移动通信有限公司 | Image display method, apparatus, electronic device, and computer-readable storage medium |
CN114554167A (en) * | 2022-02-21 | 2022-05-27 | 重庆第二师范学院 | Intelligent holographic projection system based on big data |
CN114554167B (en) * | 2022-02-21 | 2023-05-09 | 重庆第二师范学院 | An intelligent holographic projection system based on big data |
CN114500855A (en) * | 2022-02-28 | 2022-05-13 | 维沃移动通信有限公司 | Display method, display device, electronic device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108881721B (en) | 2020-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108513070B (en) | Image processing method, mobile terminal and computer-readable storage medium | |
CN108668083B (en) | Photographing method and terminal | |
KR102826304B1 (en) | Shooting method and terminal | |
CN108471498B (en) | Shooting preview method and terminal | |
CN107820011A (en) | Photographic method and camera arrangement | |
WO2020238377A1 (en) | Photographing processing method and apparatus, mobile terminal, and storage medium | |
CN107592459A (en) | A kind of photographic method and mobile terminal | |
WO2021104227A1 (en) | Photographing method and electronic device | |
CN108989672A (en) | A kind of image pickup method and mobile terminal | |
CN109413333B (en) | Display control method and terminal | |
WO2021036623A1 (en) | Display method and electronic device | |
CN111405181B (en) | Focusing method and electronic equipment | |
CN108881721B (en) | A display method and terminal | |
CN110830713A (en) | A zoom method and electronic device | |
CN107888833A (en) | A kind of image capturing method and mobile terminal | |
CN108924422B (en) | Panoramic photographing method and mobile terminal | |
CN110769156A (en) | Image display method and electronic device | |
CN107959755B (en) | A kind of photographing method, mobile terminal and computer readable storage medium | |
WO2021104226A1 (en) | Photographing method and electronic device | |
CN109005337B (en) | A kind of photographing method and terminal | |
CN108833796A (en) | An image capturing method and terminal | |
CN108833791A (en) | A shooting method and device | |
CN108881723A (en) | A kind of image preview method and terminal | |
CN108174110A (en) | A camera method and flexible screen terminal | |
CN108225278A (en) | A kind of distance measuring method, mobile terminal |
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 |