CN111385456A - Photographing preview method and device and storage medium - Google Patents

Photographing preview method and device and storage medium Download PDF

Info

Publication number
CN111385456A
CN111385456A CN201811609658.7A CN201811609658A CN111385456A CN 111385456 A CN111385456 A CN 111385456A CN 201811609658 A CN201811609658 A CN 201811609658A CN 111385456 A CN111385456 A CN 111385456A
Authority
CN
China
Prior art keywords
screen
preview
terminal
displayed
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811609658.7A
Other languages
Chinese (zh)
Inventor
黎嘉彦
卢镇洲
朱印
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811609658.7A priority Critical patent/CN111385456A/en
Publication of CN111385456A publication Critical patent/CN111385456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure relates to a photographing preview method, a photographing preview device and a storage medium, and belongs to the technical field of computers. The method is used for a terminal comprising a first screen and a second screen, wherein the first screen is displayed on the front side of the terminal, and the second screen is displayed on the back side of the terminal, and the method comprises the following steps: generating a preview picture according to the framing content of the camera; displaying the preview screen in the first screen and the second screen. In the disclosure, the terminal comprises a first screen displayed on the front side and a second screen displayed on the back side, so that when the terminal starts a camera to shoot, a preview picture can be simultaneously displayed in the first screen and the second screen, so that besides a photographer positioned on the front side of the terminal can see the preview picture, a photographer positioned on the back side of the terminal can also see the preview picture, and thus, whether direct shooting or framing content adjustment re-shooting is performed can be determined according to the preview picture, so as to improve the shooting effect.

Description

