Camera shooting method and device, equipment and storage medium

By using the positional relationship and feature information of the main camera and the auxiliary camera in the terminal device to determine the shooting parameters, the problem of long and inaccurate calculation of shooting parameters in the existing technology is solved, and the shooting efficiency is improved.

CN118590751APending Publication Date: 2024-09-03SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410854128.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the prior art, the terminal device takes a long time to calculate the shooting parameters when shooting, and the calculated parameters are not the optimal shooting parameters, resulting in low shooting efficiency.

Method used

By responding to the triggering operation of the shooting mode control, the positional relationship between the main camera and the auxiliary camera is determined, the characteristic information of each camera is obtained, multiple shooting parameters are determined based on this information, and the target shooting parameters of the main camera are adjusted to improve the adjustment of the imaging picture Speed ​​and accuracy.

Benefits of technology

It improves the adjustment speed and accuracy of the main camera imaging screen and improves shooting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590751A
    Figure CN118590751A
Patent Text Reader

Abstract

The embodiment of the invention provides a camera shooting method and device, equipment and a storage medium, and the method comprises the steps: responding to a triggering operation of a target shooting mode control in at least one shooting mode control, determining a main camera and at least one auxiliary camera corresponding to the target shooting mode control, and determining a plurality of first shooting parameters corresponding to the main camera, determining at least one second shooting parameter corresponding to the at least one auxiliary camera, determining a target shooting parameter of the main camera according to the plurality of first shooting parameters and the at least one second shooting parameter, and controlling the main camera to shoot according to the target shooting parameter. According to the method, the shooting efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of image processing, and specifically relates to a camera shooting method, device, equipment and storage medium. Background Art

[0002] Users are increasingly using terminal devices to take photos and videos, and the corresponding imaging hardware of terminal devices is constantly improving. Terminal devices can be equipped with multiple cameras to meet users' shooting needs in different situations.

[0003] In the prior art, when a user takes a photo, the terminal device may determine a shooting parameter through one of a plurality of cameras, and then perform the shooting and imaging after the shooting parameter is determined.

[0004] In the actual shooting process, there are cases where the terminal device takes a long time to calculate the shooting parameters, or the calculated shooting parameters are not optimal shooting parameters, resulting in low shooting efficiency. Summary of the invention

[0005] The embodiments of the present application relate to a camera shooting method, apparatus, device and storage medium, which are used to solve the defects in the prior art that the terminal device takes a long time to calculate the shooting parameters, or the calculated shooting parameters are not optimal shooting parameters, resulting in low shooting efficiency.

[0006] In a first aspect, an embodiment of the present application provides a camera shooting method, comprising:

[0007] In response to a triggering operation on a target shooting mode control in at least one shooting mode control, determining a main camera and at least one auxiliary camera corresponding to the target shooting mode control;

[0008] Determine a plurality of first shooting parameters corresponding to the main camera, and determine at least one second shooting parameter corresponding to the at least one auxiliary camera;

[0009] Determining a target shooting parameter of the main camera according to the multiple first shooting parameters and the at least one second shooting parameter;

[0010] According to the target shooting parameters, the main camera is controlled to shoot.

[0011] In a possible implementation, determining a plurality of first shooting parameters corresponding to the main camera and determining at least one second shooting parameter corresponding to the at least one auxiliary camera includes:

[0012] Determining a positional relationship between the main camera and the at least one auxiliary camera;

[0013] Determining, according to the positional relationship, first feature information to be acquired by the main camera and second feature information to be acquired by the at least one auxiliary camera;

[0014] The plurality of first shooting parameters and the at least one second shooting parameter are determined according to the first feature information and the second feature information.

[0015] In a possible implementation, determining, according to the positional relationship, first feature information to be acquired by the main camera and second feature information to be acquired by the at least one auxiliary camera includes:

[0016] According to the position relationship, determining whether the main camera is a rear camera;

[0017] If so, determine that the first feature information to be acquired by the main camera is environmental information, and determine whether there is a front camera in the at least one auxiliary camera; if there is, determine the number of cameras of the at least one auxiliary camera, and determine the second feature information to be acquired by the at least one auxiliary camera according to the number of cameras; if not, determine that the second feature information to be acquired by the at least one auxiliary camera is the environmental information;

[0018] If not, it is determined that the first feature information to be acquired by the main camera is face information, and the second feature information to be acquired by the at least one auxiliary camera is the environmental information.

[0019] In a possible implementation, determining, according to the number of cameras, the second feature information to be acquired by the at least one auxiliary camera includes:

[0020] If the number of the camera is 1, determining that the second feature information to be acquired by the auxiliary camera is the area of ​​interest information;

[0021] If there are multiple cameras, it is determined that the second feature information to be acquired by the auxiliary camera is the area of ​​interest information and the environment information.

[0022] In a possible implementation, determining the plurality of first shooting parameters and the at least one second shooting parameter according to the first feature information and the second feature information includes:

[0023] If both the first feature information and the second feature information are the environment information, determining a first parameter direction corresponding to the plurality of first shooting parameters and a second parameter direction corresponding to the at least one second shooting parameter, and determining the plurality of first shooting parameters and the at least one second shooting parameter according to the first parameter direction and the second parameter direction, the first parameter direction being opposite to the second parameter direction;

