Shooting method, terminal and computer storage medium
By judging the shooting scene on the mobile phone and starting multiple cameras, adjusting the shooting parameters and splicing the viewing angle, the problem of limited field of view angle and distortion when shooting a wide viewing angle on the existing mobile phone is solved, and the shooting effect with a large viewing angle and no distortion is achieved. Improved shooting experience.
Patent Information
- Application Number
- CN202080107906.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-12-25
AI Technical Summary
When existing mobile phones take photos of wide viewing angles, the field of view is limited and prone to distortion, resulting in poor photography experience.
By judging the shooting scene and starting at least two corresponding cameras, adjusting the shooting parameters of the camera, and displaying the shooting images of different cameras for viewing angle splicing to obtain a large viewing angle without distortion.
It achieves a large-view and no distortion picture, which improves the shooting experience, and users can obtain a broad perspective without moving their phone.
Smart Images

Figure CN116615913B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a photographing method, a terminal and a computer storage medium. Background Art
[0002] With the rapid development of terminal technology, the functions of mobile terminals such as mobile phones and tablet computers have been continuously improved, and they have gradually become one of the commonly used tools in people's daily life and work. It is very convenient to take pictures with a mobile phone, but existing mobile phones can only rely on a single wide-angle camera to take pictures with a wide viewing angle. The field of view is limited and distortion is prone to occur, resulting in a poor photo taking experience.
[0003] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention
[0004] In response to the above technical problems, the present application provides a shooting method, terminal and computer storage medium, which can obtain a wide-angle and distortion-free picture and provide a good shooting experience.
[0005] In order to solve the above technical problems, the present application provides a shooting method, which is applied to a terminal, comprising:
[0006] Determine the shooting scene;
[0007] Start at least two corresponding cameras according to the shooting scene;
[0008] Adjusting the shooting parameters of each camera;
[0009] Display the images and / or videos obtained by stitching the viewing angles of the images captured by different cameras.
[0010] Optionally, starting at least two corresponding cameras according to the shooting scene includes:
[0011] If the current shooting scene is a preset scene, at least two corresponding cameras are started according to the preset correspondence between the preset scene and the camera.
[0012] Optionally, the preset scene includes a shooting target being in an edge area of a shooting picture, and the shooting scenery being at least one of a preset type of scenery, night scene, portrait, and environment.
[0013] Optionally, the starting at least two corresponding cameras according to the shooting scene includes at least one of the following: if the current shooting scene is a night scene, starting at least two cameras with larger photosensitive elements; or,
[0014] If the current shooting scene is a portrait, the main camera and the macro camera are activated to achieve portrait blur; or,
[0015] If the current shooting scene is an environment, the main camera and the wide-angle camera are started for panoramic shooting.
[0016] Optionally, the adjusting the shooting parameters of each camera includes at least one of the following:
[0017] Adjusting shooting parameters according to the shooting images of each camera; or,
[0018] Display an area for adjusting shooting parameters, and adjust the shooting parameters of each camera according to the adjustment operation; or,
[0019] Adjust shooting parameters according to video fluency, where the shooting parameters include resolution; or,
[0020] The shooting parameters are adjusted according to the shooting scene, wherein the shooting parameters include resolution.
[0021] Optionally, the displaying of the image and / or video after the perspective stitching of the pictures taken by different cameras includes:
[0022] Respectively obtaining preview images of different cameras as shooting images;
[0023] Performing perspective stitching on the images captured by different cameras;
[0024] Display the stitched images and / or videos.
[0025] Optionally, after displaying the image and / or video obtained by stitching the viewing angles of the pictures taken by different cameras, the method further includes:
[0026] If you switch cameras while recording a video, the preview screen of one of the cameras before the switch will be maintained;
[0027] When all the switched cameras are started up, a video is displayed after the viewing angles of the shots of the switched cameras are stitched together.
[0028] Optionally, after displaying the image and / or video obtained by stitching the viewing angles of the pictures taken by different cameras, the method further includes:
[0029] When recording a video, check the smoothness of the video;
[0030] When the smoothness is lower than the threshold, the picture resolution is adjusted according to the current shooting scene.
[0031] Optionally, the method further includes:
[0032] After starting multi-camera shooting, adjust the number of cameras to start according to the shooting scene;
[0033] Monitor power consumption parameters;
[0034] When the power consumption parameter is lower than the threshold, multi-camera shooting is turned off.
[0035] The present application also provides a second multi-camera shooting method, which is applied to a terminal, including:
[0036] Activating at least two cameras located at different positions on the same side of the terminal;
[0037] Displaying a video obtained by stitching the images captured by the at least two cameras;
[0038] After the camera is switched, a video is displayed in which the viewpoints of the images shot by the switched camera are stitched together.
[0039] Optionally, in the second method, starting at least two cameras located at different positions on the same side of the terminal includes:
[0040] Displaying activation options of cameras located at different positions on the same side of the terminal on the shooting interface, and activating at least two cameras according to operations on the activation options; and / or,
[0041] At least two cameras located at different positions on the same side of the terminal are started according to the current shooting scene.
[0042] Optionally, in the second method, starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene includes:
[0043] activating one of the cameras located at different positions on the same side of the terminal;
[0044] Determine the current shooting scene according to the shooting picture of the started camera;
[0045] If the current shooting scene is a preset scene, at least two cameras at different positions on the current side are started.
[0046] Optionally, in the second method, the preset scene includes the shooting target being in an edge area of the shooting picture, and the shooting scenery being at least one of a preset type of scenery, night scene, portrait, and environment.
[0047] Optionally, in the second method, starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene includes at least one of the following:
[0048] If the current shooting scene is a night scene, at least two cameras with larger photosensitive elements at different positions on the same side are activated; or,
[0049] If the current shooting scene is a portrait, the main camera and macro camera at different positions on the same side are activated to achieve portrait blur; or,
[0050] If the current shooting scene is the environment, the main camera and the wide-angle camera at different positions on the same side are started for panoramic shooting.
[0051] Optionally, in the second method, after switching the camera, displaying a video obtained by stitching the view angles of the pictures shot by the switched camera includes:
[0052] Maintain the preview image of one of the cameras before switching;
[0053] When all the switched cameras are started up, a video is displayed after the viewing angles of the shots of the switched cameras are stitched together.
[0054] Optionally, in the second method, after displaying the video obtained by stitching the viewing angles of the images captured by the at least two cameras, the method further includes:
[0055] When recording a video, check the smoothness of the video;
[0056] When the smoothness is lower than the threshold, the picture resolution is adjusted according to the current shooting scene.
[0057] Optionally, in the second method, the method further includes:
[0058] After starting multi-camera shooting, adjust the number of cameras to start according to the shooting scene;
[0059] Monitor power consumption parameters;
[0060] When the power consumption parameter is lower than the threshold, multi-camera shooting is turned off.
[0061] The present application also provides a third multi-camera shooting method, which is applied to a terminal, including:
[0062] Activating at least two cameras located at different positions on the same side of the terminal;
[0063] An image is displayed after the viewing angles of the images captured by the at least two cameras are stitched together.
[0064] Optionally, in the third method, starting at least two cameras located at different positions on the same side of the terminal includes:
[0065] Displaying, on the shooting interface, activation options for cameras located at different positions on the same side of the terminal;
[0066] At least two cameras are activated according to the operation on the activation option.
[0067] Optionally, in the third method, starting at least two cameras according to the operation on the start option includes:
[0068] When receiving an operation for a start option of one of the cameras, start the corresponding camera;
[0069] Display the launch options of cameras that are not adjacent to the currently launched camera as inoperable;
[0070] According to the operations on the remaining operable startup options, the corresponding camera is started.
[0071] Optionally, in the third method, starting at least two cameras located at different positions on the same side of the terminal further includes:
[0072] After starting at least two cameras according to the operation for the start option, determining the moving direction of the terminal according to the pictures taken by the at least two cameras;
[0073] Adjusting the currently activated camera according to the moving direction prompt of the terminal;
[0074] If an adjustment operation is received, at least two cameras corresponding to the adjustment operation are started.
[0075] Optionally, in the third method, starting at least two cameras located at different positions on the same side of the terminal includes:
[0076] At least two cameras located at different positions on the same side of the terminal are started according to the current shooting scene.
[0077] Optionally, in the third method, starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene includes:
[0078] activating one of the cameras located at different positions on the same side of the terminal;
[0079] Determine the current shooting scene according to the shooting picture of the started camera;
[0080] If the current shooting scene is a preset scene, at least two cameras at different positions on the current side are started.
[0081] Optionally, in the third method, the preset scene includes at least one of the following: the shooting target is in an edge area of the shooting picture, and the shooting scenery is a preset type of scenery.
[0082] Optionally, in the third method, the method further includes:
[0083] After starting at least two cameras located at different positions on the same side of the terminal, preview images of the at least two cameras are displayed simultaneously.
[0084] Optionally, in the third method, the displaying of the image obtained by stitching the images captured by the at least two cameras through perspectives includes:
[0085] Receive shooting operation;
[0086] Respectively obtaining preview images of the at least two cameras as shooting images;
[0087] Performing perspective stitching on the images captured by the at least two cameras;
[0088] Display the stitched image.
[0089] Optionally, in the third method, the method further includes:
[0090] When displaying the stitched image, the corresponding shooting images of each camera are synchronously displayed as comparison images.
[0091] Optionally, in the third method, before starting at least two cameras located at different positions on the same side of the terminal, the method further includes:
[0092] Display the preview of the specified camera in the shooting interface, and display the option to enable the multi-camera shooting function;
[0093] When an operation of turning on the enable option is received, the step of starting at least two cameras located at different positions on the same side of the terminal is entered.
[0094] The present application also provides a fourth multi-camera shooting method, which is applied to a terminal, including:
[0095] Activate at least two cameras located at different positions on the same side of the terminal according to the current shooting scene;
[0096] An image is displayed after the viewing angles of the images captured by the at least two cameras are stitched together.
[0097] Optionally, in the fourth method, starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene includes:
[0098] activating one of the cameras located at different positions on the same side of the terminal;
[0099] Determine the current shooting scene according to the shooting picture of the started camera;
[0100] If the current shooting scene is a preset scene, at least two cameras at different positions on the current side are started.
[0101] Optionally, in the fourth method, the preset scene includes at least one of the following: the shooting target is in an edge area of the shooting picture, and the shooting scenery is a preset type of scenery.
[0102] Optionally, in the fourth method, the at least two cameras are adjacent cameras.
[0103] Optionally, in the fourth method, after starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene, the method further includes:
[0104] The preview images of the at least two cameras are displayed simultaneously.
[0105] Optionally, in the fourth method, the displaying of the image obtained by stitching the images captured by the at least two cameras through perspectives includes:
[0106] Receive shooting operation;
[0107] Respectively obtaining preview images of the at least two cameras as shooting images;
[0108] Performing perspective stitching on the images captured by the at least two cameras;
[0109] Display the stitched image.
[0110] Optionally, in the fourth method, the method further includes:
[0111] When displaying the stitched image, the corresponding shooting images of each camera are synchronously displayed as comparison images.
[0112] The present application also provides a terminal, including a memory and a processor, wherein the memory is used to store at least one program instruction, and the processor is used to implement the above-mentioned shooting method by loading and executing the at least one program instruction.
[0113] The present application also provides a computer storage medium having computer program instructions stored thereon; when the computer program instructions are executed by a processor, the multi-camera shooting method as described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0114] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0115] Figure 1 A schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application.
[0116] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application.
[0117] Figure 3 It is a flowchart of the multi-camera shooting method shown according to the first embodiment.
[0118] Figure 4 is a schematic diagram of the camera position of the terminal according to the first embodiment.
[0119] Figure 5 a to Figure 5 c is a schematic diagram showing a photographing operation according to the first embodiment.
[0120] Figure 6 4 is a flowchart of a multi-camera shooting method according to a second embodiment.
[0121] Figure 7 4 is a flowchart of a method for shooting with multiple cameras according to a third embodiment.
[0122] Figure 8 4 is a flowchart of a method for shooting with multiple cameras according to a fourth embodiment.
[0123] Fig. 9 It is one of the structural schematic diagrams of the terminal according to the fifth embodiment.
[0124] Fig.10 yes Fig. 9 The second schematic diagram of the structure of the terminal shown.
[0125] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0126] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0127] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0128] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.
[0129] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0130] It should be noted that, in this article, step codes such as 310 and 320 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute 320 first and then 310, etc., but these should all be within the scope of protection of this application.
[0131] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0132] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0133] The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present application may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0134] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.
[0135] See also Figure 1, which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0136] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:
[0137] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0138] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not a necessary component of the mobile terminal and can be omitted as needed without changing the essence of the application.
[0139] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0140] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.
[0141] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0142] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0143] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.
[0144] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Then, the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.
[0145] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
[0146] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area. Optionally, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0147] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.
[0148] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0149] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0150] In order to facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below.
[0151] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.
[0152] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.
[0153] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 may provide UE 201 with access to EPC 203 .
[0154] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, MME 2031 is a control node that processes signaling between UE 201 and EPC 203, and provides bearer and connection management. HSS 2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and store some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).
[0155] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.
[0156] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.
[0157] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
[0158] First embodiment
[0159] Figure 3 is a flowchart of a multi-camera shooting method according to the first embodiment. Figure 3 The multi-camera shooting method of this embodiment is applied to a terminal, and includes:
[0160] Step 310, starting at least two cameras located at different positions on the same side of the terminal;
[0161] Step 320, displaying an image obtained by stitching the images captured by at least two cameras.
[0162] Optionally, by starting at least two cameras located at different positions on the same side of the terminal, stitching the images captured by the at least two cameras, and displaying the stitched image, a wide-angle and distortion-free image can be obtained, providing a good shooting experience. In addition, in the process of obtaining a wide-angle image, the user does not need to move the phone to capture the scene, and there is no relative movement or offset between the images captured by the cameras, providing a good image stitching effect.
[0163] Please refer to Figure 4 In order to meet a certain viewing angle range, more than two ordinary cameras can be arranged at intervals along the width direction of the terminal on the back side 31 of the terminal, for example, a first camera 311, a second camera 312, and a third camera 313 are arranged, the first camera 311 and the third camera 313 are arranged near the edge of the back side 31, and the second camera 312 is arranged in the middle of the first camera 311 and the third camera 313. The combination of the first camera 311, the second camera 312, and the third camera 313 can obtain the maximum shooting viewing angle, and the splicing effect is good compared with the combination of the first camera 311 and the third camera 313. The first camera 311 and the second camera 312 can obtain the maximum shooting viewing angle on the left, and the combination of the second camera 312 and the third camera 313 can obtain the maximum shooting viewing angle on the right. In actual implementation, multiple cameras can also be arranged along the length direction of the back side 31, for example, a camera is arranged at the dotted line position shown in the figure, and is arranged at intervals along the length direction of the back side 31 with the first camera 311. Compared with the arrangement along the width direction of the back side 31, a larger viewing angle can be obtained.
[0164] As an implementation manner, the process of starting at least two cameras located at different positions on the same side of the terminal in step 310 may include:
[0165] Display the start options of cameras located at different positions on the same side of the terminal on the shooting interface;
[0166] At least two cameras are activated according to the operation for the activation options.
[0167] Please combine Figure 5 a. After entering the camera application, the camera interface 32 is displayed. The first icon 321, the second icon 322, and the third icon 323 corresponding to the first camera 311, the second camera 312, and the third camera 313 are displayed in the camera interface 32, and the option 35 for opening the multi-camera camera function is displayed. After entering the camera interface 32, the specified camera can be opened by default, and a preview screen can be displayed, such as the preview screen of the second camera 312, or no preview screen can be displayed. Then, as shown in FIG. Figure 5As shown in FIG. 2 , after the user clicks the start option 35, the start options of the cameras located at different positions on the same side of the terminal are displayed on the shooting interface 32. For example, the first start option 326, the second start option 327, and the third start option 328 are displayed below the first icon 321, the second icon 322, and the third icon 323, respectively, so that the user can choose to turn on or off the corresponding camera. Figure 5 c, the user clicks the corresponding start option to open the corresponding camera, for example, clicks the first start option 326 and the second start option 327 to correspondingly open the first camera 311 and the second camera 312, at this time, the first preview screen 3261 of the first camera 311 and the second preview screen 3271 of the second camera 312 are simultaneously displayed on the shooting interface 22, that is, the preview screens of the currently opened cameras are displayed. Similarly, the user can also choose to open the first camera 311 and the third camera 313 at the same time, or open the first camera 311, the second camera 312 and the third camera 313 at the same time.
[0168] In actual implementation, in order to ensure a better picture stitching effect, the cameras used each time are set as adjacent cameras. Therefore, when an operation for the start option of one of the cameras is received, the corresponding camera is started, and the start option of the camera that is not adjacent to the currently started camera is displayed as inoperable. After that, the corresponding camera is started according to the operation for the remaining operable start options. That is to say, after the user clicks the first start option 326, the third start option 328 corresponding to the third camera 313 that is not adjacent to the first camera 311 is displayed as inoperable. At this time, the user cannot click to start the third camera 313. After the user clicks the second start option 327, the first start option 326 and the third start option 328 are both operable, that is, the first camera 311 and the third camera 313 can both be turned on.
[0169] In addition, in order to improve the intelligence of the interaction, after at least two cameras are started according to the operation for the start option, the moving direction of the terminal is determined according to the shooting pictures of the at least two cameras, and the currently started camera is adjusted according to the moving direction prompt of the terminal. If an adjustment operation is received, at least two cameras corresponding to the adjustment operation are started. In other words, if the user turns on the first camera 311 and the second camera 312, and the terminal determines that the shooting direction of the terminal moves to the right according to the movement of the shooting pictures of the first camera 311 and the second camera 312, the user can be prompted to adjust the currently turned on camera to the second camera 312 and the third camera 313, or to the first camera 311, the second camera 312 and the third camera 313, so that the user's current requirements for the viewing angle can be intelligently and visually presented to the user. Afterwards, the user can adjust the camera's opening state according to the reminder to obtain a satisfactory viewing angle.
[0170] Through the above methods, users can freely choose the camera they want to use to obtain a satisfactory viewing angle, which is highly interactive.
[0171] As another implementation, the process of starting at least two cameras located at different positions on the same side of the terminal in step 310 may also include:
[0172] At least two cameras located at different positions on the same side of the terminal are started according to the current shooting scene.
[0173] Optionally, one of the cameras located at different positions on the same side of the terminal is first started, and the current shooting scene is determined according to the shooting picture of the started camera. If the current shooting scene is a preset scene, at least two cameras at different positions on the current side are started. The preset scene includes at least one of the following: the shooting target is in the edge area of the shooting picture, and the shooting scenery is a preset type of scenery. Optionally, the current shooting scene is matched by identifying the shooting picture of the currently started camera. For example, the picture contains shooting targets such as people and animals, and there are shooting targets in the edge area of the shooting picture. Usually, when taking a group photo, it is easy for people to be located at the edge of the picture. At this time, the first camera 311, the second camera 312, and the third camera 313 can be opened at the same time to obtain a larger viewing angle; for example, when the picture contains scenery with a wide field of view such as the sea, the sky, and the mountains, the first camera 311, the second camera 312, and the third camera 313 can be opened at the same time. In order to obtain a better stitching effect, the at least two cameras opened are adjacent cameras. After the cameras are opened, the preview pictures of at least two cameras can be displayed at the same time.
[0174] In actual implementation, after the user chooses to turn on the multi-camera shooting function, the specified camera is automatically turned on to realize automatic scene recognition, for example, the second camera 312 is turned on to realize automatic scene recognition, or after the user clicks the corresponding turn-on option to turn on the corresponding camera, the automatic scene recognition is realized by the camera selected by the user to turn on. In this way, the camera turn-on combination can automatically meet the shooting requirements of the current scene, obtain a suitable shooting angle, and obtain a better shooting effect.
[0175] In this embodiment, step 320 displays an image obtained by stitching the images captured by at least two cameras, including:
[0176] Receive shooting operation;
[0177] Obtain preview images of at least two cameras as shooting images respectively;
[0178] Performing perspective stitching on images captured by at least two cameras;
[0179] Display the stitched image.
[0180] Optionally, after turning on the corresponding camera, the terminal can automatically obtain the preview images of at least two cameras as the shooting images, perform perspective stitching on the shooting images of at least two cameras, and obtain the stitched image for display. Alternatively, after turning on the corresponding camera, the terminal obtains the preview images of at least two cameras as the shooting images according to the shooting operation, performs perspective stitching on the shooting images of at least two cameras, and obtains the stitched image for display. In the manual click shooting scheme, the user can adjust the shooting parameters, such as brightness, contrast, etc., after turning on the corresponding camera, and then shoot to achieve stitching of the shooting images.
[0181] The stitched image can be displayed using another interface. When displaying the stitched image, the corresponding shooting images of each camera can be synchronously displayed as a comparison image. The user can judge whether the stitching effect meets the requirements by comparing the images.
[0182] The multi-camera shooting method of this embodiment starts at least two cameras located at different positions on the same side of the terminal, and displays an image after the shooting images of at least two cameras are stitched from different perspectives. The perspectives of multiple cameras can be stitched to obtain a large-angle and distortion-free image, providing a good shooting experience.
[0183] Second embodiment
[0184] Figure 6 is a flowchart of a multi-camera shooting method according to the second embodiment. Figure 6 The multi-camera shooting method of this embodiment is applied to a terminal, and includes:
[0185] Step 410, starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene;
[0186] Step 420, displaying an image obtained by stitching the images captured by at least two cameras.
[0187] By starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene, stitching the shooting images of at least two cameras, and displaying the stitched image, a wide-angle and distortion-free picture can be obtained, and the shooting experience is good. At the same time, the camera opening combination can automatically meet the shooting requirements of the current scene, obtain a suitable shooting angle, and obtain a better shooting effect. In addition, in the process of obtaining a wide-angle picture, the user does not need to move the phone to capture the view, and there is no relative movement or offset between the camera pictures, and the picture stitching effect is good.
[0188] Please combine Figure 4and Figure 5 In step 410, one of the cameras located at different positions on the same side of the terminal is first started, and the current shooting scene is determined according to the shooting picture of the started camera. If the current shooting scene is a preset scene, at least two cameras at different positions on the current side are started. The preset scene includes at least one of the following: the shooting target is in the edge area of the shooting picture, and the shooting scenery is a preset type of scenery. Optionally, the current shooting scene is matched by identifying the shooting picture of the currently started camera. For example, the picture contains shooting targets such as people and animals, and there are shooting targets in the edge area of the shooting picture. Usually, when taking a group photo, it is easy for people to be located at the edge of the picture. At this time, the first camera 311, the second camera 312, and the third camera 313 can be opened at the same time to obtain a larger viewing angle; for example, when the picture contains scenery with a wide field of view such as the sea, the sky, and the mountains, the first camera 311, the second camera 312, and the third camera 313 can be opened at the same time. In order to obtain a better stitching effect, the at least two cameras opened are adjacent cameras. After the cameras are opened, the preview pictures of at least two cameras can be displayed at the same time.
[0189] In actual implementation, after the user chooses to turn on the multi-camera shooting function, the specified camera is automatically turned on to realize automatic scene recognition, for example, the second camera 312 is turned on to realize automatic scene recognition, or after the user clicks the corresponding turn-on option to turn on the corresponding camera, the automatic scene recognition is realized by the camera selected by the user to turn on. In this way, the camera turn-on combination can automatically meet the shooting requirements of the current scene, obtain a suitable shooting angle, and obtain a better shooting effect.
[0190] In this embodiment, step 420 displays an image obtained by stitching the images captured by at least two cameras, including:
[0191] Receive shooting operation;
[0192] Obtain preview images of at least two cameras as shooting images respectively;
[0193] Performing perspective stitching on images captured by at least two cameras;
[0194] Display the stitched image.
[0195] Optionally, after turning on the corresponding camera, the terminal can automatically obtain the preview images of at least two cameras as the shooting images, perform perspective stitching on the shooting images of at least two cameras, and obtain the stitched image for display. Alternatively, after turning on the corresponding camera, the terminal obtains the preview images of at least two cameras as the shooting images according to the shooting operation, performs perspective stitching on the shooting images of at least two cameras, and obtains the stitched image for display. In the manual click shooting scheme, the user can adjust the shooting parameters, such as brightness, contrast, etc., after turning on the corresponding camera, and then shoot to achieve stitching of the shooting images.
[0196] The stitched image can be displayed using another interface. When displaying the stitched image, the corresponding shooting images of each camera can be synchronously displayed as a comparison image. The user can judge whether the stitching effect meets the requirements by comparing the images.
[0197] The multi-camera shooting method of this embodiment starts at least two cameras located at different positions on the same side of the terminal according to the shooting scene, and displays the image after the shooting pictures of at least two cameras are spliced by perspective, so that the perspectives of multiple cameras can be spliced to obtain a large-angle and non-distorted picture, and the shooting experience is good. At the same time, the camera startup combination can automatically meet the shooting requirements of the current scene, and obtain a suitable shooting perspective, which is more intelligent.
[0198] Third embodiment
[0199] Figure 7 FIG. 1 is a flow chart of a method for shooting with multiple cameras according to the third embodiment. Figure 7 As shown, the multi-camera shooting method of this embodiment is applied to a terminal, including:
[0200] Step 510, determining the shooting scene.
[0201] Optionally, first start one of the cameras located in the terminal, and determine the current shooting scene based on the shooting picture of the started camera. The preset recognizable shooting scenes include the shooting target being in the edge area of the shooting picture, and the shooting scenery being at least one of the preset types of scenery, night scene, portrait, and environment.
[0202] Step 520: Start at least two corresponding cameras according to the shooting scene.
[0203] Optionally, starting at least two corresponding cameras according to the shooting scene includes:
[0204] If the current shooting scene is a preset scene, at least two corresponding cameras are started according to a preset correspondence between the preset scene and the camera.
[0205] Optionally, the corresponding relationship between the shooting scene and the camera is pre-set. If the current shooting scene is a night scene, at least two cameras with larger photosensitive elements are started to ensure the shooting quality in a dark environment; or, if the current shooting scene is a portrait, the main camera and the macro camera are started to achieve portrait blur; or, if the current shooting scene is an environment, the main camera and the wide-angle camera are started for panoramic shooting. By starting the camera according to the shooting scene, the shooting requirements of different shooting scenes can be met and the shooting quality can be improved.
[0206] Step 530: Adjust the shooting parameters of each camera.
[0207] Optionally, adjusting the shooting parameters of each camera includes at least one of the following:
[0208] Adjust the shooting parameters according to the shooting images of each camera; or,
[0209] Display an area for adjusting shooting parameters, and adjust the shooting parameters of each camera according to the adjustment operation; or,
[0210] Adjust the shooting parameters according to the video fluency, including the resolution; or
[0211] Adjust the shooting parameters according to the shooting scene, including the resolution.
[0212] Optionally, shooting parameters include but are not limited to brightness, white balance, exposure time, etc. An area for adjusting shooting parameters can be directly displayed on the shooting interface for manual adjustment of shooting parameters, or the shooting parameters can be automatically adjusted according to the shooting picture and shooting scene. For example, when the video fluency is low, some effects can be sacrificed for certain scenes and the resolution can be reduced. For example, for panoramic video shooting, 2K or 1080P resolution can be used instead of the resolution of 720P.
[0213] Step 540, displaying the image and / or video obtained by stitching the images captured by different cameras.
[0214] Optionally, displaying images and / or videos after stitching the perspectives of the images captured by different cameras includes:
[0215] Get preview images of different cameras as shooting images respectively;
[0216] Stitch the perspectives of the images taken by different cameras;
[0217] Display the stitched images and / or videos.
[0218] Optionally, after turning on the corresponding camera, the terminal can automatically obtain the preview images of at least two cameras as the shooting images, perform perspective stitching on the shooting images of at least two cameras, and obtain the stitched image and / or video for display. Alternatively, after turning on the corresponding camera, the terminal obtains the preview images of at least two cameras as the shooting images according to the shooting operation, performs perspective stitching on the shooting images of at least two cameras, and obtains the stitched image and / or video for display. The stitched image can be displayed using another interface.
[0219] Optionally, after displaying the images and / or videos after the perspective stitching of the pictures taken by different cameras, if the camera is switched during video recording, the preview picture of one of the cameras before the switch is maintained; when all the cameras after the switch are started up, the video after the perspective stitching of the pictures taken by the switched cameras is displayed. For example, before the switch, the main camera and the wide-angle camera work at the same time, and after the switch, the main camera and the macro camera work together. In the process of switching, the preview of the main camera is maintained, and after the macro camera is started, the data of the two cameras after the switch is received for perspective stitching and display. Therefore, in the process of switching cameras, there will be no obvious discontinuity or jump in the picture, which improves the shooting experience.
[0220] Optionally, after displaying the images and / or videos obtained by stitching the perspectives of the images captured by different cameras, if it is a recorded video, the video fluency is detected; when the fluency is lower than a threshold, the picture resolution is adjusted according to the current shooting scene. Since the perspective stitching is performed during the shooting process, the amount of data processing is large in some scenes. If a larger resolution is still used during the video shooting process, it may cause freezes. Therefore, when the video fluency is lower than the threshold, the picture resolution can be adjusted according to the current shooting scene. For example, in the case of a panoramic video, the resolution can be reduced to 720P.
[0221] Optionally, after starting multi-camera shooting, adjust the number of cameras started according to the shooting scene; monitor power consumption parameters; when the power consumption parameters are lower than a threshold, turn off multi-camera shooting. When using multiple cameras for shooting, it is inevitable that a large power consumption will be generated. Therefore, the number of cameras started can be automatically adjusted according to the scene to reduce power consumption. For example, the number of cameras required for night scenes is greater than the number of cameras required for scenes with sufficient light. When the camera moves or the environment changes, the number of cameras started can be adjusted according to the light. At the same time, monitor power consumption parameters such as power, and when the power is lower than the threshold, turn off the multi-camera shooting function, and use a single camera to shoot until the shooting is completed. In addition, a button to turn off the multi-camera shooting function can be added to actively turn it off when the user does not need multi-camera shooting.
[0222] The multi-camera shooting method of this embodiment determines the shooting scene; starts at least two corresponding cameras according to the shooting scene; adjusts the shooting parameters of each camera; and displays the image and / or video after the perspectives of the shooting pictures of different cameras are spliced. This application splices the perspectives of multiple cameras according to the shooting scene to obtain a large-perspective and distortion-free picture, which provides a good shooting experience.
[0223] Fourth embodiment
[0224] Figure 8 FIG. 4 is a flow chart of a method for shooting with multiple cameras according to a fourth embodiment. Figure 8 As shown, the multi-camera shooting method of this embodiment is applied to a terminal, including:
[0225] Step 610: Start at least two cameras located at different positions on the same side of the terminal.
[0226] Step 620, displaying a video obtained by stitching the views of the images captured by at least two cameras.
[0227] Step 630, after switching the camera, display the video obtained by stitching the view angles of the shot images of the switched camera.
[0228] Through the above method, at least two cameras can be used to stitch the perspectives to shoot videos and obtain a wide-angle and distortion-free picture. At the same time, during the video shooting process, camera switching can be supported to meet the picture processing requirements in different scenes in real time and improve the shooting quality.
[0229] Optionally, step 610 starts at least two cameras located at different positions on the same side of the terminal, including:
[0230] Displaying activation options of cameras located at different positions on the same side of the terminal on the shooting interface, and activating at least two cameras according to operations on the activation options; and / or,
[0231] At least two cameras located at different positions on the same side of the terminal are started according to the current shooting scene.
[0232] Optionally, starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene includes:
[0233] Activate one of the cameras located at different positions on the same side of the terminal;
[0234] Determine the current shooting scene according to the shooting picture of the started camera;
[0235] If the current shooting scene is a preset scene, at least two cameras at different positions on the current side are started.
[0236] Optionally, the preset scene includes that the shooting target is in the edge area of the shooting picture, and the shooting scenery is at least one of the preset types of scenery, night scene, portrait, and environment.
[0237] The specific implementation process of the above steps is detailed in the description of the first embodiment and the second embodiment, and will not be repeated here.
[0238] Optionally, starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene includes at least one of the following:
[0239] If the current shooting scene is a night scene, at least two cameras with larger photosensitive elements at different positions on the same side are activated; or,
[0240] If the current shooting scene is a portrait, the main camera and macro camera at different positions on the same side are activated to achieve portrait blur; or,
[0241] If the current shooting scene is the environment, the main camera and the wide-angle camera at different positions on the same side are started for panoramic shooting.
[0242] Optionally, the corresponding relationship between the shooting scene and the camera is pre-set. If the current shooting scene is a night scene, at least two cameras with larger photosensitive elements are started to ensure the shooting quality in a dark environment; or, if the current shooting scene is a portrait, the main camera and the macro camera are started to achieve portrait blur; or, if the current shooting scene is an environment, the main camera and the wide-angle camera are started for panoramic shooting. By starting the camera according to the shooting scene, the shooting requirements of different shooting scenes can be met and the shooting quality can be improved.
[0243] Optionally, after switching the camera in step 630, displaying a video after the view angles of the shot images of the switched camera are stitched together includes:
[0244] Maintain the preview image of one of the cameras before switching;
[0245] When all the switched cameras are started up, a video is displayed after the viewing angles of the shots of the switched cameras are stitched together.
[0246] For example, before switching, the main camera and wide-angle camera work simultaneously, and after switching, the main camera and macro camera work together. During the switching process, the preview of the main camera is maintained, and after the macro camera is started, the data of the two cameras after switching is received for perspective stitching and display. Therefore, during the process of switching cameras, the picture will not be obviously discontinuous or jumpy, which improves the shooting experience.
[0247] Optionally, after step 630 displays the video after the perspective stitching of the pictures taken by at least two cameras, it also includes: when recording the video, detecting the smoothness of the video; when the smoothness is lower than a threshold, adjusting the picture resolution according to the current shooting scene. Optionally, after starting multi-camera shooting, adjusting the number of cameras started according to the shooting scene; monitoring power consumption parameters; when the power consumption parameters are lower than a threshold, turning off multi-camera shooting. The specific implementation process of the above steps is detailed in the description of the third embodiment, which will not be repeated here.
[0248] The multi-camera shooting method of this embodiment starts at least two cameras located at different positions on the same side of the terminal; displays a video after the view angles of the shots of at least two cameras are spliced; after switching the camera, displays a video after the view angles of the shots of the switched camera are spliced. In the above manner, at least two cameras can be used to splice the view angles to shoot a video, and a wide view angle and non-distorted picture can be obtained. At the same time, during the process of shooting a video, the switching of cameras can be supported to meet the picture processing requirements in different scenes in real time and improve the shooting quality.
[0249] Fifth embodiment
[0250] Fig. 9 FIG. 1 is one of the schematic diagrams of the structure of the terminal according to the fifth embodiment. Fig. 9 The terminal 80 of this embodiment includes a memory 802 and a processor 806. The memory 802 is used to store at least one program instruction, and the processor 806 is used to implement the methods of the first embodiment to the fourth embodiment by loading and executing at least one program instruction.
[0251] Please refer to Fig.10 In actual implementation, the terminal 80 includes a memory 802, a storage controller 804, one or more (only one is shown in the figure) processors 806, a peripheral interface 808, a radio frequency module 850, a positioning module 812, a camera module 814, an audio module 816, a screen 818, and a key module 860. These components communicate with each other via one or more communication buses / signal lines 822.
[0252] Understandably, Fig.10 The structure shown is for illustration only. The mobile terminal 80 may also include Fig.10 More or fewer components as shown, or with Fig.10 Different configurations are shown. Fig.10 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0253] The memory 802 can be used to store software programs and modules, such as program instructions / modules corresponding to the method in the embodiments of the present application. The processor 806 executes various functional applications and data processing by running the software programs and modules stored in the storage controller 804, thereby implementing the above-mentioned method.
[0254] The memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 802 may further include a memory remotely arranged relative to the processor 806, and these remote memories may be connected to the terminal 80 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The processor 806 and other possible components may access the memory 802 under the control of the storage controller 804.
[0255] The peripheral interface 808 couples various input / output devices to the CPU and the memory 802. The processor 806 runs various software and instructions in the memory 802 to execute various functions of the terminal 80 and perform data processing.
[0256] In some embodiments, the peripheral interface 808, the processor 806, and the memory controller 804 can be implemented in a single chip. In other embodiments, they can be implemented in separate chips.
[0257] The radio frequency module 850 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The radio frequency module 850 may include various existing circuit elements for performing these functions, for example, an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a user identity module (SIM) card, a memory, etc. The radio frequency module 850 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network. The above-mentioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The wireless networks described above may use a variety of communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband code division multiple access (W-CDMA), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wireless Fidelity (WiFi) (such as Institute of Electrical and Electronics Engineers standards IEEE 802.11a, IEEE 802.11b, IEEE802.11g and / or IEEE 802.11n), Voice over Internet Protocol (VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for email, instant messaging and short messages, and any other suitable communication protocols, even those that have not yet been developed.
[0258] The positioning module 812 is used to obtain the current location of the terminal 80. Examples of the positioning module 812 include, but are not limited to, a global satellite positioning system (GPS), and positioning technology based on a wireless local area network or a mobile communication network.
[0259] The camera module 814 is used to take photos or videos. The taken photos or videos can be stored in the memory 802 and can be sent through the radio frequency module 850.
[0260] The audio module 816 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and an audio circuit. The audio circuit receives sound data from the peripheral interface 808, converts the sound data into electrical information, and transmits the electrical information to the speaker. The speaker converts the electrical information into sound waves that can be heard by the human ear. The audio circuit also receives electrical information from the microphone, converts the electrical signal into sound data, and transmits the sound data to the peripheral interface 808 for further processing. The audio data can be obtained from the memory 802 or through the radio frequency module 850. In addition, the audio data can also be stored in the memory 802 or sent through the radio frequency module 850. In some instances, the audio module 816 may also include an earphone jack for providing an audio interface to earphones or other devices.
[0261] Screen 818 provides an output interface between terminal 80 and the user. Optionally, screen 818 displays video output to the user, and the content of these video outputs may include text, graphics, videos, and any combination thereof. Some output results correspond to some user interface objects. It is understandable that screen 818 may also include a touch screen. The touch screen provides an output and input interface between terminal 80 and the user at the same time. In addition to displaying video output to the user, the touch screen also receives user input, such as user gesture operations such as clicks and slides, so that the user interface objects respond to these user inputs. The technology for detecting user input can be based on resistive, capacitive or any other possible touch detection technology. Specific examples of touch screen display units include but are not limited to liquid crystal displays or light-emitting polymer displays.
[0262] The key module 860 also provides an interface for the user to input to the mobile terminal 80. The user can press different keys to make the mobile terminal 80 execute different functions.
[0263] The present application also provides a mobile terminal device, which includes a memory, a processor, and a shooting program stored in the memory and executable on the processor, and the shooting program implements the steps of the method in any of the above embodiments when executed by the processor.
[0264] The present application also provides a computer-readable storage medium, on which a shooting program is stored. When the shooting program is executed by a processor, the steps of the method in any of the above embodiments are implemented.
[0265] In the embodiments of the mobile terminal and computer-readable storage medium provided in the present application, all technical features of the embodiments of the above-mentioned method are included, and the expansion and explanation content of the specification are basically the same as those of the embodiments of the above-mentioned call note method, and will not be repeated here.
[0266] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
[0267] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
[0268] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.
[0269] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.
[0270] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
[0271] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A shooting method, applied to a terminal, characterized in that: include: Determine the shooting scene; Start at least two corresponding cameras according to the shooting scene; Adjusting the shooting parameters of each camera; Displaying images and / or videos obtained by stitching the images captured by different cameras; The step of activating at least two corresponding cameras according to the shooting scene includes at least one of the following: if the current shooting scene is a night scene, activating at least two cameras with larger photosensitive elements; or If the current shooting scene is a portrait, the main camera and the macro camera are activated to achieve portrait blur; or, If the current shooting scene is the environment, the main camera and the wide-angle camera are activated for panoramic shooting; After displaying the image and / or video obtained by stitching the images shot by different cameras, the method further includes: If you switch cameras while recording a video, the preview screen of one of the cameras before the switch will be maintained; When all the switched cameras are started up, a video is displayed after the viewing angles of the shots of the switched cameras are stitched together.
2. The method for photographing according to claim 1, characterized in that: The starting at least two corresponding cameras according to the shooting scene includes: If the current shooting scene is a preset scene, at least two corresponding cameras are started according to the preset correspondence between the preset scene and the camera.
3. The method for photographing according to claim 2, characterized in that: The preset scene includes that the shooting target is in the edge area of the shooting picture, and the shooting scenery is at least one of the preset types of scenery, night scene, portrait, and environment.
4. The method for photographing according to claim 1, characterized in that: The adjusting of the shooting parameters of each camera includes at least one of the following: Adjusting shooting parameters according to the shooting images of each camera; or, Display an area for adjusting shooting parameters, and adjust the shooting parameters of each camera according to the adjustment operation; or, Adjust shooting parameters according to video fluency, where the shooting parameters include resolution; or, The shooting parameters are adjusted according to the shooting scene, wherein the shooting parameters include resolution.
5. The method for photographing according to claim 1, characterized in that: The displaying of the image and / or video obtained by stitching the viewing angles of the pictures taken by different cameras includes: Respectively obtaining preview images of different cameras as shooting images; Performing perspective stitching on the images captured by different cameras; Display the stitched images and / or videos.
6. The method for photographing according to claim 1, characterized in that: After displaying the image and / or video obtained by stitching the images shot by different cameras, the method further includes: When recording a video, check the smoothness of the video; When the smoothness is lower than the threshold, the picture resolution is adjusted according to the current shooting scene.
7. The method for photographing according to claim 1, characterized in that: The method further comprises: After starting multi-camera shooting, adjust the number of cameras to start according to the shooting scene; Monitor power consumption parameters; When the power consumption parameter is lower than the threshold, multi-camera shooting is turned off.
8. A shooting method, applied to a terminal, characterized in that: include: Activating at least two cameras located at different positions on the same side of the terminal; Displaying a video obtained by stitching the images captured by the at least two cameras; After the camera is switched, a video is displayed after the view angles of the images shot by the switched camera are stitched together; The step of starting at least two cameras located at different positions on the same side of the terminal includes: Displaying activation options of cameras located at different positions on the same side of the terminal on the shooting interface, and activating at least two cameras according to operations on the activation options; and / or, Activate at least two cameras located at different positions on the same side of the terminal according to the current shooting scene; The starting of at least two cameras located at different positions on the same side of the terminal according to the current shooting scene includes at least one of the following: If the current shooting scene is a night scene, at least two cameras with larger photosensitive elements at different positions on the same side are activated; or, If the current shooting scene is a portrait, the main camera and macro camera at different positions on the same side are activated to achieve portrait blur; or, If the current shooting scene is the environment, the main camera and wide-angle camera at different positions on the same side are started for panoramic shooting; After the camera is switched, a video obtained by splicing the view angles of the images shot by the switched camera is displayed, including: Maintain the preview image of one of the cameras before switching; When all the switched cameras are started up, a video is displayed after the viewing angles of the shots of the switched cameras are stitched together.
9. The method for photographing according to claim 8, characterized in that: The step of starting at least two cameras located at different positions on the same side of the terminal according to the current shooting scene includes: activating one of the cameras located at different positions on the same side of the terminal; Determine the current shooting scene according to the shooting picture of the started camera; If the current shooting scene is a preset scene, at least two cameras at different positions on the current side are started.
10. The method for photographing according to claim 9, characterized in that: The preset scene includes that the shooting target is in the edge area of the shooting picture, and the shooting scenery is at least one of the preset types of scenery, night scene, portrait, and environment.
11. The method for photographing according to claim 8, characterized in that: After displaying the video obtained by splicing the images shot by the at least two cameras, the method further includes: When recording a video, check the smoothness of the video; When the smoothness is lower than the threshold, the picture resolution is adjusted according to the current shooting scene.
12. The method for photographing according to claim 8, characterized in that: The method further comprises: After starting multi-camera shooting, adjust the number of cameras to start according to the shooting scene; Monitor power consumption parameters; When the power consumption parameter is lower than the threshold, multi-camera shooting is turned off.
13. A terminal, characterized in that: It comprises a memory and a processor, wherein the memory is used to store at least one program instruction, and the processor is used to implement the shooting method as claimed in claim 1 by loading and executing the at least one program instruction.
14. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the shooting method according to claim 1 is implemented.
Citation Information
Patent Citations
Photographing method based on dual cameras and terminal
CN106506963A
Composite image obtaining method, flexible screen terminal and computer readable storage medium
CN108540641A
Shooting method and shooting terminal
CN110248094A
Camera and camera control method thereof
CN111435968A
Image system and mobile terminal
CN210725096U