Photographing preview method and device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for previewing a photo and a storage medium.
Background
Most terminals are equipped with a camera through which a user can record life. When shooting, a user firstly clicks a camera icon to start a camera, and after the terminal finishes operations such as framing, focusing, photometry and white balance stabilization and the like, and displays a stable preview picture on an interface, the user clicks a shooting button to control the terminal to shoot.
Disclosure of Invention
To solve the problems in the related art, the present disclosure provides a photographing preview method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a photographing preview method for a terminal including a first screen and a second screen, the first screen being displayed on a front side of the terminal, the second screen being displayed on a back side of the terminal, the method including:
generating a preview picture according to the framing content of the camera;
displaying the preview screen in the first screen and the second screen.
In one possible implementation manner, the displaying the preview screen in the first screen and the second screen includes:
displaying the preview picture in a viewing frame in the first screen;
displaying the preview picture in the second screen in a full screen mode;
and the shooting control icon is displayed outside the view-finding frame and is used for controlling the shooting of the camera.
In one possible implementation manner, the displaying the preview screen in the first screen and the second screen includes:
displaying the preview picture in a full screen mode in the first screen and the second screen;
the shooting control icon is displayed in at least one third screen of the terminal, the third screen is displayed on the side face of the terminal, and the shooting control icon is used for controlling shooting of the camera.
In one possible implementation, the method further includes:
receiving a timing shooting instruction, wherein the timing shooting instruction is used for indicating the camera to shoot at a preset time;
acquiring countdown information according to the timing shooting instruction, wherein the countdown information is used for indicating the time length between the current time and the preset time;
displaying the countdown information on the preview screen displayed in the first screen and/or the second screen.
In one possible implementation, the method further includes:
starting the camera in the first screen; alternatively, the first and second electrodes may be,
and starting the camera in the second screen.
In one possible implementation, the method further includes:
detecting whether a human face exists in the preview picture;
and when the human face exists in the preview picture, triggering and executing the step of displaying the preview picture in the first screen and the second screen.
In one possible implementation, the method further includes:
when a human face exists in the preview picture, acquiring the distance between the human face and the terminal;
and when the distance is smaller than a preset threshold value, triggering and executing the step of displaying the preview picture in the first screen and the second screen.
In one possible implementation, the method further includes:
receiving a picture display setting instruction, wherein the picture display setting instruction is used for indicating that the preview picture is displayed in the first screen and the second screen when the preview picture exists.
According to a second aspect of the embodiments of the present disclosure, there is provided a photographing preview device for use in a terminal including a first screen and a second screen, the first screen being displayed on a front side of the terminal, the second screen being displayed on a rear side of the terminal, the device including:
the generating module is configured to generate a preview picture according to the framing content of the camera;
a first display module configured to display the preview screen generated by the generation module in the first screen and the second screen.
In one possible implementation, the first display module is further configured to:
displaying the preview picture in a viewing frame in the first screen;
displaying the preview picture in the second screen in a full screen mode;
and the shooting control icon is displayed outside the view-finding frame and is used for controlling the shooting of the camera.
In one possible implementation, the first display module is further configured to:
displaying the preview picture in a full screen mode in the first screen and the second screen;
the shooting control icon is displayed in at least one third screen of the terminal, the third screen is displayed on the side face of the terminal, and the shooting control icon is used for controlling shooting of the camera.
In one possible implementation, the apparatus further includes:
a first receiving module configured to receive a timing shooting instruction, wherein the timing shooting instruction is used for instructing the camera to shoot at a predetermined time;
a first obtaining module configured to obtain countdown information according to the timed shooting instruction received by the first receiving module, wherein the countdown information is used for indicating the time length between the current time and the preset time;
a second display module configured to display the countdown information obtained by the first obtaining module on the preview screen displayed in the first screen and/or the second screen.
In one possible implementation, the apparatus further includes:
a first activation module configured to activate the camera in the first screen; alternatively, the first and second electrodes may be,
a second activation module configured to activate the camera in the second screen.
In one possible implementation, the apparatus further includes:
a detection module configured to detect whether a human face exists in the preview screen;
a triggering module configured to trigger execution of the step of displaying the preview screen in the first screen and the second screen when the detection module detects that a human face exists in the preview screen.
In one possible implementation, the apparatus further includes:
the second acquisition module is configured to acquire the distance between the face and the terminal when the detection module detects that the face exists in the preview picture;
the triggering module is further configured to trigger execution of the step of displaying the preview screen in the first screen and the second screen when the distance is less than a predetermined threshold.
In one possible implementation, the apparatus further includes:
a second receiving module configured to receive a screen display setting instruction, where the screen display setting instruction is used to instruct that a preview screen is displayed in the first screen and the second screen when the preview screen exists.
According to a third aspect of the embodiments of the present disclosure, there is provided a photographing preview device, the device including:
the terminal comprises a first screen and a second screen, wherein the first screen is displayed on the front side of the terminal, and the second screen is displayed on the back side of the terminal;
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
generating a preview picture according to the framing content of the camera;
displaying the preview screen in the first screen and the second screen.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the photo preview method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the terminal comprises the first screen displayed on the front side and the second screen displayed on the back side, so that when the terminal starts a camera to shoot, the preview pictures can be simultaneously displayed in the first screen and the second screen, and therefore, besides a photographer positioned on the front side of the terminal can see the preview pictures, a photographer positioned on the back side of the terminal can also see the preview pictures, and the photographer can determine whether to shoot directly or adjust the framing content according to the preview pictures so as to improve the shooting effect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a diagram illustrating a terminal according to an example embodiment.
Fig. 2 is a flowchart illustrating a photograph preview method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a photographing preview method according to another exemplary embodiment.
Fig. 4 is a display diagram illustrating a preview screen according to another exemplary embodiment.
Fig. 5 is a flowchart illustrating a photographing preview method according to another exemplary embodiment.
Fig. 6 is a schematic diagram illustrating a display of countdown information according to another exemplary embodiment.
Fig. 7 is a block diagram illustrating a photograph preview apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a photograph preview apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating an apparatus for photo preview according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The following first introduces an application scenario related to the embodiment of the present disclosure.
The embodiment is applied to an application scene of shooting by using a camera in the terminal. The terminal comprises a camera, a first screen and a second screen, wherein the first screen is displayed on the front side of the terminal, and the second screen is displayed on the back side of the terminal. Since the first screen and the second screen may be two different areas in the same screen or may be two screens independent of each other, the following describes the terminals with these two structures separately.
1) The first screen and the second screen are two different areas in the same screen;
the first screen and the second screen may be the same in size or different in size.
In one possible implementation, the first screen and the second screen are the same size, and the first screen and the second screen are full-face screens of the same size. At this time, the camera may be a pop-up camera located inside the terminal, that is, when the camera needs to be used, the camera is controlled to pop up from the inside of the terminal; when the camera is not needed to be used, the camera is controlled to be positioned inside the terminal. Or, the camera can be a camera externally connected to the terminal, that is, when the camera needs to be used, the camera is connected with the terminal; and when the camera does not need to be used, disconnecting the camera from the terminal.
In another possible implementation manner, the first screen and the second screen are different in size, the first screen is a full screen, and the size of the second screen is smaller than that of the first screen. In this case, the camera may be located on the back of the terminal, or may be one of the two cameras, which is not limited in this embodiment.
In this embodiment, the terminal may include only the first screen and the second screen, or, alternatively, the terminal may further include at least one third screen displayed on a side of the terminal, so that the first screen and the second screen are connected through the third screen.
Exemplarily, referring to fig. 1, there is shown a terminal including a first screen, a second screen, and two third screens, and a screen with a left slash shadow is the third screen displayed on the left side of the terminal, a white screen is the first screen displayed on the front of the terminal, a black screen is the second screen displayed on the back of the terminal, a screen with a right slash shadow is the third screen displayed on the side of the terminal, and a gray portion is the upper side of the terminal.
2) The first screen and the second screen are mutually independent;
wherein, the sizes of the first screen and the second screen can be the same or different, see the description in 1) above.
Fig. 2 is a flowchart illustrating a photo preview method according to an exemplary embodiment, where the photo preview method is applied to a terminal, the terminal includes a first screen and a second screen, the first screen is displayed on a front side of the terminal, and the second screen is displayed on a back side of the terminal, as shown in fig. 2, and the photo preview method includes the following steps.
In step 201, a preview screen is generated from the contents of the camera.
In step 202, a preview screen is displayed in a first screen and a second screen.
In summary, according to the photographing preview method provided by the present disclosure, since the terminal includes the first screen displayed on the front side and the second screen displayed on the back side, when the terminal starts the camera to photograph, the preview picture can be simultaneously displayed in the first screen and the second screen, so that not only the photographer located on the front side of the terminal can see the preview picture, but also the photographer located on the back side of the terminal can see the preview picture, thereby determining whether to photograph directly or adjust the framing content according to the preview picture, so as to improve the photographing effect.
Fig. 3 is a flowchart illustrating a photo preview method according to another exemplary embodiment, where the photo preview method is applied to a terminal, the terminal includes a first screen and a second screen, the first screen is displayed on a front side of the terminal, and the second screen is displayed on a back side of the terminal, as shown in fig. 3, and the photo preview method includes the following steps.
In step 301, a camera is activated in a first screen.
A user can click an icon of a camera application in the terminal, and the terminal starts the camera application and starts a camera when receiving the clicked signal; or, the user may call the camera application through another application program, and the terminal starts the camera application and starts the camera when receiving the call signal. The embodiment does not limit the manner in which the terminal starts the camera.
Since the terminal includes the first screen and the second screen, the user may start the camera in the first screen or start the camera in the second screen.
In step 302, a preview screen is generated from the contents of the camera.
After the camera is started, the terminal can acquire the framing content of the camera and directly take the framing content as a preview picture; or, optionally, the terminal may process the view content according to preset shooting parameters to obtain a preview picture. For example, the terminal may perform processing such as focusing, light measurement, and white balance stabilization on the content of the viewfinder, and the embodiment is not limited thereto.
After the preview screen is obtained, the terminal may display the preview screen according to the current setting. For example, when the terminal receives a picture display setting instruction, the terminal performs setting according to the picture display instruction, and determines to display a preview picture in a first screen and a second screen when the preview picture is obtained; and when the terminal does not receive the picture display setting instruction, the terminal determines that a preview picture is displayed in the first screen when the preview picture is obtained.
In this embodiment, if the terminal has received the picture display setting instruction before, the terminal determines that the preview picture needs to be displayed in the first screen and the second screen, and at this time, the terminal may directly display the preview picture generated this time in the first screen and the second screen.
Optionally, before the preview screen is displayed in the second screen, the state of the second screen needs to be determined. When the second screen is in a screen turning-on state, the terminal firstly lights the second screen and then displays a preview picture in the second screen; and when the second screen is in a bright screen state, the terminal directly displays a preview picture in the second screen.
In the present embodiment, the purpose of displaying the preview screen in the second screen is to make the photographer see the preview screen, so that it is possible to determine whether to perform direct shooting or adjust framing content re-shooting according to the preview screen, thereby improving the shooting effect. For example, the photographer can determine the edge position of the photographer in the preview picture according to the preview picture, and at the moment, can adjust the position of the photographer so that the photographer is positioned in the middle of the preview picture and then shoots; or, the photographed person can determine that the hairstyle is messy according to the preview picture, and can comb the hair of the photographed person to shoot the hair again at the moment.
If the preview image does not include a person, that is, the person to be photographed, it does not make sense to display the preview image in the second screen. Therefore, optionally, the terminal may further detect whether the preview screen includes the subject, and display the preview screen in the first screen and the second screen when the subject is included, that is, execute step 303; and when the shot person is not included, displaying the preview picture in the first screen, and not displaying the preview picture in the second screen so as to save the electric quantity of the terminal.
In step 303, whether a human face exists in the preview screen is detected.
The terminal may detect whether a human face exists in the preview image through any human face recognition algorithm, which is not limited in this embodiment.
When the preview picture includes a human face, the preview picture may be considered to include the photographed person, and at this time, the terminal may directly display the preview picture in the first screen and the second screen. When the subject is far from the terminal, even if the preview screen is displayed on the second screen, the subject cannot see the preview screen, and it does not make sense to display the preview screen on the second screen. Therefore, optionally, the terminal may further obtain a distance between the face and the terminal, and when the distance is smaller than a predetermined threshold, the preview pictures are displayed in the first screen and the second screen, that is, step 304 and step 305 are executed; and when the distance is greater than a preset threshold value, displaying a preview picture in the first screen, and not displaying the preview picture in the second screen so as to save the electric quantity of the terminal.
In step 304, when a human face exists in the preview picture, the distance between the human face and the terminal is acquired.
The terminal may calculate a distance between the face and the terminal according to the size of the face in the preview picture, or the terminal may calculate the distance between the face and the terminal according to a reference object in the preview picture, or the terminal may obtain the distance between the face and the terminal set by the user (i.e., the photographer), which is not limited in this embodiment.
In step 305, when the distance is less than a predetermined threshold, a preview screen is displayed in the first screen and the second screen.
Optionally, before the preview screen is displayed in the second screen, the state of the second screen needs to be determined. When the second screen is in a screen turning-on state, the terminal firstly lights the second screen and then displays a preview picture in the second screen; and when the second screen is in a bright screen state, the terminal directly displays a preview picture in the second screen.
In this embodiment, the terminal may display the preview image in a finder frame in the first screen, and display the preview image in the second screen in full screen, where the size of the finder frame is smaller than or equal to the size of the first screen. Two implementation manners of displaying the preview picture in the first screen and the second screen by the terminal are described below with respect to two sizes of the viewfinder.
In a first implementation manner, if the size of the viewing frame is smaller than the size of the first screen, displaying a preview picture in the first screen and the second screen includes: displaying a preview picture in a viewing frame in a first screen; displaying a preview picture in a full screen mode in a second screen; wherein, shoot the control icon to reveal outside the framing frame, should shoot the control icon and is used for controlling the shooting of the lens.
The user may need to control the photographing of the camera through the photographing control icon during the photographing process. For example, if the shooting control icon is a shooting icon, the user clicks the shooting icon to control the camera to start or stop shooting, or if the shooting control icon is a video recording icon, the user clicks the video recording icon to switch shooting to video recording, or if the shooting control icon is a mode switching icon, the user clicks the mode switching icon to switch the portrait mode to the night view mode, and so on.
Since the user starts the camera in the first screen, the terminal needs to display these shooting control icons in the first screen for the user to operate. At this time, the terminal may display a finder frame in the first screen, display a preview screen in the finder frame, and display a photographing control icon outside the finder frame. And the terminal displays the preview picture in the second screen in a full screen mode.
Referring to fig. 4, a left side view in fig. 4 is a display diagram of the first screen, and a right side view is a display diagram of the second screen.
In a second implementation manner, if the size of the viewing frame is equal to the size of the first screen, displaying a preview picture in the first screen and the second screen includes: displaying a preview picture in a full screen mode in a first screen and a second screen; the shooting control icon is displayed in at least one third screen of the terminal, the third screen is displayed on the side face of the terminal, and the shooting control icon is used for controlling shooting of the camera.
When the terminal further includes a third screen, the terminal may display the photographing control icon in the third screen, and the terminal may display the preview screen in full screen in the first screen and the preview screen in full screen in the second screen.
It should be noted that the terminal may display a preview image during shooting on the first screen and the second screen, and may also display an image during video recording on the first screen and the second screen, which is not limited in this embodiment.
In summary, according to the photographing preview method provided by the present disclosure, since the terminal includes the first screen displayed on the front side and the second screen displayed on the back side, when the terminal starts the camera to photograph, the preview picture can be simultaneously displayed in the first screen and the second screen, so that not only the photographer located on the front side of the terminal can see the preview picture, but also the photographer located on the back side of the terminal can see the preview picture, thereby determining whether to photograph directly or adjust the framing content according to the preview picture, so as to improve the photographing effect.
Optionally, the user may control the terminal to shoot immediately, or the user may control the terminal to shoot at a fixed time, and after step 305, the terminal may further perform step 306 and step 308, please refer to fig. 5.
In step 306, a timing shooting instruction for instructing the camera to shoot at a predetermined time is received.
The terminal comprises a first screen and a second screen, wherein the shooting control icon in the first screen comprises a timing shooting icon, and when a user clicks the timing shooting icon, the terminal receives a timing shooting instruction.
The predetermined time is a time that is a predetermined time from the current time, and the predetermined time may be 3 seconds, 5 seconds, etc., and the embodiment is not limited.
In step 307, countdown information indicating a time period between the current time and the predetermined time is acquired according to the timed photographing instruction.
As time goes by, the current time is continuously updated, which causes the duration between the current time and the scheduled time to be continuously reduced, and at this time, the terminal may acquire and display countdown information to prompt the user of the scheduled time to be photographed.
In this embodiment, the terminal may obtain the sequential countdown information at predetermined time intervals, for example, obtain the countdown information once per second.
In step 308, countdown information is displayed on the preview screen displayed in the first screen and/or the second screen.
Referring to fig. 6, a left side view in fig. 6 is a display diagram of the first screen, and a right side view is a display diagram of the second screen.
The terminal comprises the first screen displayed on the front side and the second screen displayed on the back side, so that when the terminal starts a camera to shoot at fixed time, the countdown information and the preview picture can be simultaneously displayed in the first screen and/or the second screen, and therefore when the countdown information is displayed in the second screen, a shot person positioned on the back side of the terminal can see the countdown information, so that the posture of the shot person can be adjusted or kept according to the countdown information, and the shooting effect is improved.
It should be noted that, the embodiment shown in fig. 3 is described by taking an example of starting a camera in a first screen of a user, and when the user starts the camera in a second screen, the implementation manner of the embodiment is the same as that shown in fig. 3, except that the first screen at this time may be regarded as the second screen in the embodiment shown in fig. 3, and the second screen at this time may be regarded as the first screen in the embodiment shown in fig. 3, which is not described herein again.
Fig. 7 is a block diagram illustrating a photo preview device applied to a terminal including a first screen and a second screen, the first screen being displayed on a front surface of the terminal, the second screen being displayed on a rear surface of the terminal, according to an exemplary embodiment, as shown in fig. 7, the photo preview device including: a generating module 701 and a first display module 702.
The generating module 701 is configured to generate a preview screen according to the framing content of the camera;
the first display module 702 is configured to display the preview screen generated by the generation module 701 in the first screen and the second screen.
In summary, according to the photographing preview device provided by the present disclosure, since the terminal includes the first screen displayed on the front side and the second screen displayed on the back side, when the terminal starts the camera to photograph, the preview picture can be simultaneously displayed on the first screen and the second screen, so that the photographer located on the front side of the terminal can see the preview picture, and the photographer located on the back side of the terminal can also see the preview picture, thereby determining whether to photograph directly or adjust the framing content according to the preview picture, so as to improve the photographing effect.
Fig. 8 is a block diagram illustrating a photo preview device applied to a terminal including a first screen and a second screen, the first screen being displayed on a front surface of the terminal, the second screen being displayed on a rear surface of the terminal, according to an exemplary embodiment, as shown in fig. 8, the photo preview device including: a generating module 801 and a first display module 802.
The generating module 801 is configured to generate a preview screen according to the framing content of the camera;
the first display module 802 is configured to display the preview screen generated by the generation module 801 in the first screen and the second screen.
In one possible implementation, the first display module 802 is further configured to:
displaying a preview picture in a viewing frame in a first screen;
displaying a preview picture in a full screen mode in a second screen;
the shooting control icon is displayed outside the view-finding frame and used for controlling shooting of the camera.
In one possible implementation, the first display module 802 is further configured to:
displaying a preview picture in a full screen mode in a first screen and a second screen;
the shooting control icon is displayed in at least one third screen of the terminal, the third screen is displayed on the side face of the terminal, and the shooting control icon is used for controlling shooting of the camera.
In one possible implementation, the apparatus further includes: a first receiving module 803, a first obtaining module 804 and a second displaying module 805;
the first receiving module 803 is configured to receive a timing shooting instruction, where the timing shooting instruction is used to instruct a camera to shoot at a predetermined time;
the first obtaining module 804 is configured to obtain countdown information according to the timing shooting instruction received by the first receiving module 803, where the countdown information is used to indicate a time length between a current time and a predetermined time;
the second display module 805 is configured to display the countdown information obtained by the first obtaining module 804 on a preview screen displayed in the first screen and/or the second screen.
In one possible implementation, the apparatus further includes: a first boot module 806 or a second boot module 807;
the first activation module 806 configured to activate a camera in a first screen; alternatively, the first and second electrodes may be,
the second activation module 807 is configured to activate the camera in the second screen.
In one possible implementation, the apparatus further includes: a detection module 808 and a trigger module 809;
the detection module 808, configured to detect whether a human face exists in the preview screen;
the triggering module 809 is configured to trigger execution of the step of displaying the preview screen in the first screen and the second screen when the detecting module detects that the face exists in the preview screen.
In one possible implementation, the apparatus further includes: a second obtaining module 810;
the second obtaining module 810 is configured to obtain a distance between a human face and the terminal when the detecting module detects that the human face exists in the preview picture;
the triggering module 809 is further configured to trigger execution of the step of displaying the preview screen in the first screen and the second screen when the distance is less than the predetermined threshold.
In one possible implementation, the apparatus further includes: a second receiving module 811;
the second receiving module 811 is configured to receive a screen display setting instruction for instructing to display a preview screen in the first screen and the second screen when the preview screen exists.
In summary, according to the photographing preview device provided by the present disclosure, since the terminal includes the first screen displayed on the front side and the second screen displayed on the back side, when the terminal starts the camera to photograph, the preview picture can be simultaneously displayed on the first screen and the second screen, so that the photographer located on the front side of the terminal can see the preview picture, and the photographer located on the back side of the terminal can also see the preview picture, thereby determining whether to photograph directly or adjust the framing content according to the preview picture, so as to improve the photographing effect.
The terminal comprises the first screen displayed on the front side and the second screen displayed on the back side, so that when the terminal starts a camera to shoot at fixed time, the countdown information and the preview picture can be simultaneously displayed in the first screen and/or the second screen, and therefore when the countdown information is displayed in the second screen, a shot person positioned on the back side of the terminal can see the countdown information, so that the posture of the shot person can be adjusted or kept according to the countdown information, and the shooting effect is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure provides a photographing preview device, which can implement the photographing preview method provided by the present disclosure, and the photographing preview device includes: the terminal comprises a first screen and a second screen, wherein the first screen is displayed on the front side of the terminal, and the second screen is displayed on the back side of the terminal; a processor; a memory for storing processor-executable instructions;
wherein the processor is configured to:
generating a preview picture according to the framing content of the camera;
a preview screen is displayed in the first screen and the second screen.
Fig. 9 is a block diagram illustrating an apparatus 900 for photo preview according to an exemplary embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 906 provides power to the various components of device 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 includes a screen providing an output interface between the device 900 and a user, the screen including a first screen and a second screen, or the screen including a first screen, a second screen, and a third screen. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, the sensor assembly 914 may detect an open/closed state of the device 900, the relative positioning of the components, such as a display and keypad of the apparatus 900, the sensor assembly 914 may also detect a change in the position of the apparatus 900 or a component of the apparatus 900, the presence or absence of user contact with the apparatus 900, orientation or acceleration/deceleration of the apparatus 900, and a change in the temperature of the apparatus 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the apparatus 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the above photo preview method.
An exemplary embodiment of the present disclosure provides a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement the photo preview method as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A photographing preview method is used in a terminal comprising a first screen and a second screen, wherein the first screen is displayed on the front side of the terminal, and the second screen is displayed on the back side of the terminal, and the method comprises the following steps:
generating a preview picture according to the framing content of the camera;
displaying the preview screen in the first screen and the second screen.
2. The method of claim 1, wherein the displaying the preview screen in the first screen and the second screen comprises:
displaying the preview picture in a viewing frame in the first screen;
displaying the preview picture in the second screen in a full screen mode;
and the shooting control icon is displayed outside the view-finding frame and is used for controlling the shooting of the camera.
3. The method of claim 1, wherein the displaying the preview screen in the first screen and the second screen comprises:
displaying the preview picture in a full screen mode in the first screen and the second screen;
the shooting control icon is displayed in at least one third screen of the terminal, the third screen is displayed on the side face of the terminal, and the shooting control icon is used for controlling shooting of the camera.
4. The method of claim 1, further comprising:
receiving a timing shooting instruction, wherein the timing shooting instruction is used for indicating the camera to shoot at a preset time;
acquiring countdown information according to the timing shooting instruction, wherein the countdown information is used for indicating the time length between the current time and the preset time;
displaying the countdown information on the preview screen displayed in the first screen and/or the second screen.
5. The method of claim 1, further comprising:
starting the camera in the first screen; alternatively, the first and second electrodes may be,
and starting the camera in the second screen.
6. The method of any of claims 1 to 5, further comprising:
detecting whether a human face exists in the preview picture;
and when the human face exists in the preview picture, triggering and executing the step of displaying the preview picture in the first screen and the second screen.
7. The method of claim 6, further comprising:
when a human face exists in the preview picture, acquiring the distance between the human face and the terminal;
and when the distance is smaller than a preset threshold value, triggering and executing the step of displaying the preview picture in the first screen and the second screen.
8. The method of any of claims 1 to 5, further comprising:
receiving a picture display setting instruction, wherein the picture display setting instruction is used for indicating that the preview picture is displayed in the first screen and the second screen when the preview picture exists.
9. A photographing preview device for use in a terminal including a first screen and a second screen, the first screen being displayed on a front side of the terminal, the second screen being displayed on a rear side of the terminal, the device comprising:
the generating module is configured to generate a preview picture according to the framing content of the camera;
a first display module configured to display the preview screen generated by the generation module in the first screen and the second screen.
10. The apparatus of claim 9, wherein the first display module is further configured to:
displaying the preview picture in a viewing frame in the first screen;
displaying the preview picture in the second screen in a full screen mode;
and the shooting control icon is displayed outside the view-finding frame and is used for controlling the shooting of the camera.
11. The apparatus of claim 9, wherein the first display module is further configured to:
displaying the preview picture in a full screen mode in the first screen and the second screen;
the shooting control icon is displayed in at least one third screen of the terminal, the third screen is displayed on the side face of the terminal, and the shooting control icon is used for controlling shooting of the camera.
12. The apparatus of claim 9, further comprising:
a first receiving module configured to receive a timing shooting instruction, wherein the timing shooting instruction is used for instructing the camera to shoot at a predetermined time;
a first obtaining module configured to obtain countdown information according to the timed shooting instruction received by the first receiving module, wherein the countdown information is used for indicating the time length between the current time and the preset time;
a second display module configured to display the countdown information obtained by the first obtaining module on the preview screen displayed in the first screen and/or the second screen.
13. The apparatus of claim 9, further comprising:
a first activation module configured to activate the camera in the first screen; alternatively, the first and second electrodes may be,
a second activation module configured to activate the camera in the second screen.
14. The apparatus of any of claims 9 to 13, further comprising:
a detection module configured to detect whether a human face exists in the preview screen;
a triggering module configured to trigger execution of the step of displaying the preview screen in the first screen and the second screen when the detection module detects that a human face exists in the preview screen.
15. The apparatus of claim 14, further comprising:
the second acquisition module is configured to acquire the distance between the face and the terminal when the detection module detects that the face exists in the preview picture;
the triggering module is further configured to trigger execution of the step of displaying the preview screen in the first screen and the second screen when the distance is less than a predetermined threshold.
16. The apparatus of any of claims 9 to 13, further comprising:
a second receiving module configured to receive a screen display setting instruction, where the screen display setting instruction is used to instruct that a preview screen is displayed in the first screen and the second screen when the preview screen exists.
17. A picture taking preview apparatus, the apparatus comprising:
the terminal comprises a first screen and a second screen, wherein the first screen is displayed on the front side of the terminal, and the second screen is displayed on the back side of the terminal;
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
generating a preview picture according to the framing content of the camera;
displaying the preview screen in the first screen and the second screen.
18. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions that is loaded and executed by the processor to implement the photo preview method of any of claims 1 to 8.
CN201811609658.7A 2018-12-27 2018-12-27 Photographing preview method and device and storage medium Pending CN111385456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811609658.7A CN111385456A (en) 2018-12-27 2018-12-27 Photographing preview method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811609658.7A CN111385456A (en) 2018-12-27 2018-12-27 Photographing preview method and device and storage medium