[0024] If the first feature information is the face information and the second feature information is the environment information, determining the plurality of first shooting parameters according to the face information, and determining the at least one second shooting parameter according to the environment information;

[0025] If the first characteristic information is the environmental information and the second characteristic information is the area of ​​interest information, the multiple first shooting parameters are determined according to the environmental information, and the focus parameter of the at least one second shooting parameter is determined according to the area of ​​interest information.

[0026] In a possible implementation, determining the target shooting parameter of the main camera according to the multiple first shooting parameters and the at least one second shooting parameter includes:

[0027] Determining the shooting parameters to be selected for the main camera according to the multiple first shooting parameters;

[0028] Determining an auxiliary shooting parameter of the main camera according to the at least one second shooting parameter;

[0029] The selected shooting parameters are adjusted according to the auxiliary shooting parameters to determine the target shooting parameters of the main camera.

[0030] In a possible implementation, determining the target shooting parameter of the main camera according to the multiple first shooting parameters and the at least one second shooting parameter includes:

[0031] Determining a first target parameter of the main camera according to the multiple first shooting parameters;

[0032] Determining a second target parameter of the main camera according to the at least one second shooting parameter;

[0033] The target shooting parameters include a first target parameter and a second target parameter.

[0034] In a second aspect, an embodiment of the present application provides a camera shooting device, comprising:

[0035] A first determining module, configured to determine, in response to a triggering operation on a target shooting mode control in at least one shooting mode control, a main camera and at least one auxiliary camera corresponding to the target shooting mode control;

[0036] A second determining module, used to determine a plurality of first shooting parameters corresponding to the main camera, and to determine at least one second shooting parameter corresponding to the at least one auxiliary camera;

[0037] A third determination module, configured to determine a target shooting parameter of the main camera according to the plurality of first shooting parameters and the at least one second shooting parameter;

[0038] The control module is used to control the main camera to shoot according to the target shooting parameters.

[0039] In a possible implementation manner, the second determining module is specifically configured to:

[0040] Determining a positional relationship between the main camera and the at least one auxiliary camera;

[0041] Determining, according to the positional relationship, first feature information to be acquired by the main camera and second feature information to be acquired by the at least one auxiliary camera;

[0042] The plurality of first shooting parameters and the at least one second shooting parameter are determined according to the first feature information and the second feature information.

[0043] In a possible implementation manner, the second determining module is specifically configured to:

[0044] According to the position relationship, determining whether the main camera is a rear camera;

[0045] If so, determine that the first feature information to be acquired by the main camera is environmental information, and determine whether there is a front camera in the at least one auxiliary camera; if there is, determine the number of cameras of the at least one auxiliary camera, and determine the second feature information to be acquired by the at least one auxiliary camera according to the number of cameras; if not, determine that the second feature information to be acquired by the at least one auxiliary camera is the environmental information;

[0046] If not, it is determined that the first feature information to be acquired by the main camera is face information, and the second feature information to be acquired by the at least one auxiliary camera is the environmental information.

[0047] In a possible implementation manner, the second determining module is specifically configured to:

[0048] If the number of the camera is 1, determining that the second feature information to be acquired by the auxiliary camera is the area of ​​interest information;

[0049] If there are multiple cameras, it is determined that the second feature information to be acquired by the auxiliary camera is the area of ​​interest information and the environment information.

[0050] In a possible implementation manner, the second determining module is specifically configured to:

[0051] If both the first feature information and the second feature information are the environment information, determining a first parameter direction corresponding to the plurality of first shooting parameters and a second parameter direction corresponding to the at least one second shooting parameter, and determining the plurality of first shooting parameters and the at least one second shooting parameter according to the first parameter direction and the second parameter direction, the first parameter direction being opposite to the second parameter direction;

[0052] If the first feature information is the face information and the second feature information is the environment information, determining the plurality of first shooting parameters according to the face information, and determining the at least one second shooting parameter according to the environment information;

[0053] If the first characteristic information is the environmental information and the second characteristic information is the area of ​​interest information, the multiple first shooting parameters are determined according to the environmental information, and the focus parameter of the at least one second shooting parameter is determined according to the area of ​​interest information.

[0054] In a possible implementation manner, the third determining module is specifically configured to:

[0055] Determining the shooting parameters to be selected for the main camera according to the multiple first shooting parameters;

[0056] Determining an auxiliary shooting parameter of the main camera according to the at least one second shooting parameter;

[0057] The selected shooting parameters are adjusted according to the auxiliary shooting parameters to determine the target shooting parameters of the main camera.

[0058] In a possible implementation manner, the third determining module is specifically configured to:

[0059] Determining a first target parameter of the main camera according to the multiple first shooting parameters;

[0060] Determining a second target parameter of the main camera according to the at least one second shooting parameter;

[0061] The target shooting parameters include a first target parameter and a second target parameter.

[0062] In a third aspect, the present application provides a chip having a computer program stored thereon, and when the computer program is executed by the chip, the camera shooting method as described in any one of the first aspects is implemented.

