WO2022257645A1 - 一种拍摄显示方法、电子设备及存储介质 - Google Patents

一种拍摄显示方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2022257645A1
WO2022257645A1 PCT/CN2022/090504 CN2022090504W WO2022257645A1 WO 2022257645 A1 WO2022257645 A1 WO 2022257645A1 CN 2022090504 W CN2022090504 W CN 2022090504W WO 2022257645 A1 WO2022257645 A1 WO 2022257645A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
display
interface
electronic device
preset
Prior art date
Application number
PCT/CN2022/090504
Other languages
English (en)
French (fr)
Inventor
倪静
吴霞
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2022257645A1 publication Critical patent/WO2022257645A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment

Definitions

  • the present application relates to the field of electronic technology, and in particular to a photographing and display method, electronic equipment and a storage medium.
  • the embodiment of the present application provides a method for shooting and displaying, an electronic device, and a storage medium, which can realize that an electronic device can display the information required for recording to the person being photographed while recording a video, without using other items other than the electronic device, so that The recording process is more convenient and easier to realize.
  • the embodiment of the present application provides a shooting and display method, which is applied to an electronic device including a first display screen, a second display screen, and a first camera.
  • the orientation of the first display screen and the first camera is the same, and the first The display screen and the second display screen are arranged facing away from each other, and the method includes: the first camera collects images, and displays the images collected by the first camera in real time on the first interface of the first display screen or/and the second display screen; then, detecting When the user performs a first operation on the first interface, in response to the first operation, a second interface is displayed on the first display screen or/and the second display screen, and the second interface includes at least one preset text; A second operation of the target text in the at least one preset text, the target text is text for the subject to view; in response to the second operation, a third interface is displayed on the first display screen, the third interface includes the target text.
  • the electronic device detects and responds to the user's first operation, and displays at least one preset text on the first display screen or/and the second display screen. Then, the electronic device may detect and respond to the user's second operation on the target text in the at least one preset text, and display the content of the target text on the third interface of the first display screen facing the subject. In this way, the user can select the target text required for shooting by the subject through the second operation, and the target text required for shooting can be displayed on the first display screen facing the subject.
  • the subject can view the content of the target text on the electronic device while taking pictures with the electronic device, realizing the function of prompting the subject through the target text; and, no need to use the electronic device Other items besides make the shooting process more convenient and easier to realize.
  • displaying the second interface on the first display screen or/and the second display screen in response to the first operation includes: obtaining at least one preset text, and display the second interface on the first display screen or/and the second display screen.
  • At least one preset text is a text stored locally or a text obtained from a server.
  • the electronic device in response to the user's first operation on the first interface of the first display screen or/and the second display screen, can obtain at least one preset text for viewing by the photographer from the local or server . Furthermore, the user can select any preset text that meets the needs of the subject from at least one preset text, and prompts the subject.
  • the method before detecting the user's first operation on the first interface, the method further includes: first detecting the user's operation on at least one preset application program on the first interface
  • at least one preset application program is an application program installed in the electronic device that supports processing of text content; then, in response to an operation on the at least one preset application program, displaying at least one preset application program on the first interface; Then detect the user's operation on the target application program in the at least one preset application program on the first interface; the operation on the target application program is the first operation.
  • the above-mentioned displaying the second interface on the first display screen or/and the second display screen in response to the first operation includes: in response to the first operation, obtaining at least one preset text that the target application program supports processing, and displaying the second interface on the first display screen screen or/and the second display screen to display the second interface.
  • the electronic device may first display at least one preset application program that supports processing of text content. Then, in response to the user's operation on the target application in the at least one preset application, the electronic device acquires at least one preset text that the target application supports to process. Furthermore, the photographer or the subject can select any preset text that meets the needs of the subject from at least one preset text to prompt the subject.
  • the above-mentioned displaying the third interface on the first display screen in response to the second operation includes: responding to the second operation, using the preset first display effect to display the third interface on the first display screen.
  • the third interface of the screen displays the target text.
  • the method also includes: first responding to the second operation, displaying the target text on the fourth interface of the second display screen by using a preset second display effect; then, the content of the target text displayed on the third interface If the content of the displayed target text is different, adjust the content display effect in the second display effect to be the same as the content display effect in the first display effect, and use the adjusted second display effect to display the target text on the fourth interface .
  • the content display effect is a display effect that affects the content quantity of the target text displayed on the corresponding display screen.
  • the electronic device can use the first display effect to display the content of the target text on the first display screen.
  • the target text is displayed on the third interface, so as to enhance the contrast between the target text and the background of the area where the target text is located in the first display screen.
  • the second display effect may be the same as that used by the electronic device to display content other than the target text, or the second display effect is the same as the first display effect. Other display effects with different effects.
  • the electronic device displays the target text with a larger text size on the third interface of the first display screen.
  • the third interface of the first display screen may display part of the content of the target text, and the remaining content of the target text needs to be displayed through manual or automatic control by the user.
  • the electronic device may control the fourth interface of the second display screen to also display part of the target text displayed on the first display screen. In this way, the photographer can determine the content currently displayed to the subject by the first display screen through the second display screen.
  • the electronic device may detect the user's adjustment operation on the display content of the first display screen on the second display screen, so as to control the first display screen to display the remaining content of the target text.
  • This design method provides an implementation manner in which the electronic device controls the content displayed on the second display screen to be the same as that displayed on the first display screen.
  • the above-mentioned displaying the third interface on the first display screen in response to the second operation includes: responding to the second operation, using the preset first display effect to display the third interface on the first display screen.
  • the third interface of the screen displays the target text.
  • the above method also includes: in response to the second operation, using a preset second display effect to display the target text on the fourth interface of the second display screen; determining the prompt content currently displayed on the third interface; the content of the prompt is the content of the third interface The content of the currently displayed target text; mark the prompt content included in the fourth interface.
  • the electronic device may not set the content display effect in the second display effect to be the same as that in the first display effect.
  • the content display effect is the same, but the prompt content displayed on the fourth interface is marked. Since the content of the prompt is the content of the target text currently displayed on the first display screen, the photographer can determine that the first display screen is currently showing the target text to the subject through the prompt content marked in the fourth interface of the second display screen. Content.
  • the electronic device may detect the user's adjustment operation on the display content of the first display screen on the second display screen, so as to control the first display screen to display the remaining content of the target text.
  • the fourth interface includes a prompt window.
  • the above-mentioned displaying the target text on the fourth interface of the second display screen by using the preset second display effect includes: displaying the target text in the prompt window by using the second display effect; wherein, the prompt window also includes shooting setting options.
  • the method also includes: first detecting and responding to the user's operation on the shooting setting option, and popping up the shooting setting pop-up window on the second display screen;
  • the shooting setting pop-up window includes: options corresponding to the second display effect;
  • the operation of the option corresponding to the second display effect closes the shooting setting pop-up window, and pops up the effect setting pop-up window on the second display screen;
  • the effect setting pop-up window includes multiple setting options corresponding to the second display effect;
  • the multiple setting options include at least one of the following: text size, text color, size of the prompt window, background color of the prompt window; then detect and respond to the user's operation on multiple setting options corresponding to the second display effect, and close the effect Set the pop-up window, and adjust the second display effect and the first display effect; finally, use the adjusted second display effect to display the target text in the prompt window, and use the adjusted first display effect to display the target text on the third interface .
  • the electronic device uses the first display effect to display the target text on the third interface of the first display screen, it can also detect the user's modification operation on any one of the first display effect and the second display effect. Then, in response to the modifying operation, the first display effect and/or the second display effect is modified, so as to display the target text using the first display effect and/or the second display effect meeting the user's requirements.
  • the method it also includes: according to the adjusted first display effect, readjusting the content display effect in the adjusted second display effect to be the same as the content display effect in the adjusted first display effect, and adopting the readjusted second display effect Effect Displaying the target text in the prompt window; or re-determining the content of the prompt currently displayed on the first display screen; marking the re-determined content of the prompt in the prompt window.
  • the shooting setting pop-up window further includes: options corresponding to the playback mode.
  • the method also includes: first detecting and responding to the user's operation on the option corresponding to the playback mode, closing the shooting setting pop-up window, and popping up the playback setting pop-up window on the second display screen; wherein, the playback setting pop-up window includes options corresponding to manual page turning, The option corresponding to automatic page turning; then, detect and respond to the user's operation on the option corresponding to automatic page turning, close the playback setting pop-up window, and automatically update the content of the target text on the second display screen and the first display screen.
  • the electronic device may display part of the content of the target text on the first display screen and the second display screen. Therefore, after the target text is displayed on the first display screen and the second display screen, the electronic device can also turn pages on both the content of the target text displayed on the first display screen and the content of the target text displayed on the second display screen, so as to The first display screen and the second display screen display the remainder of the target text.
  • the method further includes: first acquiring current shooting information; the current shooting information includes at least one of the current ambient brightness and the current distance between the subject and the first display screen ; Then, adjust the first display effect according to the current shooting information and the preset corresponding relationship, and use the adjusted first display effect to display the target text on the third interface.
  • the preset corresponding relationship includes at least one of the first preset corresponding relationship and the second preset corresponding relationship; the first corresponding relationship includes: the corresponding relationship between distance and character size, the correspondence between distance and font thickness relationship; the second corresponding relationship includes: the corresponding relationship between the ambient brightness and the text color and the background color of the prompt window.
  • the electronic device uses the first display effect to display the target text on the third interface of the first display screen, it can also display the target text according to some shooting information (such as ambient brightness, the distance between the subject and the first display screen) ), automatically adjust the first display effect, so that the subject can clearly see the content of the target text from the first display screen.
  • some shooting information such as ambient brightness, the distance between the subject and the first display screen
  • the displaying the second interface on the first display screen or/and the second display screen includes: sorting at least one preset text according to a preset display order, and The second interface of the first display screen or/and the second display screen displays at least one sorted preset text.
  • the preset display order is any of the following items: the order of the time difference between the latest use time of the at least one preset text and the current time, and the order of the use frequency of the at least one preset text.
  • the electronic device may display at least one preset text in an ascending order of the time difference between the latest use time of the at least one preset text and the current time, or in descending order of the use frequency of the at least one preset text . In this way, the electronic device can display the preset text that is more likely to provide the prompt content required by the subject in the front position, so that the user can quickly select a preset that prompts the subject. text.
  • displaying at least one preset application program on the first interface includes: sorting the at least one preset application program according to the preset display order, and displaying the at least one preset application program on the first interface At least one preset app sorted.
  • the preset display order is any of the following items: the order of the time difference between the latest use time of the at least one preset application program and the current time, and the order of the use frequency of the at least one preset application program.
  • the electronic device may display at least one preset Set up the application.
  • the electronic device displays the preset application program at a front position, so that The user can quickly select the preset application program, and then the electronic device can acquire at least one preset text supported by the preset application program. Since the at least one preset text supported by the preset application program is more likely to provide the prompt content required by the person being photographed, the user selects the prompting text for the person being photographed from the at least one preset text. Preset text is also more likely.
  • the third interface further includes: part or all of the images collected by the first camera in real time.
  • the electronic device can also display part or all of the images captured by the first camera in real time, so that the person being photographed can check the real-time shooting effect.
  • the electronic device displays a part of the image collected by the first camera in real time, indicating that the target text is blocked by the image collected by the first camera in real time, that is, the first display screen displays the target text on the upper layer of the image collected by the first camera in real time.
  • the electronic device displays all the images collected in real time by the first camera, which means that the first display screen completely displays the target text and the images collected in real time by the first camera.
  • the fourth interface further includes: part or all of the images collected by the first camera in real time.
  • the electronic device can also display part or all of the images captured by the first camera in real time, so that the photographer can also check the real-time shooting effect.
  • the electronic device displays a part of the image captured by the first camera in real time, indicating that the target text is blocked by the image captured by the first camera in real time, that is, the second display screen displays the target text on the upper layer of the image captured by the first camera in real time.
  • the electronic device displays all the images collected in real time by the first camera, which means that the second display screen completely displays both the target text and the images collected in real time by the first camera.
  • an embodiment of the present application provides an electronic device, and the electronic device includes a first display screen, a second display screen, a first camera, a memory, and a processor.
  • the orientation of the first display screen and the first camera is the same, and the first display screen and the second display screen are set facing away from each other.
  • the first display screen, the second display screen, the first camera, the memory and the processor are coupled.
  • the first camera is used for collecting images
  • the first display screen is used for displaying images and target texts
  • computer program codes are stored in the memory, and the computer program codes include computer instructions, and when the computer instructions are executed by the processor, the electronic device is executed The method described in the first aspect and any possible design manner thereof.
  • an embodiment of the present application further provides an electronic device, and the electronic device includes a first display screen, a second display screen, a first camera, a memory, and a processor.
  • the orientation of the first display screen and the first camera is the same, and the first display screen and the second display screen are set facing away from each other.
  • the first display screen, the second display screen, the first camera, the memory and the processor are coupled.
  • the first camera is used for collecting images
  • the first display screen is used for displaying images and target multimedia content
  • computer program codes are stored in the memory, and the computer program codes include computer instructions.
  • the electronic device When the computer instructions are executed by the processor, the electronic device is made to perform the following steps: the first camera collects images, and displays the real-time images collected by the first camera on the first interface of the first display screen or/and the second display screen; The user performs a first operation on the first interface. In response to the first operation, a second interface is displayed on the first display screen or/and the second display screen, and the second interface includes at least one preset text; A second operation of the target text in the preset text, the target text is text for the subject to view; in response to the second operation, a third interface is displayed on the first display screen, the third interface includes the target text.
  • the electronic device when the computer instruction is executed by the processor, the electronic device specifically executes the following steps: in response to the first operation, obtain at least one preset text, and display it on the first display screen or / and the second display screen displays the second interface.
  • At least one preset text is a text stored locally or a text obtained from a server.
  • the electronic device when the computer instruction is executed by the processor, the electronic device further executes the following step: before detecting the user's first operation on the first interface, detecting the user's first operation on the first interface
  • the operation of an interface to at least one preset application program, at least one preset application program is an application program installed in an electronic device that supports processing text content; in response to the operation of the at least one preset application program, in the first
  • the interface displays at least one preset application program; the user's operation on the target application program in the at least one preset application program is detected on the first interface; the operation on the target application program is the first operation.
  • at least one preset text supported by the target application program is acquired, and a second interface is displayed on the first display screen or/and the second display screen.
  • the electronic device when the computer instruction is executed by the processor, the electronic device specifically executes the following steps: responding to the second operation, adopting the preset first display effect on the first display screen
  • the target text is displayed on the third interface; then, in response to the second operation, the target text is displayed on the fourth interface of the second display screen using a preset second display effect; the content of the target text displayed on the third interface is the same as that of the fourth interface.
  • the content display effect is a display effect that affects the content quantity of the target text displayed on the corresponding display screen.
  • the electronic device when the computer instruction is executed by the processor, the electronic device specifically executes the following steps: responding to the second operation, adopting the preset first display effect on the first display screen
  • the third interface displays the target text; in response to the second operation, the preset second display effect is used to display the target text on the fourth interface of the second display screen; the prompt content currently displayed on the third interface is determined; the prompt content is the first The content of the target text currently displayed on the third interface; marking the prompt content included in the fourth interface.
  • the fourth interface includes a prompt window.
  • the electronic device specifically performs the following steps: using the second display effect to display the target text in the prompt window; wherein, the prompt window also includes shooting setting options; detecting and responding to the user’s setting options for shooting
  • the pop-up window of shooting settings pops up on the second display screen;
  • the pop-up window of shooting settings includes: options corresponding to the second display effect; detects and responds to the user’s operation on the options corresponding to the second display effect, closes the pop-up window of shooting settings, and
  • the second display screen pops up an effect setting pop-up window, wherein the effect setting pop-up window includes multiple setting options corresponding to the second display effect;
  • the multiple setting options corresponding to the second display effect include at least one of the following: text size, text color, The size of the teleprompter window, the background color of the teleprompter window; detect and respond to the user's operation of multiple setting options corresponding to the second display effect,
  • the electronic device when the computer instruction is executed by the processor, the electronic device further executes the following steps: displaying the target text in the prompt window using the adjusted second display effect, using the adjusted According to the adjusted first display effect, after the target text is displayed on the third interface, readjust the content display effect in the adjusted second display effect and the content display in the adjusted first display effect according to the adjusted first display effect The effect is the same, and the readjusted second display effect is used to display the target text in the prompt window; or, re-determine the content of the prompt currently displayed on the first display screen; mark the re-determined content of the prompt in the prompt window .
  • the shooting setting pop-up window also includes: options corresponding to the playback mode; when the computer instruction is executed by the processor, the electronic device also performs the following steps: detect and respond to the user's request for the playback mode The operation of the corresponding option closes the shooting setting pop-up window, and pops up the playback setting pop-up window on the second display screen; wherein, the playback setting pop-up window includes options corresponding to manual page turning and automatic page turning; detecting and responding to user’s automatic page turning Flip the corresponding option operation, close the playback setting pop-up window, and automatically update the content of the target text on the second display screen and the first display screen.
  • the electronic device when the computer instructions are executed by the processor, the electronic device further executes the following steps: acquiring current shooting information; the current shooting information includes the current ambient brightness, the subject and the first display at least one item of the current distance between the screens; adjust the first display effect according to the current shooting information and the preset corresponding relationship, and use the adjusted first display effect to display the target text on the third interface.
  • the preset corresponding relationship includes at least one of the first preset corresponding relationship and the second preset corresponding relationship; the first corresponding relationship includes: the corresponding relationship between distance and character size, the correspondence between distance and font thickness relationship; the second corresponding relationship includes: the corresponding relationship between the ambient brightness and the text color and the background color of the prompt window.
  • the electronic device when the computer instructions are executed by the processor, the electronic device specifically executes the following steps: sort at least one preset text according to the preset display order, and display the The second interface of the screen or/and the second display screen displays at least one sorted preset text.
  • the preset display order is any of the following items: the order of the time difference between the latest use time of the at least one preset text and the current time, and the order of the use frequency of the at least one preset text.
  • the electronic device when the computer instructions are executed by the processor, the electronic device specifically executes the following steps: sort at least one preset application program according to the preset display order, and perform the following steps in the first
  • the interface displays at least one preset application program sorted.
  • the preset display order is any of the following items: the order of the time difference between the latest use time of the at least one preset application program and the current time, and the order of the use frequency of the at least one preset application program.
  • the third interface further includes: part or all of the images collected by the first camera in real time.
  • the fourth interface further includes: part or all of the images collected by the first camera in real time.
  • the embodiment of the present application also provides a computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are run on the electronic device, the electronic device is made to execute the first aspect and its steps.
  • the embodiment of the present application also provides a computer program product, including computer instructions, which can be run on the electronic device, so that the electronic device performs the shooting and displaying according to the first aspect and any possible implementation manners thereof. method.
  • FIG. 1A is a schematic diagram of a product form of an electronic device with an outwardly folding screen provided by an embodiment of the present application;
  • FIG. 1B is a schematic diagram of a product form of an electronic device with an inwardly folded screen provided in an embodiment of the present application;
  • FIG. 2 is a schematic diagram of a product form of an electronic device including at least two non-foldable display screens provided by an embodiment of the present application;
  • FIG. 3 is a schematic interface diagram of a photographing and displaying method in the prior art
  • FIG. 4 is a schematic interface diagram of a shooting process involved in a shooting display method provided in an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
  • Fig. 6 is a flow chart 1 of a photographing and displaying method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an interface using a shooting and display method in a Selfie scene provided by an embodiment of the present application.
  • FIG. 8A is an interface schematic diagram 1 of a method of shooting and displaying in another shooting scene provided by the embodiment of the present application;
  • FIG. 8B is a schematic interface diagram 2 of a method of shooting and displaying in another shooting scene provided by the embodiment of the present application;
  • Fig. 9 is an interface schematic diagram 3 of a shooting and display method provided in an other shooting scene provided by the embodiment of the present application.
  • FIG. 10 is a flowchart 2 of a photographing and displaying method provided by an embodiment of the present application.
  • FIG. 11 is a schematic interface diagram of content synchronization of two display screens provided by the embodiment of the present application.
  • FIG. 12 is a flowchart three of a photographing and displaying method provided by an embodiment of the present application.
  • Fig. 13 is a schematic diagram of an interface for marking the same content on two display screens provided by the embodiment of the present application.
  • FIG. 14 is a flowchart 4 of a shooting and display method provided by an embodiment of the present application.
  • Fig. 15 is a schematic diagram of an interface for adjusting the display effect provided by the embodiment of the present application.
  • Fig. 16 is a second schematic diagram of an interface for adjusting the display effect provided by the embodiment of the present application.
  • Fig. 17 is a schematic diagram of an interface for adjusting the display effect provided by the embodiment of the present application III;
  • Fig. 18 is a schematic diagram of a manual page turning interface provided by the embodiment of the present application.
  • Fig. 19 is a schematic diagram of an interface for setting the playback mode provided by the embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of a chip system provided by an embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present application, unless otherwise specified, "plurality” means two or more.
  • An embodiment of the present application provides a photographing and displaying method, which can be applied to an electronic device including a first display screen and a first camera.
  • the orientation of the first display screen and the first camera are the same.
  • the first camera may refer to a camera in an electronic device for taking pictures of a subject. Then, the first display screen facing the same direction as the first camera also faces the subject.
  • the photo-taking display method provided in the embodiment of the present application can be applied to self-portrait scenarios (ie, the subject and the photographer are the same object) and other-photographing scenarios (ie, the subject and the photographer are different objects).
  • the electronic device may include a display screen (such as the first display screen mentioned in the embodiment of the present application).
  • the electronic device may also include other display screens, such as a second display screen facing away from the first display screen, a third display screen connected to the folding edge of the first display screen (in this case
  • the electronic device is an electronic device including a foldable display screen).
  • the electronic device may include at least two display screens.
  • the at least two display screens may include a first display screen and a second display screen facing away from the first display screen; the electronic device may be a folding screen or a non-folding screen, such as a curved screen.
  • the electronic device may also include other display screens, such as a third display screen connected to the folding edge of the first display screen.
  • the at least two display screens in the electronic device may be at least two foldable display screens (which may be referred to as folding screens for short) (such as, screen A and screen B shown in (b) in FIG. 1A , and screen B in FIG. 1B A1 screen and A2 screen shown in (c), or at least two non-foldable display screens (for example, A screen and B screen shown in FIG. 2 ).
  • the folding screen can be folded to form at least two display screens, for example, the folding screen can be folded along a folding edge or a folding axis to form a first display screen and a second display screen.
  • the at least two non-foldable display screens may be a first display screen and a second display screen arranged opposite to each other in the electronic device.
  • the folding screens in the embodiment of the present application can be divided into two types.
  • One type is a folding screen that is folded outward (abbreviated as an outward folding screen), and the other is a folding screen that is folded inward (abbreviated as an inward folding screen).
  • the folding screen can be folded to form a first display screen and a second display screen as an example. After the outwardly folding folding screen is folded, the first display screen and the second display screen are opposite to each other. After the inward-folding screen is fully unfolded, the first display screen and the second display screen are opposite to each other.
  • FIG. 1A shows a schematic diagram of a product form of an electronic device 100 with an outward-folding screen provided by an embodiment of the present application.
  • (a) in FIG. 1A is a schematic diagram of the shape of the outwardly folded folding screen when it is fully unfolded.
  • the outwardly folded screen can be folded along the folded edge according to the directions 102a and 102b shown in (a) in FIG. 1A , to form screen A and screen B shown in (b) in FIG. 1A .
  • the outward-folding folding screen can continue to be folded along the folding edge according to the directions 103a and 103b shown in (b) of FIG.
  • screen A and screen B face each other and are visible to the user.
  • the direction of the screen A is the same as that of the camera 101a, and the direction of the screen B is the same as that of the camera 101b.
  • the interface can be displayed on screen A, on screen B, or on screen A and screen B.
  • the interface can be displayed on screen A and screen B.
  • an electronic device with at least two non-foldable display screens may refer to the electronic device 100 shown in (c) in FIG. 1A .
  • the electronic device 100 Different from the electronic device 100, there is no folding edge in the electronic device with at least two non-foldable display screens, and the A-screen and B-screen included therein are opposite to each other.
  • FIG. 1B shows a schematic diagram of a product form of an electronic device 100 with an inwardly folded screen provided by an embodiment of the present application.
  • FIG. 1B is a schematic view of the shape of the inwardly folded screen when it is fully unfolded.
  • the A-screen of the electronic device 100 can be formed.
  • a B-screen can also be arranged on the back of the A-screen.
  • the orientation of the screen A and the camera 201a is the same, and the orientation of the screen B and the camera 201b is the same.
  • the inwardly folded screen can be folded along the folded edge according to the directions 202a and 202b shown in (a) in FIG. 1B to form the inwardly folded screen shown in (c) in FIG. 1B .
  • the inward-folding folding screen can continue to be folded along the folding edge according to the directions 203a and 203b shown in (c) in FIG.
  • the black line 204 is a line on the contact surface of the folded two parts of screen A. .
  • the inward folding screen is completely folded, the A screen is invisible to the user, and the B screen is visible to the user.
  • the A1 screen and the A2 screen shown in (c) in FIG. 1B can be formed after the inwardly folded folding screen is folded.
  • the black line 204 is a line on the contact surface between the A1 screen and the A2 screen.
  • the value range of the folding angle ⁇ of the folding screen is [0°, 180°].
  • the folding angle of the outwardly folding folding screen is the angle between the A screen and the B screen.
  • the folding angle of the inward folding screen is the angle between the A1 screen and the A2 screen.
  • the electronic device can determine that the folding screen is in the folded state; if ⁇ [P, 180°], the electronic device can determine that the folding screen is in the unfolded state.
  • P is a preset angle threshold. P may be determined according to the usage habits of a large number of users using the folding screen; or, P may be set by the user in the electronic device.
  • the preset angle threshold P in the embodiment of the present application may be greater than 90°.
  • the value range of the preset angle threshold P may be (90°, 180°).
  • the preset angle threshold P may be 100°, 120°, 135°, 140°, 145° or 150° and so on.
  • the at least two screens formed after folding the folding screens may be multiple independent screens (such as the screens in FIG. 1A ).
  • the screens A and B shown in (c) can also be a complete screen with an integrated structure (such as the screen A shown in (a) in FIG. 1B ), which is only folded to form at least two parts.
  • the folding screen may be a flexible folding screen.
  • the flexible folding screen includes folding edges made of flexible materials. Part or all of the flexible folding screen is made of flexible materials.
  • the at least two screens formed after the flexible folding screen is folded are a complete screen of an integral structure, but are folded to form at least two parts.
  • the above folding screen may be a multi-screen folding screen.
  • the multi-screen folding screen may include multiple (two or more) screens.
  • the multiple screens are individual display screens. These multiple screens can be connected sequentially by folding shafts. Each screen can rotate around the folding axis connected to it to realize the folding of multi-screen folding screens.
  • the folding screen in the embodiment of the present application is described by taking the folding screen as an example of a flexible folding screen.
  • the method provided in the embodiments of the present application will be described by taking the folding screen as an example of a flexible folding screen.
  • FIG. 2 shows an electronic device with at least two non-foldable display screens provided by an embodiment of the present application.
  • FIG. 2 shows an electronic device with at least two non-foldable display screens provided by an embodiment of the present application.
  • FIG. 2 is a screen A of the electronic device 100, and the screen A includes a camera 210a.
  • FIG. 2 is a screen B of the electronic device 100, and the screen B includes a camera 210b.
  • FIG. 2 is a side view of the electronic device 100, and the screen B is opposite to the screen A. It can be seen from (c) in FIG. 2 that there is no folding edge between screen A and screen B of the electronic device 100, and the electronic device 100 does not have a folding function.
  • the screen A in the above-mentioned electronic device 100 may be the first display screen, and the screen B opposite to the screen A is the second display screen.
  • the B screen in the electronic device 100 is the first display screen, and the A screen facing away from the B screen is the second display screen.
  • a camera facing the same direction as the first display screen may be referred to as a first camera, and a camera facing the same direction as the second display screen may be referred to as a second camera.
  • the photographer uses the first camera in the electronic device to take pictures of the subject, after the first camera is started and before the first camera starts shooting (which can be called the viewfinding process), it can be displayed on the first display screen.
  • a preview image (which may be called a viewfinder image) collected in real time by the first camera.
  • the first display screen faces the person being photographed, and the person being photographed can view the preview image including himself captured by the first camera in real time through the first display screen.
  • the preview image you see you can shoot an image you are more satisfied with.
  • the preview image refers to the image captured during the framing process.
  • screen B in the electronic device 100 may be a first display screen, and screen A opposite to screen B may be a second display screen.
  • the camera 201b included in the B screen is the first camera.
  • the second display screen is a complete screen of the integrated structure.
  • the electronic device 100 also displays a switch option 301 on the second display screen.
  • the switch option 301 is used to trigger the electronic device 100 to synchronously display a preview image on the first display screen.
  • the switch option 301 is turned on (ON)
  • the electronic device displays a preview image captured by the first camera 201b in real time on the first display screen, as shown in (b) in FIG. 3 .
  • the electronic device displays the preview image captured by the first camera in real time on the first display screen facing the person being photographed. Then, some information that the subject needs to use for shooting is not displayed to the subject through the electronic device during the shooting process of the electronic device. In this case, the subject also needs to use an item with information recording function to record the information. Then, during the shooting process of the first camera in the electronic device, the information is checked through the item to complete the shooting.
  • the embodiment of this application proposes A method for shooting and displaying.
  • an electronic device can display information (such as text) required for shooting on a first display screen facing a person being photographed.
  • the subject can check the information on the electronic device while using the electronic device to take pictures, without using other items except the electronic device, making the shooting process more convenient and easier to realize.
  • the above-mentioned shooting process refers to a process in which the first camera shoots a video.
  • the shooting process can be video recording, video call or live broadcast, etc.
  • the shooting process can be a video.
  • the electronic device 100 detects the user’s trigger operation on the camera on the second display screen, and can start the first camera 201b, and display the camera on the second display screen.
  • the camera interface 410 includes preview images captured by the first camera 201b.
  • the electronic device 100 detects the user's shooting control operation on the first camera 201b (which may be referred to as starting a video recording operation), and then controls the first camera 201b to start video recording.
  • the electronic device 100 receives the user's shooting control operation on the first camera 201b again (which may be referred to as a stop recording operation), it controls the first camera 201b to stop recording and saves the recorded video.
  • the process before video recording can be referred to as a viewfinding process.
  • the video recording process of the first camera may be referred to as a shooting process.
  • the camera interface 410 may include a shooting button 411 , and the shooting control operation may be a click operation on the shooting button 411 .
  • the camera corresponds to multiple shooting modes, and the multiple shooting modes may include short video, photo taking, portrait, etc. in addition to video recording.
  • the electronic device 100 may detect the user's selection operation of any shooting mode (eg, video recording), and control the first camera to capture images in the shooting mode.
  • the electronic device 100 uses any shooting mode as a default shooting mode, and the first camera collects images in this shooting mode after being started.
  • the electronic device 100 may directly start the first camera upon detection of a user's trigger operation on the camera. Alternatively, when the electronic device 100 detects a user's trigger operation on the camera, other cameras in the electronic device 100 may be started. Then, the electronic device 100 detects and responds to the user's trigger operation on the first camera, and then starts the first camera.
  • the electronic device 100 detects the user’s trigger operation on the video call on the first display screen, and can start the first camera 201a, and display on the first display screen Video call interface 420, and send a video call connection request to other electronic devices.
  • the video call interface 420 includes a preview image captured by the first camera 201b.
  • the first camera 201a continues to capture images. Until the electronic device 100 receives the user's end operation on the video call (for example, a click operation on the call control operation 421 ), the first camera 201a is controlled to stop working.
  • the process from starting to stopping of the first camera 201a may be referred to as a shooting process.
  • the video call interface 420 shown in (b) of FIG. 4 is the interface before other electronic devices respond to the video call connection request.
  • the video call interface 420 may include Ms. A's avatar or other identifications.
  • the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), or a netbook.
  • the server in this embodiment of the application may be a cloud server or a server cluster. The embodiment of the present application does not impose any limitation on the specific form of the electronic device and the server.
  • the electronic device 100 may include: a processor 510, an external memory interface 520, an internal memory 521, a universal serial bus (universal serial bus, USB) interface 530, a charging management module 540, a power management module 541, a battery 542, antenna 1, antenna 2, mobile communication module 550, wireless communication module 560, audio module 570, speaker 570A, receiver 570B, microphone 570C, earphone jack 570D, sensor module 580, button 590, motor 591, indicator 592, camera 593 (may include a camera 1-N), a display screen 594 (such as a touch screen), and a subscriber identification module (subscriber identification module, SIM) card interface 595 (may include a SIM card interface 1-N) and the like.
  • the above-mentioned sensor module 580 may include sensors such as pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor and bone conduction sensor.
  • sensors such as pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor and bone conduction sensor.
  • the display screen 594 may include a first display screen, and may also include a second display screen.
  • the camera 593 may include a first camera facing the same direction as the first display screen, and may also include a second camera facing the same direction as the second display screen.
  • the entire area where the first display screen is located may be provided with a touch sensor, and the touch sensor is used for sensing a touch operation.
  • the entire area where the second display screen is located may also be provided with a touch sensor.
  • the structure shown in this embodiment does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 510 may include one or more processing units, for example: the processor 510 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • graphics processing unit graphics processing unit
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit, NPU
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 510 for storing instructions and data.
  • the instructions are used to be executed by the processor 501 to implement the photographing and display method provided by the embodiment of the present application.
  • the memory in processor 510 is a cache memory.
  • the memory may hold instructions or data that the processor 510 has just used or recycled. If the processor 510 needs to use the instruction or data again, it can be directly recalled from the memory. Repeated access is avoided, and the waiting time of the processor 510 is reduced, thus improving the efficiency of the system.
  • the interface connection relationship between the modules shown in this embodiment is only for schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 540 is used for receiving charging input from the charger. While the charging management module 540 is charging the battery 542 , it can also supply power to the electronic device through the power management module 541 . In some other embodiments, the power management module 541 and the charging management module 540 may also be set in the same device.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 550, the wireless communication module 560, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 550 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 550, so that the electronic device 100 can use a mobile cellular network to perform wireless communication.
  • the wireless communication module 560 can provide wireless local area network (wireless local area networks, WLAN) (such as Wi-Fi network), bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS) applied on the electronic device 100. ), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • WLAN such as Wi-Fi network
  • bluetooth bluetooth, BT
  • global navigation satellite system global navigation satellite system
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the electronic device 100 realizes the display function through the GPU, the display screen 594 (eg, the first display screen, the second display screen), and the application processor.
  • the GPU is a microprocessor for image processing, connected to the display screen 594 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 510 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 593 , the video codec, the GPU, the display screen 594 and the application processor.
  • the external memory interface 520 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 510 through the external memory interface 520 to implement a data storage function. For example, save at least one preset text in an external memory card.
  • the internal memory 521 may be used to store computer-executable program codes including instructions.
  • the internal memory 521 can also be used to store at least one preset text.
  • the processor 510 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 521 .
  • the electronic device 100 can implement audio functions through the audio module 570 , the speaker 570A, the receiver 570B, the microphone 570C, the earphone interface 570D, and the application processor.
  • the gyro sensor can be used to determine the motion posture of the electronic device 100 .
  • the acceleration sensor can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the keys 590 include a power key, a volume key and the like.
  • the key 590 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 591 can generate a vibrating reminder.
  • the motor 591 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • the indicator 592 can be an indicator light, which can be used to indicate the charging status, the change of the battery capacity, and can also be used to indicate messages, missed calls, notifications and so on.
  • the SIM card interface 595 is used for connecting a SIM card.
  • SIM card interface 595 can support Nano SIM card, Micro SIM card, SIM card etc.
  • FIG. 6 is a flowchart of a shooting and displaying method provided by an embodiment of the present application.
  • the shooting and displaying method may include S601-S603.
  • the first camera in the electronic device collects images, and displays the real-time images collected by the first camera on the shooting interface of the first display screen or/and the second display screen, wherein the real-time images collected by the first camera include a subject.
  • the first camera in the electronic device is collecting images, that is, it is in a working state.
  • the electronic device can display images captured by the first camera in real time on the shooting interface of the first display screen or/and the second display screen.
  • the shooting interface corresponds to the first interface mentioned in the embodiment of the present application.
  • the electronic device can display a shooting interface on the first display screen and/or the second display screen while the first camera is working.
  • the shooting interface is used to display images collected by the camera in the electronic device, control options for the camera, and the like.
  • the electronic device may detect the user's activation operation on the camera on the first display screen or the second display screen.
  • the electronic device activates the first camera in response to the activation operation.
  • the electronic device may further include a second camera, and the electronic device may start the second camera in response to the starting operation. Then, the electronic device can detect the switching operation of the camera by the user on the first display screen or the second display screen. In response to the switching operation, the electronic device turns off the second camera and turns on the first camera. Wherein, the second camera and the first camera are set facing away from each other. The conversion option is used to trigger the electronic device to change the working state of the first camera and the second camera.
  • the electronic device detects a first user operation on the shooting interface, and in response to the first operation, displays at least one preset text on the shooting interface of the first display screen or/and the second display screen.
  • the shooting interface including at least one preset text corresponds to the second interface mentioned in the embodiment of the present application.
  • At least one preset text can be used to prompt the subject.
  • Any preset text can be a memo, or a document in any format (such as a word document, an excel document, a document in Portable Document Format (PDF)).
  • PDF Portable Document Format
  • the prompt is, for example, used to remind the subject of the speech when the speech is recorded, it can also be used to remind the host speech when the host hosts, or it can be any other scene to remind the subject.
  • the electronic device may directly acquire at least one preset text in response to the first operation, and display the at least one preset text on the shooting interface of the first display screen or/and the second display screen.
  • At least one preset text is a text stored locally or a text obtained from a server.
  • the first operation is used to trigger the electronic device to obtain at least one preset text.
  • the electronic device may acquire at least one preset text, pop up a preset window on the shooting interface, and display the at least one preset text in the preset window.
  • the preset window is used to display at least one preset text.
  • the preset window can be a pop-up window or a floating window.
  • the electronic device before the electronic device detects the user's first operation on the shooting interface, it detects the user's operation on at least one preset application program on the shooting interface. Then, the electronic device displays at least one preset application program on the shooting interface in response to the operation on the at least one preset application program. The electronic device then detects the user's operation on the target application program in at least one preset application program on the shooting interface; the operation on the target application program is the first operation. In response to the operation of the target application, at least one preset text supported by the target application is acquired, and the at least one preset text is displayed on the shooting interface of the first display screen or/and the second display screen.
  • At least one preset application program is an application program installed in the electronic device and supports the processing of text content.
  • the operation on the at least one preset application program is used to trigger the electronic device to obtain the at least one preset application program.
  • the operation on the target application is used to trigger the electronic device to obtain at least one preset text that the target application supports to process.
  • the electronic device may detect and respond to the user's operation on at least one preset application program on the shooting interface, and pop up a preset window on the shooting interface. At least one preset application is displayed in the settings window. Then, the electronic device detects and responds to the user's operation on the target application in the at least one preset application, and displays in the preset window at least one preset text that the target application supports to process.
  • the electronic device may display at least one preset text or at least one preset application program on the shooting interface of the first display screen or/and the second display screen according to a preset display sequence.
  • the electronic device can also display at least one preset application program on the shooting interface according to the preset display order.
  • the preset display sequence may be the preset sequence for at least one preset text or at least one preset application program, or the interval between the latest use time of at least one preset text or at least one preset application program and the current time
  • the order of magnitude of the time difference may also be the order of magnitude of the frequency of use of at least one preset text or at least one preset application program.
  • the electronic device in the scene where the photographer uses the first camera to take a selfie, can display the shooting interface (such as the camera interface 410, the video call interface 420) on the first display screen when the first camera is in the working state. ).
  • the shooting interface includes images collected by the first camera in real time.
  • the electronic device may detect the user's operation on at least one preset application program, the first operation, on the shooting interface of the first display screen.
  • the electronic device may also detect the user's start operation and switch operation of the camera on the shooting interface of the first display screen.
  • the above-mentioned first operation may be a first preset sliding operation.
  • the shooting interface includes a first option, and the above-mentioned first operation may be a user's click operation on the first option.
  • the first option is used to trigger the electronic device to acquire and display at least one preset text.
  • the above-mentioned operation on at least one preset application program may be a second preset sliding operation.
  • the shooting interface includes a second option, and the above-mentioned operation on at least one preset application program is a user's click operation on the second option.
  • the second option is used to trigger the electronic device to obtain and display at least one preset text application program.
  • the above-mentioned operation on the target application program may be a click operation on the target application program.
  • first preset sliding operation and the second preset sliding operation may be the same or different.
  • the shooting process is a video recording process as an example, in the Selfie scene
  • the photographer uses the camera 201a in the electronic device 100 to collect images, and the camera 201a
  • the screen A facing the same is the first display screen facing the subject, and the camera 201a is the first camera.
  • the first display screen is a complete screen of the integrated structure.
  • the electronic device 100 displays a shooting interface 710 on the first display screen.
  • the shooting interface 710 includes images captured by the first camera 201a in real time.
  • the shooting interface 710 may also include a conversion option 711, a shooting button 712, a first option 713, and multiple options corresponding to multiple shooting modes.
  • the conversion option 711 is used to trigger the electronic device to change the working state of the first camera and the second camera.
  • the above conversion operation may be a click operation on the conversion option 711 .
  • the shooting button 712 is used to trigger the electronic device to control the camera to start or stop shooting (for example, start or stop video recording).
  • the first option 713 is used to trigger the electronic device to acquire at least one preset text.
  • the option of any shooting mode is used to trigger the working camera to capture images in this shooting mode.
  • the electronic device 100 may detect the user's click operation on the first option 713 on the shooting interface 710 of the first display screen.
  • the user's click operation on the first option 713 is the first operation.
  • the electronic device 100 acquires at least one preset text in response to the first operation, and pops up a preset window 714 on the shooting interface 710 .
  • the electronic device 100 may display the sorted at least one preset text in the preset window 714 .
  • the at least one sorted preset text displayed in the preset window 714 may be: a plurality of memos sorted from small to large according to the time difference between the latest use time and the current time.
  • the electronic device in the scene where the photographer uses the first camera to take pictures by himself, may include a second display screen arranged opposite to the first display screen.
  • the electronic device displays a shooting interface (eg, camera interface 410 , video call interface 420 ) on the second display screen.
  • the electronic device may detect the user's operation on at least one preset application program, the first operation, on the shooting interface of the second display screen.
  • the electronic device can also detect the user's start operation on the camera and the user's conversion operation on the camera on the shooting interface of the second display screen.
  • the electronic device detects the user's operation on at least one preset application program on the shooting interface of the second display screen and the specific process of the first operation.
  • the detailed introduction of the operation of at least one preset application program and the first operation on the shooting interface of the present application will not be repeated here in the embodiment of the present application.
  • the shooting process is a video recording process as an example.
  • 201b facing the same B screen is the first display screen facing the subject
  • the camera 201b is the first camera
  • the A screen is the second display screen
  • the camera 201a is the second camera.
  • the electronic device 100 displays a shooting interface 810 on the second display screen.
  • the shooting interface 810 includes images captured by the first camera 201b in real time.
  • the shooting interface 810 may also include a conversion option 811, a shooting button 812, and multiple options corresponding to multiple shooting modes. Capture interface 810 does not include the first option.
  • the electronic device 100 may detect the user's first preset sliding operation on the shooting interface 810 of the second display screen.
  • the first preset sliding operation is a first operation.
  • the electronic device 100 acquires at least one preset text in response to the first operation, and pops up a preset window 813 on the shooting interface 810 .
  • the electronic device 100 may display at least one preset text in the preset window 813 .
  • the first preset sliding operation shown in (a) in FIG. 8A is sliding from the bottom end of the second display screen to the middle of the second display screen.
  • the first preset sliding operation can also be from any edge (eg, left, right) of the second display screen to the second display screen. Sliding in the middle can also be double-clicking or clicking any control on the second display screen, or a voice control operation, or a gesture control operation.
  • the embodiment of the present application does not limit the specific form of the first preset sliding operation.
  • the electronic device 100 may detect the user's first preset sliding operation on the shooting interface 810 of the second display screen, as shown in (a) in FIG. 8B (ie, (a) in FIG. 8A ).
  • the first preset sliding operation is a first operation.
  • the electronic device 100 can directly obtain a preset text 814 in response to the first operation, and pop up a preset window 813 on the shooting interface 810, and display the preset text in the preset window 813.
  • Set text 814 may be a default preset text, or a recently used preset text.
  • the preset text 814 is the target text 814 .
  • the shooting process is a video recording process as an example.
  • 201b facing the same B screen is the first display screen facing the subject
  • the camera 201b is the first camera
  • the A screen is the second display screen
  • the camera 201a is the second camera.
  • the electronic device 100 displays a shooting interface 910 on the second display screen.
  • the shooting interface 910 includes images captured by the first camera 201b in real time. Capture interface 910 does not include the first option.
  • the electronic device 100 may detect the user's second preset sliding operation on the shooting interface 910 of the second display screen.
  • the second preset sliding operation is an operation on at least one preset application program; the second preset operation is the same as the above-mentioned first preset operation, and will not be repeated here.
  • the electronic device 100 obtains at least one preset application program in response to an operation on the at least one preset application program, and pops up a preset window 911 on the shooting interface 910 .
  • the electronic device 100 may display sequentially sorted at least one preset application program in the preset window 911 .
  • the at least one sorted preset application program displayed in the preset window 911 is: at least one preset application program sorted according to the time difference between the latest use time and the current time from small to large.
  • the electronic device 100 may detect the user's click operation on the application program 1 in the preset window 911 .
  • a click operation on the application 1 is an operation on the target application.
  • the electronic device 100 acquires at least one preset text that the target application program supports processing in response to the operation on the target application program, and displays at least one preset text in the preset window 911, Alternatively, at least one preset text sorted according to a preset display order is displayed.
  • the second preset sliding operation shown in (a) in FIG. 9 is sliding from the right side of the second display screen to the middle of the second display screen and then pausing.
  • the second preset sliding operation can also be from any edge (such as, left, right) of the second display screen to the second display screen Swipe in the middle and pause again, and the embodiment of the present application does not limit the specific form of the second preset sliding operation.
  • the electronic device detects the user's second operation on the target text in at least one preset text, and in response to the second operation, displays the target text on the first display screen; the target text is for the person being photographed to view the text .
  • the electronic device may display the target text on the shooting interface of the first display screen facing the subject. Then, the subject checks the content of the target text through the first display screen during the shooting process, so as to help himself complete the shooting.
  • the shooting interface including the target text displayed on the first display screen corresponds to the third interface mentioned in the embodiment of the present application.
  • the electronic device can also detect the user's shooting control operation on the first camera.
  • the electronic device controls the first camera to start shooting, and the first camera enters a shooting process.
  • the shooting control operation is used to trigger the first camera to start shooting video.
  • the electronic device may directly obtain the target text, and display the target text on the shooting interface of the first display screen.
  • the target text may be a default preset text, or a recently used preset text.
  • the shooting interface of the first display screen may also include part or all of the images captured by the first camera in real time.
  • the electronic device in addition to displaying the target text on the shooting interface of the first display screen, can also display part or all of the images captured by the first camera in real time, so that the person being photographed can check the real-time shooting effect.
  • the electronic device displays a part of the image captured by the first camera in real time, indicating that the target text on the shooting interface of the first display screen blocks the image captured by the first camera in real time, that is, the target text is displayed on the shooting interface of the first display screen It is displayed on top of the image captured by the first camera in real time.
  • the electronic device displays all the images collected in real time by the first camera, which means that both the target text and the images collected in real time by the first camera are completely displayed on the shooting interface of the first display screen.
  • the electronic device in response to the second operation, may pop up a prompt window (which may be referred to as the first prompt window) on the first display screen, and display the target text in the first prompt window.
  • the first prompt window is used to display the content of the target text.
  • the first prompt window can be a pop-up window or a floating window.
  • the electronic device in the scene where the photographer uses the first camera to take photos, may include a second display screen that is set opposite to the first display screen. In this case, the electronic device receives a second operation on the target text on the second display screen, and in response to the second operation, the target text is displayed on both the shooting interface of the first display screen and the shooting interface of the second display screen.
  • the shooting interface including the target text displayed on the second display screen corresponds to the fourth interface mentioned in the embodiment of the present application.
  • the shooting interface of the second display screen may also include part or all of the images captured by the first camera in real time.
  • the electronic device in addition to displaying the target text on the shooting interface of the second display screen, can also display part or all of the images captured by the first camera in real time, so that the photographer can check the real-time shooting effect.
  • the electronic device displays a part of the image captured by the first camera in real time, indicating that the target text on the shooting interface of the second display screen blocks the image captured by the first camera in real time, that is, the target text is displayed on the shooting interface of the second display screen It is displayed on top of the image captured by the first camera in real time.
  • the electronic device displays all the images collected in real time by the first camera, which means that both the target text and the images collected in real time by the first camera are completely displayed on the shooting interface of the second display screen.
  • the electronic device may pop up a prompt window (which may be referred to as a second prompt window) on the shooting interface of the second display screen, and display the target text in the second prompt window.
  • the second prompt window is used to display the content of the target text.
  • the second prompt window can be a pop-up window or a floating window.
  • the electronic device closes the preset window in the shooting interface, and pops up a first prompt window on the shooting interface.
  • the electronic device receives a second operation on the target text on the second display screen, and in response to the second operation, the target text may first be displayed on the shooting interface of the second display screen. Then, the electronic device displays the target text on the first display screen in response to the synchronization request operation when receiving the synchronization request operation from the user.
  • the synchronization request operation is used to trigger the electronic device to synchronously display the target text on the first display screen.
  • the shooting interface may include a teleprompter switch option (for example, the second teleprompter window includes a teleprompter switch option), and the synchronous request operation may be an operation of setting the teleprompter switch option to an on state.
  • the teleprompter switch option in the open state is used to trigger the electronic device to synchronously display the target text on the first display screen.
  • the shooting interface 710 of the first display screen includes a preset window 714, and the preset window 714 includes at least one sorted preset text.
  • the electronic device 100 detects a user's click operation on a certain preset text 715 in the preset window 714 on the first display screen. Wherein, the click operation on the preset text 715 is the second operation on the target text.
  • the default text 715 is a memo.
  • the electronic device 100 closes the preset window 714 in response to the second operation, and displays the content of the preset text 715 on the shooting interface 710, and also displays the first camera 201a on the shooting interface 710. Part of the captured image.
  • the second operation on the target text may also be a drag operation on the preset text 715 or a voice control operation, and this embodiment of the present application does not limit the specific form of the second operation.
  • the shooting interface 810 includes a preset window 813, and the preset window 813 includes at least one preset text.
  • the electronic device 100 detects a user's click operation on a certain preset text 814 in the preset window 813 on the second display screen.
  • the preset text 814 is the target text
  • the click operation on the target text 814 is the second operation on the target text.
  • the target text 814 is a word document.
  • the electronic device 100 closes the preset window 813 in the second display screen, and pops up a second prompt window 815 on the shooting interface 810 .
  • the target text 814 is displayed in the prompt window 815 , and a part of the image captured by the first camera 201 b is also displayed on the shooting interface 810 .
  • the second prompt window 815 may include a prompt switch option 816 .
  • the electronic device 100 detects the user's click operation on the teleprompter switch option 816 .
  • the user's click operation on the teleprompter switch option 816 is a synchronous request operation.
  • the electronic device 100 pops up a first prompt window 820 on the first display screen, and displays the target text 814 in the first prompt window 820, as shown in (d) of FIG. 8A .
  • the synchronization request operation is used to set the teleprompter switch option 816 to an on state.
  • the electronic device 100 may also change the color of the prompt switch option 816 to black to indicate that the prompt switch option 816 is in an on state.
  • the electronic device 100 may detect and respond to the user's closing operation on the preset window 813, and close the preset window 813 on the second display screen.
  • the user's closing operation on the preset window 813 may be a sliding operation opposite to the first preset sliding operation, for example, a downward sliding operation from the top of the preset window 813 .
  • the shooting interface 810 includes a preset window 813 including the target text.
  • the electronic device 100 detects the user's click operation on the target text 814 in the preset window 813 on the second display screen.
  • a click operation on the target text 814 is a second operation on the target text.
  • the target text 814 is a word document.
  • the electronic device 100 pops up a first prompt window 820 on the first display screen, and displays the target text 814 in the first prompt window 820 .
  • the electronic device detects and responds to the user's first operation, and displays at least one preset text on the first display screen or/and the second display screen. Then, the electronic device may detect and respond to the user's second operation on the target text in the at least one preset text, and display the content of the target text on the first display screen facing the subject. In this way, the user can select the target text required for shooting by the subject through the second operation, and the target text required for shooting can be displayed on the first display screen facing the subject.
  • the subject can view the content of the target text on the electronic device while taking pictures with the electronic device, realizing the function of prompting the subject through the target text; and, no need to use the electronic device Other items besides make the shooting process more convenient and easier to realize.
  • the electronic device since the first display screen is facing the subject, in order to enable the subject to clearly see the content of the target text from the first display screen, the electronic device may adopt the first display effect on the first display
  • the target text is displayed on the first display screen, so as to enhance the contrast between the target text and the background of the area where the target text is located in the first display screen.
  • a photographing and displaying method provided by an embodiment of the present application is applied to an electronic device including a first display screen and a second display screen.
  • the method may not include S603, but include S1001.
  • the electronic device detects the user's second operation on the target text in at least one preset text, and in response to the second operation, uses the preset first display effect to display the target text on the shooting interface of the first display screen, using The preset second display effect displays the target text on the shooting interface of the second display screen.
  • both the first display effect and the second display effect may include at least one of the following: size of the prompt window, text size, font thickness, background color of the prompt window, transparency of the prompt window, and text color.
  • the first display effect and the second display effect may be the same or different.
  • the background color of the prompt window is black
  • the text color is white.
  • the text size in the first display effect is larger, for example, much larger than the text size used by the electronic device to display content other than the target text.
  • the font weight in the first display effect is thicker, for example, thicker than the font weight used by the electronic device to display other content except the target text.
  • the second display effect may be the same as that used by the electronic device to display other content except the target text.
  • the second display effect is another display effect different from the first display effect.
  • the contrast between the target text and the background of the area where the target text is located is relatively weak.
  • the background color of the prompt window in the second display effect is white, and the text color is black.
  • the size of the text in the preset first display effect may be n times the size of the text in the preset second display effect; n may be a number greater than 1.
  • the second display effect shown in (c) in FIG. 8A is different from the first display effect shown in (d) in FIG. 8A .
  • the text size of the second display effect is different from that of the first display effect, and the window size of the prompt window is different.
  • the electronic device displays the target text on the first display screen with a larger text size.
  • the first display screen may display part of the target text, and the remaining content of the target text needs to be displayed manually or automatically by the user.
  • the electronic device may control the second display screen to also display part of the target text displayed on the first display screen. In this way, the photographer can determine the content currently displayed to the subject by the first display screen through the second display screen.
  • the electronic device may detect the user's adjustment operation on the display content of the first display screen on the second display screen, so as to control the first display screen to display the remaining content of the target text.
  • a photographing and displaying method provided in the embodiment of the present application may further include S1002 after S1001 .
  • the electronic device determines that the preset synchronization rule is that the text content displayed on the first display screen is the same as the text content displayed on the second display screen, adjust the second display effect according to the first display effect, and adopt the adjusted The second display effect displays the target text on the shooting interface of the second display screen.
  • the electronic device determines that the preset synchronization rule is that the text content displayed on the first display screen is different from the text content displayed on the second display screen, the second display effect may not be adjusted.
  • the preset synchronization rule is preset by the electronic device so that the text content displayed on the first display screen is the same or different from the text content displayed on the second display screen, and the electronic device can also detect and respond to the modification operation of the preset synchronization rule by the user, Modify default sync rules.
  • the content display effect in the second display effect can be set to The content display effect in the first display effect is the same, so that the content of the target text displayed on the second display screen using the adjusted second display effect is the same as the content of the target text displayed on the first display screen.
  • the content display effect may be a display effect that affects the content quantity of the target text displayed on the display screen.
  • the content display effect may include the size of the teleprompter window and the size of the text.
  • the display effects other than the content display effect in the second display effect may be the same as or different from the other display effects except the content display effect in the first display effect.
  • the electronic device 100 uses a preset second display effect to display the target text 814 on the shooting interface of the second display screen, as shown in (a) in FIG. 11 (that is, (c) in FIG. 8A ).
  • the electronic device 100 displays the target text 814 on the first display screen, as shown in (b) in FIG. 11 (ie, (d) in FIG. 8A ).
  • the electronic device 100 may adjust the size of the text in the second display effect and the size of the prompt window according to the size of the text in the first display effect and the size of the prompt window. As shown in (c) in Figure 11, the electronic device 100 adjusts the size of the second prompt window 815 to be equal to the size of the first prompt window 820, and adjusts the size of the text in the second prompt window 815 to be equal to the first prompt window Text size in 820. Furthermore, the content quantity of the target text displayed in the adjusted second prompt window 815 is also equal to the content quantity of the target text displayed in the first prompt window 820 .
  • the electronic device in addition to setting the content display effect in the second display effect to be the same as the content display effect in the first display effect, the electronic device may not set the content display effect in the second display effect to be the same as that in the first display effect.
  • the display effect of the content of the second display screen is the same, but the prompt content displayed on the shooting interface of the second display screen is marked.
  • the content of the prompt is the content of the target text currently displayed on the shooting interface of the first display screen.
  • the electronic device may determine that all content belonging to the target text currently displayed on the shooting interface of the first display screen is prompt content.
  • the electronic device marks the prompt content on the shooting interface of the second display screen.
  • the electronic device can use at least one of the following methods to mark the content of the prompt: marking the content of the prompt with a color block, marking the content of the prompt with an underline, bolding the font of the text of the content of the prompt, modifying the color of the text of the content of the prompt, etc. Wait.
  • the electronic device 100 adopts the preset second display effect on the second display screen.
  • the shooting interface displays the target text, as shown in (a) in FIG. 13 (that is, (c) in FIG. 8A ).
  • the electronic device 100 displays the target text on the first display screen, as shown in (b) in FIG. 13 (ie, (d) in FIG. 8A ).
  • the electronic device 100 may determine that all content belonging to the target text displayed in the first prompt window 820 is the prompt content. The electronic device 100 then underlines the content of the prompt in the second prompt window 815, and thickens the font of the content of the prompt, as shown in (c) in FIG. 13 .
  • the first display effect adopts a larger text size than the second display effect. Therefore, the content quantity of the target text displayed on the second display screen is larger than the content quantity of the target text displayed on the first display screen. That is to say, the content of the target text currently displayed on the second display screen may include the content of the target text currently displayed on the first display screen (ie, prompt content). Furthermore, the electronic device may mark the prompt content included in the second display screen.
  • the electronic device after the electronic device uses the first display effect to display the target text on the shooting interface of the first display screen, it can also detect the user's preference for any one of the first display effect, the second display effect, and the preset synchronization rule. Modify operation. Then, in response to the modification operation, the first display effect and/or the second display effect are modified.
  • the electronic device can detect the user's modification operation on the first display effect on the shooting interface of the first display screen, and modify the first display effect in response to the modification operation. Effect.
  • the electronic device can detect the user's modification operation on the first display effect or the second display effect on the shooting interface of the first display screen or the second display screen , in response to the modifying operation, modify the first display effect or the second display effect, or modify the first display effect and the second display effect simultaneously.
  • the electronic device determines that the preset synchronization rule is that the text content displayed on the first display screen is the same as the text content displayed on the second display screen, it detects that the user displays the content in the first display effect or the second display effect.
  • the effect modification operation can simultaneously modify the content display effect in the first display effect and the content display effect in the second display effect (eg, the size of the prompt window and the size of the text).
  • the electronic device detects that the user has changed the size of the text in the second display effect on the shooting interface of the second display screen.
  • a modifying operation in response to the modifying operation, modifying the specific process of the first display effect and the second display effect.
  • the shooting and display method provided by the embodiment of the present application may include S1401 .
  • the electronic device detects that the user modifies the text size in the second display effect, adjusts the text size in the second display effect and the text size in the first display effect, and adopts the adjusted text on the shooting interface of the first display screen
  • the target file is displayed with the first display effect, and the target file is displayed with the adjusted second display effect on the shooting interface of the second display screen.
  • the electronic device can detect the user's modification operation on the text size in the second display effect on the second display screen.
  • the electronic device can adjust the text size of the target file displayed on the shooting interface according to the text size in the adjusted second display effect.
  • the electronic device can adjust the text size of the target file displayed on the first display screen according to the text size in the adjusted first display effect.
  • the shooting interface of the second display screen may include shooting setting options.
  • the electronic device can detect and respond to the user's click operation on the shooting setting option, and pop up a shooting setting pop-up window in the shooting interface.
  • the shooting setting pop-up window may include options corresponding to the second display effect and the like.
  • the electronic device may detect and respond to the user's click operation on the option corresponding to the second display effect (corresponding to the operation on the option corresponding to the second display effect mentioned in the embodiment of the present application), close the shooting setting pop-up window, and
  • the effect setting pop-up window pops up in the shooting interface.
  • the effect setting popup window may include multiple setting options corresponding to the second display effect.
  • the electronic device detects and responds to the user's setting operation of the text size in the multiple setting options corresponding to the second display effect, and adjusts the text size in the second display effect and the text size in the first display effect.
  • the user's setting operation of the text size in the multiple setting options corresponding to the second display effect is an operation of modifying the text size in the second display effect.
  • the shooting setting pop-up window may also include options corresponding to the first display effect, options corresponding to a preset synchronization rule, and the like.
  • Multiple setting options may also include the size of the prompt window, font thickness, background color of the prompt window, transparency of the prompt window, text color, and the like.
  • the electronic device 100 displays a second prompt window 815 on the shooting interface 810 of the second display screen, as shown in (a) in FIG. 15 (that is, (c) in FIG. 8A ).
  • the second prompt window 815 includes capture setting options 817 .
  • the electronic device 100 may detect the user's click operation on the shooting setting option 817 (corresponding to the operation on the shooting setting option mentioned in the embodiment of the present application), and pop up a shooting setting pop-up window 818 in the shooting interface 810 .
  • the shooting setting pop-up window 818 may include options corresponding to the first display effect, options corresponding to the second display effect, and options corresponding to a preset synchronization rule.
  • the electronic device 100 may detect and respond to the user's click operation on the option corresponding to the second display effect, close the shooting setting pop-up window 818 , and pop up an effect setting pop-up window 819 in the shooting interface 810 .
  • the effect setting popup window 819 may include multiple setting options corresponding to the second display effect.
  • the electronic device 100 may then detect and respond to the user's setting operation of the text size in the multiple setting options corresponding to the second display effect, and adjust the text size in the second display effect and the text size in the first display effect.
  • the prompt switching option 816 may also be included in the shooting setting pop-up window 818 .
  • the embodiment of the present application does not limit the setting method of the teleprompter switch option 816, the shooting setting option 817 and other options mentioned in the embodiment of the present application.
  • the user's modification operation on the size of the text in the second display effect may be a preset touch operation.
  • the user's operation to modify the text size in the second display effect may be a two-finger spread operation or a two-finger pinch operation.
  • the two-finger spreading operation is used to trigger the electronic device to enlarge the size of the text in the second display effect.
  • the two-finger pinching operation is used to trigger the electronic device to reduce the size of the text in the second display effect.
  • the electronic device may determine a zoom factor corresponding to the modification operation in response to the user's modification operation on the text size in the second display effect. Then, the electronic device respectively scales the text size in the second display effect and the text size in the first display effect according to the scaling factor, and obtains the adjusted text size in the second display effect and the adjusted first display effect. The text size in the effect.
  • the electronic device may use the scaling factor to respectively scale the text size in the second display effect and the text size in the first display effect to obtain the adjusted text size in the second display effect and the adjusted text size in the first display effect.
  • - Displays the size of the text in the effect.
  • the electronic device may use the scaling factor to scale the text size in the second display effect to obtain the adjusted text size in the second display effect. Then, the electronic device multiplies the scaling factor by a preset coefficient to obtain a new scaling factor. Then, the new scaling factor is used to scale the text size in the first display effect to obtain the adjusted text size in the first display effect. For example, the default factor is 2, and a zoom factor is 1.5, and the new zoom factor is 3.
  • the text size in the second display effect is the same as the text size in the first display effect. Furthermore, the size of the text in the adjusted second display effect obtained by using the same scaling factor is also the same as the size of the text in the adjusted first display effect. Since the adjusted text size in the second display effect is the same as the adjusted text size in the first display effect, the amount of content displayed by the first display screen using the adjusted text size is different from that of the second display screen. The same goes for the change in the amount of content displayed with the adjusted text size.
  • the electronic device 100 uses the preset first display effect to display the target text on the first prompt window 820 in the first display screen, as shown in (a) in FIG. 16 (that is, (b) in FIG. 11 ). shown.
  • the electronic device 100 adopts the second display effect with the same text size and the size of the prompt window in the first display effect, and the second prompt window 815 in the second display screen displays the target text, as shown in FIG. 16 ( b) (ie (c) in Figure 11).
  • the electronic device 100 may receive, on the shooting interface 810 in the second display screen, the user's pinch-out operation for the second display effect. Then, in response to the pinch-out operation, the electronic device 100 determines the magnification factor corresponding to the pinch-out operation. Then, the electronic device 100 respectively enlarges the size of the characters in the second display effect and the size of the characters in the first display effect according to the magnification factor. As shown in (c) and (d) among Fig. 16, the adjusted font size in the first prompt window 820 is the same as the adjusted font size in the second prompt window 815, and the adjusted font size in the first prompt window 820 The adjusted content quantity and the adjusted content quantity in the second prompt window 815 are also the same.
  • the adjusted text size in the second display effect and the adjusted first display effect obtained by using the same zoom factor Text size in effects may vary. Since the adjusted text size in the second display effect is different from the adjusted text size in the first display effect, the amount of content displayed by the first display screen using the adjusted text size is different from that of the second display screen. The amount of content displayed varies differently with the adjusted text size.
  • the electronic device may also execute the above S1201-S1202 to determine the new prompt content, and mark the new prompt content on the shooting interface of the second display screen.
  • the electronic device 100 uses the preset first display effect to display the target text in the first prompt window 820 in the first display screen, as shown in (a) in FIG. 17 (that is, (b) in FIG. 13 ). shown.
  • the electronic device 100 uses the second display effect to display the target text in the second prompt window 815 in the second display screen, and underlines and bolds the text in the second prompt window 815, as shown in FIG. 17 (b) (that is, (c) in Figure 13).
  • the electronic device 100 may receive, on the shooting interface 810 in the second display screen, the user's pinch-out operation for the second display effect. Then, in response to the pinch-out operation, the electronic device 100 determines the magnification factor corresponding to the pinch-out operation. Then, the electronic device 100 respectively enlarges the size of the characters in the second display effect and the size of the characters in the first display effect according to the magnification factor. As shown in (c) and (d) of FIG. 17 , the adjusted font size in the first prompt window 820 is different from the adjusted font size in the second prompt window 815 . As shown in (c) in FIG.
  • the electronic device 100 determines that all content belonging to the target text displayed in the first prompt window 820 after adjustment is new. Prompt content. After the second prompt window 815 is adjusted, the displayed content also changes. The electronic device 100 underlines and bolds the new prompt content in the second prompt window 815 , as shown in (d) of FIG. 17 .
  • the first display screen may also include shooting setting options
  • the electronic device may detect the user's modification operation on the text size in the second display effect on the first display screen.
  • the electronic device detects that the user modifies the size of the text in the second display effect on the first display screen, and responds to the modification operation, and the specific process of modifying the first display effect and the second display effect can be referred to above.
  • the device detects that the user modifies the text size in the second display effect on the second display screen, and responds to the modification operation to modify the detailed introduction of the first display effect and the second display effect, which are not described here in this embodiment of the application. repeat.
  • the electronic device may also detect the user's modification operation on the second display effect except for the text size, or detect the user's modification operation on the first display effect, and modify the first display effect in response to the modification operation.
  • Display Effects and/or Secondary Display Effects wherein, the electronic device responds to the modification operation of other display effects in the second display effect except the text size, or the modification operation of the first display effect, and the specific process of modifying the first display effect and/or the second display effect.
  • the electronic device after the electronic device uses the first display effect to display the target text on the shooting interface of the first display screen, it can also display the target text according to some shooting information (such as ambient brightness, the distance between the subject and the first display screen) ), automatically adjust the first display effect, so that the subject can clearly see the content of the target text from the first display screen.
  • some shooting information such as ambient brightness, the distance between the subject and the first display screen
  • the electronic device obtains the current shooting information after displaying the target text on the shooting interface of the first display screen using a preset first display effect in response to the second operation. Then, the electronic device adjusts the first display effect according to the current shooting information and the preset corresponding relationship, and uses the adjusted first display effect to display the target text on the shooting interface of the first display screen.
  • the current shooting information includes at least one of the current ambient brightness and the current distance between the subject and the first display screen.
  • the preset correspondence includes at least one of a first preset correspondence and a second preset correspondence.
  • the first correspondence may include: a correspondence between distance and text size (for example, the farther the distance, the larger the text), and a correspondence between distance and font thickness (for example, the longer the distance, the thicker the font).
  • the second corresponding relationship may include: the corresponding relationship between ambient brightness, text color, and background color of the prompt window.
  • the text color corresponding to the first ambient brightness range is black, and the background color of the prompt window is white; the text color corresponding to the second ambient brightness range is white, and the background color of the prompt window is black.
  • the first ambient brightness range is smaller than the second ambient brightness range. It can be known that the second corresponding relationship can represent that the greater the ambient brightness, the greater the contrast between the text color and the background color of the prompt window.
  • the electronic device may measure the current ambient brightness through an ambient light sensor.
  • the electronic device may measure the current distance between the person being photographed and the first display screen by using a distance sensor (for example, an infrared distance measuring sensor).
  • the electronic device may also execute S1002, so as to continue to adjust the adjusted second display effect according to the adjusted first display effect (for example, execute the above S1002).
  • S1201-S1202 may also be executed to re-determine the prompt content.
  • the electronic device since the electronic device may display part of the content of the target text on the first display screen and the second display screen. Therefore, after the target text is displayed on the first display screen and the second display screen, the electronic device can also turn pages on both the content of the target text displayed on the first display screen and the content of the target text displayed on the second display screen, so as to The first display screen and the second display screen display the remainder of the target text.
  • page turning can be divided into manual page turning or automatic page turning.
  • the page turning operation used to trigger manual page turning may be a first page turning operation used to trigger turning a next page, or a second page turning operation used to trigger turning a previous page.
  • the page turning operation may be a sliding operation.
  • the first page turning operation and the second page turning operation are respectively a left sliding operation and a right sliding operation.
  • the first page turning operation and the second page turning operation are respectively an upward sliding operation and a downward sliding operation.
  • the second page turning operation is a click operation.
  • the embodiment of the present application does not limit the specific implementation manner of the page turning operation.
  • the electronic device 100 adopts the second display effect, and the second prompt window 815 in the second display screen displays the target text, as shown in (a) or (b) in FIG. 18 .
  • (a) and (b) in FIG. 18 are both (c) in FIG. 11 .
  • the electronic device 100 may receive the above-mentioned first page turning operation through the shooting interface 810 of the second display screen, and the first page turning operation is an upward sliding operation.
  • the electronic device 100 may receive the above-mentioned second page turning operation through the shooting interface 810 in the second display screen, and the second page turning operation is a click operation.
  • the shooting setting pop-up window may also include options corresponding to the playback mode.
  • the user can set the playback mode through the options corresponding to the playback mode, for example, setting the page turning operation to use left and right sliding operations, enabling automatic page turning, etc.
  • the specific process of the electronic device manually turning pages of the content of the target text displayed on the first display screen and the second display screen is described.
  • the electronic device detects the user's first page turning operation on the target text on the second display screen.
  • the electronic device responds to the first page turning operation, and at the same time, the shooting interface of the first display screen and the shooting interface of the second display screen The content of the next page of the target text is displayed on the shooting interface of the second display screen.
  • the electronic device displays the content of the target text displayed on the shooting interface of the first display screen and the shooting interface of the second display screen when the content of the target text is different.
  • Contents on the next page then, execute the above S1201-S1202 to determine the new prompt content; then scroll up the content of the target text by line on the shooting interface of the second display screen until the content displayed on the shooting interface of the second display screen
  • the content of the target text includes the new prompt content; the new prompt content is also marked on the shooting interface of the second display screen.
  • the shooting interface of the first display screen and the shooting interface of the second display screen can also be updated by scrolling by row.
  • the content of the target text is displayed on the shooting interface of the screen. Different from page turning, scrolling by row is the preset minimum number of rows for each scroll.
  • the electronic device 100 may detect and respond to the user's click operation on the shooting setting option 817 in the second prompt window 815, and pop up a shooting setting pop-up window 818 in the shooting interface 810 of the second display screen, as shown in FIG. 19 (a) (that is, (b) in Figure 15).
  • the shooting setting pop-up window 818 may include options corresponding to the playback mode.
  • the electronic device 100 can detect and respond to the user's click operation on the option corresponding to the playback mode (corresponding to the operation of the option corresponding to the playback mode mentioned in the embodiment of the present application), close the shooting setting pop-up window 818, and click on the shooting interface In 810, a playback setting pop-up window 1901 pops up.
  • the playback setting pop-up window 1901 may include options corresponding to manual page turning and whether to enable automatic page turning.
  • the electronic device 100 detects and responds to the user's operation of turning on the automatic page turning, and the second prompt window 815 enters the state of automatic page turning, and displays the current speed of the automatic page turning (such as, slow) prompt message 1902.
  • the electronic device 100 may detect and respond to the user's modification operation on the automatic page turning, and pop up an automatic page turning modification pop-up window 1903 in the shooting interface 810 .
  • the pop-up window 1903 for modifying automatic page turning includes options corresponding to the page turning speed adopted for automatic page turning, and an option of disabling automatic page turning.
  • the option corresponding to the page turning speed adopted for automatic page turning is used to trigger the electronic device 100 to modify the page turning speed adopted for automatic page turning.
  • the option corresponding to turning off automatic page turning is used to trigger the electronic device 100 to turn off automatic page turning.
  • An embodiment of the present application also provides an electronic device, and the electronic device may include a first display screen, a second display screen, a first camera, a processor, and a memory.
  • the first display screen and the first camera have the same orientation, and the first display screen and the second display screen are set facing away from each other.
  • the first display screen, the second display screen, the first camera, the memory and the processor are coupled.
  • the first camera is used to collect images.
  • the first display screen is used to display images and target text.
  • the memory is used to store computer program code, which includes computer instructions.
  • the processor is configured to execute computer instructions, so that the electronic device executes various functions or steps performed by the electronic device 100 in the foregoing method embodiments.
  • the embodiment of the present application also provides a chip system, as shown in FIG. 20 , the chip system 2000 includes at least one processor 2001 and at least one interface circuit 2002 .
  • the above-mentioned processor 2001 and the interface circuit 2002 may be interconnected through lines.
  • interface circuit 2002 may be used to receive signals from other devices (eg, memory of an electronic device).
  • the interface circuit 2002 may be used to send signals to other devices (such as the processor 2001 and the first display screen).
  • the interface circuit 2002 can read instructions stored in the memory, and send the instructions to the processor 2001 .
  • the electronic device may be made to perform various steps performed by the electronic device 100 in the foregoing embodiments.
  • the chip system may also include other discrete devices, which is not specifically limited in this embodiment of the present application.
  • the embodiment of the present application also provides a computer-readable storage medium.
  • Computer instructions are stored on the computer-readable storage medium.
  • the electronic device is made to execute the steps performed by the electronic device 100 in the above method embodiments. individual functions or steps.
  • the computer-readable storage medium can be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a read-only optical disc (Compact Disc Read-Only Memory, CD-ROM), Magnetic tapes, floppy disks, and optical data storage devices, etc.
  • the embodiment of the present application also provides a computer program product, including computer instructions, which can be run on the electronic device, so that the electronic device performs the various functions or steps performed by the electronic device 100 in the above method embodiments.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or It may be integrated into another device, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • an integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