Publications (1)

Publication Number Publication Date
CN111385456A true CN111385456A (en) 2020-07-07

Family

ID=71220920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811609658.7A Pending CN111385456A (en) 2018-12-27 2018-12-27 Photographing preview method and device and storage medium

Country Status (1)

Country Link
CN (1) CN111385456A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866384A (en) * 2020-07-16 2020-10-30 深圳传音控股股份有限公司 Shooting control method, mobile terminal and computer storage medium
CN112437235A (en) * 2020-11-11 2021-03-02 Oppo广东移动通信有限公司 Night scene picture generation method and device and mobile terminal
CN112492221A (en) * 2020-12-18 2021-03-12 维沃移动通信有限公司 Photographing method and device, electronic equipment and storage medium
CN114401340A (en) * 2021-12-31 2022-04-26 荣耀终端有限公司 Collaborative shooting method, electronic device and medium thereof
CN115022527A (en) * 2021-12-31 2022-09-06 荣耀终端有限公司 Method for starting cooperative function and electronic equipment
WO2023124178A1 (en) * 2021-12-31 2023-07-06 荣耀终端有限公司 Method for displaying preview image, apparatus, and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277375A (en) * 2017-07-31 2017-10-20 维沃移动通信有限公司 A kind of self-timer method and mobile terminal
CN107770312A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device and terminal
CN107765775A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Control method, device and the storage medium of terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277375A (en) * 2017-07-31 2017-10-20 维沃移动通信有限公司 A kind of self-timer method and mobile terminal
CN107770312A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device and terminal
CN107765775A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Control method, device and the storage medium of terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866384A (en) * 2020-07-16 2020-10-30 深圳传音控股股份有限公司 Shooting control method, mobile terminal and computer storage medium
CN111866384B (en) * 2020-07-16 2022-02-01 深圳传音控股股份有限公司 Shooting control method, mobile terminal and computer storage medium
CN112437235A (en) * 2020-11-11 2021-03-02 Oppo广东移动通信有限公司 Night scene picture generation method and device and mobile terminal
CN112437235B (en) * 2020-11-11 2022-03-01 Oppo广东移动通信有限公司 Night scene picture generation method and device and mobile terminal
CN112492221A (en) * 2020-12-18 2021-03-12 维沃移动通信有限公司 Photographing method and device, electronic equipment and storage medium
CN112492221B (en) * 2020-12-18 2022-07-12 维沃移动通信有限公司 Photographing method and device, electronic equipment and storage medium
CN114401340A (en) * 2021-12-31 2022-04-26 荣耀终端有限公司 Collaborative shooting method, electronic device and medium thereof
CN115022527A (en) * 2021-12-31 2022-09-06 荣耀终端有限公司 Method for starting cooperative function and electronic equipment
WO2023124178A1 (en) * 2021-12-31 2023-07-06 荣耀终端有限公司 Method for displaying preview image, apparatus, and readable storage medium
CN116437194A (en) * 2021-12-31 2023-07-14 荣耀终端有限公司 Method, apparatus and readable storage medium for displaying preview image
CN114401340B (en) * 2021-12-31 2023-09-26 荣耀终端有限公司 Collaborative shooting method, electronic equipment and medium thereof
CN116437194B (en) * 2021-12-31 2024-04-05 荣耀终端有限公司 Method, apparatus and readable storage medium for displaying preview image