[0063] In a fourth aspect, the present application provides a chip module having a computer program stored thereon, and when the computer program is executed by the chip module, the camera shooting method as described in any one of the first aspects is implemented.

[0064] In a fifth aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor, and a transceiver;

[0065] The memory stores computer-executable instructions;

[0066] The processor executes the computer-executable instructions stored in the memory to implement the camera shooting method as described in any one of the first aspects.

[0067] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the camera shooting method described in any one of the first aspects.

[0068] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the camera shooting method described in any one of the first aspects.

[0069] The embodiment of the present application provides a camera shooting method, apparatus, device and storage medium, in which the main camera and at least one auxiliary camera corresponding to the target shooting mode control are determined in response to the triggering operation of the target shooting mode control in at least one shooting mode control, multiple first shooting parameters corresponding to the main camera are determined, and at least one second shooting parameter corresponding to at least one auxiliary camera is determined, and the target shooting parameters of the main camera are determined according to the multiple first shooting parameters and at least one second shooting parameter, and the main camera is controlled to shoot according to the target shooting parameters. In this way, when the main camera shoots, multiple shooting parameters can be determined simultaneously by using at least one auxiliary camera, and the auxiliary camera can provide more shooting parameters for the main camera, thereby improving the adjustment speed and accuracy of the imaging picture of the main camera, so as to improve the shooting efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the technical solutions in the present application, a brief introduction will be given below to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0071] Figure 1 A schematic diagram of the architecture of a system provided in an embodiment of the present application;

[0072] Figure 2 A schematic diagram of a process flow of a camera shooting method provided in an embodiment of the present application;

[0073] Figure 3 A schematic diagram of a flow chart of another camera shooting method provided in an embodiment of the present application;

[0074] Figure 4 A schematic diagram of the structure of a camera shooting device provided in an embodiment of the present application;

[0075] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0076] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0077] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0078] It should be noted that, although the terms "first", "second", etc. are used to describe various information in the embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. Optionally, without departing from the scope of the present application, 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.

[0079] It should be understood that the terms "comprises" and "includes" indicate the presence of the previously mentioned features, steps, operations, but do not exclude the presence, occurrence or addition of one or at least one other feature, step, operation. The terms "and / or" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. Optionally, "A and / or B" means "any of the following: A; B; A and B". In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship.

[0080] Users are increasingly using terminal devices to take photos and videos, and the corresponding imaging hardware of terminal devices is constantly improving. Terminal devices can be equipped with multiple cameras to meet users' shooting needs in different situations.

[0081] Next, combine Figure 1 , explaining the process of capturing images using cameras on existing terminal devices.

[0082] Figure 1 This is a schematic diagram of the architecture of a system provided in an embodiment of the present application. Figure 1 , Figure 1 It can be a system architecture of an electronic device, and the system architecture can at least include an application layer, a framework layer and a hardware layer.

[0083] The application layer can be used to interact with the user. The application layer can include multiple application programs installed on the electronic device.

[0084] Applications may include system applications and third-party applications. System applications may be applications that come with the system, and third-party applications may be applications that are downloaded and installed from the Internet.

[0085] For example, the application may be a camera application, which may include multiple shooting modes.

[0086] The framework layer can be used to provide an abstract interface so that applications can access the underlying hardware and system services (such as cameras, sensors, networks, etc.) without directly interacting with the hardware.

[0087] For example, a camera application may send a first request message to the framework layer, the first request message including the camera information to be scheduled, and the framework layer may send a second request message to the hardware layer in response to the first request message sent by the camera application, the second request message being used to control the call of the corresponding camera.

[0088] The hardware layer contains various device drivers, which can be used to connect the communication between the operating system kernel and the hardware devices. The device driver can be used to convert the high-level instructions of the operating system into the low-level instructions corresponding to the hardware, and feed back the status and data of the hardware to the operating system.

[0089] In the related art, when a user takes a photo, the terminal device can determine the shooting parameters through one of the multiple cameras, and then take the photo after determining the shooting parameters.

[0090] In the actual shooting process, there are cases where the terminal device takes a long time to calculate the shooting parameters, or the calculated shooting parameters are not optimal shooting parameters, resulting in low shooting efficiency.

[0091] In order to solve the above technical problems, the embodiment of the present application provides a camera shooting method. When the main camera shoots, multiple shooting parameters are determined by at least one auxiliary camera, and the target shooting parameters of the main camera are determined according to the shooting parameters and the shooting parameters corresponding to the main camera. According to the target shooting parameters, the main camera is controlled to shoot. In this way, when the main camera shoots, multiple shooting parameters can be determined at the same time by using at least one auxiliary camera. The auxiliary camera can provide more shooting parameters for the main camera, improve the adjustment speed and accuracy of the imaging picture of the main camera, and improve the shooting efficiency.

[0092] The technical solution shown in the present application is described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.

[0093] Figure 2 This is a flowchart of a camera shooting method provided by an embodiment of the present application. The execution subject of the embodiment of the present application can be an electronic device, or a shooting module set in the electronic device. The shooting module can be implemented by software, or by a combination of software and hardware. Figure 2 , the method comprising:

