Shooting parameter adjustment method, device, electronic equipment and medium
By using wireless modules in electronic devices to obtain and send target relative position information to automatically adjust the shooting parameters of the detachable camera, the problem of users frequently adjusting shooting parameters is solved, shooting efficiency is improved and the operation process is simplified.
Patent Information
- Application Number
- CN202210143426.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-16
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-02-16
AI Technical Summary
When shooting with an electronic device with a detachable camera, users need to frequently adjust shooting parameters to obtain a satisfactory shooting position, resulting in cumbersome and time-consuming operations.
The shooting parameters of the detachable camera are automatically adjusted by using the wireless module to obtain the relative position information of the target while the shooting preview screen is displayed, and determining and sending the adjustment parameters based on the information.
It simplifies the user's operations during the shooting process, reduces the time for adjusting shooting parameters, and improves shooting efficiency.
Smart Images

Figure CN114422706B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of photographing technology, and specifically relates to a photographing parameter adjustment method, device, electronic device and medium. Background Art
[0002] Typically, when a user uses an electronic device with a detachable camera to take pictures, the user can first place the detachable camera in a fixed position and walk to the shooting position, and then set multiple shooting parameters of the detachable camera in the electronic device respectively, and input shooting to the electronic device, so that the electronic device can control the detachable camera to take pictures in the fixed position according to the set multiple shooting parameters to obtain photos with a wider viewing angle.
[0003] However, since the user may not be satisfied with the shooting position, after the user walks back to a satisfactory shooting position, the user needs to make multiple inputs to re-set multiple shooting parameters of the detachable camera in the electronic device. As a result, the user's operation during the shooting process is cumbersome and time-consuming. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a shooting parameter adjustment method, device, electronic device and medium, which can solve the problem that the user's operation is complicated and time-consuming during the shooting process.
[0005] In a first aspect, an embodiment of the present application provides a shooting parameter adjustment method, the method comprising: when displaying a shooting preview screen, obtaining target relative position information through a first wireless module of an electronic device, the target relative position information being the relative position information between the first wireless module and a second wireless module of a detachable camera; determining a target adjustment parameter based on the target relative position information, the target adjustment parameter being used by the detachable camera to adjust the shooting parameters of the detachable camera; and sending the target adjustment parameter to the second wireless module through the first wireless module.
[0006] In a second aspect, an embodiment of the present application provides a shooting parameter adjustment device, which includes: an acquisition module, a determination module and a sending module. Among them, the acquisition module is used to acquire target relative position information through the first wireless module of the shooting parameter adjustment device when displaying a shooting preview screen, and the target relative position information is the relative position information between the first wireless module and the second wireless module of the detachable camera. The determination module is used to determine the target adjustment parameters according to the target relative position information acquired by the acquisition module, and the target adjustment parameters are used by the detachable camera to adjust the shooting parameters of the detachable camera. The sending module is used to send the target adjustment parameters to the second wireless module through the first wireless module.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0011] In an embodiment of the present application, when the electronic device displays a shooting preview screen, the electronic device can obtain target relative position information between the first wireless module and the second wireless module of the detachable camera through the first wireless module, and determine the target adjustment parameter used for the detachable camera to adjust the shooting parameter of the detachable camera according to the target relative position information, so that the electronic device can send the target adjustment parameter to the second wireless module through the first wireless module, so that the detachable camera can adjust the shooting parameter of the detachable camera according to the target adjustment parameter. Because when the shooting preview screen is displayed, the electronic device can directly determine the target adjustment parameter according to the obtained target relative position information, and send the target adjustment parameter to the second wireless module through the first wireless module, so that the detachable camera can directly adjust the shooting parameter of the detachable camera, that is, after the user walks back to a satisfactory shooting position, the detachable camera can directly adjust the shooting parameter of the detachable camera without the user having to input multiple times, thus simplifying the user's operation during the shooting process and reducing time consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is one of the structural schematic diagrams of the electronic device provided in the embodiment of the present application;
[0013] Figure 2 It is one of the schematic diagrams of the shooting parameter adjustment method provided in the embodiment of the present application;
[0014] Figure 3 This is a second schematic diagram of the shooting parameter adjustment method provided in an embodiment of the present application;
[0015] Figure 4 This is a third schematic diagram of the shooting parameter adjustment method provided in an embodiment of the present application;
[0016] Figure 5 This is a fourth schematic diagram of the shooting parameter adjustment method provided in an embodiment of the present application;
[0017] Figure 6 is a schematic diagram of target angle information provided by an embodiment of the present application;
[0018] Figure 7 is a structural schematic diagram of a shooting parameter adjustment device provided in an embodiment of the present application;
[0019] Figure 8 This is the second structural diagram of the electronic device provided in the embodiment of the present application;
[0020] Fig. 9 It is a hardware schematic diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0023] The following, in conjunction with the accompanying drawings, describes in detail the shooting parameter adjustment method, device, electronic device and medium provided in the embodiments of the present application through specific embodiments and their application scenarios.
[0024] Figure 1 FIG. 1 is a schematic diagram showing the structure of an electronic device provided in an embodiment of the present application. Figure 1 As shown, the electronic device 10 may specifically be: an electronic device with a detachable camera.
[0025] Among them, a groove 11 is provided on the body of the electronic device 10, and a plug connector 12 is provided at the bottom of the groove 11, so that the user can place the detachable camera 13 in the groove 11, so that the plug connector 12 can be connected to the detachable camera 13, and then the electronic device 10 can be electrically connected to the detachable camera 13; or, the user can take the detachable camera 13 out of the groove 11, so that the electronic device 10 can be wirelessly connected to the detachable camera 13, so that the detachable camera 13 can collect image data and send it to the electronic device 10 through the wireless connection, so that the electronic device 10 can display a preview screen according to the image data. The embodiment of the present application can be applied to the scene where the user uses the above-mentioned electronic device to take pictures.
[0026] Assuming that the user uses the electronic device to take a selfie, the user needs to first place the detachable camera in a position opposite to the user, and then manually adjust the shooting parameters of the detachable camera through the electronic device. After the shooting parameters are manually adjusted, the user can take the photo. If the user needs to adjust the position, the user needs to manually adjust the shooting parameters again before taking the photo.
[0027] However, in an embodiment of the present application, when the electronic device displays a shooting preview screen, the electronic device obtains the relative position information between the first wireless module and the second wireless module of the camera through the first wireless module, and automatically determines the target adjustment parameters for adjusting the shooting parameters of the detachable camera based on the relative position information, and then sends the target adjustment parameters to the second wireless module through the first wireless module, so that the detachable camera can adjust the shooting parameters of the detachable camera according to the target adjustment parameters without the user having to input multiple times. Therefore, the user's operations during the shooting process can be simplified and time consumption can be reduced.
[0028] Figure 2 A flowchart of a shooting parameter adjustment method provided in an embodiment of the present application is shown, which is applied to a shooting parameter adjustment device. Figure 2 As shown, the shooting parameter adjustment method provided in the embodiment of the present application may include the following steps 101 to 103.
[0029] Step 101: When a shooting parameter adjustment device displays a shooting preview screen, the shooting parameter adjustment device obtains target relative position information through a first wireless module of the shooting parameter adjustment device.
[0030] In the embodiment of the present application, the shooting parameter adjustment device may specifically be: an electronic device with a detachable camera.
[0031] Optionally, in the embodiment of the present application, the shooting parameter adjustment device specifically includes a body, a detachable camera and a plug, wherein the detachable camera is electrically connected to the body through the plug.
[0032] Further optionally, in the application embodiment, the main body can be specifically a mobile phone, a tablet computer, etc., and the main body includes a display screen, a central processing unit (CPU), a wireless module, and its antenna, etc.
[0033] Further optionally, in the embodiment of the present application, the detachable camera is used to capture images and output image data, and specifically includes a battery module, a wireless module and its antenna, etc. Among them, the battery module is responsible for powering the detachable camera and the wireless module, and the wireless module is responsible for sending the image data collected by the camera to the main body, and is also responsible for communicating with the wireless module of the main body.
[0034] In the embodiment of the present application, the target relative position information is the relative position information between the first wireless module and the second wireless module of the detachable camera.
[0035] Optionally, in the embodiment of the present application, the first wireless module may be an ultra wide band (UWB) module, a wireless local area network (WLAN) module or a world interoperability for microwave access (WiMAX) module, etc. The second wireless module may be a UWB module, a WLAN module or a WiMAX module, etc.
[0036] Optionally, in an embodiment of the present application, when a user needs to use a shooting parameter adjustment device for shooting, the user can remove the detachable camera from the shooting parameter adjustment device to separate the shooting parameter adjustment device from the detachable camera, so that the detachable camera can collect image data and send the image data to the shooting parameter adjustment device, and then the shooting parameter adjustment device can display a shooting preview screen in the shooting preview interface based on the image data.
[0037] The shooting parameter adjustment device can display the shooting preview interface in different ways:
[0038] In an example, when the shooting parameter adjustment device detects that the shooting parameter adjustment device is separated from the detachable camera, the shooting parameter adjustment device can directly display a shooting preview interface.
[0039] In another example, the detachable camera can be activated according to the user's pressing input, and collect image data, and send the image data to the shooting parameter adjustment device, so that the shooting parameter adjustment device can display a shooting preview interface when receiving the image data.
[0040] It should be noted that the specific manner in which the shooting parameter adjustment device displays the shooting preview interface can be determined according to a user setting or a pre-configured manner.
[0041] When the shooting parameter adjustment device detects that the shooting parameter adjustment device is separated from the detachable camera, it can control the first wireless module and the second wireless module to establish a target wireless connection, so that the detachable camera can send image data to the shooting parameter adjustment device through the target wireless connection.
[0042] When the first wireless module and the second wireless module are both UWB modules, the target wireless connection can specifically be a UWB connection; when the first wireless module and the second wireless module are both WLAN modules, the target wireless connection can specifically be a WLAN connection; when the first wireless module and the second wireless module are both WiMAX modules, the target wireless connection can specifically be a WiMAX connection.
[0043] The following description will be given by taking the example that both the first wireless module and the second wireless module are UWB modules.
[0044] Optionally, in the embodiment of the present application, the first wireless module and the second wireless module are both UWB modules. Figure 2 ,like Figure 3 As shown, before the above step 101, the shooting parameter adjustment method provided in the embodiment of the present application may further include the following step 201.
[0045] Step 201: When detecting that the shooting parameter adjustment device is separated from the detachable camera, the shooting parameter adjustment device controls the first wireless module to establish a UWB connection with the second wireless module.
[0046] Further optionally, in an embodiment of the present application, the first wireless module and the second wireless module are both UWB modules, and the UWB connection adopted is a new type of wireless communication technology, which can directly modulate the impact pulse with very steep rise and fall time so that the signal has a bandwidth of the order of GHz. The UWB connection has the characteristics of high anti-interference, high transmission rate, extremely low bandwidth, and low transmission power. In addition, UWB technology is a new generation of connection technology with spatial positioning. Mobile phones that support UWB technology can achieve centimeter-level positioning of smart devices, just like the human eye perceives spatial position, and can directly control any smart device, and the angle measurement accuracy can reach plus or minus 3 degrees, just like a high-precision indoor global positioning system (Global Positioning System, GPS).
[0047] Further optionally, in the embodiment of the present application, the shooting parameter adjustment device can detect the plug connector in real time to detect whether the shooting parameter adjustment device is separated from the detachable camera.
[0048] Further optionally, in an embodiment of the present application, when it is detected that the shooting parameter adjustment device is separated from the detachable camera, or after it is detected that the shooting parameter adjustment device is separated from the detachable camera for a preset period of time, the shooting parameter adjustment device can control the first wireless module to be in a working state and establish a UWB connection with the second wireless module.
[0049] Among them, when it is detected that the shooting parameter adjustment device is separated from the detachable camera, or after a preset period of time when the shooting parameter adjustment device is detected to be separated from the detachable camera, the detachable camera can also control the second wireless module to be in a working state, so that the first wireless module can establish a UWB connection with the second wireless module.
[0050] Further optionally, in the embodiment of the present application, after the first wireless module establishes a UWB connection with the second wireless module, the shooting parameter adjustment device may receive image data from the detachable camera through the UWB connection.
[0051] It can be seen that since the shooting parameter adjustment device can control the first wireless module and the second wireless module to establish a UWB connection to transmit data through the UWB connection, that is, transmit data through a wireless connection with high anti-interference ability, high transmission rate, low bandwidth and low transmission power, it is possible to improve the efficiency of data transmission while reducing the power consumption of the shooting parameter adjustment device.
[0052] Furthermore, the shooting parameter adjustment device can also accurately locate the second wireless module through the UWB connection, thereby obtaining the relative position information between the second wireless module and the first module. Therefore, the accuracy of the shooting parameter adjustment device in obtaining the relative position information between the first wireless module and the second wireless module can be improved.
[0053] In the embodiment of the present application, the above-mentioned target relative position information indicates the relative position relationship between the photographed object and the detachable camera.
[0054] It can be understood that when a user uses the shooting parameter adjustment device to shoot, the user will carry the shooting parameter adjustment device, that is, the target relative position information indicates the relative position relationship between the shooting object and the detachable camera.
[0055] Optionally, in an embodiment of the present application, the above-mentioned target relative position information may include at least one of the following: relative position information, relative angle information, etc.
[0056] It should be noted that the above “relative position information” can be understood as: the distance between the first wireless module and the second wireless module. The above “relative angle information” can be understood as: the angle between the line between the first wireless module and the second wireless module and the target straight line (such as the optical axis of the detachable camera).
[0057] Optionally, in an embodiment of the present application, the first wireless module can monitor the relative position between the first wireless module and the second wireless module to obtain target relative position information, so that the shooting parameter adjustment device can obtain the target relative position information through the first wireless module; or, the second wireless module can monitor the relative position between the first wireless module and the second module to obtain target relative position information, and send the target relative position information to the first wireless module, so that the shooting parameter adjustment device can obtain the target relative position information through the first wireless module.
[0058] It should be noted that, for the description of the first wireless module (or the second wireless module) monitoring the relative position between the first wireless module and the second wireless module to obtain the target relative position information, reference can be made to the specific description in the relevant technology, and the embodiments of the present application will not be repeated here.
[0059] Further optionally, in the embodiment of the present application, when the target relative position information includes relative position information, the first wireless module may monitor the relative position between the first wireless module and the second wireless module to obtain the target relative position information.
[0060] In the case where the target relative position information includes relative angle information, the second wireless module can monitor the relative position between the first wireless module and the second module to obtain the target relative position information.
[0061] Step 102: The shooting parameter adjustment device determines the target adjustment parameters according to the target relative position information.
[0062] In the embodiment of the present application, the target adjustment parameter is used by the detachable camera to adjust the shooting parameters of the detachable camera.
[0063] Optionally, in an embodiment of the present application, the target adjustment parameter may include at least one of the following: a focal length adjustment parameter (such as a target focal length adjustment parameter in the following embodiment), an exposure adjustment parameter (such as a target exposure adjustment parameter in the following embodiment).
[0064] The focal length adjustment parameter is used by the detachable camera to adjust the focal length parameter (such as focal length value) of the detachable camera. The exposure adjustment parameter is used by the detachable camera to adjust the exposure parameter of the detachable camera.
[0065] Further optionally, in the embodiment of the present application, the focus adjustment parameter may specifically be: a moving position parameter of the detachable camera, wherein the moving position parameter indicates the position to which the camera is to be moved.
[0066] Further optionally, in the embodiment of the present application, the above-mentioned exposure parameters may specifically include at least one of the following: exposure value, aperture value, shutter value, sensitivity value, etc. The exposure adjustment parameters may specifically include at least one of the following: exposure adjustment value, aperture adjustment value, shutter adjustment value, sensitivity adjustment value, etc.
[0067] Optionally, in an embodiment of the present application, the shooting parameter adjustment device may determine the target adjustment parameter corresponding to the target relative position information based on at least one corresponding relationship pre-stored in the shooting parameter adjustment device; or, the shooting parameter adjustment device may adopt a target algorithm to obtain the target adjustment parameter based on the target relative position information.
[0068] It should be noted that the description of the target algorithm will be specifically described in the following embodiments, and the embodiments of the present application will not be repeated here.
[0069] Step 103: The shooting parameter adjustment device sends the target adjustment parameter to the second wireless module through the first wireless module.
[0070] Optionally, in an embodiment of the present application, when the target adjustment parameter includes a focal length adjustment parameter, and the focal length adjustment parameter is a moving position parameter of the camera, the shooting parameter adjustment device can send the moving position parameter to the second wireless module, so that the detachable camera can control the focus motor of the detachable camera to drive the camera to move to the position indicated by the moving position parameter according to the moving position parameter, so as to adjust the focal length parameter of the detachable camera.
[0071] Optionally, in an embodiment of the present application, when the target adjustment parameter includes an exposure adjustment parameter, the shooting parameter adjustment device can send the exposure adjustment parameter to the second wireless module so that the detachable camera can adjust the exposure parameter of the camera to the exposure adjustment parameter through the sensor of the camera to adjust the exposure parameter of the detachable camera.
[0072] Optionally, in an embodiment of the present application, after the shooting parameter adjustment device sends the target adjustment parameters to the second wireless module through the first wireless module, the shooting parameter adjustment device can also execute the above steps 101 to 104 again while displaying the shooting preview screen, so that the detachable camera can adjust the shooting parameters of the detachable camera again.
[0073] It can be understood that when the shooting parameter adjustment device displays the shooting preview picture, the detachable camera can adjust the shooting parameters of the detachable camera in real time.
[0074] In an embodiment of the present application, when a shooting preview screen is displayed, it can be determined that the user needs to use a shooting parameter adjustment device to shoot, so that the shooting parameter adjustment device can obtain the target relative position information through the first wireless module, and determine the target adjustment parameters, and send the target adjustment parameters to the second wireless module through the first wireless module, so that the detachable camera can automatically adjust the shooting parameters of the detachable camera according to the target adjustment parameters.
[0075] In the shooting parameter adjustment method provided in the embodiment of the present application, when the shooting parameter adjustment device displays the shooting preview screen, the relative position information between the first wireless module and the second wireless module of the detachable camera can be obtained through the first wireless module of the shooting parameter adjustment device, and the target adjustment parameter used for the detachable camera to adjust the shooting parameter of the detachable camera is determined according to the relative position information, so that the shooting parameter adjustment device can send the target adjustment parameter to the second wireless module through the first wireless module, so that the detachable camera can adjust the shooting parameter of the detachable camera according to the target adjustment parameter. Because when the shooting preview screen is displayed, the shooting parameter adjustment device can directly determine the target adjustment parameter according to the acquired target relative position information, and send the target adjustment parameter to the second wireless module through the first wireless module, so that the detachable camera can directly adjust the shooting parameter of the detachable camera, that is, after the user walks back to a satisfactory shooting position, the detachable camera can directly adjust the shooting parameter of the detachable camera without the user having to input multiple times, thus simplifying the user's operation during the shooting process and reducing time consumption.
[0076] Two different examples are used below to illustrate how the shooting parameter adjustment device determines the target adjustment parameters according to the target relative position information.
[0077] Example 1: Target relative position information includes relative position information, that is, target distance information.
[0078] Optionally, in the embodiment of the present application, the target relative position information includes target distance information, and the target distance information is the distance information between the first wireless module and the second wireless module. Figure 2 ,like Figure 4 As shown, the above step 102 can be specifically implemented through the following step 102a.
[0079] Step 102a: The shooting parameter adjustment device determines the target focal length adjustment parameter corresponding to the target distance information according to N corresponding relationships.
[0080] In the embodiment of the present application, the target focal length adjustment parameter is used for the detachable camera to adjust the focal length parameter of the detachable camera.
[0081] It can be understood that the target distance information can be the distance between the first wireless module and the second wireless module. The target focus adjustment parameter indicates the position to which the camera is to move.
[0082] In the embodiment of the present application, each of the above N corresponding relationships is a corresponding relationship between a distance information and a focal length adjustment parameter, and N is a positive integer.
[0083] In the embodiment of the present application, each of the above N corresponding relationships is a corresponding relationship between a distance information and a focal length adjustment parameter, and N is a positive integer.
[0084] Further optionally, in the embodiment of the present application, the above-mentioned N corresponding relationships may be: corresponding relationships pre-stored in the shooting parameter adjustment device.
[0085] Specifically, the N corresponding relationships may be pre-configured corresponding relationships, or corresponding relationships downloaded by the shooting parameter adjustment apparatus from a server.
[0086] Further optionally, in an embodiment of the present application, the shooting parameter adjustment device can determine a distance information that matches the target distance information from the N distance information of the N corresponding relationships, and then determine a focal length adjustment parameter corresponding to the distance information as the target focal length adjustment parameter.
[0087] It should be noted that the above “matching” can be understood as: being the same, or the difference between the two is less than or equal to a preset threshold.
[0088] It can be seen that since the shooting parameter adjustment device can directly determine the target focal length adjustment parameter based on at least one corresponding relationship without performing multiple calculations, the efficiency of the shooting parameter adjustment device in determining the target focal length adjustment parameter can be improved. In this way, the operation of the user adjusting the shooting focal length of the detachable camera during the shooting process can be simplified and the time consumption can be reduced.
[0089] Furthermore, the shooting parameter adjustment device can dynamically adjust the focal length parameters of the detachable camera according to the position of the shooting object to take clear and high-quality photos.
[0090] Example 2: The target relative position information includes relative angle information, that is, target angle information.
[0091] Optionally, in the embodiment of the present application, the target relative position information includes target angle information, the target angle information is the angle between the target line and the optical axis of the detachable camera, and the target line is the line between the first wireless module and the second wireless module. Figure 2 ,like Figure 5 As shown, the above step 102 can be specifically implemented through the following steps 102b to 102d.
[0092] Step 102b: The shooting parameter adjustment device determines the target area where the shooting object in the shooting preview picture is located based on the target angle information.
[0093] It should be noted that in order to more clearly illustrate the target angle information, Figure 6 A schematic diagram of target angle information is shown. Figure 6 As shown, the target angle information β is the angle between the target line 20 and the optical axis 22 of the detachable camera 21 ; wherein the target line 20 is the line between the shooting parameter adjustment device 23 and the detachable camera 21 .
[0094] Further optionally, in an embodiment of the present application, the shooting parameter adjustment device can adopt a target algorithm to calculate the relative position information of the shooting object in the shooting preview screen based on the target angle information, and determine the target area where the shooting object is located based on the relative position information.
[0095] It should be noted that the above-mentioned "relative position information" can be understood as: the distance information between the photographed object and the preset position in the shooting preview screen. The preset position can be: the position of a preset pixel point (such as the target pixel point in the following embodiment), the position of a preset area, the position of a preset position point, etc.
[0096] Specifically, the shooting parameter adjustment device can determine the target position according to the relative position information, and determine the target area based on the target position.
[0097] In one example, the shooting parameter adjustment device may determine an area within a preset range of the target position as the target area.
[0098] In another example, the shooting parameter adjustment device may use an image processing algorithm (such as an edge detection algorithm) on the area where the target position is located to identify the target area.
[0099] The following will illustrate by way of example how the shooting parameter adjustment device calculates the relative position information (ie, the target deviation distance) of the shooting object in the shooting preview image.
[0100] Optionally, in the embodiment of the present application, the above step 102b can be specifically implemented by the following steps 102b1 and 102b2.
[0101] Step 102b1, the shooting parameter adjustment device determines the target deviation distance according to the target angle information, the wide-angle information of the detachable camera and the size information of the shooting preview picture.
[0102] In the embodiment of the present application, the target deviation distance is the deviation distance between the photographed object and the target pixel point of the shooting preview picture.
[0103] Further optionally, in an embodiment of the present application, the above-mentioned target pixel point can be any one of the following: a pixel point in the lower left corner, a pixel point in the upper left corner, a pixel point in the lower right corner, a pixel point in the upper right corner, a center pixel point, etc.
[0104] Further optionally, in the embodiment of the present application, the wide-angle information may specifically be: a wide-angle angle.
[0105] Further optionally, in the embodiment of the present application, the above-mentioned size information may specifically be at least one of the following: pixel length, pixel width.
[0106] Further optionally, in an embodiment of the present application, the shooting parameter adjustment device may adopt a target algorithm to determine the target deviation distance according to the target angle information, the wide-angle information of the detachable camera, and the size information of the shooting preview picture.
[0107] The following will specifically describe how the shooting parameter adjustment device uses the target algorithm to calculate the target deviation distance.
[0108] Optionally, in the embodiment of the present application, the above step 102b1 can be specifically implemented by the following steps 102b1a and 102b1b.
[0109] Step 102b1a: The shooting parameter adjustment device multiplies the tangent value of the target angle information by the size information to obtain a first value.
[0110] Step 102b1b: The shooting parameter adjustment device divides the first value by the tangent value of the wide-angle information to obtain the target deviation distance.
[0111] Further optionally, in the embodiment of the present application, the shooting parameter adjustment device may divide the first value by the tangent value of the wide-angle information to obtain a second value, and then divide the second value by a to obtain the target deviation distance, where a is a positive integer.
[0112] It can be understood that the above target algorithm can be:
[0113]
[0114] Wherein, d is the target deviation distance, β is the target angle information, W is the size information of the shooting preview picture (such as pixel width), and α is the wide-angle information.
[0115] Specifically, a can be 2.
[0116] It can be seen that since the shooting parameter adjustment device can accurately calculate the target deviation distance based on the first numerical value and the tangent value of the wide-angle information, the accuracy of the shooting parameter adjustment device in determining the area where the shooting object in the shooting preview screen is located can be improved, so that accurate light measurement of the area to be measured can be achieved.
[0117] Step 102b2: The shooting parameter adjustment device determines the target area according to the target deviation distance.
[0118] It can be understood that the shooting parameter adjustment device can determine the target position according to the target deviation distance, and determine the target area based on the target position.
[0119] It should be noted that, for the description of the shooting parameter adjustment device determining the target area based on the target position, reference may be made to the specific description in the above embodiment, and the embodiments of the present application will not be repeated here.
[0120] Thus, it can be seen that since the shooting parameter adjustment device can determine the target deviation distance between the shooting object and the target pixel point of the shooting preview screen according to the target angle information, the wide-angle information and the size information of the shooting preview screen, so as to determine the area where the shooting object is located in the shooting preview screen, without the need for the user to make multiple inputs, it can simplify the operation of the user determining the area to be measured during the shooting process and reduce time consumption.
[0121] Step 102c: The shooting parameter adjustment device measures light on the target area to obtain brightness information of the target area.
[0122] Further optionally, in an embodiment of the present application, the shooting parameter adjustment device can measure all pixel points in the target area to obtain brightness information of all pixel points, and then the shooting parameter adjustment device can calculate the average brightness information of each pixel point based on the brightness information of all pixel points, and determine the average brightness information of each pixel point as the brightness information of the target area.
[0123] Step 102d: The shooting parameter adjustment device determines the target exposure adjustment parameter according to the brightness information.
[0124] In the embodiment of the present application, the above-mentioned target exposure adjustment parameter is used by the detachable camera to adjust the exposure parameter of the detachable camera.
[0125] Further optionally, in the embodiment of the present application, the shooting parameter adjustment device can determine the target exposure adjustment parameter corresponding to the brightness information according to M first corresponding relationships, wherein each first corresponding relationship in the M first corresponding relationships is a corresponding relationship between brightness information and an exposure adjustment parameter.
[0126] It can be seen that since the shooting parameter adjustment device can directly determine the target area of the shooting object in the shooting preview screen based on the target angle information, the shooting parameter adjustment device can directly measure the target area, and then determine the target exposure parameters for the detachable camera to adjust the detachable camera without the user having to input multiple times. In this way, the operation of the user adjusting the exposure parameters of the detachable camera during the shooting process can be simplified and the time consumption can be reduced.
[0127] Furthermore, the shooting parameter adjustment device can accurately measure the light of the shooting object so as to take high-quality photos in scenes with uneven brightness, especially in backlight, which can effectively solve the problem of dark portrait images caused by inaccurate light metering.
[0128] In an embodiment of the present application, when the target relative position information includes relative position information and relative angle information, the shooting parameter adjustment device can respectively execute the above steps 102a, 102b to 102d to respectively obtain the target focal length adjustment parameters and the target exposure adjustment parameters, so that the detachable camera can simultaneously adjust the focal length parameters and exposure parameters of the detachable camera.
[0129] The execution order of step 102a and step 102b is not limited in the embodiment of the present application. In one possible implementation, the shooting parameter adjustment device may first execute step 102a and then execute step 102b; in another possible implementation, the shooting parameter adjustment device may first execute step 102b and then execute step 102a; in yet another possible implementation, the shooting parameter adjustment device may execute step 102b while executing step 102a.
[0130] The shooting parameter adjustment method provided in the embodiment of the present application can be executed by a shooting parameter adjustment device. In the embodiment of the present application, the shooting parameter adjustment method provided in the embodiment of the present application is described by taking the shooting parameter adjustment device executing the shooting parameter adjustment method as an example.
[0131] Figure 7 FIG. 1 shows a possible structural diagram of a shooting parameter adjustment device involved in an embodiment of the present application. Figure 7 As shown, the shooting parameter adjustment device 60 may include: an acquisition module 61 , a determination module 62 and a sending module 63 .
[0132] Among them, the acquisition module 61 is used to obtain the target relative position information through the first wireless module of the shooting parameter adjustment device when displaying the shooting preview screen, and the target relative position information is the relative position information between the first wireless module and the second wireless module of the detachable camera. The determination module 62 is used to determine the target adjustment parameters according to the target relative position information obtained by the acquisition module 61, and the target adjustment parameters are used by the detachable camera to adjust the shooting parameters of the detachable camera. The sending module 63 is used to send the target adjustment parameters determined by the determination module 62 to the second wireless module through the first wireless module.
[0133] The shooting parameter adjustment device provided in the embodiment of the present application can directly determine the target adjustment parameters based on the acquired target relative position information when displaying the shooting preview screen, and send the target adjustment parameters to the second wireless module through the first wireless module, so that the detachable camera can directly adjust the shooting parameters of the detachable camera. That is, after the user walks back to a satisfactory shooting position, the detachable camera can directly adjust the shooting parameters of the detachable camera without the user having to input multiple times. Therefore, the user's operation during the shooting process can be simplified and time consumption can be reduced.
[0134] In a possible implementation, the target relative position information includes target distance information, and the target distance information is the distance information between the first wireless module and the second wireless module. The determination module 62 is specifically used to determine the target focal length adjustment parameter corresponding to the target distance information according to N corresponding relationships, and the target focal length adjustment parameter is used by the detachable camera to adjust the focal length parameter of the detachable camera. Each of the N corresponding relationships is a corresponding relationship between a distance information and a focal length adjustment parameter, and N is a positive integer.
[0135] It can be seen that since the shooting parameter adjustment device can directly determine the target focal length adjustment parameter based on at least one corresponding relationship without performing multiple calculations, the efficiency of the shooting parameter adjustment device in determining the target focal length adjustment parameter can be improved. In this way, the operation of the user adjusting the shooting focal length of the detachable camera during the shooting process can be simplified and the time consumption can be reduced.
[0136] Furthermore, the shooting parameter adjustment device can dynamically adjust the focal length parameters of the detachable camera according to the position of the shooting object to take clear and high-quality photos.
[0137] In a possible implementation, the target relative position information includes target angle information, which is the angle between the target line and the optical axis of the detachable camera, and the target line is the line between the first wireless module and the second wireless module. The determination module 62 is specifically used to determine the target area where the shooting object in the shooting preview screen is located based on the target angle information. The determination module 62 also includes: a metering module 64; the metering module 64 is used to measure the target area determined by the determination module 62 to obtain brightness information of the target area; the determination module 62 is also used to determine the target exposure parameters based on the brightness information obtained by the metering module 64, and the target exposure parameters are used by the detachable camera to adjust the exposure parameters of the detachable camera.
[0138] It can be seen that since the shooting parameter adjustment device can directly determine the target area of the shooting object in the shooting preview screen based on the target angle information, the shooting parameter adjustment device can directly measure the target area, and then determine the target exposure parameters for the detachable camera to adjust the detachable camera without the user having to input multiple times. In this way, the operation of the user adjusting the exposure parameters of the detachable camera during the shooting process can be simplified and the time consumption can be reduced.
[0139] Furthermore, the shooting parameter adjustment device can accurately measure the light of the shooting object so as to take high-quality photos in scenes with uneven brightness, especially in backlight, which can effectively solve the problem of dark portrait images caused by inaccurate light metering.
[0140] In one possible implementation, the determination module 62 is specifically used to determine the target deviation distance based on the target angle information, the wide-angle information of the detachable camera, and the size information of the shooting preview picture, where the target deviation distance is the deviation distance between the shooting object and the target pixel point of the shooting preview picture; and determine the target area based on the target deviation distance.
[0141] Thus, it can be seen that since the shooting parameter adjustment device can determine the target deviation distance between the shooting object and the target pixel point of the shooting preview screen according to the target angle information, the wide-angle information and the size information of the shooting preview screen, so as to determine the area where the shooting object is located in the shooting preview screen, without the need for the user to make multiple inputs, it can simplify the operation of the user determining the area to be measured during the shooting process and reduce time consumption.
[0142] In a possible implementation, the determination module 62 is specifically configured to multiply the tangent value of the target angle information by the size information to obtain a first value; and divide the first value by the tangent value of the wide-angle information to obtain a target deviation distance.
[0143] It can be seen that since the shooting parameter adjustment device can accurately calculate the target deviation distance based on the first numerical value and the tangent value of the wide-angle information, the accuracy of the shooting parameter adjustment device in determining the area where the shooting object in the shooting preview screen is located can be improved, so that accurate light measurement of the area to be measured can be achieved.
[0144] In a possible implementation, both the first wireless module and the second wireless module are UWB modules; the determination module 62 further includes a control module 65. The control module 65 is configured to control the first wireless module to establish a UWB connection with the second wireless module when it is detected that the shooting parameter adjustment device is separated from the detachable camera.
[0145] It can be seen that since the shooting parameter adjustment device can control the first wireless module and the second wireless module to establish a UWB connection to transmit data through the UWB connection, that is, transmit data through a wireless connection with high anti-interference ability, high transmission rate, low bandwidth and low transmission power, it is possible to improve the efficiency of data transmission while reducing the power consumption of the shooting parameter adjustment device.
[0146] Furthermore, the shooting parameter adjustment device can also accurately locate the second wireless module through the UWB connection, thereby obtaining the relative position information between the second wireless module and the first module. Therefore, the accuracy of the shooting parameter adjustment device in obtaining the relative position information between the first wireless module and the second wireless module can be improved.
[0147] The shooting parameter adjustment device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0148] The shooting parameter adjustment device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0149] The shooting parameter adjustment device provided in the embodiment of the present application can achieve Figures 1 to 7 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0150] Optionally, in the embodiment of the present application, Figure 8 As shown, an embodiment of the present application also provides an electronic device 70, including a processor 71, a memory 72, and a program or instruction stored in the memory 72 and executable on the processor 71. When the program or instruction is executed by the processor 71, each process of the above-mentioned shooting parameter adjustment method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0151] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0152] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application is provided, wherein the electronic device includes a target display chip.
[0153] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0154] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0155] The processor 110 is used to obtain target relative position information through the first wireless module of the electronic device when displaying the shooting preview screen, and the target relative position information is the relative position information between the first wireless module and the second wireless module of the detachable camera. It is also used to determine the target adjustment parameter according to the target relative position information, and the target adjustment parameter is used by the detachable camera to adjust the shooting parameters of the detachable camera. It is also used to send the target adjustment parameter to the second wireless module through the first wireless module.
[0156] The electronic device provided by the embodiment of the present application, when displaying a shooting preview screen, can directly determine the target adjustment parameters based on the acquired target relative position information, and send the target adjustment parameters to the second wireless module through the first wireless module, so that the detachable camera can directly adjust the shooting parameters of the detachable camera, that is, after the user walks back to a satisfactory shooting position, the detachable camera can directly adjust the shooting parameters of the detachable camera without the user having to input multiple times. Therefore, the user's operation during the shooting process can be simplified and time consumption can be reduced.
[0157] Optionally, in an embodiment of the present application, the target relative position information includes target distance information, and the target distance information is the distance information between the first wireless module and the second wireless module. The processor 110 is specifically used to determine the target focal length adjustment parameter corresponding to the target distance information according to N corresponding relationships, and the target focal length adjustment parameter is used by the detachable camera to adjust the focal length parameter of the detachable camera. Each of the N corresponding relationships is a corresponding relationship between a distance information and a focal length adjustment parameter, and N is a positive integer.
[0158] It can be seen that since the electronic device can directly determine the target focal length adjustment parameters based on at least one corresponding relationship without performing multiple calculations, the efficiency of the electronic device in determining the target focal length adjustment parameters can be improved. In this way, the operation of the user adjusting the shooting focal length of the detachable camera during the shooting process can be simplified and the time consumption can be reduced.
[0159] Furthermore, the electronic device can dynamically adjust the focal length parameters of the detachable camera according to the position of the photographed object to take clear and high-quality photos.
[0160] Optionally, in an embodiment of the present application, the target relative position information includes target angle information, the target angle information is the angle between the target line and the optical axis of the detachable camera, and the target line is the line between the first wireless module and the second wireless module. The processor 110 is specifically used to determine the target area where the photographed object in the shooting preview screen is located based on the target angle information. It is also used to measure the target area to obtain brightness information of the target area. It is also used to determine the target exposure parameter based on the brightness information, and the target exposure parameter is used by the detachable camera to adjust the exposure parameter of the detachable camera.
[0161] It can be seen that since the electronic device can directly determine the target area of the subject in the shooting preview screen based on the target angle information, the electronic device can directly measure the target area, and then determine the target exposure parameters for the detachable camera to adjust the detachable camera without the user having to input multiple times. In this way, the operation of the user adjusting the exposure parameters of the detachable camera during the shooting process can be simplified and the time consumption can be reduced.
[0162] Furthermore, the electronic device can accurately measure the light of the subject so as to take high-quality photos in scenes with uneven brightness, especially in backlighting, which can effectively solve the problem of dark portrait images caused by inaccurate light metering.
[0163] Optionally, in an embodiment of the present application, the processor 110 is specifically used to determine a target deviation distance based on target angle information, wide-angle information of the detachable camera, and size information of the shooting preview screen, where the target deviation distance is the deviation distance between the shooting object and the target pixel point of the shooting preview screen; and determine the target area based on the target deviation distance.
[0164] Thus, it can be seen that since the electronic device can determine the target deviation distance between the photographed object and the target pixel point of the shooting preview screen based on the target angle information, wide-angle information and the size information of the shooting preview screen, so as to determine the area where the photographed object in the shooting preview screen is located, without the need for the user to make multiple inputs, it can simplify the user's operation of determining the area to be measured during the shooting process and reduce time consumption.
[0165] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to multiply the tangent value of the target angle information by the size information to obtain a first value; and divide the first value by the tangent value of the wide-angle information to obtain a target deviation distance.
[0166] It can be seen that since the electronic device can accurately calculate the target deviation distance based on the first numerical value and the tangent value of the wide-angle information, the accuracy of the electronic device in determining the area where the photographed object in the shooting preview screen is located can be improved, so that accurate metering of the area to be measured can be achieved.
[0167] Optionally, in the embodiment of the present application, both the first wireless module and the second wireless module are UWB modules. The processor 110 is configured to control the first wireless module to establish a UWB connection with the second wireless module when detecting that the electronic device is separated from the detachable camera.
[0168] It can be seen that since the electronic device can control the first wireless module and the second wireless module to establish a UWB connection to transmit data through the UWB connection, that is, transmit data through a wireless connection with high anti-interference, high transmission rate, low bandwidth and low transmission power, it is possible to improve the efficiency of transmitting data while reducing the power consumption of the electronic device.
[0169] Furthermore, the electronic device can also accurately locate the second wireless module through the UWB connection, thereby obtaining relative position information between the second wireless module and the first module, thereby improving the accuracy of the electronic device in obtaining relative position information between the first wireless module and the second wireless module.
[0170] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, 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 display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0171] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0172] The processor 110 may include one or more processing units; optionally, in the embodiment of the present application, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
[0173] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned shooting parameter adjustment method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0174] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0175] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned shooting parameter adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0176] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0177] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned shooting parameter adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0178] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the 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, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0179] 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 computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0180] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A shooting parameter adjustment method, applied to an electronic device, wherein the electronic device comprises a detachable camera, It is characterized in that The method comprises: When displaying the shooting preview screen, obtaining target relative position information through the first wireless module of the electronic device, wherein the target relative position information is relative position information between the first wireless module and the second wireless module of the detachable camera; Determining a target adjustment parameter according to the target relative position information, wherein the target adjustment parameter is used by the detachable camera to adjust a shooting parameter of the detachable camera; Sending the target adjustment parameter to the second wireless module through the first wireless module; The target relative position information includes target angle information, where the target angle information is the angle between a target line and the optical axis of the detachable camera, and the target line is the line between the first wireless module and the second wireless module; Determining the target adjustment parameter according to the target relative position information includes: Based on the target angle information, determining a target area where the photographed object in the photographing preview picture is located; Measuring light for the target area to obtain brightness information of the target area; A target exposure parameter is determined according to the brightness information, and the target exposure parameter is used by the detachable camera to adjust the exposure parameter of the detachable camera.
2. The method according to claim 1, It is characterized in that The determining, based on the target angle information, a target area where the photographed object in the photographing preview picture is located includes: Determine a target deviation distance according to the target angle information, the wide-angle information of the detachable camera, and the size information of the shooting preview picture, wherein the target deviation distance is a deviation distance between the shooting object and a target pixel point of the shooting preview picture; The target area is determined according to the target deviation distance.
3. The method according to claim 2, It is characterized in that The step of determining the target deviation distance according to the target angle information, the wide-angle information of the detachable camera, and the size information of the shooting preview picture includes: Multiplying the tangent value of the target angle information by the size information to obtain a first value; The first value is divided by the tangent value of the wide-angle information to obtain the target deviation distance.
4. The method according to claim 1, It is characterized in that The first wireless module and the second wireless module are both ultra-wideband UWB modules; In the case of displaying the shooting preview screen, before acquiring the target relative position information through the first wireless module of the electronic device, the method further includes: When it is detected that the electronic device is separated from the detachable camera, the first wireless module is controlled to establish a UWB connection with the second wireless module.
5. A shooting parameter adjustment device, applied to an electronic device, wherein the electronic device comprises a detachable camera, It is characterized in that The shooting parameter adjustment device comprises: an acquisition module, a determination module and a sending module; The acquisition module is used to acquire target relative position information through the first wireless module of the electronic device when displaying the shooting preview screen, wherein the target relative position information is relative position information between the first wireless module and the second wireless module of the detachable camera; The determining module is used to determine a target adjustment parameter according to the target relative position information acquired by the acquiring module, wherein the target adjustment parameter is used by the detachable camera to adjust the shooting parameters of the detachable camera; The sending module is used to send the target adjustment parameter determined by the determining module to the second wireless module through the first wireless module; The target relative position information includes target angle information, where the target angle information is the angle between a target line and the optical axis of the detachable camera, and the target line is the line between the first wireless module and the second wireless module; The determination module is specifically configured to determine a target area where the photographed object in the shooting preview picture is located based on the target angle information; The determination module further includes: a light measurement module; The light measuring module is used to measure the light of the target area determined by the determination module to obtain brightness information of the target area; The determination module is further used to determine a target exposure parameter according to the brightness information obtained by the light metering module, and the target exposure parameter is used by the detachable camera to adjust the exposure parameter of the detachable camera.
6. The shooting parameter adjustment device according to claim 5, It is characterized in that The determination module is specifically used to determine the target deviation distance according to the target angle information, the wide-angle information of the detachable camera and the size information of the shooting preview picture, wherein the target deviation distance is the deviation distance between the shooting object and the target pixel point of the shooting preview picture; and determine the target area according to the target deviation distance.
7. The shooting parameter adjustment device according to claim 6, It is characterized in that The determination module is specifically configured to multiply the tangent value of the target angle information by the size information to obtain a first value; and divide the first value by the tangent value of the wide-angle information to obtain the target deviation distance.
8. The shooting parameter adjustment device according to claim 5, It is characterized in that The first wireless module and the second wireless module are both UWB modules; The determination module further includes: a control module; The control module is used to control the first wireless module to establish a UWB connection with the second wireless module when it is detected that the electronic device is separated from the detachable camera.
9. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the shooting parameter adjustment method according to any one of claims 1 to 4 are implemented.