Similar Documents

Publication Publication Date Title
US10674088B2 (en) Method and device for acquiring image, terminal and computer-readable storage medium
CN108419016B (en) Shooting method and device and terminal
CN111385456A (en) Photographing preview method and device and storage medium
CN106408603B (en) Shooting method and device
CN111586282B (en) Shooting method, shooting device, terminal and readable storage medium
CN106210496B (en) Photo shooting method and device
CN109557999B (en) Bright screen control method and device and storage medium
CN107463052B (en) Shooting exposure method and device
CN107015648B (en) Picture processing method and device
CN108040213B (en) Method and apparatus for photographing image and computer-readable storage medium
CN112188074B (en) Image processing method and device, electronic equipment and readable storage medium
CN113364965A (en) Shooting method and device based on multiple cameras and electronic equipment
CN115134505B (en) Preview picture generation method and device, electronic equipment and storage medium
CN111586280B (en) Shooting method, shooting device, terminal and readable storage medium
CN106775246B (en) Screen brightness adjusting method and device
US11617023B2 (en) Method for brightness enhancement of preview image, apparatus, and medium
CN111277754B (en) Mobile terminal shooting method and device
CN107707819B (en) Image shooting method, device and storage medium
CN111464734B (en) Method and device for processing image data
CN109862252B (en) Image shooting method and device
CN112752010B (en) Shooting method, device and medium
CN106713748B (en) Method and device for sending pictures
CN111225158B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN107317977B (en) Shooting method and device
CN114339016A (en) Camera shooting method, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200707