[0094] S201: In response to a triggering operation on a target shooting mode control in at least one shooting mode control, determine a main camera and at least one auxiliary camera corresponding to the target shooting mode control.

[0095] At least one shooting mode control may include portrait mode, panoramic mode, wide-angle mode, 1x focal length mode, 2x focal length mode, etc., which are not limited here.

[0096] For any shooting mode control, there is a corresponding main camera and at least one auxiliary camera.

[0097] The main camera may be a camera with the best shooting performance in the current shooting mode. The auxiliary camera may be a camera that can provide richer detail information in the current shooting mode.

[0098] The main camera can include a wide-angle camera, an ultra-wide-angle camera, a telephoto camera, a macro camera, a depth camera, a black and white camera, and so on.

[0099] Auxiliary cameras can include wide-angle camera, ultra-wide-angle camera, telephoto camera, macro camera, depth camera, black and white camera, etc.

[0100] For example, when taking portraits, the main camera may be a rear-mounted wide-angle camera for capturing the subject image; the auxiliary camera may be a rear-mounted depth camera for capturing background depth information to achieve a natural background blur effect.

[0101] The target shooting mode control may be a mode control selected by the user from among at least one shooting mode control for shooting.

[0102] The trigger operation may be an interaction operation between the user and any capture mode control through a mouse click, a touch screen, or other input devices.

[0103] In response to a triggering operation on a target shooting mode control in at least one shooting mode control, a first mapping relationship can be acquired, and a main camera and at least one auxiliary camera can be determined according to the first mapping relationship and a target shooting mode corresponding to the target shooting mode control.

[0104] The first mapping relationship may include multiple shooting mode controls and camera information corresponding to each shooting mode control, and the camera information may include a main camera and at least one auxiliary camera.

[0105] For example, the first mapping relationship may be as shown in Table 1:

[0106] Table 1

[0107]

[0108] S202: Determine a plurality of first shooting parameters corresponding to a main camera, and determine at least one second shooting parameter corresponding to at least one auxiliary camera.

[0109] The first shooting parameter may include aperture, shutter speed, ISO sensitivity, white balance, exposure compensation, focus, color mode, high dynamic range, anti-shake mode, etc.

[0110] The second shooting parameter may include aperture, shutter speed, ISO sensitivity, white balance, exposure compensation, focus, color mode, high dynamic range, anti-shake mode, etc., and may also include an area of ​​interest.

[0111] The region of interest may be the region in the captured image that the user is gazing at, obtained through eye tracking technology when the front camera is used as an auxiliary camera.

[0112] Optionally, the positional relationship between the main camera and at least one auxiliary camera may be determined, and based on the positional relationship, a plurality of first shooting parameters corresponding to the main camera may be determined, and at least one second shooting parameter corresponding to the at least one auxiliary camera may be determined.

[0113] Among them, the positional relationship may include: 1. The main camera is the front camera, and at least one auxiliary camera is the rear camera; 2. The main camera is the rear camera, and at least one auxiliary camera is the front camera; 3. The main camera is the rear camera, and at least one auxiliary camera is the rear camera, and so on.

[0114] Optionally, according to the target shooting mode corresponding to the target shooting mode control, multiple first shooting parameters corresponding to the main camera can be determined, and at least one second shooting parameter corresponding to at least one auxiliary camera can be determined.

[0115] Optionally, multiple first shooting parameters corresponding to the main camera and at least one second shooting parameter corresponding to at least one auxiliary camera can be determined in the following manner: determine the positional relationship between the main camera and at least one auxiliary camera; determine the first feature information to be acquired by the main camera and the second feature information to be acquired by at least one auxiliary camera based on the positional relationship; determine multiple first shooting parameters and at least one second shooting parameter based on the first feature information and the second feature information.

[0116] It should be noted that the terminal device can determine multiple first shooting parameters corresponding to the main camera and determine at least one second shooting parameter corresponding to at least one auxiliary camera according to any feasible implementation method, and the embodiments of the present disclosure are not limited to this.

[0117] S203: Determine a target shooting parameter of the main camera according to the multiple first shooting parameters and at least one second shooting parameter.

[0118] The target shooting parameters may be shooting parameters that are referenced by the main camera when shooting.

[0119] Optionally, preset shooting parameters in the target shooting mode may be acquired, and according to the preset shooting parameters, the target shooting parameters of the main camera are determined from a plurality of first shooting parameters and at least one second shooting parameter.

[0120] The preset shooting parameters may include a plurality of optimal shooting parameters, and according to the plurality of optimal shooting parameters, a target shooting parameter of the main camera is determined from a plurality of first shooting parameters and at least one second shooting parameter.

[0121] Optionally, the shooting parameters to be selected of the main camera can be determined according to multiple first shooting parameters; the auxiliary shooting parameters of the main camera can be determined according to at least one second shooting parameter; and the shooting parameters to be selected can be adjusted according to the auxiliary shooting parameters to determine the target shooting parameters of the main camera.

[0122] The to-be-selected shooting parameter may be an optimal shooting parameter determined based on a plurality of first shooting parameters, and the auxiliary shooting parameter may be an optimal shooting parameter determined based on at least one second shooting parameter.