Abstract

一种拍摄显示方法、电子设备及存储介质,涉及电子技术领域,实现电子设备在录像的同时向被拍摄者展示录像所需的信息,无需再使用除电子设备之外的其他物品,使得录像过程更方便、更易实现。具体方案应用于包括第一显示屏、第二显示屏和第一摄像头的电子设备,第一显示屏和第一摄像头的朝向相同。第一摄像头采集图像,在第一显示屏或/和第二显示屏的第一界面显示第一摄像头实时采集的图像;检测到用户在第一界面的第一操作;响应于第一操作,在第一显示屏或/和第二显示屏显示第二界面,第二界面包括至少一个预设文本;检测到用户对至少一个预设文本中的目标文本的第二操作;响应于第二操作,在第一显示屏显示第三界面,第三界面包括目标文本。

Description

一种拍摄显示方法、电子设备及存储介质
本申请要求于2021年06月11日提交国家知识产权局、申请号为202110656550.9、发明名称为“一种拍摄显示方法、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,尤其涉及一种拍摄显示方法、电子设备及存储介质。
背景技术
目前,用户在使用电子设备开始录像之前,对于录像需要使用的一些信息,需要使用具有信息记载功能的物品(如,纸张,其他电子设备)将这些信息记录下来。然后,在该电子设备录像的过程中,通过该物品查看这些信息,以帮助用户完成录像。
这样的话,用户使用这一个电子设备无法完成录像,对用户的录像过程带来不便。
发明内容
本申请实施例提供一种拍摄显示方法、电子设备及存储介质,可以实现一个电子设备在录像的同时向被拍摄者展示录像所需的信息,无需再使用除电子设备之外的其他物品,使得录像过程更方便、更易实现。
为实现上述技术目的,本申请实施例采用如下技术方案:
第一方面,本申请实施例提供了一种拍摄显示方法,应用于包括第一显示屏、第二显示屏和第一摄像头的电子设备,第一显示屏和第一摄像头的朝向相同,第一显示屏和第二显示屏背向设置,该方法包括:第一摄像头采集图像,并在第一显示屏或/和第二显示屏的第一界面显示第一摄像头实时采集的图像;然后,检测到用户在第一界面的第一操作,响应于该第一操作,在第一显示屏或/和第二显示屏显示第二界面,第二界面包括至少一个预设文本;再检测到用户对至少一个预设文本中的目标文本的第二操作,目标文本是用于为被拍摄者观看的文本;响应于第二操作,在第一显示屏显示第三界面,第三界面包括目标文本。
可以理解的是,在第一摄像头采集图像的时候,电子设备检测并响应用户的第一操作,在第一显示屏或/和第二显示屏显示至少一个预设文本。然后,电子设备可以检测并响应用户对至少一个预设文本中的目标文本的第二操作,在朝向被拍摄者的第一显示屏的第三界面显示目标文本的内容。如此,用户可以通过第二操作选择被拍摄者拍摄所需的目标文本,并可以在面向被拍摄者的第一显示屏显示拍摄所需的目标文本。这样的话,被拍摄者在使用该电子设备拍摄的同时可以在该电子设备上查看该目标文本的内容,实现了通过目标文本向被拍摄者提词的功能;并且,无需再使用除该电子设备之外的其他物品,使得拍摄过程更方便、更易实现。
在第一方面的一种可能的设计方式中,上述响应于第一操作,在第一显示屏或/和第二显示屏显示第二界面,包括:响应于第一操作,获取至少一个预设文本,并在第一显示屏或/和第二显示屏显示第二界面。至少一个预设文本为本地存储的文本或者为从服务器获取到的文本。
可以理解的是,电子设备可以响应用户在第一显示屏或/和第二显示屏的第一界面上的第一操作,从本地或服务器获取用于为被拍摄者观看的至少一个预设文本。进而,用户可以从至少一个预设文本中选择任一个符合被拍摄者需求的预设文本,为被拍摄者提词。
在第一方面的一种可能的设计方式中,在上述检测到用户在第一界面的第一操作之前,该方法还包括:先检测到用户在第一界面的对至少一个预设应用程序的操作,至少一个预设应用程序是安装在电子设备中的、支持处理文本内容的应用程序;然后,响应于对至少一个预设应用程序的操作,在第一界面显示至少一个预设应用程序;再检测到用户在第一界面的对至少一个预设应用程序中的目标应用程序的操作;对目标应用程序的操作是第一操作。上述响应于第一操作,在第一显示屏或/和第二显示屏显示第二界面,包括:响应于第一操作,获取目标应用程序支持处理的至少一个预设文本,并在第一显示屏或/和第二显示屏显示第二界面。
可以理解的是,电子设备可以响应于用户对至少一个预设应用程序的操作,先显示支持处理文本内容的至少一个预设应用程序。然后,电子设备响应于用户对至少一个预设应用程序中的目标应用程序的操作,获取该目标应用程序支持处理的至少一个预设文本。进而,拍摄者或被拍摄者可以从至少一个预设文本中选择任一个符合被拍摄者需求的预设文本,为被拍摄者提词。
在第一方面的一种可能的设计方式中,上述响应于第二操作,在第一显示屏显示第三界面,包括:响应于第二操作,采用预设的第一显示效果在第一显示屏的第三界面显示目标文本。该方法还包括:先响应于第二操作,采用预设的第二显示效果在第二显示屏的第四界面显示目标文本;然后,在第三界面所显示的目标文本的内容与第四界面所显示的目标文本的内容不同的情况下,调整第二显示效果中的内容显示效果与第一显示效果中的内容显示效果相同,并采用调整后的第二显示效果在第四界面显示目标文本。其中,内容显示效果是影响对应的显示屏所显示的目标文本的内容数量的显示效果。
可以理解的是,由于第一显示屏朝向被拍摄者,为了使得被拍摄者能够从第一显示屏中清楚地看到目标文本的内容,则电子设备可以采用第一显示效果在第一显示屏的第三界面显示目标文本,以增强第一显示屏中目标文本与目标文本所在的区域背景的对比度。由于第二显示屏不向被拍摄者展示目标文本,则第二显示效果可以和电子设备显示除目标文本之外的其他内容所采用的显示效果相同,或者,第二显示效果是与第一显示效果不同的其他显示效果。
进一步地,为了保证被拍摄者能够从第一显示屏上清楚地看到显示出的目标文本的内容,则电子设备在第一显示屏的第三界面采用较大的文字大小显示目标文本。如此,第一显示屏的第三界面可能显示目标文本的部分内容,还需要通过用户手动控制或自动控制显示目标文本的剩余内容。针对这种情况,电子设备可以控制第二显示屏的第四界面也显示第一显示屏所显示出的目标文本的部分内容。这样的话,拍摄者通过第二显示屏可以确定第一显示屏当前向被拍摄者显示出的内容。进而,电子设设备可以检测到用户在第二显示屏上的对第一显示屏的显示内容的调整操作,用于控制第一显示屏显示目标文本的剩余内容。
这种设计方式给出了电子设备控制第二显示屏和第一显示屏所显示出的内容相同的一种实施方式。
在第一方面的一种可能的设计方式中,上述响应于第二操作,在第一显示屏显示第三界面,包括:响应于第二操作,采用预设的第一显示效果在第一显示屏的第三界面显示目标文本。上述方法还包括:响应于第二操作,采用预设的第二显示效果在第二显示屏的第四界面显示目标文本;确定第三界面当前显示的提词内容;提词内容是第三界面当前显示出的目标文本的内容;对第四界面所包括的提词内容进行标记。
可以理解的是,除了设置第二显示效果中的内容显示效果和第一显示效果中的内容显示效果相同以外,电子设备还可以不设置第二显示效果中的内容显示效果和第一显示效果中的内容显示效果相同,而是对第四界面显示的提词内容进行标记。由于该提词内容是第一显示屏当前显示的目标文本的内容,则拍摄者通过第二显示屏的第四界面中标记的提词内容,可以确定第一显示屏当前向被拍摄者显示出的内容。进而,电子设设备可以检测到用户在第二显示屏上的对第一显示屏的显示内容的调整操作,用于控制第一显示屏显示目标文本的剩余内容。
在第一方面的一种可能的设计方式中,第四界面包括提词窗口。上述采用预设的第二显示效果在第二显示屏的第四界面显示目标文本,包括:采用第二显示效果在提词窗口中显示目标文本;其中,提词窗口还包括拍摄设置选项。该方法还包括:先检测并响应用户对拍摄设置选项的操作,在第二显示屏弹出拍摄设置弹窗;拍摄设置弹窗包括:第二显示效果对应的选项;然后,检测并响应用户对第二显示效果对应的选项的操作,关闭拍摄设置弹窗,在第二显示屏弹出效果设置弹窗;其中,效果设置弹窗包括第二显示效果对应的多个设置选项;第二显示效果对应的多个设置选项包括以下至少一项:文字大小、文字颜色、提词窗口的大小、提词窗口的背景颜色;再检测并响应用户对第二显示效果对应的多个设置选项的操作,关闭效果设置弹窗,并调整第二显示效果和第一显示效果;最后,采用调整后的第二显示效果在提词窗口中显示目标文本,采用调整后的第一显示效果在第三界面显示目标文本。
可以理解的是,电子设备采用第一显示效果在第一显示屏的第三界面显示目标文本后,还可以检测到用户对第一显示效果和第二显示效果中任一个的修改操作。然后,响应于该修改操作,修改第一显示效果和/或第二显示效果,以实现采用符合用户要求的第一显示效果和/或第二显示效果显示目标文本。
在第一方面的一种可能的设计方式中,在采用调整后的第二显示效果在提词窗口中显示目标文本,采用调整后的第一显示效果在第三界面显示目标文本之后,该方法还包括:根据调整后的第一显示效果,重新调整调整后的第二显示效果中的内容显示效果与调整后的第一显示效果中的内容显示效果相同,并采用重新调整后的第二显示效果在提词窗口显示目标文本;或者,重新确定第一显示屏当前显示的提词内容;对提词窗口中的重新确定的提词内容进行标记。
在第一方面的一种可能的设计方式中,拍摄设置弹窗还包括:播放方式对应的选项。该方法还包括:先检测并响应用户对播放方式对应的选项的操作,关闭拍摄设置弹窗,在第二显示屏弹出播放设置弹窗;其中,播放设置弹窗包括手动翻页对应的选项、自动翻页对应的选项;然后,检测并响应用户对自动翻页对应的选项的操作,关 闭播放设置弹窗,并在第二显示屏和第一显示屏自动更新目标文本的内容。
可以理解的是,由于电子设备可能在第一显示屏和第二显示屏显示目标文本的部分内容。因此,电子设备在第一显示屏和第二显示屏显示目标文本后,还可以对第一显示屏显示的目标文本的内容和第二显示屏显示的目标文本的内容都进行翻页,以在第一显示屏和第二显示屏显示目标文本的剩余内容。
在第一方面的一种可能的设计方式中,该方法还包括:先获取当前拍摄信息;当前拍摄信息包括当前环境亮度、被拍摄者与第一显示屏之间的当前距离中的至少一项;然后,根据当前拍摄信息和预设对应关系,调整第一显示效果,并采用调整后的第一显示效果在第三界面显示目标文本。
其中,预设对应关系包括第一预设对应关系和第二预设对应关系中的至少一项;第一对应关系包括:距离与文字大小之间的对应关系、距离与字体粗细之间的对应关系;第二对应关系包括:环境亮度与文字颜色和提词窗口的背景颜色之间的对应关系。
可以理解的是,电子设备采用第一显示效果在第一显示屏的第三界面显示目标文本后,还可以根据一些拍摄信息(如,环境亮度、被拍摄者与第一显示屏之间的距离),自动调整第一显示效果,以使得被拍摄者能够从第一显示屏中清楚地看到目标文本的内容。
在第一方面的一种可能的设计方式中,上述在第一显示屏或/和第二显示屏显示第二界面,包括:根据预设显示顺序,对至少一个预设文本进行排序,并在第一显示屏或/和第二显示屏的第二界面显示排序后的至少一个预设文本。其中,预设显示顺序是以下任一项:至少一个预设文本最新的使用时间与当前时间之间的时间差的大小顺序,至少一个预设文本的使用频率的大小顺序。
可以理解的是,一个预设文本最新的使用时间与当前时间之间的时间差越小,或者一个预设文本的使用频率的越大,表示该预设文本是用户(如,被拍摄者)最近使用的或经常使用的,则该预设文本能够提供被拍摄者所需的提词内容的可能性更大。因此,电子设备可以按照至少一个预设文本最新的使用时间与当前时间之间的时间差从小到大的顺序,或者至少一个预设文本的使用频率从大到小的顺序,显示至少一个预设文本。这样的话,电子设备可以将能够提供被拍摄者所需的提词内容的可能性更大的预设文本显示在靠前的位置,使得用户可以快速选出一个为被拍摄者提词的预设文本。
在第一方面的一种可能的设计方式中,上述在第一界面显示至少一个预设应用程序,包括:根据预设显示顺序,对至少一个预设应用程序进行排序,并在第一界面显示排序后的至少一个预设应用程序。其中,预设显示顺序是以下任一项:至少一个预设应用程序最新的使用时间与当前时间之间的时间差的大小顺序,至少一个预设应用程序的使用频率的大小顺序。
可以理解的是,一个预设应用程序最新的使用时间与当前时间之间的时间差越小,或者一个预设应用程序的使用频率的越大,表示该预设应用程序是用户(如,被拍摄者)最近使用的或经常使用的,则该预设应用程序支持处理的至少一个预设文本能够提供被拍摄者所需的提词内容的可能性更大。因此,电子设备可以按照至少一个预设应用程序最新的使用时间与当前时间之间的时间差从小到大的顺序,或者至少一个预 设应用程序的使用频率从大到小的顺序,显示至少一个预设应用程序。这样的话,一个预设应用程序支持处理的至少一个预设文本能够提供被拍摄者所需的提词内容的可能性更大,则电子设备将该预设应用程序显示在靠前的位置,使得用户可以快速选出该预设应用程序,进而电子设备可以获取该预设应用程序支持处理的至少一个预设文本。由于该预设应用程序支持处理的至少一个预设文本能够提供被拍摄者所需的提词内容的可能性更大,则用户从该至少一个预设文本中选出为被拍摄者提词的预设文本的可能性也更大。
在第一方面的一种可能的设计方式中,第三界面还包括:第一摄像头实时采集的部分或者全部图像。
可以理解的是,电子设备除了在第一显示屏的第三界面显示目标文本,还可以显示第一摄像头实时采集的部分或全部图像,以使得被拍摄者可以查看实时的拍摄效果。其中,电子设备显示第一摄像头实时采集的部分图像,表示目标文本对第一摄像头实时采集的图像有遮挡,即第一显示屏将目标文本显示在第一摄像头实时采集的图像的上层。电子设备显示第一摄像头实时采集的全部图像,表示第一显示屏对目标文本和第一摄像头实时采集的图像均完整地显示。
在第一方面的一种可能的设计方式中,第四界面还包括:第一摄像头实时采集的部分或者全部图像。
可以理解的是,电子设备除了在第二显示屏的第四界面显示目标文本,还可以显示第一摄像头实时采集的部分或全部图像,以使得拍摄者也可以查看实时的拍摄效果。其中,电子设备显示第一摄像头实时采集的部分图像,表示目标文本对第一摄像头实时采集的图像有遮挡,即第二显示屏将目标文本显示在第一摄像头实时采集的图像的上层。电子设备显示第一摄像头实时采集的全部图像,表示第二显示屏对目标文本和第一摄像头实时采集的图像均完整地显示。
第二方面,本申请实施例提供一种电子设备,电子设备包括第一显示屏、第二显示屏、第一摄像头、存储器和处理器。第一显示屏和第一摄像头的朝向相同,第一显示屏和第二显示屏背向设置。第一显示屏、第二显示屏、第一摄像头、存储器与处理器耦合。其中,第一摄像头用于采集图像,第一显示屏用于显示图像和目标文本;存储器中存储有计算机程序代码,计算机程序代码包括计算机指令,当计算机指令被处理器执行时,使得电子设备执行如第一方面及其任一种可能的设计方式所述的方法。
第三方面,本申请实施例还提供一种电子设备,电子设备包括第一显示屏、第二显示屏、第一摄像头、存储器和处理器。第一显示屏和第一摄像头的朝向相同,第一显示屏和第二显示屏背向设置。第一显示屏、第二显示屏、第一摄像头、存储器与处理器耦合。其中,第一摄像头用于采集图像,第一显示屏用于显示图像和目标多媒体内容;存储器中存储有计算机程序代码,计算机程序代码包括计算机指令。
当计算机指令被处理器执行时,使得电子设备执行如下步骤:第一摄像头采集图像,并在第一显示屏或/和第二显示屏的第一界面显示第一摄像头实时采集的图像;检测到用户在第一界面的第一操作,响应于该第一操作,在第一显示屏或/和第二显示屏显示第二界面,第二界面包括至少一个预设文本;检测到用户对至少一个预设文本中的目标文本的第二操作,目标文本是用于为被拍摄者观看的文本;响应于第二操作, 在第一显示屏显示第三界面,第三界面包括目标文本。
在第三方面的一种可能的设计方式中,当计算机指令被处理器执行时,使得电子设备具体执行如下步骤:响应于第一操作,获取至少一个预设文本,并在第一显示屏或/和第二显示屏显示第二界面。至少一个预设文本为本地存储的文本或者为从服务器获取到的文本。
在第三方面的一种可能的设计方式中,当计算机指令被处理器执行时,使得电子设备还执行如下步骤:在上述检测到用户在第一界面的第一操作之前,检测到用户在第一界面的对至少一个预设应用程序的操作,至少一个预设应用程序是安装在电子设备中的、支持处理文本内容的应用程序;响应于对至少一个预设应用程序的操作,在第一界面显示至少一个预设应用程序;检测到用户在第一界面的对至少一个预设应用程序中的目标应用程序的操作;对目标应用程序的操作是第一操作。响应于第一操作,获取目标应用程序支持处理的至少一个预设文本,并在第一显示屏或/和第二显示屏显示第二界面。
在第三方面的一种可能的设计方式中,当计算机指令被处理器执行时,使得电子设备具体执行如下步骤:响应于第二操作,采用预设的第一显示效果在第一显示屏的第三界面显示目标文本;然后,响应于第二操作,采用预设的第二显示效果在第二显示屏的第四界面显示目标文本;在第三界面所显示的目标文本的内容与第四界面所显示的目标文本的内容不同的情况下,调整第二显示效果中的内容显示效果与第一显示效果中的内容显示效果相同,并采用调整后的第二显示效果在第四界面显示目标文本。其中,内容显示效果是影响对应的显示屏所显示的目标文本的内容数量的显示效果。
在第三方面的一种可能的设计方式中,当计算机指令被处理器执行时,使得电子设备具体执行如下步骤:响应于第二操作,采用预设的第一显示效果在第一显示屏的第三界面显示目标文本;响应于第二操作,采用预设的第二显示效果在第二显示屏的第四界面显示目标文本;确定第三界面当前显示的提词内容;提词内容是第三界面当前显示出的目标文本的内容;对第四界面所包括的提词内容进行标记。
在第三方面的一种可能的设计方式中,第四界面包括提词窗口。当计算机指令被处理器执行时,使得电子设备具体执行如下步骤:采用第二显示效果在提词窗口中显示目标文本;其中,提词窗口还包括拍摄设置选项;检测并响应用户对拍摄设置选项的操作,在第二显示屏弹出拍摄设置弹窗;拍摄设置弹窗包括:第二显示效果对应的选项;检测并响应用户对第二显示效果对应的选项的操作,关闭拍摄设置弹窗,在第二显示屏弹出效果设置弹窗,其中,效果设置弹窗包括第二显示效果对应的多个设置选项;第二显示效果对应的多个设置选项包括以下至少一项:文字大小、文字颜色、提词窗口的大小、提词窗口的背景颜色;检测并响应用户对第二显示效果对应的多个设置选项的操作,关闭效果设置弹窗,并调整第二显示效果和第一显示效果;采用调整后的第二显示效果在提词窗口中显示目标文本,采用调整后的第一显示效果在第三界面显示目标文本。
在第三方面的一种可能的设计方式中,当计算机指令被处理器执行时,使得电子设备还执行如下步骤:在采用调整后的第二显示效果在提词窗口中显示目标文本,采用调整后的第一显示效果在第三界面显示目标文本之后,根据调整后的第一显示效果, 重新调整调整后的第二显示效果中的内容显示效果与调整后的第一显示效果中的内容显示效果相同,并采用重新调整后的第二显示效果在提词窗口显示目标文本;或者,重新确定第一显示屏当前显示的提词内容;对提词窗口中的重新确定的提词内容进行标记。
在第三方面的一种可能的设计方式中,拍摄设置弹窗还包括:播放方式对应的选项;当计算机指令被处理器执行时,使得电子设备还执行如下步骤:检测并响应用户对播放方式对应的选项的操作,关闭拍摄设置弹窗,在第二显示屏弹出播放设置弹窗;其中,播放设置弹窗包括手动翻页对应的选项、自动翻页对应的选项;检测并响应用户对自动翻页对应的选项的操作,关闭播放设置弹窗,并在第二显示屏和第一显示屏自动更新目标文本的内容。
在第三方面的一种可能的设计方式中,当计算机指令被处理器执行时,使得电子设备还执行如下步骤:获取当前拍摄信息;当前拍摄信息包括当前环境亮度、被拍摄者与第一显示屏之间的当前距离中的至少一项;根据当前拍摄信息和预设对应关系,调整第一显示效果,并采用调整后的第一显示效果在第三界面显示目标文本。
其中,预设对应关系包括第一预设对应关系和第二预设对应关系中的至少一项;第一对应关系包括:距离与文字大小之间的对应关系、距离与字体粗细之间的对应关系;第二对应关系包括:环境亮度与文字颜色和提词窗口的背景颜色之间的对应关系。
在第三方面的一种可能的设计方式中,当计算机指令被处理器执行时,使得电子设备具体执行如下步骤:根据预设显示顺序,对至少一个预设文本进行排序,并在第一显示屏或/和第二显示屏的第二界面显示排序后的至少一个预设文本。其中,预设显示顺序是以下任一项:至少一个预设文本最新的使用时间与当前时间之间的时间差的大小顺序,至少一个预设文本的使用频率的大小顺序。
在第三方面的一种可能的设计方式中,当计算机指令被处理器执行时,使得电子设备具体执行如下步骤:根据预设显示顺序,对至少一个预设应用程序进行排序,并在第一界面显示排序后的至少一个预设应用程序。其中,预设显示顺序是以下任一项:至少一个预设应用程序最新的使用时间与当前时间之间的时间差的大小顺序,至少一个预设应用程序的使用频率的大小顺序。
在第三方面的一种可能的设计方式中,第三界面还包括:第一摄像头实时采集的部分或者全部图像。
在第三方面的一种可能的设计方式中,第四界面还包括:第一摄像头实时采集的部分或者全部图像。
第四方面,本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面及其任一种可能的实施方式的拍摄显示方法。
第五方面,本申请实施例还提供一种计算机程序产品,包括计算机指令,该计算机指令可以在电子设备上运行,使得电子设备执行如第一方面及其任一种可能的实施方式的拍摄显示方法。
可以理解的是,上述提供的第二方面、第三方面及其任一种可能的设计方式所述的电子设备,第四方面所述的计算机可读存储介质,第五方面所述的计算机程序产品 所能达到的有益效果,可参考第一方面及其任一种可能的设计方式中的有益效果,此处不再赘述。
附图说明
图1A为本申请实施例提供的一种具有外折折叠屏的电子设备的产品形态示意图;
图1B为本申请实施例提供的一种具有内折折叠屏的电子设备的产品形态示意图;
图2为本申请实施例提供的一种包括不可折叠的至少两个显示屏的电子设备的产品形态示意图;
图3为现有技术中的拍摄显示方法的界面示意图;
图4为本申请实施例提供的一种拍摄显示方法所涉及的拍摄过程的界面示意图;
图5为本申请实施例提供的一种电子设备的结构示意图;
图6为本申请实施例提供的一种拍摄显示方法的流程图一;
图7为本申请实施例提供的一种自拍场景下采用拍摄显示方法的界面示意图一;
图8A为本申请实施例提供的一种他拍场景下采用拍摄显示方法的界面示意图一;
图8B为本申请实施例提供的一种他拍场景下采用拍摄显示方法的界面示意图二;
图9为本申请实施例提供的一种他拍场景下采用拍摄显示方法的界面示意图三;
图10为本申请实施例提供的一种拍摄显示方法的流程图二;
图11为本申请实施例提供的一种两个显示屏的内容同步的界面示意图;
图12为本申请实施例提供的一种拍摄显示方法的流程图三;
图13为本申请实施例提供的一种两个显示屏的相同内容进行标记的界面示意图;
图14为本申请实施例提供的一种拍摄显示方法的流程图四;
图15为本申请实施例提供的一种调整显示效果的界面示意图一;
图16为本申请实施例提供的一种调整显示效果的界面示意图二;
图17为本申请实施例提供的一种调整显示效果的界面示意图三;
图18为本申请实施例提供的一种手动翻页的界面示意图;
图19为本申请实施例提供的一种设置播放方式的界面示意图;
图20为本申请实施例提供的一种芯片系统的结构示意图。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请实施例提供一种拍摄显示方法,该方法可以应用于包括第一显示屏和第一摄像头的电子设备。其中,第一显示屏和第一摄像头的朝向相同。第一摄像头可以是指电子设备中用于对被拍摄者进行拍摄的摄像头。那么,与第一摄像头朝向相同的第一显示屏也朝向被拍摄者。
本申请实施例提供的拍照显示方法可以应用于自拍场景(即被拍摄者与拍摄者为同一对象)以及他拍场景(即被拍摄者与拍摄者为不同对象)。
其中,在自拍场景下,电子设备可以包括一个显示屏(如本申请实施例提及的第一显示屏)。当然,在实际应用中,该电子设备还可以包括其他显示屏,如与第一显 示屏背对的第二显示屏、与第一显示屏的折叠边连接的第三显示屏(这种情况下该电子设备为包括可折叠的显示屏的电子设备)。
在他拍场景下,电子设备可以包括至少两个显示屏。至少两个显示屏可以包括第一显示屏、以及与第一显示屏背对的第二显示屏;该电子设备可以是折叠屏,也可以是非折叠屏,如曲面屏。当然,在实际应用中,该电子设备还可以包括其他显示屏,如与第一显示屏的折叠边连接的第三显示屏。
其中,电子设备中的至少两个显示屏可以是可折叠的至少两个显示屏(可以简称为折叠屏)(如,图1A中的(b)所示的A屏和B屏,图1B中的(c)所示的A1屏和A2屏),或者是不可折叠的至少两个显示屏(如,图2所示的A屏和B屏)。折叠屏可折叠形成至少两个显示屏,例如,折叠屏可沿折叠边或折叠轴折叠形成第一显示屏和第二显示屏。不可折叠的至少两个显示屏可以是电子设备中背向设置的第一显示屏和第二显示屏。
本申请实施例中的折叠屏可以分为两类。一类为朝外翻折的折叠屏(简称外折折叠屏),另一类为朝内翻折的折叠屏(简称内折折叠屏)。其中,以折叠屏可折叠形成第一显示屏和第二显示屏为例。外折折叠屏被折叠后,第一显示屏和第二显示屏相背对。内折折叠屏被完全展开后,第一显示屏和第二显示屏相背对。
例如,请参考图1A,其示出本申请实施例提供的一种具有外折折叠屏的电子设备100的产品形态示意图。其中,图1A中的(a)是外折折叠屏完全展开时的形态示意图。该外折折叠屏可沿折叠边,按照图1A中的(a)所示的方向102a和102b翻折,可形成图1A中的(b)所示的A屏和B屏。该外折折叠屏可沿折叠边,按照图1A中的(b)所示的方向103a和103b继续翻折,可形成图1A中的(c)所示的折叠状态的外折折叠屏。如图1A中的(c)所示,电子设备100的折叠屏完全被折叠后,A屏和B屏相背对,对用户可见。
其中,A屏与摄像头101a的朝向相同,B屏与摄像头101b的朝向相同。
可以理解,对于具有外折折叠屏的电子设备而言,当折叠屏处于折叠状态时,可以在A屏显示界面、在B屏显示界面、或者在A屏和B屏显示界面。当折叠屏处于展开状态时,可以在A屏和B屏显示界面。其中,对折叠屏的展开状态和折叠状态的介绍可以参考以下实施例中的描述,这里不予赘述。
需要说明的是,本申请实施例提供的一种具有不可折叠的至少两个显示屏的电子设备可以参见图1A中的(c)所示的电子设备100。与电子设备100不同的是,具有不可折叠的至少两个显示屏的电子设备中不存在折叠边,其包括的A屏和B屏相背对。
又例如,请参考图1B,其示出本申请实施例提供的一种具有内折折叠屏的电子设备100的产品形态示意图。其中,图1B中的(a)是内折折叠屏完全展开时的形态示意图。在该内折折叠屏完全展开时,可形成电子设备100的A屏。如图1B中的(b)所示,A屏的背面还可以设置一个B屏。
其中,A屏与摄像头201a的朝向相同,B屏与摄像头201b的朝向相同。
该内折折叠屏可沿折叠边,按照图1B中的(a)所示的方向202a和202b翻折,可形成图1B中的(c)所示的内折折叠屏。该内折折叠屏可沿折叠边,按照图1B中的(c)所示的方向203a和203b继续翻折,可形成图1B中的(d)所示的折叠状态的 内折折叠屏。如图1B中的(d)所示,该内折折叠屏被完全折叠后,A屏被折叠后的两部分相对,黑线204是A屏被折叠后的两部分的接触面上的一条线。其中,内折折叠屏被完全折叠屏后,A屏对用户不可见,B屏对用户可见。
其中,如果A屏由两个显示屏组成,即A1屏和A2屏,则该内折折叠屏翻折后可形成图1B中的(c)所示的A1屏和A2屏。如图1B中的(d)所示,该内折折叠屏被完全折叠后,A1屏和A2屏相对,黑线204是A1屏和A2屏的接触面上的一条线。
可以理解,对于具有这类内折折叠屏的电子设备而言,当折叠屏处于折叠状态时,可以在B屏显示界面;当折叠屏处于展开状态时,可以在A屏和B屏显示界面。
一般而言,折叠屏(包括内折折叠屏和外折折叠屏)的折叠夹角α的取值范围为[0°,180°]。其中,外折折叠屏的折叠夹角是A屏和B屏之间的夹角。内折折叠屏的折叠夹角是A1屏和A2屏之间的夹角。本申请实施例中,如果α[0°,P],电子设备可以确定折叠屏处于折叠状态;如果α(P,180°],电子设备可以确定折叠屏处于展开状态。或者,如果α[0°,P),电子设备可以确定折叠屏处于折叠状态;如果α[P,180°],电子设备可以确定折叠屏处于展开状态。其中,P是预设角度阈值。P可以是根据大量用户使用折叠屏的使用习惯确定的;或者,P可以由用户在电子设备中设定。
在一些实施例中,按照大多数用户的使用习惯,折叠夹角α大于90°时,用户想要将位于折叠边两侧的显示屏作为整体(即作为一个完整的显示屏)使用的可能性较高。因此,本申请实施例中的预设角度阈值P可以大于90°。其中,预设角度阈值P的取值范围可以为(90°,180°)。例如,预设角度阈值P可以为100°、120°、135°、140°、145°或150°等。
需要说明的是,本申请实施例中的折叠屏(包括内折折叠屏和外折折叠屏)被折叠后形成的至少两个屏,可以为独立存在的多个屏(如,图1A中的(c)所示的A屏和B屏),也可以为一体结构的一个完整屏(如,图1B中的(a)所示的A屏),只是被折叠形成了至少两部分。
例如,折叠屏可以是柔性折叠屏。柔性折叠屏包括采用柔性材质制作的折叠边。该柔性折叠屏的部分或全部采用柔性材质制作。柔性折叠屏被折叠后形成的至少两个屏是一体结构的一个完整屏,只是被折叠形成了至少两部分。
又例如,上述折叠屏可以为多屏折叠屏。该多屏折叠屏可包括多个(两个或两个以上)屏。这多个屏是多个单独的显示屏。这多个屏可依次通过折叠轴连接。每个屏可以绕与其连接的折叠轴转动,实现多屏折叠屏的折叠。
其中,图1A和图1B中以折叠屏是柔性折叠屏为例,对本申请实施例中的折叠屏进行说明。并且,本申请后续实施例中也以折叠屏是柔性折叠屏为例,对本申请实施例提供的方法进行说明。
示例性地,请参考图2,其示出本申请实施例提供的一种具有不可折叠的至少两个显示屏的电子设备。其中,图2中的(a)是电子设备100的A屏,A屏包括摄像头210a。图2中的(b)是电子设备100的B屏,B屏包括摄像头210b。图2中的(c)是电子设备100的侧面图,与A屏相背对的是B屏。从图2中的(c)可以看出,该电子设备100的A屏和B屏之间不存在折叠边,电子设备100不具备折叠功能。
需要说明的是,上述电子设备100中的A屏可以是第一显示屏,则与A屏背对的 B屏是第二显示屏。或者,电子设备100中的B屏是第一显示屏,则与B屏背对的A屏是第二显示屏。与第一显示屏朝向相同的摄像头可以称为第一摄像头,与第二显示屏朝向相同的摄像头可以称为第二摄像头。
目前,拍摄者利用电子设备中的第一摄像头对被拍摄者拍照的时候,在第一摄像头启动之后、且第一摄像头开始拍摄之前(可以称为取景过程),可以在第一显示屏上显示第一摄像头实时采集的预览图像(可以称为取景图像)。其中,第一显示屏是朝向被拍摄者的,则被拍摄者通过第一显示屏可以查看第一摄像头实时采集的包括自身的预览图像。进而,根据看到的预览图像拍摄出自己较满意的图像。预览图像是指在取景过程中采集的图像。
示例性地,以上述图1B所示的电子设备100为例,电子设备100中的B屏可以是第一显示屏,与B屏相对的A屏可以是第二显示屏。B屏所包括的摄像头201b是第一摄像头。该第二显示屏是一体结构的一个完整屏。在拍摄者利用第一摄像头201b进行他拍的场景下,启动第一摄像头201b后,在第二显示屏上显示第一摄像头201b实时采集的预览图像。如图3中的(a)所示,电子设备100还在第二显示屏显示开关选项301。该开关选项301用于触发电子设备100在第一显示屏中同步显示预览图像。当开关选项301处于打开状态(ON)的时候,电子设备在第一显示屏显示第一摄像头201b实时采集的预览图像,如图3中的(b)所示。
上述方案是电子设备在第一摄像头启动后、开始拍摄前,在朝向被拍摄者的第一显示屏显示第一摄像头实时采集的预览图像。那么,对于被拍摄者拍摄需要使用的一些信息,在该电子设备拍摄过程中没有通过该电子设备向被拍摄者展示。这样的话,被拍摄者还需要使用具有信息记载功能的物品将这些信息记录下来。然后,在该电子设备中的第一摄像头拍摄过程中,通过该物品查看这些信息,以完成拍摄。
针对上述方案存在的由于在电子设备中的第一摄像头拍摄过程中被拍摄者还需要借助其他物品查看一些拍摄需要使用的信息,给被拍摄者的拍摄带来不便的问题,本申请实施例提出一种拍摄显示方法,电子设备在第一摄像头拍摄过程中,可以在面向被拍摄者的第一显示屏显示拍摄所需的信息(如,文本)。如此,被拍摄者在使用该电子设备拍摄的同时可以在该电子设备上查看该信息,无需再使用除该电子设备之外的其他物品,使得拍摄过程更方便、更易实现。
其中,上述拍摄过程是指第一摄像头拍摄视频的过程。例如,在自拍场景下,拍摄过程可以是录像、视频通话或直播等等。在他拍场景下,拍摄过程可以是录像。
示例性的,以图1B所示的电子设备100、以及自拍场景为例,说明本申请实施例提供的一种拍摄显示方法所涉及的拍摄过程。
如图4中的(a)所示的录像的界面示意图,电子设备100检测到用户在第二显示屏上的对相机的触发操作,可以启动第一摄像头201b,并在第二显示屏显示相机界面410。相机界面410包括第一摄像头201b采集的预览图像。在第一摄像头201b处于录像的拍摄模式下,电子设备100检测到用户对第一摄像头201b的拍摄控制操作(可以称为启动录像操作),则控制第一摄像头201b开始录像。直至电子设备100再次接收到用户对第一摄像头201b的拍摄控制操作(可以称为停止录像操作),则控制第一摄像头201b停止录像,并保存录像得到的视频。
其中,第一摄像头201b启动后,开始录像前的过程,可以称为取景过程。启动录像后,第一摄像头录像的过程,可以称为拍摄过程。
其中,相机界面410可以包括拍摄按钮411,则拍摄控制操作可以是对拍摄按钮411的点击操作。
其中,相机对应多个拍摄模式,多个拍摄模式除了包括录像,还可以包括短视频、拍照、人像等等。电子设备100可以检测到用户对任一种拍摄模式(如,录像)的选择操作,控制第一摄像头在该拍摄模式下采集图像。或者,电子设备100将任一种拍摄模式作为默认的拍摄模式,第一摄像头启动后在该拍摄模式下采集图像。
需要说明的是,电子设备100检测到用户对相机的触发操作,可以直接启动第一摄像头。或者,电子设备100检测到用户对相机的触发操作,可以启动电子设备100中的其他摄像头。然后,电子设备100检测并响应用户对第一摄像头的触发操作,才启动第一摄像头。
如图4中的(b)所示的视频通话的界面示意图,电子设备100检测到用户在第一显示屏上的对视频通话的触发操作,可以启动第一摄像头201a,在第一显示屏显示视频通话界面420,并向其他电子设备发送视频通话连接请求。视频通话界面420包括第一摄像头201b采集的预览图像。在其他电子设备响应该视频通话连接请求,并与电子设备100成功连接的情况下,第一摄像头201a继续采集图像。直至电子设备100接收到用户对视频通话的结束操作(如,对通话控制操作421的点击操作),则控制第一摄像头201a停止工作。
其中,第一摄像头201a启动后,到停止工作的过程,可以称为拍摄过程。
需要说明的是,图4中的(b)显示的视频通话界面420是其他电子设备响应该视频通话连接请求之前的界面。视频通话界面420可以包括A女士的头像或其他标识。
示例性地,本申请实施例中的电子设备可以是手机、平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、或者上网本等。本申请实施例中的服务器可以是云服务器或服务器集群。本申请实施例对电子设备和服务器的具体形态不作任何限制。
本申请实施例中以电子设备是手机为例,介绍电子设备的硬件结构。如图5所示,电子设备100可以包括:处理器510,外部存储器接口520,内部存储器521,通用串行总线(universal serial bus,USB)接口530,充电管理模块540,电源管理模块541,电池542,天线1,天线2,移动通信模块550,无线通信模块560,音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,传感器模块580,按键590,马达591,指示器592,摄像头593(可包括摄像头1-N),显示屏594(如触摸屏),以及用户标识模块(subscriber identification module,SIM)卡接口595(可包括SIM卡接口1-N)等。
其中,上述传感器模块580可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器和骨传导传感器等传感器。
其中,显示屏594可以包括第一显示屏,还可以包括第二显示屏。摄像头593可以包括与第一显示屏朝向相同的第一摄像头,还可以包括与第二显示屏朝向相同的第 二摄像头。第一显示屏所在的整个区域可以设置有触摸传感器,触摸传感器用于感知触控操作。第二显示屏所在的整个区域也可以设置有触摸传感器。
可以理解的是,本实施例示意的结构并不构成对电子设备100的具体限定。在另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器510可以包括一个或多个处理单元,例如:处理器510可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器510中还可以设置存储器,用于存储指令和数据。该指令用于被处理器501所执行以实现本申请实施例提供的拍摄显示方法。在一些实施例中,处理器510中的存储器为高速缓冲存储器。该存储器可以保存处理器510刚用过或循环使用的指令或数据。如果处理器510需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器510的等待时间,因而提高了系统的效率。
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块540用于从充电器接收充电输入。充电管理模块540为电池542充电的同时,还可以通过电源管理模块541为电子设备供电。在另一些实施例中,电源管理模块541和充电管理模块540也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块550,无线通信模块560,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块550可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。本申请实施例中,电子设备100的天线1和移动通信模块550耦合,使得电子设备100可以利用移动蜂窝网络进行无线通信。
无线通信模块560可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如Wi-Fi网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。本申请实施例中,电子设备100的天线2和无线通信模 块560耦合,使得电子设备100可以利用Wi-Fi网络进行无线通信。
电子设备100通过GPU,显示屏594(如,第一显示屏,第二显示屏),以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏594和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器510可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
电子设备100可以通过ISP,摄像头593,视频编解码器,GPU,显示屏594以及应用处理器等实现拍摄功能。外部存储器接口520可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口520与处理器510通信,实现数据存储功能。例如,将至少一个预设文本保存在外部存储卡中。
内部存储器521可以用于存储计算机可执行程序代码,可执行程序代码包括指令。内部存储器521还可以用于存储至少一个预设文本。处理器510通过运行存储在内部存储器521的指令,从而执行电子设备100的各种功能应用以及数据处理。
电子设备100可以通过音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,以及应用处理器等实现音频功能。
陀螺仪传感器可以用于确定电子设备100的运动姿态。加速度传感器可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
按键590包括开机键,音量键等。按键590可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。马达591可以产生振动提示。马达591可以用于来电振动提示,也可以用于触摸振动反馈。指示器592可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口595用于连接SIM卡。SIM卡接口595可以支持Nano SIM卡,Micro SIM卡,SIM卡等。
以下实施例中的方法均可以在具有上述硬件结构的电子设备100中实现。
请参考图6,为本申请实施例提供的一种拍摄显示方法的流程图。如图6所示,该拍摄显示方法可以包括S601-S603。
S601、电子设备中的第一摄像头采集图像,在第一显示屏或/和第二显示屏的拍摄界面显示第一摄像头实时采集的图像,其中,第一摄像头实时采集的图像包括被拍摄者。
无论是在上述取景过程,还是在上述拍摄过程,电子设备中的第一摄像头都在采集图像,即处于工作状态。电子设备在第一摄像头处于工作状态下,可以在第一显示屏或/和第二显示屏的拍摄界面显示第一摄像头实时采集的图像。
其中,拍摄界面与本申请实施例所提及的第一界面对应。电子设备在第一摄像头的工作的同时,可以在第一显示屏和/或第二显示屏显示拍摄界面。该拍摄界面用于显示电子设备中摄像头采集的图像、以及对摄像头的控制选项等。
本申请实施例中,电子设备可以检测到用户在第一显示屏或第二显示屏上对摄像头的启动操作。电子设备响应于该启动操作,启动第一摄像头。
或者,电子设备还可以包括第二摄像头,则电子设备响应于该启动操作,可以启动第二摄像头。然后,电子设备可以检测到用户在第一显示屏或第二显示屏上对摄像头的转换操作。响应于该转换操作,电子设备关闭第二摄像头,启动第一摄像头。其中,第二摄像头和第一摄像头背向设置。转换选项用于触发电子设备改变第一摄像头和第二摄像头的工作状态。
S602、电子设备检测用户在拍摄界面的第一操作,响应于第一操作,在第一显示屏或/和第二显示屏的拍摄界面显示至少一个预设文本。
其中,包括至少一个预设文本的拍摄界面与本申请实施例所提及的第二界面对应。至少一个预设文本可用于为被拍摄者提词。任一个预设文本可以是备忘录、或者是任意一种格式的文档(如,word文档,excel文档,可携带文档格式(Portable Document Format,PDF)的文档)。其中,提词例如是演讲录制时,用于提醒被拍摄者演讲词,也可以是主持人主持时用于提醒其主持词,也可以是其他任一的提醒被拍摄者的场景。
本申请实施例中,电子设备响应于第一操作,可以直接获取至少一个预设文本,并在第一显示屏或/和第二显示屏的拍摄界面显示至少一个预设文本。至少一个预设文本为本地存储的文本或者为从服务器获取到的文本。第一操作用于触发电子设备获取至少一个预设文本。
示例性地,电子设备响应于第一操作,可以获取至少一个预设文本,并在拍摄界面上弹出预设窗口,在预设窗口中显示至少一个预设文本。其中,预设窗口用于展示至少一个预设文本。预设窗口可以是弹窗或悬浮窗口。
本申请实施例中,电子设备在检测到用户在拍摄界面的第一操作之前,检测到用户在拍摄界面的对至少一个预设应用程序的操作。然后,电子设备响应于对至少一个预设应用程序的操作,在拍摄界面显示至少一个预设应用程序。电子设备再检测到用户在拍摄界面的对至少一个预设应用程序中的目标应用程序的操作;对目标应用程序的操作是第一操作。响应于对目标应用程序的操作,获取目标应用程序支持处理的至少一个预设文本,并在第一显示屏或/和第二显示屏的拍摄界面显示至少一个预设文本。
其中,至少一个预设应用程序是安装在电子设备中的、支持处理文本内容的应用程序。对至少一个预设应用程序的操作用于触发电子设备获取至少一个预设应用程序。对目标应用程序的操作用于触发电子设备获取目标应用程序支持处理的至少一个预设文本。
示例性地,电子设备在检测到用户在拍摄界面的第一操作之前,可以检测并响应用户在拍摄界面上的对至少一个预设应用程序的操作,在拍摄界面上弹出预设窗口,在预设窗口中显示至少一个预设应用程序。然后,电子设备检测并响应用户对至少一个预设应用程序中的目标应用程序的操作,在预设窗口中显示目标应用程序支持处理的至少一个预设文本。
本申请实施例中,电子设备可以按照预设显示顺序,在第一显示屏或/和第二显示屏的拍摄界面显示至少一个预设文本或至少一个预设应用程序。电子设备还可以按照预设显示顺序,在拍摄界面显示至少一个预设应用程序。
其中,预设显示顺序可以是为至少一个预设文本或至少一个预设应用程序预设的顺序,也可以是至少一个预设文本或至少一个预设应用程序最新的使用时间与当前时 间之间的时间差的大小顺序,又可以是至少一个预设文本或至少一个预设应用程序的使用频率的大小顺序。
本申请实施例中,在拍摄者利用第一摄像头进行自拍的场景下,电子设备在第一摄像头处于工作状态下,可以在第一显示屏显示拍摄界面(如,相机界面410,视频通话界面420)。拍摄界面包括第一摄像头实时采集的图像。然后,电子设备可以检测用户在第一显示屏的拍摄界面上的对至少一个预设应用程序的操作、第一操作。
其中,在拍摄者利用第一摄像头进行自拍的场景下,电子设备还可以检测到用户在第一显示屏的拍摄界面上的对摄像头的启动操作、对摄像头的转换操作。
其中,上述第一操作可以是第一预设滑动操作。或者,拍摄界面包括第一选项,上述第一操作可以是用户对第一选项的点击操作。第一选项用于触发电子设备获取并显示至少一个预设文本。
其中,上述对至少一个预设应用程序的操作可以是第二预设滑动操作。或者,拍摄界面包括第二选项,上述对至少一个预设应用程序的操作是用户对第二选项的点击操作。第二选项用于触发电子设备获取并显示至少一个预设文本应用程序。上述对目标应用程序的操作可以是对目标应用程序的点击操作。
需要说明的是,第一预设滑动操作和第二预设滑动操作可以相同或不同。
示例性地,以图1B中的(a)所示的电子设备100、以及拍摄过程是录像过程为例,在自拍场景下,拍摄者利用电子设备100中的摄像头201a采集图像,则与摄像头201a朝向相同的A屏是朝向被拍摄者的第一显示屏,摄像头201a是第一摄像头。该第一显示屏是一体结构的一个完整屏。如图7中的(a)所示,在第一摄像头201a处于工作状态下,电子设备100在第一显示屏显示拍摄界面710。
其中,拍摄界面710包括第一摄像头201a实时采集的图像。拍摄界面710还可以包括转换选项711、拍摄按钮712、第一选项713、以及多个拍摄模式对应的多个选项。转换选项711用于触发电子设备改变第一摄像头和第二摄像头的工作状态。上述转换操作可以是对转换选项711的点击操作。拍摄按钮712用于触发电子设备控制摄像头启动或停止拍摄(如,启动或停止录像)。第一选项713用于触发电子设备获取至少一个预设文本。任一个拍摄模式的选项用于触发处于工作状态下的摄像头在该拍摄模式下采集图像。
然后,电子设备100可以检测到用户在第一显示屏的拍摄界面710上的对第一选项713的点击操作。用户对第一选项713的点击操作是第一操作。如图7中的(b)所示,电子设备100响应于该第一操作,获取至少一个预设文本,并在拍摄界面710上弹出预设窗口714。电子设备100可以在预设窗口714中显示排序后的至少一个预设文本。其中,在预设窗口714显示的排序后的至少一个预设文本可以是:按照最新的使用时间与当前时间之间的时间差从小到大排序的多条备忘录。
本申请实施例中,在拍摄者利用第一摄像头进行他拍的场景下,电子设备可以包括与第一显示屏背向设置的第二显示屏。电子设备在第一摄像头处于工作状态下,在第二显示屏显示拍摄界面(如,相机界面410,视频通话界面420)。
然后,电子设备可以检测到用户在第二显示屏的拍摄界面上的对至少一个预设应用程序的操作、第一操作。电子设备还可以检测到用户在第二显示屏的拍摄界面上的 对摄像头的启动操作、用户对摄像头的转换操作。
需要说明的是,电子设备检测到用户在第二显示屏的拍摄界面上的对至少一个预设应用程序的操作、第一操作的具体过程,可以参见上述电子设备检测到用户在第一显示屏的拍摄界面上的对至少一个预设应用程序的操作、第一操作的详细介绍,本申请实施例这里不予赘述。
示例性地,以图1B中的(a)所示的电子设备100、以及拍摄过程是录像过程为例,在他拍场景下,拍摄者利用电子设备100中的摄像头201b采集图像,则与摄像头201b朝向相同的B屏是朝向被拍摄者的第一显示屏,摄像头201b是第一摄像头,A屏是第二显示屏,摄像头201a是第二摄像头。如图8A中的(a)所示,在第一摄像头201b处于工作状态下,电子设备100在第二显示屏显示拍摄界面810。
其中,拍摄界面810包括第一摄像头201b实时采集的图像。拍摄界面810还可以包括转换选项811、拍摄按钮812、多个拍摄模式对应的多个选项。拍摄界面810不包括第一选项。
然后,如图8A中的(a)所示,电子设备100可以检测到用户在第二显示屏的拍摄界面810上的第一预设滑动操作。该第一预设滑动操作是第一操作。如图8A中的(b)所示,电子设备100响应于第一操作,获取至少一个预设文本,并在拍摄界面810上弹出预设窗口813。电子设备100可以在预设窗口813中显示至少一个预设文本。
需要说明的是,图8A中的(a)所示的第一预设滑动操作是从第二显示屏的底端向第二显示屏的中间滑动。除了图8A中的(a)所示的第一预设滑动操作,第一预设滑动操作还可以是从第二显示屏的任意一个边缘(如,左侧,右侧)向第二显示屏的中间滑动,还可以是双击或者单击第二显示屏上的任意控件,或者语音控制操作,或者手势控制操作,本申请实施例对第一预设滑动操作的具体形式不做限制。
示例性地,电子设备100可以检测到用户在第二显示屏的拍摄界面810上的第一预设滑动操作,如图8B中的(a)(即图8A中的(a))所示。该第一预设滑动操作是第一操作。如图8B中的(b)所示,电子设备100响应于第一操作,可以直接获取一个预设文本814,并在拍摄界面810上弹出预设窗口813,在预设窗口813中显示该预设文本814。该预设文本814可以是默认的一个预设文本,或者是最近使用的一个预设文本。该预设文本814就是目标文本814。
示例性地,以图1B中的(a)所示的电子设备100、以及拍摄过程是录像过程为例,在他拍场景下,拍摄者利用电子设备100中的摄像头201b采集图像,则与摄像头201b朝向相同的B屏是朝向被拍摄者的第一显示屏,摄像头201b是第一摄像头,A屏是第二显示屏,摄像头201a是第二摄像头。如图9中的(a)所示,在第一摄像头201b处于工作状态下,电子设备100在第二显示屏显示拍摄界面910。
其中,拍摄界面910包括第一摄像头201b实时采集的图像。拍摄界面910不包括第一选项。
然后,如图9中的(a)所示,电子设备100可以检测到用户在第二显示屏的拍摄界面910上的第二预设滑动操作。该第二预设滑动操作是对至少一个预设应用程序的操作;第二预设操作同上述第一预设操作,在此不做赘述。如图9中的(b)所示,电子设备100响应于对至少一个预设应用程序的操作,获取至少一个预设应用程序,并 在拍摄界面910上弹出预设窗口911。电子设备100可以在预设窗口911中显示顺序排序后的至少一个预设应用程序。其中,在预设窗口911显示的排序后的至少一个预设应用程序是:按照最新的使用时间与当前时间之间的时间差从小到大排序的至少一个预设应用程序。
进一步地,电子设备100可以检测到用户对预设窗口911中的应用程序1的点击操作。对该应用程序1的点击操作是对目标应用程序的操作。如图9中的(c)所示,电子设备100响应于对目标应用程序的操作,获取目标应用程序支持处理的至少一个预设文本,并在预设窗口911中显示至少一个预设文本,或者,显示按照预设显示顺序排序后的至少一个预设文本。
需要说明的是,图9中的(a)所示的第二预设滑动操作是从第二显示屏的右侧向第二显示屏的中间滑动再停顿。除了图9中的(a)所示的第二预设滑动操作,第二预设滑动操作还可以是从第二显示屏的任意一个边缘(如,左侧,右侧)向第二显示屏的中间滑动再停顿,本申请实施例对第二预设滑动操作的具体形式不做限制。
S603、电子设备检测到用户对至少一个预设文本中的目标文本的第二操作,并响应于第二操作,在第一显示屏显示目标文本;目标文本是用于为被拍摄者观看的文本。
电子设备可以在朝向被拍摄者的第一显示屏的拍摄界面显示目标文本。然后,被拍摄者在拍摄过程中通过第一显示屏查看该目标文本的内容,以帮助自已完成拍摄。其中,第一显示屏显示的包括目标文本的拍摄界面与本申请实施例所提及的第三界面对应。
进一步地,如果电子设备处于取景过程,则电子设备在第一显示屏的拍摄界面显示目标文本后,还可以检测到用户对第一摄像头的拍摄控制操作。电子设备响应于拍摄控制操作,控制第一摄像头开始拍摄,第一摄像头进入拍摄过程。该拍摄控制操作用于触发第一摄像头开始拍摄视频。
需要说明的是,电子设备响应于第一操作,可以直接获取目标文本,并在第一显示屏的拍摄界面显示该目标文本。其中,该目标文本可以是默认的一个预设文本,或者是最近使用的一个预设文本。
本申请实施例中,第一显示屏的拍摄界面除了包括目标文本,还可以包括第一摄像头实时采集的部分或者全部图像。
可以理解的是,电子设备除了在第一显示屏的拍摄界面显示目标文本,还可以显示第一摄像头实时采集的部分或全部图像,以使得被拍摄者可以查看实时的拍摄效果。其中,电子设备显示第一摄像头实时采集的部分图像,表示在第一显示屏的拍摄界面上目标文本对第一摄像头实时采集的图像有遮挡,即在第一显示屏的拍摄界面上将目标文本显示在第一摄像头实时采集的图像的上层。电子设备显示第一摄像头实时采集的全部图像,表示在第一显示屏的拍摄界面上对目标文本和第一摄像头实时采集的图像均完整地显示。
本申请实施例中,电子设备响应于第二操作,可以在第一显示屏上弹出提词窗口(可以称为第一提词窗口),在第一提词窗口中显示目标文本。第一提词窗口用于展示目标文本的内容。第一提词窗口可以是弹窗或悬浮窗口。
本申请实施例中,在拍摄者利用第一摄像头进行他拍的场景下,电子设备可以包 括与第一显示屏背向设置的第二显示屏。这种情况下,电子设备接收在第二显示屏上的对目标文本的第二操作,响应于第二操作,在第一显示屏的拍摄界面和第二显示屏的拍摄界面均显示目标文本。
其中,第二显示屏显示的包括目标文本的拍摄界面与本申请实施例所提及的第四界面对应。第二显示屏的拍摄界面除了包括目标文本,还可以包括第一摄像头实时采集的部分或者全部图像。
可以理解的是,电子设备除了在第二显示屏的拍摄界面显示目标文本,还可以显示第一摄像头实时采集的部分或全部图像,以使得拍摄者可以查看实时的拍摄效果。其中,电子设备显示第一摄像头实时采集的部分图像,表示在第二显示屏的拍摄界面上目标文本对第一摄像头实时采集的图像有遮挡,即在第二显示屏的拍摄界面上将目标文本显示在第一摄像头实时采集的图像的上层。电子设备显示第一摄像头实时采集的全部图像,表示在第二显示屏的拍摄界面上对目标文本和第一摄像头实时采集的图像均完整地显示。
其中,电子设备响应于第二操作,可以在第二显示屏的拍摄界面上弹出提词窗口(可以称为第二提词窗口),在第二提词窗口中显示目标文本。第二提词窗口用于展示目标文本的内容。第二提词窗口可以是弹窗或悬浮窗口。
进一步地,电子设备在拍摄界面显示上述预设窗口的情况下,关闭拍摄界面中的预设窗口,并在拍摄界面弹出第一提词窗口。
本申请实施例中,电子设备接收在第二显示屏上的对目标文本的第二操作,响应于该第二操作,可以先在第二显示屏的拍摄界面显示该目标文本。然后,电子设备在接收到用户的同步请求操作的情况下,响应于同步请求操作,在第一显示屏显示目标文本。该同步请求操作用于触发电子设备在第一显示屏同步显示目标文本。
其中,拍摄界面可以包括提词开关选项(例如,第二提词窗口包括提词开关选项),同步请求操作可以将该提词开关选项设置为打开状态的操作。打开状态的提词开关选项用于触发电子设备在第一显示屏同步显示目标文本。
示例性地,对于图7中的(b)所示的拍摄界面710,第一显示屏的拍摄界面710包括预设窗口714,预设窗口714包括排序后的至少一个预设文本。电子设备100检测到用户在第一显示屏上的对预设窗口714中的某一个预设文本715的点击操作。其中,对该预设文本715的点击操作是对目标文本的第二操作。该预设文本715是一条备忘录。如图7中的(c)所示,电子设备100响应于该第二操作,关闭预设窗口714,并在拍摄界面710显示预设文本715的内容,还在拍摄界面710显示第一摄像头201a采集的部分图像。
需要说明的是,对目标本文的第二操作还可以是对预设文本715的拖动操作、语音控制操作,本申请实施例不对第二操作的具体形式进行限定。
示例性地,对于图8A中的(b)所示的拍摄界面810,拍摄界面810包括预设窗口813,预设窗口813包括至少一个预设文本。电子设备100检测到用户在第二显示屏上的对预设窗口813中的某一个预设文本814的点击操作。其中,该预设文本814是目标文本,对该目标文本814的点击操作是对目标文本的第二操作。该目标文本814是一个word文档。如图8A中的(c)所示,电子设备100响应于该第二操作,关闭 第二显示屏中的预设窗口813,并在拍摄界面810上弹出第二提词窗口815,在第二提词窗口815中显示目标文本814,还在拍摄界面810显示第一摄像头201b采集的部分图像。
其中,第二提词窗口815可以包括提词开关选项816。电子设备100检测到用户对提词开关选项816的点击操作。该用户对提词开关选项816的点击操作是同步请求操作。则电子设备100响应于同步请求操作,在第一显示屏上弹出第一提词窗口820,在第一提词窗口820中显示目标文本814,如图8A中的(d)所示。
其中,该同步请求操作用于将该提词开关选项816设置为打开状态。电子设备100还可以修改提词开关选项816的颜色为黑色,以表示该提词开关选项816处于打开状态。
需要说明的是,电子设备100可以在没有接收该第二操作的情况下,检测并响应用户对预设窗口813的关闭操作,关闭第二显示屏中的预设窗口813。用户对预设窗口813的关闭操作可以是与第一预设滑动操作反向相反的滑动操作,例如,从预设窗口813的顶端向下的滑动操作。
示例性地,对于图8B中的(b)所示的拍摄界面810,拍摄界面810包括预设窗口813,预设窗口813包括目标文本。电子设备100检测到用户在第二显示屏上的对预设窗口813中的目标文本814的点击操作。对该目标文本814的点击操作是对目标文本的第二操作。该目标文本814是一个word文档。如图8B中的(c)所示,电子设备100响应于该第二操作,在第一显示屏上弹出第一提词窗口820,在第一提词窗口820中显示目标文本814。
可以理解的是,在第一摄像头采集图像的时候,电子设备检测并响应用户的第一操作,在第一显示屏或/和第二显示屏显示至少一个预设文本。然后,电子设备可以检测并响应用户对至少一个预设文本中的目标文本的第二操作,在朝向被拍摄者的第一显示屏显示目标文本的内容。如此,用户可以通过第二操作选择被拍摄者拍摄所需的目标文本,并可以在面向被拍摄者的第一显示屏显示拍摄所需的目标文本。这样的话,被拍摄者在使用该电子设备拍摄的同时可以在该电子设备上查看该目标文本的内容,实现了通过目标文本向被拍摄者提词的功能;并且,无需再使用除该电子设备之外的其他物品,使得拍摄过程更方便、更易实现。
本申请实施例中,由于第一显示屏朝向被拍摄者,为了使得被拍摄者能够从第一显示屏中清楚地看到目标文本的内容,则电子设备可以采用第一显示效果在第一显示屏显示目标文本,以增强第一显示屏中目标文本与目标文本所在的区域背景的对比度。
具体地,如图10所示,本申请实施例提供的一种拍摄显示方法,应用于包括第一显示屏和第二显示屏的电子设备。该方法在S602之后,可以不包括S603,而包括S1001。
S1001、电子设备检测到用户对至少一个预设文本中的目标文本的第二操作,并响应于第二操作,采用预设的第一显示效果在第一显示屏的拍摄界面显示目标文本,采用预设的第二显示效果在第二显示屏的拍摄界面显示目标文本。
其中,第一显示效果和第二显示效果均可以包括以下至少一项:提词窗口的大小、文字大小、字体粗细、提词窗口的背景颜色、提词窗口的透明度、文字颜色。第一显示效果和第二显示效果可以相同或不同。
其中,第一显示效果中的提词窗口的背景颜色和文字颜色之间的反差较大,例如,提词窗口的背景颜色是黑色,文字颜色是白色。第一显示效果中的文字大小更大,例如,远大于电子设备显示除目标文本之外的其他内容所采用的文字大小。第一显示效果中的字体粗细更粗,例如,比电子设备显示除目标文本之外的其他内容所采用的字体粗细更粗。
其中,由于第二显示屏不向被拍摄者展示目标文本,则第二显示效果可以和电子设备显示除目标文本之外的其他内容所采用的显示效果相同。或者,第二显示效果是与第一显示效果不同的其他显示效果。采用该其他显示效果显示目标文本的时候,目标文本与目标文本所在的区域背景的对比度较弱。例如,第二显示效果中的提词窗口的背景颜色是白色,文字颜色是黑色。
示例性地,预设的第一显示效果中的文字大小可以是预设的第二显示效果中的文字大小的n倍;n可以是大于1的数。
示例性地,如图8A中的(c)所示的第二显示效果与如图8A中的(d)所示的第一显示效果不同。该第二显示效果和该第一显示效果的文字大小不同、提词窗口的窗口大小不同。
本申请实施例中,为了保证被拍摄者能够从第一显示屏上清楚地看到显示出的目标文本的内容,则电子设备在第一显示屏采用较大的文字大小显示目标文本。如此,第一显示屏可能显示目标文本的部分内容,还需要通过用户手动控制或自动控制显示目标文本的剩余内容。针对这种情况,电子设备可以控制第二显示屏也显示第一显示屏所显示出的目标文本的部分内容。这样的话,拍摄者通过第二显示屏可以确定第一显示屏当前向被拍摄者显示出的内容。进而,电子设设备可以检测到用户在第二显示屏上的对第一显示屏的显示内容的调整操作,用于控制第一显示屏显示目标文本的剩余内容。
具体地,如图10所示,本申请实施例提供的一种拍摄显示方法,在S1001之后,还可以包括S1002。
S1002、电子设备在确定预设同步规则是第一显示屏显示的文本内容和第二显示屏显示的文本内容相同的情况下,根据第一显示效果,调整第二显示效果,并采用调整后的第二显示效果在第二显示屏的拍摄界面显示目标文本。
其中,电子设备在确定预设同步规则是第一显示屏显示的文本内容和第二显示屏显示的文本内容不相同的情况下,可以不调整第二显示效果。预设同步规则除了由电子设备预设为第一显示屏显示的文本内容和第二显示屏显示的文本内容相同或不相同,电子设备还可以检测并响应用户对预设同步规则的修改操作,修改预设同步规则。
本申请实施例中,电子设备在确定预设同步规则是第一显示屏显示的文本内容和第二显示屏显示的文本内容相同的情况下,可以设置第二显示效果中的内容显示效果与第一显示效果中的内容显示效果相同,以使得在第二显示屏采用调整后的第二显示效果显示的目标文本的内容,与第一显示屏显示的目标文本的内容相同。
其中,内容显示效果可以是影响显示屏所显示的目标文本的内容数量的显示效果。内容显示效果可以包括提词窗口的大小和文字大小。第二显示效果中除内容显示效果之外的其他显示效果与第一显示效果中除内容显示效果之外的其他显示效果可以相同 或不同。
示例性地,电子设备100采用预设的第二显示效果在第二显示屏的拍摄界面显示目标文本814,如图11中的(a)(即图8A中的(c))所示。电子设备100响应于用户对提词开关选项816的点击操作,在第一显示屏显示目标文本814,如图11中的(b)(即图8A中的(d))所示。
然后,电子设备100可以根据第一显示效果中的文字大小和提词窗口的大小,调整第二显示效果中的文字大小和提词窗口的大小。如图11中的(c)所示,电子设备100调整第二提词窗口815的大小等于第一提词窗口820的大小,调整第二提词窗口815中的文字大小等于第一提词窗口820中的文字大小。进而,调整后的第二提词窗口815显示的目标文本的内容数量也等于第一提词窗口820显示的目标文本的内容数量。
本申请实施例中,除了设置第二显示效果中的内容显示效果和第一显示效果中的内容显示效果相同以外,电子设备还可以不设置第二显示效果的内容显示效果和第一显示效果中的内容显示效果相同,而是对第二显示屏的拍摄界面显示的提词内容进行标记。该提词内容是第一显示屏的拍摄界面当前显示的目标文本的内容。
具体地,如图12所示,本申请实施例提供的一种拍摄显示方法,在S1001之后,可以不包括S1002,包括S1201-S1202。
S1201、电子设备在确定预设同步规则是第一显示屏显示的文本内容和第二显示屏显示的文本内容相同的情况下,确定第一显示屏的拍摄界面当前显示的提词内容。
其中,电子设备可以确定第一显示屏的拍摄界面当前显示出的属于目标文本的全部内容是提词内容。
S1202、电子设备在第二显示屏的拍摄界面标记提词内容。
其中,电子设备可以采用以下至少一种方式标记提词内容:对提词内容标记色块标识,对提词内容标记下划线,对提词内容的文字字体加粗,修改提词内容的文字颜色等等。
示例性地,以电子设备采用对提词内容标记下划线、以及对提词内容的文字字体加粗,标记提词内容为例,电子设备100采用预设的第二显示效果在第二显示屏的拍摄界面显示目标文本,如图13中的(a)(即图8A中的(c))所示。电子设备100响应于用户对提词开关选项816的点击操作,在第一显示屏显示目标文本,如图13中的(b)(即图8A中的(d))所示。
然后,电子设备100可以确定第一提词窗口820中显示的属于目标文本的全部内容是提词内容。电子设备100再对第二提词窗口815中的该提词内容标记下划线,并对该提词内容的文字字体加粗,如图13中的(c)所示。
可以理解的是,通常第一显示效果相较于第二显示效果,采用的文字大小更大。因此,第二显示屏显示的目标文本的内容数量比第一显示屏显示的目标文本的内容数量更多。也就是说,第二显示屏当前显示的目标文本的内容可包括第一显示屏当前显示的目标文本的内容(即提词内容)。进而,电子设备可以对第二显示屏所包括的提词内容进行标记。
本申请实施例中,电子设备采用第一显示效果在第一显示屏的拍摄界面显示目标 文本后,还可以检测到用户对第一显示效果、第二显示效果和预设同步规则中任一个的修改操作。然后,响应于该修改操作,修改第一显示效果和/或第二显示效果。
其中,在拍摄者利用第一摄像头进行自拍的场景下,电子设备可以检测到用户在第一显示屏的拍摄界面上的对第一显示效果的修改操作,响应于该修改操作,修改第一显示效果。
其中,在拍摄者利用第一摄像头进行他拍的场景下,电子设备可以检测到用户在第一显示屏或第二显示屏的拍摄界面上的对第一显示效果或第二显示效果的修改操作,响应于该修改操作,修改第一显示效果或第二显示效果,或者同时修改第一显示效果和第二显示效果。
例如,电子设备在确定预设同步规则是第一显示屏显示的文本内容和第二显示屏显示的文本内容相同的情况下,检测到用户对第一显示效果或第二显示效果中的内容显示效果的修改操作,可以同时修改第一显示效果中的内容显示效果和第二显示效果中的内容显示效果(如,提词窗口的大小和文字大小)。
具体地,可参考图14,其介绍了在拍摄者利用第一摄像头进行他拍的场景下,电子设备检测到用户在第二显示屏的拍摄界面上的对第二显示效果中的文字大小的修改操作,响应于该修改操作,修改第一显示效果和第二显示效果的具体过程。如图14所示,本申请实施例提供的一种拍摄显示方法,在S1001之后,可以包括S1401。
S1401、电子设备检测到用户对第二显示效果中文字大小的修改操作,调整第二显示效果中的文字大小和第一显示效果中的文字大小,并在第一显示屏的拍摄界面采用调整后的第一显示效果显示目标文件、在第二显示屏的拍摄界面采用调整后的第二显示效果显示目标文件。
在拍摄者利用第一摄像头进行他拍的场景下,电子设备可以检测到用户在第二显示屏上的对第二显示效果中文字大小的修改操作。电子设备可以按照调整后的第二显示效果中的文字大小,调整拍摄界面显示的目标文件的文字大小。电子设备可以按照调整后的第一显示效果中的文字大小,调整第一显示屏显示的目标文件的文字大小。
本申请实施例中,第二显示屏的拍摄界面可以包括拍摄设置选项。电子设备可以检测并响应于用户对该拍摄设置选项的点击操作,在该拍摄界面中弹出拍摄设置弹窗。该拍摄设置弹窗可以包括第二显示效果对应的选项等等。
然后,电子设备可以检测并响应用户对第二显示效果对应的选项的点击操作(与本申请实施例所提及的对第二显示效果对应的选项的操作对应),关闭拍摄设置弹窗,在拍摄界面中弹出效果设置弹窗。效果设置弹窗可以包括第二显示效果对应的多个设置选项。电子设备再检测并响应用户对第二显示效果对应的多个设置选项中文字大小的设置操作,调整第二显示效果中的文字大小和第一显示效果中的文字大小。
其中,用户对第二显示效果对应的多个设置选项中文字大小的设置操作是对第二显示效果中文字大小的修改操作。
其中,拍摄设置弹窗还可以包括第一显示效果对应的选项和预设同步规则对应的选项等等。多个设置选项还可以包括提词窗口的大小、字体粗细、提词窗口的背景颜色、提词窗口的透明度、文字颜色等等。
示例性地,电子设备100在第二显示屏的拍摄界面810显示第二提词窗口815, 如图15中的(a)(即图8A中的(c))所示。第二提词窗口815包括拍摄设置选项817。电子设备100可以检测到用户对拍摄设置选项817的点击操作(与本申请实施例所提及的对拍摄设置选项的操作对应),在拍摄界面810中弹出拍摄设置弹窗818。如图15中的(b)所示,该拍摄设置弹窗818可以包括第一显示效果对应的选项、第二显示效果对应的选项和预设同步规则对应的选项。
然后,电子设备100可以检测并响应用户对第二显示效果对应的选项的点击操作,关闭拍摄设置弹窗818,在拍摄界面810中弹出效果设置弹窗819。如图15中的(c)所示,效果设置弹窗819可以包括第二显示效果对应的多个设置选项。电子设备100可以再检测并响应用户对第二显示效果对应的多个设置选项中文字大小的设置操作,调整第二显示效果中的文字大小和第一显示效果中的文字大小。
需要说明的是,除了图15所示的第二提词窗口分别包括提词开关选项816和拍摄设置选项817,提词开关选项816还可以包含在拍摄设置弹窗818中。本申请实施例对提词开关选项816、拍摄设置选项817以及本申请实施例所提及的其他选项的设置方式不作限制。
本申请实施例中,上述用户对第二显示效果中文字大小的修改操作可以是预设触摸操作。例如,用户对第二显示效果中文字大小的修改操作可以是双指外扩操作或双指捏合操作。双指外扩操作用于触发电子设备放大第二显示效果中的文字大小。双指捏合操作用于触发电子设备缩小第二显示效果中的文字大小。
本申请实施例中,电子设备可以响应于用户对第二显示效果中文字大小的修改操作,确定该修改操作所对应的缩放倍数。然后,电子设备根据该缩放倍数,分别对第二显示效果中的文字大小和第一显示效果中的文字大小进行缩放,得到调整后的第二显示效果中的文字大小、调整后的第一显示效果中的文字大小。
具体地,电子设备可以采用该缩放倍数,分别对第二显示效果中的文字大小和第一显示效果中的文字大小进行缩放,得到调整后的第二显示效果中的文字大小、调整后的第一显示效果中的文字大小。
或者,电子设备可以采用该缩放倍数,对第二显示效果中的文字大小进行缩放,得到调整后的第二显示效果中的文字大小。然后,电子设备用该缩放倍数乘以预设系数,得到新的缩放倍数。再采用新的缩放倍数,对第一显示效果中的文字大小进行缩放,得到调整后的第一显示效果中的文字大小。例如,预设系数是2,一个缩放倍数是1.5,可以得到新的缩放倍数是3。
其中,在第二显示效果中的内容显示效果和第一显示效果中的内容显示效果相同的情况下,第二显示效果中的文字大小和第一显示效果中的文字大小相同。进而采用同一个缩放倍数得到的调整后的第二显示效果中的文字大小和调整后的第一显示效果中的文字大小也相同。由于调整后的第二显示效果中的文字大小和调整后的第一显示效果中的文字大小相同,则第一显示屏采用调整后的文字大小所显示的内容数量的变化,与第二显示屏采用调整后的文字大小所显示的内容数量的变化也相同。
示例性地,电子设备100采用预设的第一显示效果在第一显示屏中的第一提词窗口820显示目标文本,如图16中的(a)(即图11中的(b))所示。电子设备100采用与第一显示效果中的文字大小和提词窗口的大小均相同的第二显示效果,在第二 显示屏中的第二提词窗口815显示目标文本,如图16中的(b)(即图11中的(c))所示。
电子设备100可以在第二显示屏中拍摄界面810上接收到用户对第二显示效果的双指外扩操作。则电子设备100响应于该双指外扩操作,确定该双指外扩操作所对应的放大倍数。然后,电子设备100按照该放大倍数,分别对第二显示效果中的文字大小和第一显示效果中的文字大小进行放大。如图16中的(c)和(d)所示,第一提词窗口820中调整后的字体大小和第二提词窗口815中调整后的字体大小相同,第一提词窗口820中调整后的内容数量和第二提词窗口815中调整后的内容数量也相同。
其中,在第二显示效果中的文字大小和第一显示效果中的文字大小不同的情况下,采用同一个缩放倍数得到的调整后的第二显示效果中的文字大小和调整后的第一显示效果中的文字大小可能不同。由于调整后的第二显示效果中的文字大小和调整后的第一显示效果中的文字大小不同,则第一显示屏采用调整后的文字大小所显示的内容数量的变化,与第二显示屏采用调整后的文字大小所显示的内容数量的变化不同。这种情况下,电子设备还可以执行上述S1201-S1202,以确定新的提词内容,以及在第二显示屏的拍摄界面标记新的提词内容。
示例性地,电子设备100采用预设的第一显示效果在第一显示屏中的第一提词窗口820显示目标文本,如图17中的(a)(即图13中的(b))所示。电子设备100采用第二显示效果在第二显示屏中的第二提词窗口815显示目标文本,并对第二提词窗口815中的提词内容标记下划线、加粗文字字体,如图17中的(b)(即图13中的(c))所示。
电子设备100可以在第二显示屏中拍摄界面810上接收到用户对第二显示效果的双指外扩操作。则电子设备100响应于该双指外扩操作,确定该双指外扩操作所对应的放大倍数。然后,电子设备100按照该放大倍数,分别对第二显示效果中的文字大小和第一显示效果中的文字大小进行放大。如图17中的(c)和(d)所示,第一提词窗口820中调整后的字体大小和第二提词窗口815中调整后的字体大小不同。如图17中的(c)所示,第一提词窗口820调整后所显示的内容发生变化,则电子设备100确定第一提词窗口820调整后显示的属于目标文本的所有内容是新的提词内容。第二提词窗口815调整后所显示的内容也发生变化。电子设备100在第二提词窗口815对新的提词内容标记下划线、加粗文字字体,如图17中的(d)所示。
需要说明的是,第一显示屏也可以包括拍摄设置选项,则电子设备可以检测到用户在第一显示屏上的对第二显示效果中文字大小的修改操作。其中,电子设备检测到用户在第一显示屏上的对第二显示效果中文字大小的修改操作,响应于该修改操作,修改第一显示效果和第二显示效果的具体过程,可以参照上述电子设备检测到用户在第二显示屏上的对第二显示效果中文字大小的修改操作,响应于该修改操作,修改第一显示效果和第二显示效果的详细介绍,本申请实施例这里不予赘述。
另外,电子设备还可以检测到用户对第二显示效果中除文字大小之外的其他显示效果的修改操作,或者检测到用户对第一显示效果的修改操作,响应于该修改操作,修改第一显示效果和/或第二显示效果。其中,电子设备响应于对第二显示效果中除文字大小之外的其他显示效果的修改操作,或者对第一显示效果的修改操作,修改第一 显示效果和/或第二显示效果的具体过程,可以参照上述电子设备响应于对第二显示效果中文字大小的修改操作,修改第一显示效果和第二显示效果的详细介绍,本申请实施例这里不予赘述。
本申请实施例中,电子设备采用第一显示效果在第一显示屏的拍摄界面显示目标文本后,还可以根据一些拍摄信息(如,环境亮度、被拍摄者与第一显示屏之间的距离),自动调整第一显示效果,以使得被拍摄者能够从第一显示屏中清楚地看到目标文本的内容。
具体地,电子设备在响应于第二操作,采用预设的第一显示效果在第一显示屏的拍摄界面显示目标文本之后,获取当前拍摄信息。然后,电子设备根据当前拍摄信息和预设对应关系,调整第一显示效果,并采用调整后的第一显示效果在第一显示屏的拍摄界面显示目标文本。
其中,当前拍摄信息包括当前环境亮度、被拍摄者与第一显示屏之间的当前距离中的至少一项。
其中,预设对应关系包括第一预设对应关系和第二预设对应关系中的至少一项。第一对应关系可以包括:距离与文字大小之间的对应关系(例如,距离越远,文字越大)、距离与字体粗细之间的对应关系(例如,距离越远,字体越粗)。
第二对应关系可以包括:环境亮度与文字颜色和提词窗口的背景颜色之间的对应关系。例如,第一环境亮度范围对应的文字颜色是黑色、提词窗口的背景颜色是白色;第二环境亮度范围对应的文字颜色是白色、提词窗口的背景颜色是黑色。第一环境亮度范围小于第二环境亮度范围。可以知道,第二对应关系可以表征环境亮度越大,文字颜色与提词窗口的背景颜色之间的对比度越大。
示例性地,电子设备可以通过环境光传感器测量当前环境亮度。电子设备可以通过距离传感器(如,红外测距传感器)测量被拍摄者与第一显示屏之间的当前距离。
进一步地,电子设备调整第一显示效果后,还可以执行S1002,以根据调整后的第一显示效果,继续调整调整后的第二显示效果(如,执行上述S1002)。或者,电子设备调整第一显示效果后,还可以执行S1201-S1202,以重新确定提词内容。
本申请实施例中,由于电子设备可能在第一显示屏和第二显示屏显示目标文本的部分内容。因此,电子设备在第一显示屏和第二显示屏显示目标文本后,还可以对第一显示屏显示的目标文本的内容和第二显示屏显示的目标文本的内容都进行翻页,以在第一显示屏和第二显示屏显示目标文本的剩余内容。
其中,翻页可以分为手动翻页或自动翻页。用于触发手动翻页的翻页操作可以是用于触发翻下一页的第一翻页操作、或者是用于触发翻上一页的第二翻页操作。
其中,翻页操作可以是滑动操作。例如,第一翻页操作和第二翻页操作分别是向左滑动操作和向右滑动操作。或者第一翻页操作和第二翻页操作分别是向上滑动操作和向下滑动操作。或者第二翻页操作是点击操作。本申请实施例对翻页操作的具体实施方式不做限制。
示例性地,电子设备100采用第二显示效果,在第二显示屏中的第二提词窗口815显示目标文本,如图18中的(a)或(b)所示。图18中的(a)和(b)都是图11中的(c)。如图18中的(a)所示,电子设备100可以通过第二显示屏的拍摄界面810 接收上述第一翻页操作,该第一翻页操作是向上滑动操作。如图18中的(b)所示,电子设备100可以通过第二显示屏中的拍摄界面810接收上述第二翻页操作,该第二翻页操作是点击操作。
需要说明的是,无论是开启或关闭手动翻页,开启或关闭自动翻页,用于触发手动翻页的翻页操作所采用的任一种翻页方式,以及自动翻页所采用的任一种翻页速度,都属于播放方式的设置。上述拍摄设置弹窗还可以包括播放方式对应的选项。用户可以通过播放方式对应的选项,设置播放方式,例如,设置翻页操作采用左右滑动操作、开启自动翻页等。
示例性地,以拍摄者利用第一摄像头进行他拍的场景为例,说明电子设备对第一显示屏和第二显示屏所显示的目标文本的内容进行手动翻页的具体过程。电子设备检测到用户在第二显示屏上的对目标文本的第一翻页操作。电子设备在第一显示屏的拍摄界面和第二显示屏的拍摄界面显示的目标文本的内容相同的情况下,响应于该第一翻页操作,同时在第一显示屏的拍摄界面、以及第二显示屏的拍摄界面上显示目标文本的下一页内容。
电子设备响应于该第一翻页操作,在第一显示屏的拍摄界面和第二显示屏的拍摄界面显示的目标文本的内容不同的情况下,在第一显示屏的拍摄界面显示目标文本的下一页内容;然后,执行上述S1201-S1202,以确定新的提词内容;再在第二显示屏的拍摄界面上按行向上滚动目标文本的内容,直至第二显示屏的拍摄界面显示的目标文本的内容包括新的提词内容;还在第二显示屏的拍摄界面对新的提词内容进行标记。
需要说明的是,自动翻页与手动翻页不同的地方在于,自动翻页的时候不需要检测到用户对目标文本的第一翻页操作,显示目标文本后,按照预设的翻页速度进行翻页。除此之外,电子设备自动翻页的具体过程,可以参见上述手动翻页过程的详细介绍,本申请实施例这里不予赘述。
需要说明的是,除了通过翻页更新第一显示屏的拍摄界面和第二显示屏的拍摄界面上显示目标文本的内容,还可以通过按行滚动更新第一显示屏的拍摄界面和第二显示屏的拍摄界面上显示目标文本的内容。与翻页不同的是,按行滚动是每一次滚动预设的最小行数。除此之外,电子设备通过按行滚动更新第一显示屏的拍摄界面和第二显示屏的拍摄界面上显示目标文本的内容的具体过程,均可以参见电子设备通过翻页更新第一显示屏的拍摄界面和第二显示屏的拍摄界面上显示目标文本的内容的详细介绍,本申请实施例这里不予赘述。
示例性地,电子设备100可以检测并响应用户对第二提词窗口815中的拍摄设置选项817的点击操作,在第二显示屏的拍摄界面810中弹出拍摄设置弹窗818,如图19中的(a)(即图15中的(b))所示。该拍摄设置弹窗818可以包括播放方式对应的选项。
然后,电子设备100可以检测并响应用户对播放方式对应的选项的点击操作(与本申请实施例所提及的对播放方式对应的选项的操作对应),关闭拍摄设置弹窗818,在拍摄界面810中弹出播放设置弹窗1901。如图19中的(b)所示,播放设置弹窗1901可以包括手动翻页对应的选项、以及是否开启自动翻页的选项。
如图19中的(c)所示,电子设备100检测并响应用户开启自动翻页的操作,第 二提词窗口815进入自动翻页的状态,并显示关于自动翻页的当前速度(如,慢速)的提示信息1902。
在第二提词窗口815进入自动翻页的状态下,电子设备100可以检测并响应用户对自动翻页的修改操作,在拍摄界面810中弹出自动翻页的修改弹窗1903。如图19中的(d)所示,自动翻页的修改弹窗1903包括自动翻页所采用的翻页速度对应的选项、以及关闭自动翻页的选项。其中,自动翻页所采用的翻页速度对应的选项用于触发电子设备100修改自动翻页所采用的翻页速度。关闭自动翻页对应的选项用于触发电子设备100关闭自动翻页。
本申请实施例还提供一种电子设备,该电子设备可以包括第一显示屏、第二显示屏、第一摄像头、处理器和存储器。第一显示屏和第一摄像头朝向相同,第一显示屏和第二显示屏背向设置。第一显示屏、第二显示屏、第一摄像头、存储器与处理器耦合。其中,第一摄像头用于采集图像。第一显示屏用于显示图像和目标文本。存储器用于存储计算机程序代码,计算机程序代码包括计算机指令。处理器用于运行计算机指令,使得电子设备执行上述方法实施例中电子设备100执行的各个功能或者步骤。
其中,该电子设备的硬件结构可以参考图5所示的电子设备100的结构,本申请实施例这里不予赘述。
本申请实施例还提供一种芯片系统,如图20所示,该芯片系统2000包括至少一个处理器2001和至少一个接口电路2002。
上述处理器2001和接口电路2002可通过线路互联。例如,接口电路2002可用于从其它装置(例如,电子设备的存储器)接收信号。又例如,接口电路2002可用于向其它装置(例如处理器2001、第一显示屏)发送信号。示例性的,接口电路2002可读取存储器中存储的指令,并将该指令发送给处理器2001。当所述指令被处理器2001执行时,可使得电子设备执行上述实施例中电子设备100执行的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述方法实施例中电子设备100执行的各个功能或者步骤。例如,该计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。
本申请实施例还提供了一种计算机程序产品,包括计算机指令,该计算机指令可以在电子设备上运行,使得电子设备执行上述方法实施例中电子设备100执行的各个功能或者步骤。
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单 元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (16)

  1. 一种拍摄显示方法,其特征在于,应用于包括第一显示屏、第二显示屏和第一摄像头的电子设备,所述第一显示屏和所述第一摄像头的朝向相同,所述第一显示屏和所述第二显示屏背向设置,所述方法包括:
    所述第一摄像头采集图像,在所述第一显示屏或/和所述第二显示屏的第一界面显示所述第一摄像头实时采集的图像,其中,所述第一摄像头实时采集的图像包括被拍摄者;
    检测到用户在所述第一界面的第一操作;
    响应于所述第一操作,在所述第一显示屏或/和所述第二显示屏显示第二界面,所述第二界面包括至少一个预设文本;
    检测到用户对所述至少一个预设文本中的目标文本的第二操作,所述目标文本是用于为所述被拍摄者观看的文本;
    响应于所述第二操作,在所述第一显示屏显示第三界面,所述第三界面包括所述目标文本。
  2. 根据权利要求1所述的方法,其特征在于,所述第三界面还包括:所述第一摄像头实时采集的部分或者全部图像。
  3. 根据权利要求1或2所述的方法,其特征在于,所述响应于所述第一操作,在所述第一显示屏或/和所述第二显示屏显示第二界面,包括:
    响应于所述第一操作,获取所述至少一个预设文本,并在所述第一显示屏或/和所述第二显示屏显示所述第二界面,所述至少一个预设文本为本地存储的文本或者为从服务器获取到的文本。
  4. 根据权利要求1或2所述的方法,其特征在于,在所述检测到用户在所述第一界面的第一操作之前,所述方法还包括:
    检测到用户在所述第一界面的对至少一个预设应用程序的操作,所述至少一个预设应用程序是安装在所述电子设备中的、支持处理文本内容的应用程序;
    响应于所述对所述至少一个预设应用程序的操作,在所述第一界面显示所述至少一个预设应用程序;
    检测到用户在所述第一界面的对所述至少一个预设应用程序中的目标应用程序的操作;所述对所述目标应用程序的操作是所述第一操作;
    所述响应于所述第一操作,在所述第一显示屏或/和所述第二显示屏显示第二界面,包括:
    响应于所述第一操作,获取所述目标应用程序支持处理的所述至少一个预设文本,并在所述第一显示屏或/和所述第二显示屏显示所述第二界面。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述响应于所述第二操作,在所述第一显示屏显示第三界面,包括:
    响应于所述第二操作,采用预设的第一显示效果在所述第一显示屏的所述第三界面显示所述目标文本;
    所述方法还包括:
    响应于所述第二操作,采用预设的第二显示效果在所述第二显示屏的第四界面显 示所述目标文本;
    在所述第三界面所显示的所述目标文本的内容与所述第四界面所显示的所述目标文本的内容不同的情况下,调整所述第二显示效果中的内容显示效果与所述第一显示效果中的内容显示效果相同,并采用调整后的第二显示效果在所述第四界面显示所述目标文本;所述内容显示效果是影响对应的显示屏所显示的所述目标文本的内容数量的显示效果。
  6. 根据权利要求1-4中任一项所述的方法,其特征在于,所述响应于所述第二操作,在所述第一显示屏显示第三界面,包括:
    响应于所述第二操作,采用预设的第一显示效果在所述第一显示屏的所述第三界面显示所述目标文本;
    所述方法还包括:
    响应于所述第二操作,采用预设的第二显示效果在所述第二显示屏的第四界面显示所述目标文本;
    确定所述第三界面当前显示的提词内容;所述提词内容是所述第三界面当前显示出的所述目标文本的内容;
    对所述第四界面所包括的所述提词内容进行标记。
  7. 根据权利要求5或6所述的方法,其特征在于,所述第四界面还包括:所述第一摄像头实时采集的部分或者全部图像。
  8. 根据权利要求5-7中任一项所述的方法,其特征在于,所述第四界面还包括提词窗口;所述采用预设的第二显示效果在所述第二显示屏的第四界面显示所述目标文本,包括:
    采用所述第二显示效果在所述提词窗口中显示所述目标文本;其中,所述提词窗口还包括拍摄设置选项;
    所述方法还包括:
    检测并响应所述用户对所述拍摄设置选项的操作,在所述第二显示屏弹出拍摄设置弹窗;所述拍摄设置弹窗包括:所述第二显示效果对应的选项;
    检测并响应所述用户对所述第二显示效果对应的选项的操作,关闭所述拍摄设置弹窗,在所述第二显示屏弹出效果设置弹窗;其中,所述效果设置弹窗包括所述第二显示效果对应的多个设置选项;所述第二显示效果对应的多个设置选项包括以下至少一项:文字大小、文字颜色、所述提词窗口的大小、所述提词窗口的背景颜色;
    检测并响应所述用户对所述第二显示效果对应的多个设置选项的操作,关闭所述效果设置弹窗,并调整所述第二显示效果和所述第一显示效果;
    采用调整后的第二显示效果在所述提词窗口中显示所述目标文本,采用调整后的第一显示效果在所述第三界面显示所述目标文本。
  9. 根据权利要求8所述的方法,其特征在于,在所述采用调整后的第二显示效果在所述提词窗口中显示所述目标文本,采用调整后的第一显示效果在所述第三界面显示所述目标文本之后,所述方法还包括:
    根据所述调整后的第一显示效果,重新调整所述调整后的第二显示效果中的内容显示效果与所述调整后的第一显示效果中的内容显示效果相同,并采用重新调整后的 第二显示效果在所述提词窗口显示所述目标文本;
    或者,
    重新确定所述第一显示屏当前显示的提词内容;对所述提词窗口中的重新确定的提词内容进行标记。
  10. 根据权利要求8所述的方法,其特征在于,所述拍摄设置弹窗还包括:播放方式对应的选项;所述方法还包括:
    检测并响应所述用户对所述播放方式对应的选项的操作,关闭所述拍摄设置弹窗,在所述第二显示屏弹出播放设置弹窗;其中,所述播放设置弹窗包括手动翻页对应的选项、自动翻页对应的选项;
    检测并响应所述用户对所述自动翻页对应的选项的操作,关闭所述播放设置弹窗,并在所述第二显示屏和所述第一显示屏自动更新所述目标文本的内容。
  11. 根据权利要求5-7中任一项所述的方法,其特征在于,所述方法还包括:
    获取当前拍摄信息;所述当前拍摄信息包括当前环境亮度、所述被拍摄者与所述第一显示屏之间的当前距离中的至少一项;
    根据所述当前拍摄信息和预设对应关系,调整所述第一显示效果,并采用调整后的第一显示效果在所述第三界面显示所述目标文本;
    其中,所述预设对应关系包括第一预设对应关系和第二预设对应关系中的至少一项;所述第一对应关系包括:距离与文字大小之间的对应关系、距离与字体粗细之间的对应关系;所述第二对应关系包括:环境亮度与文字颜色和提词窗口的背景颜色之间的对应关系。
  12. 根据权利要求1-11中任一项所述的方法,其特征在于,所述在所述第一显示屏或/和所述第二显示屏显示第二界面,包括:
    根据预设显示顺序,对所述至少一个预设文本进行排序,并在所述第一显示屏或/和所述第二显示屏的所述第二界面显示排序后的至少一个预设文本;
    其中,所述预设显示顺序是以下任一项:所述至少一个预设文本最新的使用时间与当前时间之间的时间差的大小顺序,所述至少一个预设文本的使用频率的大小顺序。
  13. 根据权利要求4所述的方法,其特征在于,所述在所述第一界面显示所述至少一个预设应用程序,包括:
    根据预设显示顺序,对所述至少一个预设应用程序进行排序,并在所述第一界面显示排序后的至少一个预设应用程序;
    其中,所述预设显示顺序是以下任一项:所述至少一个预设应用程序最新的使用时间与当前时间之间的时间差的大小顺序,所述至少一个预设应用程序的使用频率的大小顺序。
  14. 一种电子设备,其特征在于,所述电子设备包括第一显示屏、第二显示屏、第一摄像头、存储器和处理器;所述第一显示屏和所述第一摄像头的朝向相同,所述第一显示屏和所述第二显示屏背向设置;所述第一显示屏、所述第二显示屏、所述第一摄像头、所述存储器与所述处理器耦合;其中,所述第一摄像头用于采集图像,所述第一显示屏用于显示所述图像和目标文本;所述存储器中存储有计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得 所述电子设备执行如权利要求1-13任一项所述的方法。
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-13中任一项的方法。
  16. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,所述计算机指令在电子设备上运行,使得所述电子设备执行如权利要求1-13中任一项的方法。