[0123] According to the auxiliary shooting parameters, the adjustment of the shooting parameters to be selected may be implemented based on an optimization algorithm or based on a preset relationship, which is not limited here.

[0124] Optionally, a first target parameter of the main camera may be determined according to a plurality of first shooting parameters; and a second target parameter of the main camera may be determined according to at least one second shooting parameter.

[0125] The target shooting parameters include a first target parameter and a second target parameter. The first target parameter and the second target parameter may be parameters of different types. Different types of parameters are determined by the main camera and at least one auxiliary camera to improve the adjustment speed of the imaging picture of the main camera.

[0126] It should be noted that the terminal device can determine the target shooting parameters of the main camera according to any feasible implementation method, based on multiple first shooting parameters and at least one second shooting parameter, and the embodiments of the present disclosure are not limited to this.

[0127] S204: Control the main camera to shoot according to the target shooting parameters.

[0128] The main camera may be a camera that shoots in a target shooting mode.

[0129] The parameters of the main camera can be adjusted according to the target shooting parameters to complete the shooting preparation, and the main camera is controlled to shoot in response to the trigger operation of the shooting control.

[0130] The camera shooting method provided in this embodiment determines the main camera and at least one auxiliary camera corresponding to the target shooting mode control in response to the triggering operation of the target shooting mode control in at least one shooting mode control, determines multiple first shooting parameters corresponding to the main camera, and determines at least one second shooting parameter corresponding to at least one auxiliary camera, determines the target shooting parameters of the main camera according to the multiple first shooting parameters and at least one second shooting parameter, and controls the main camera to shoot according to the target shooting parameters. In this way, when the main camera shoots, multiple shooting parameters can be determined simultaneously using at least one auxiliary camera, and the auxiliary camera can provide more shooting parameters for the main camera, thereby improving the adjustment speed and accuracy of the imaging picture of the main camera, so as to improve the shooting efficiency.

[0131] Next, combine Figure 3, the process (S202) of determining multiple first shooting parameters corresponding to the main camera and determining at least one second shooting parameter corresponding to at least one auxiliary camera is explained.

[0132] Figure 3 This is a flow chart of another camera shooting method provided in an embodiment of the present application. Based on the above embodiment, please refer to Figure 4 , the method comprising:

[0133] S301: Determine a positional relationship between a main camera and at least one auxiliary camera.

[0134] The positional relationship may include: 1. The main camera is the front camera, and at least one auxiliary camera is the rear camera; 2. The main camera is the rear camera, and at least one auxiliary camera is the front camera; 3. The main camera is the rear camera, and at least one auxiliary camera is the rear camera, and so on.

[0135] The positional relationship can be used to determine the positional relationship between multiple cameras to determine the feature information to be acquired by each camera.

[0136] For example, assuming that the positional relationship is that the main camera is the front camera and at least one auxiliary camera is the rear camera, it is determined that the feature information to be acquired by the main camera is face information, and the feature information to be acquired by the auxiliary camera is environmental information.

[0137] S302: Determine whether the main camera is a rear camera based on the position relationship.

[0138] If yes, execute S303;

[0139] If not, execute S308.

[0140] The position relationship may be analyzed to obtain an analysis result, and whether the main camera is a rear camera may be determined based on the analysis result.

[0141] S303: Determine that the first feature information to be acquired by the main camera is environmental information.

[0142] The first feature information is used to represent the feature information to be acquired by the main camera.

[0143] The environmental information may indicate that the feature information to be acquired is information related to the environment, so that the corresponding shooting parameters may be determined from preset parameters related to the environment.

[0144] Environmental information may include static environmental information and dynamic environmental information. Static environmental information may include scenery information, weather information, etc., which are not limited here. Dynamic environmental information may include moving object information, etc., which are not limited here.

[0145] If the main camera is a rear camera, it is determined that the first feature information to be acquired by the main camera is environmental information.

[0146] S304: Determine whether there is a front camera in at least one auxiliary camera.

[0147] If it exists, execute S305;

[0148] If it does not exist, execute S307.

[0149] It may be determined whether there is a front camera in at least one auxiliary camera according to the analysis result of the position relationship.

[0150] S305: Determine the number of cameras of at least one auxiliary camera.

[0151] The number of cameras can be used to describe the corresponding number of auxiliary cameras.

[0152] The more cameras there are, the more second feature information can be obtained.

[0153] Different target shooting modes have different numbers of auxiliary cameras.

[0154] If it is determined that there is a front camera in the at least one auxiliary camera, the corresponding number of cameras can be determined according to the at least one auxiliary camera to determine the second feature information.

[0155] S306. Determine, according to the number of cameras, second feature information to be acquired by at least one auxiliary camera.

[0156] The second characteristic information is used to represent characteristic information to be acquired by at least one auxiliary camera.

[0157] When the number of cameras is 1, the auxiliary camera can be the front camera, and the second feature information to be obtained can be determined based on one auxiliary camera; when the number of cameras is multiple, the auxiliary cameras can be the front camera and the rear camera, and the second feature information to be obtained can be determined based on multiple auxiliary cameras.

[0158] Optionally, the second characteristic information to be acquired by at least one auxiliary camera can be determined according to the number of cameras in the following manner: if the number of cameras is 1, the second characteristic information to be acquired by the auxiliary camera is determined to be the area of ​​interest information; if the number of cameras is multiple, the second characteristic information to be acquired by the auxiliary camera is determined to be the area of ​​interest information and environmental information.

[0159] The area of ​​interest information may be obtained by using the front camera and eye tracking technology to obtain the area information in the captured image that the user is gazing at.

[0160] The region of interest information can be used to determine the focus position in the captured image.

[0161] S307: Determine that the second feature information to be acquired by at least one auxiliary camera is environmental information.

[0162] If it is determined that there is no front camera in the at least one auxiliary camera, it can be determined that the at least one auxiliary camera is a rear camera, and based on the rear camera, it is determined that the second feature information to be acquired by the at least one auxiliary camera is environmental information.

[0163] S308: Determine that the first feature information to be acquired by the main camera is face information, and the second feature information to be acquired by at least one auxiliary camera is environmental information.

[0164] The face information may indicate that the feature information to be acquired is person-related information, so that the corresponding shooting parameters may be determined from preset parameters related to the face.

[0165] If the main camera is not a rear camera, it is determined that the main camera is a front camera, and at least one auxiliary camera is a rear camera, then it is determined that the first feature information to be acquired by the main camera is face information, and the second feature information to be acquired by the at least one auxiliary camera is environmental information.

[0166] S309: Determine a plurality of first shooting parameters and at least one second shooting parameter according to the first characteristic information and the second characteristic information.

[0167] A shooting mode may be determined according to the first feature information and the second feature information, and a plurality of first shooting parameters and at least one second shooting parameter may be determined according to the shooting mode.

[0168] The shooting method may include determining shooting parameters from different parameter directions, determining shooting parameters according to information of a region of interest, etc., which is not limited here.

[0169] Optionally, multiple first shooting parameters and at least one second shooting parameter may be determined in the following three ways:

[0170] Method 1: If the first characteristic information and the second characteristic information are both environmental information, determine the first parameter directions corresponding to multiple first shooting parameters and the second parameter direction corresponding to at least one second shooting parameter, and determine the multiple first shooting parameters and at least one second shooting parameter based on the first parameter direction and the second parameter direction.

[0171] The first parameter direction is opposite to the second parameter direction. The parameter direction can be used to determine whether the parameter adjustment is from a positive direction to a negative direction or from a negative direction to a positive direction.

[0172] For example, for the exposure parameters, the first parameter direction is adjusted from the negative direction of the exposure range to the positive direction, and the second parameter direction is adjusted from the positive direction of the exposure range to the negative direction. Assuming the exposure range is [-100, 100], the first parameter direction is adjusted from -100 to 100, and the second parameter direction is adjusted from 100 to -100.

[0173] Optionally, if the first characteristic information and the second characteristic information are both environmental information, determine the first parameter direction and the first step length corresponding to multiple first shooting parameters, and the second parameter direction and the second step length corresponding to at least one second shooting parameter, and determine multiple first shooting parameters and at least one second shooting parameter based on the first parameter direction and the second parameter direction.

[0174] For example, for the brightness parameter, the first parameter direction is adjusted from the negative direction of the brightness range to the positive direction, and the first step length is 2; the second parameter direction is adjusted from the positive direction of the brightness range to the negative direction, and the second step length is 3. Assuming the brightness range is [-50,50], the first parameter direction starts from -50 and adjusts to 50, with an adjustment interval of 2 each time, and the second parameter direction starts from 50 and adjusts to -50, with an adjustment interval of 3 each time.

[0175] Method 2: If the first feature information is face information and the second feature information is environment information, multiple first shooting parameters are determined according to the face information, and at least one second shooting parameter is determined according to the environment information.

[0176] A second mapping relationship can be obtained, and the first shooting parameter range can be determined based on the second mapping relationship and facial information. Based on the first shooting parameter range, multiple first shooting parameters can be determined. Based on the second mapping relationship and environmental information, the second shooting parameter range can be determined. Based on the second shooting parameter range, multiple second shooting parameters can be determined.

[0177] Method 3: If the first characteristic information is environmental information and the second characteristic information is region of interest information, multiple first shooting parameters are determined according to the environmental information, and a focus parameter in at least one second shooting parameter is determined according to the region of interest information.

[0178] The area of ​​interest information may be area information in the captured image that the user is gazing at, obtained through eye tracking technology.

[0179] According to the region of interest information, the region of interest in the captured image corresponding to the region of interest information is used as a focus parameter.

[0180] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.

[0181] The camera shooting method provided in this embodiment determines the positional relationship between the main camera and at least one auxiliary camera, and determines whether the main camera is a rear camera based on the positional relationship. If so, it determines that the first feature information to be acquired by the main camera is environmental information, and determines whether there is a front camera in at least one auxiliary camera. If so, the number of cameras of at least one auxiliary camera is determined, and the second feature information to be acquired by at least one auxiliary camera is determined based on the number of cameras. If not, it is determined that the first feature information to be acquired by the main camera is face information, and the second feature information to be acquired by at least one auxiliary camera is environmental information. According to the first feature information and the second feature information, multiple first shooting parameters and at least one second shooting parameter are determined. In this way, when the main camera is shooting, multiple shooting parameters can be determined simultaneously using at least one auxiliary camera, and the auxiliary camera can provide more shooting parameters for the main camera, thereby improving the adjustment speed and accuracy of the imaging picture of the main camera, so as to improve the shooting efficiency.

[0182] Figure 4 This is a structural diagram of a camera shooting device provided in an embodiment of the present application. Figure 4 The device 400 includes a first determination module 401, a second determination module 402, a third determination module 403 and a control module 404, wherein:

[0183] A first determining module 401 is configured to determine, in response to a triggering operation on a target shooting mode control in at least one shooting mode control, a main camera and at least one auxiliary camera corresponding to the target shooting mode control;

[0184] A second determining module 402, configured to determine a plurality of first shooting parameters corresponding to the main camera, and to determine at least one second shooting parameter corresponding to the at least one auxiliary camera;

[0185] A third determining module 403, configured to determine a target shooting parameter of the main camera according to the plurality of first shooting parameters and the at least one second shooting parameter;

[0186] The control module 404 is used to control the main camera to shoot according to the target shooting parameters.

[0187] In a possible implementation manner, the second determining module 402 is specifically configured to:

[0188] Determining a positional relationship between the main camera and the at least one auxiliary camera;

[0189] Determining, according to the positional relationship, first feature information to be acquired by the main camera and second feature information to be acquired by the at least one auxiliary camera;

[0190] The plurality of first shooting parameters and the at least one second shooting parameter are determined according to the first feature information and the second feature information.

[0191] In a possible implementation manner, the second determining module 402 is specifically configured to:

[0192] According to the position relationship, determining whether the main camera is a rear camera;

[0193] If so, determine that the first feature information to be acquired by the main camera is environmental information, and determine whether there is a front camera in the at least one auxiliary camera; if there is, determine the number of cameras of the at least one auxiliary camera, and determine the second feature information to be acquired by the at least one auxiliary camera according to the number of cameras; if not, determine that the second feature information to be acquired by the at least one auxiliary camera is the environmental information;

[0194] If not, it is determined that the first feature information to be acquired by the main camera is face information, and the second feature information to be acquired by the at least one auxiliary camera is the environmental information.

[0195] In a possible implementation manner, the second determining module 402 is specifically configured to:

[0196] If the number of the camera is 1, determining that the second feature information to be acquired by the auxiliary camera is the area of ​​interest information;

[0197] If there are multiple cameras, it is determined that the second feature information to be acquired by the auxiliary camera is the area of ​​interest information and the environment information.

[0198] In a possible implementation manner, the second determining module 402 is specifically configured to:

[0199] If both the first feature information and the second feature information are the environment information, determining a first parameter direction corresponding to the plurality of first shooting parameters and a second parameter direction corresponding to the at least one second shooting parameter, and determining the plurality of first shooting parameters and the at least one second shooting parameter according to the first parameter direction and the second parameter direction, the first parameter direction being opposite to the second parameter direction;

[0200] If the first feature information is the face information and the second feature information is the environment information, determining the plurality of first shooting parameters according to the face information, and determining the at least one second shooting parameter according to the environment information;

[0201] If the first characteristic information is the environmental information and the second characteristic information is the area of ​​interest information, the multiple first shooting parameters are determined according to the environmental information, and the focus parameter of the at least one second shooting parameter is determined according to the area of ​​interest information.

[0202] In a possible implementation manner, the third determining module 403 is specifically configured to:

[0203] Determining the shooting parameters to be selected for the main camera according to the multiple first shooting parameters;

[0204] Determining an auxiliary shooting parameter of the main camera according to the at least one second shooting parameter;

[0205] The selected shooting parameters are adjusted according to the auxiliary shooting parameters to determine the target shooting parameters of the main camera.

[0206] In a possible implementation manner, the third determining module 403 is specifically configured to:

[0207] Determining a first target parameter of the main camera according to the multiple first shooting parameters;

[0208] Determining a second target parameter of the main camera according to the at least one second shooting parameter;

[0209] The target shooting parameters include a first target parameter and a second target parameter.

[0210] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 , the electronic device 500 may include: a memory 501 , a processor 502 , and a transceiver 503 .

[0211] The memory 501 is used to store program instructions;

[0212] The processor 502 is used to execute the program instructions stored in the memory, so as to enable the electronic device 500 to execute any of the camera shooting methods shown above.

[0213] The transceiver 503 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or the like, and the receiver may also be referred to as a receiver, a reception port, a reception interface, or the like. Exemplarily, the memory 501, the processor 502, and the transceiver 503 are interconnected via a bus 504.

[0214] The present application also provides a chip having a computer program stored thereon. When the computer program is executed by the chip, the above-mentioned camera shooting method is implemented. The corresponding content and effects can be referred to in the method embodiment part, which will not be described in detail.

[0215] The present application also provides a chip module, on which a computer program is stored. When the computer program is executed by the chip module, the above-mentioned camera shooting method is implemented. The corresponding content and effects can be referred to the method embodiment part, which will not be repeated here.