PCT/CN2022/090504 2021-06-11 2022-04-29 一种拍摄显示方法、电子设备及存储介质 WO2022257645A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110656550.9 2021-06-11
CN202110656550.9A CN115473997B (zh) 2021-06-11 2021-06-11 一种拍摄显示方法、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022257645A1 true WO2022257645A1 (zh) 2022-12-15

Family

ID=84364865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090504 WO2022257645A1 (zh) 2021-06-11 2022-04-29 一种拍摄显示方法、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN115473997B (zh)
WO (1) WO2022257645A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130258117A1 (en) * 2012-03-27 2013-10-03 Amazon Technologies, Inc. User-guided object identification
CN109361887A (zh) * 2018-10-30 2019-02-19 维沃移动通信有限公司 一种录像方法和终端
CN111372119A (zh) * 2020-04-17 2020-07-03 维沃移动通信有限公司 多媒体数据录制方法、装置及电子设备
CN112738618A (zh) * 2020-12-28 2021-04-30 北京达佳互联信息技术有限公司 视频录制方法、装置及电子设备
CN113986161A (zh) * 2020-11-26 2022-01-28 深圳卡多希科技有限公司 一种音视频通信中实时提词的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10440263B2 (en) * 2017-05-12 2019-10-08 Microsoft Technology Licensing, Llc Synchronized display on hinged multi-screen device
CA2997358A1 (en) * 2018-02-21 2019-08-21 Left Stuff Inc. Video production system
CN109600659B (zh) * 2018-12-17 2021-08-31 北京小米移动软件有限公司 播放视频时的操作方法、装置、设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130258117A1 (en) * 2012-03-27 2013-10-03 Amazon Technologies, Inc. User-guided object identification
CN109361887A (zh) * 2018-10-30 2019-02-19 维沃移动通信有限公司 一种录像方法和终端
CN111372119A (zh) * 2020-04-17 2020-07-03 维沃移动通信有限公司 多媒体数据录制方法、装置及电子设备
CN113986161A (zh) * 2020-11-26 2022-01-28 深圳卡多希科技有限公司 一种音视频通信中实时提词的方法和装置
CN112738618A (zh) * 2020-12-28 2021-04-30 北京达佳互联信息技术有限公司 视频录制方法、装置及电子设备