[0216] The embodiment of the present application also provides a computer program product, which can be executed by a processor. When the computer program product is executed, the above-mentioned camera shooting method can be implemented.

[0217] The camera shooting device, electronic device, computer-readable storage medium and computer program product of the embodiments of the present application can execute the technical solutions shown in the above-mentioned camera shooting method embodiments. Their implementation principles and beneficial effects are similar and will not be repeated here.

[0218] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.

[0219] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0220] These computer executable instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0221] These computer executable instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0222] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A camera shooting method, characterized in that: include: In response to a triggering operation on a target shooting mode control in at least one shooting mode control, determining a main camera and at least one auxiliary camera corresponding to the target shooting mode control; Determine a plurality of first shooting parameters corresponding to the main camera, and determine at least one second shooting parameter corresponding to the at least one auxiliary camera; Determining a target shooting parameter of the main camera according to the multiple first shooting parameters and the at least one second shooting parameter; According to the target shooting parameters, the main camera is controlled to shoot.

2. The method according to claim 1, characterized in that: Determining a plurality of first shooting parameters corresponding to the main camera, and determining at least one second shooting parameter corresponding to the at least one auxiliary camera, includes: Determining a positional relationship between the main camera and the at least one auxiliary camera; Determining, according to the positional relationship, first feature information to be acquired by the main camera and second feature information to be acquired by the at least one auxiliary camera; The plurality of first shooting parameters and the at least one second shooting parameter are determined according to the first feature information and the second feature information.

3. The method according to claim 2, characterized in that Determining, according to the positional relationship, first feature information to be acquired by the main camera and second feature information to be acquired by the at least one auxiliary camera, including: According to the position relationship, determining whether the main camera is a rear camera; If so, determine that the first feature information to be acquired by the main camera is environmental information, and determine whether there is a front camera in the at least one auxiliary camera; if there is, determine the number of cameras of the at least one auxiliary camera, and determine the second feature information to be acquired by the at least one auxiliary camera according to the number of cameras; if not, determine that the second feature information to be acquired by the at least one auxiliary camera is the environmental information; If not, it is determined that the first feature information to be acquired by the main camera is face information, and the second feature information to be acquired by the at least one auxiliary camera is the environmental information.

4. The method according to claim 3, characterized in that Determining, according to the number of cameras, second feature information to be acquired by the at least one auxiliary camera includes: If the number of the camera is 1, determining that the second feature information to be acquired by the auxiliary camera is the area of ​​interest information; If there are multiple cameras, it is determined that the second feature information to be acquired by the auxiliary camera is the area of ​​interest information and the environment information.

5. The method according to any one of claims 2 to 4, characterized in that: Determining the plurality of first shooting parameters and the at least one second shooting parameter according to the first feature information and the second feature information includes: If both the first feature information and the second feature information are the environment information, determining a first parameter direction corresponding to the plurality of first shooting parameters and a second parameter direction corresponding to the at least one second shooting parameter, and determining the plurality of first shooting parameters and the at least one second shooting parameter according to the first parameter direction and the second parameter direction, the first parameter direction being opposite to the second parameter direction; If the first feature information is the face information and the second feature information is the environment information, determining the plurality of first shooting parameters according to the face information, and determining the at least one second shooting parameter according to the environment information; If the first characteristic information is the environmental information and the second characteristic information is the area of ​​interest information, the multiple first shooting parameters are determined according to the environmental information, and the focus parameter of the at least one second shooting parameter is determined according to the area of ​​interest information.

6. The method according to any one of claims 1 to 5, characterized in that: Determining a target shooting parameter of the main camera according to the plurality of first shooting parameters and the at least one second shooting parameter includes: Determining the shooting parameters to be selected for the main camera according to the multiple first shooting parameters; Determining an auxiliary shooting parameter of the main camera according to the at least one second shooting parameter; The selected shooting parameters are adjusted according to the auxiliary shooting parameters to determine the target shooting parameters of the main camera.

7. The method according to any one of claims 1 to 5, characterized in that: Determining a target shooting parameter of the main camera according to the plurality of first shooting parameters and the at least one second shooting parameter includes: Determining a first target parameter of the main camera according to the multiple first shooting parameters; Determining a second target parameter of the main camera according to the at least one second shooting parameter; The target shooting parameters include a first target parameter and a second target parameter.

8. A camera shooting device, characterized in that: The device comprises: A first determining module, configured to determine, in response to a triggering operation on a target shooting mode control in at least one shooting mode control, a main camera and at least one auxiliary camera corresponding to the target shooting mode control; A second determining module, used to determine a plurality of first shooting parameters corresponding to the main camera, and to determine at least one second shooting parameter corresponding to the at least one auxiliary camera; A third determination module, configured to determine a target shooting parameter of the main camera according to the plurality of first shooting parameters and the at least one second shooting parameter; The control module is used to control the main camera to shoot according to the target shooting parameters.

9. An electronic device, characterized in that: include: memory, processors, and transceivers; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the shooting method of the camera according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the shooting method of the camera as described in any one of claims 1 to 7.