Also Published As

Publication number Publication date
CN115473997B (zh) 2023-12-15
CN115473997A (zh) 2022-12-13

Similar Documents

Publication Publication Date Title
WO2020233517A1 (zh) 一种应用显示方法及电子设备
WO2021093793A1 (zh) 一种拍摄方法及电子设备
WO2020259038A1 (zh) 一种拍摄方法及设备
WO2021147712A1 (zh) 一种折叠屏的显示方法及相关装置
WO2020233553A1 (zh) 一种拍摄方法及终端
WO2020177583A1 (zh) 一种图像裁剪方法和电子设备
WO2020211532A1 (zh) 一种显示控制方法及相关装置
KR102022444B1 (ko) 복수의 카메라를 구비한 휴대 단말에서 유효한 영상들을 합성하기 위한 방법 및 이를 위한 휴대 단말
CN113556461B (zh) 一种图像处理方法、电子设备及计算机可读存储介质
WO2020168965A1 (zh) 一种具有折叠屏的电子设备的控制方法及电子设备
WO2020238380A1 (zh) 全景拍摄方法及终端设备
CN111949345A (zh) 一种显示应用的方法及电子设备
CN112954219A (zh) 一种多路录像方法及设备
WO2020238377A1 (zh) 拍摄处理方法、装置、移动终端及存储介质
CN111541845A (zh) 图像处理方法、装置及电子设备
CN113542581A (zh) 多路录像的取景方法、图形用户界面及电子设备
EP4124019A1 (en) Video capturing method and electronic device
WO2023020006A1 (zh) 基于可折叠屏的拍摄控制方法及电子设备
WO2021219141A1 (zh) 拍照方法、图形用户界面及电子设备
CN113497881B (zh) 图像处理方法及装置
WO2022252780A1 (zh) 拍摄方法及电子设备
CN114115769A (zh) 一种显示方法及电子设备
WO2021104159A1 (zh) 显示控制方法及电子设备
KR20220093246A (ko) 촬영 방법 및 전자 장치
WO2022237286A1 (zh) 一种图像的融合方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22819247

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE