Image capturing method and apparatus

CN122934053APending Publication Date: 2026-10-16VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611053856.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-15
Publication Date
2026-10-16

AI Technical Summary

Benefits of technology

[0011] In this embodiment, when the electronic device displays a camera control interface, since the camera control interface includes a first control switching control that can be used to switch the camera adjustment interface displayed by the electronic device to the gimbal control interface, the electronic device can respond to the user's input to the first control switching control to display the gimbal control interface. That is, the acquisition device corresponding to the preview image displayed by the electronic device can be changed from the electronic device's camera to a gimbal camera. In other words, the user can switch between using the electronic device's camera and the gimbal camera through the electronic device, thereby improving the convenience of controlling different camera devices. Simultaneously, since the gimbal control interface includes a preview image captured by the gimbal camera and gimbal operation controls, the user can directly control the gimbal camera in real time by inputting the gimbal operation controls. Furthermore, since the user can intuitively view the real-time changes in the image captured by the gimbal camera through the content displayed on the preview screen, the preview image captured by the gimbal camera ultimately displayed by the electronic device will inevitably meet the user's actual needs. Thus, the convenience and accuracy of controlling the gimbal camera by the electronic device are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122934053A_ABST
    Figure CN122934053A_ABST
Patent Text Reader

Abstract

The application discloses a gimbal camera control method and device, and belongs to the technical field of gimbal devices. The method comprises the following steps: displaying a camera regulation interface, wherein the camera regulation interface comprises a preview image collected by an electronic device camera and a first regulation switching control, and the first regulation switching control is used for switching the camera regulation interface displayed by the electronic device to a gimbal regulation interface; in response to a first input to the first regulation switching control, displaying the gimbal regulation interface, wherein the gimbal regulation interface comprises a preview image collected by a gimbal camera and a gimbal operation control; and in response to a second input to the gimbal operation control, controlling the gimbal camera and performing an operation corresponding to the second input.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of gimbal equipment technology, specifically relating to an image capturing method and apparatus. Background Technology

[0002] Nowadays, with the development of shooting equipment technology, users can add external shooting equipment, such as external lenses and external gimbals, to their electronic devices, such as mobile phones, to assist in shooting.

[0003] Therefore, how to control external devices in a simple and accurate way through electronic devices is a technical problem that urgently needs to be solved. Summary of the Invention

[0004] The purpose of this application is to provide a gimbal camera control method and device, which can improve the convenience and accuracy of electronic devices controlling gimbal cameras.

[0005] In a first aspect, embodiments of this application provide a gimbal camera control method, which includes: displaying a camera control interface, the camera control interface including a preview image captured by an electronic device camera and a first control switching control, the first control switching control being used to switch the camera control interface displayed by the electronic device to a gimbal control interface; responding to a first input to the first control switching control, displaying the gimbal control interface, the gimbal control interface including a preview image captured by a gimbal camera and gimbal operation controls; and responding to a second input to the gimbal operation controls, controlling the gimbal camera to perform an operation corresponding to the second input.

[0006] Secondly, embodiments of this application provide a gimbal camera control device, which includes: a display module and a control module; the display module is used to display a camera control interface, the camera control interface including a preview image captured by the camera of an electronic device and a first control switching control, the first control switching control being used to switch the camera control interface displayed by the electronic device to a gimbal control interface; the display module is also used to display a gimbal control interface in response to a first input to the first control switching control, the gimbal control interface including a preview image captured by a gimbal camera and gimbal operation controls; the control module is used to control the gimbal camera and execute an operation corresponding to the second input in response to a second input to the gimbal operation controls displayed by the display module.

[0007] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0008] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0009] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0010] In a sixth aspect, embodiments of this application provide a computer program / program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0011] In this embodiment, when the electronic device displays a camera control interface, since the camera control interface includes a first control switching control that can be used to switch the camera adjustment interface displayed by the electronic device to the gimbal control interface, the electronic device can respond to the user's input to the first control switching control to display the gimbal control interface. That is, the acquisition device corresponding to the preview image displayed by the electronic device can be changed from the electronic device's camera to a gimbal camera. In other words, the user can switch between using the electronic device's camera and the gimbal camera through the electronic device, thereby improving the convenience of controlling different camera devices. Simultaneously, since the gimbal control interface includes a preview image captured by the gimbal camera and gimbal operation controls, the user can directly control the gimbal camera in real time by inputting the gimbal operation controls. Furthermore, since the user can intuitively view the real-time changes in the image captured by the gimbal camera through the content displayed on the preview screen, the preview image captured by the gimbal camera ultimately displayed by the electronic device will inevitably meet the user's actual needs. Thus, the convenience and accuracy of controlling the gimbal camera by the electronic device are improved. Attached Figure Description

[0012] Figure 1 This is one of the flowcharts of a gimbal camera control method provided in the embodiments of this application;

[0013] Figure 2 This is one of the schematic diagrams of a camera control interface provided in the embodiments of this application;

[0014] Figure 3A This is one of the schematic diagrams of a camera main interface provided in the embodiments of this application;

[0015] Figure 3B This is a second example of a camera main interface provided in the embodiments of this application;

[0016] Figure 4AThis is a second example of a camera control interface provided in the embodiments of this application;

[0017] Figure 4B This is one of the schematic diagrams of a gimbal control interface provided in the embodiments of this application;

[0018] Figure 4C This is a second example of a gimbal control interface provided in the embodiments of this application;

[0019] Figure 5 This is a third example of a gimbal control interface provided in the embodiments of this application;

[0020] Figure 6 This is a second flowchart of a gimbal camera control method provided in the embodiments of this application;

[0021] Figure 7A This is the fourth example of a gimbal control interface provided in the embodiments of this application;

[0022] Figure 7B This is the fifth example of a gimbal control interface provided in the embodiments of this application;

[0023] Figure 7C This is the sixth example of a gimbal control interface provided in the embodiments of this application;

[0024] Figure 7D This is the seventh example of a gimbal control interface provided in the embodiments of this application;

[0025] Figure 7E This is the eighth example of a gimbal control interface provided in the embodiments of this application;

[0026] Figure 8A This is the ninth example of a gimbal control interface provided in the embodiments of this application;

[0027] Figure 8B This is the tenth example of a gimbal control interface provided in the embodiments of this application;

[0028] Figure 8C This is eleventh of the schematic diagrams illustrating an example of a gimbal control interface provided in this application embodiment;

[0029] Figure 8D This is the twelfth example of a gimbal control interface provided in the embodiments of this application;

[0030] Figure 8E This is the thirteenth example of a gimbal control interface provided in the embodiments of this application;

[0031] Figure 8FThis is the fourteenth example of a gimbal control interface provided in the embodiments of this application;

[0032] Figure 9 This is the third flowchart of a gimbal camera control method provided in the embodiments of this application;

[0033] Figure 10 This is the fifteenth example of a gimbal control interface provided in the embodiments of this application;

[0034] Figure 11 This is a schematic diagram of the structure of a gimbal camera control device provided in an embodiment of this application;

[0035] Figure 12 This is one of the hardware structure diagrams of an electronic device provided in the embodiments of this application;

[0036] Figure 13 This is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0037] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0038] The terms "first," "second," etc., used in this application's specification are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class, without limiting the number of objects. For example, a first object can be one or more, where "more" means at least two. Furthermore, in the specification, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0039] The terms "at least one" and "at least one of" in this application's specification refer to any one, any two, or a combination of two or more of the included objects. For example, "at least one of a, b, and c" can mean "a", "b", "c", "a and b", "a and c", "b and c", and "a, b, and c", where a, b, and c can be single or multiple, and multiple means at least two. Similarly, "at least two" means two or more, and its meaning is similar to "at least one". The identifiers in this application are text, symbols, images, etc., used to indicate information, and can use controls or other containers as carriers for displaying information, including but not limited to text identifiers, symbol identifiers, and image identifiers.

[0040] The terminology used in the implementation section of this application is only for explaining specific embodiments of this application and is not intended to limit this application. The terminology involved in the embodiments of this application is explained below.

[0041] Controls: Elements in a graphical user interface that can receive user input to perform corresponding processing or display relevant data. Controls can include, but are not limited to, virtual buttons, sliders, progress bars, and checkboxes.

[0042] Interface: Refers to the medium through which users interact with electronic devices. The interface allows users to send commands to the system via input devices and receive feedback information via output devices. Input devices can be keyboards, mice, touchscreens, etc.; monitors, speakers, etc.

[0043] The gimbal camera control method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0044] The gimbal camera control method provided in this application can be applied to scenarios where auxiliary shooting is achieved through external devices. For example, the external device may include, but is not limited to, any of the following: an external lens or an external gimbal.

[0045] The following examples illustrate the gimbal camera control method provided in this application.

[0046] If a user wants to use a gimbal camera connected to an electronic device for assisted shooting, the electronic device, while displaying a camera control interface, can respond to the user's first input to the first control switching control and display the gimbal control interface. The camera control interface may include a preview image captured by the electronic device's camera and the first control switching control, which switches the displayed camera control interface to the gimbal control interface. The gimbal control interface may include a preview image captured by the gimbal camera and gimbal operation controls. Therefore, the electronic device can respond to a second input to the gimbal operation controls, controlling the gimbal camera to perform the operation corresponding to the second input, thereby achieving assisted shooting using the gimbal camera.

[0047] It should be noted that the above scenarios are merely illustrative examples of possible applications of the embodiments of this application. In actual implementation, the embodiments of this application can also be applied to any possible scenarios such as assisted shooting through external devices. The embodiments of this application are not limited here.

[0048] Based on the scenarios described in the embodiments of this application, the gimbal camera control method provided in this application, when the electronic device displays a camera control interface, includes a first control switching control that can be used to switch the camera adjustment interface displayed by the electronic device to the gimbal control interface. Therefore, the electronic device can respond to the user's input to the first control switching control to display the gimbal control interface. That is, the acquisition device corresponding to the preview image displayed by the electronic device can be changed from the electronic device's camera to a gimbal camera. In other words, the user can switch between using the electronic device's camera and the gimbal camera through the electronic device, thereby improving the convenience of controlling different camera devices. Simultaneously, since the gimbal control interface includes a preview image acquired by the gimbal camera and gimbal operation controls, the user can directly control the gimbal camera in real time by inputting the gimbal operation controls. Furthermore, since the user can intuitively view the real-time changes in the image acquired by the gimbal camera through the content displayed on the preview screen, the preview image acquired by the gimbal camera ultimately displayed by the electronic device will inevitably meet the user's actual needs. Thus, the convenience and accuracy of controlling the gimbal camera by the electronic device are improved.

[0049] The gimbal camera control method provided in this application is executed by a gimbal camera control device, which can be an electronic device, or a functional module or entity within an electronic device. This application does not limit the specific implementation of this method. The following will use an electronic device as the executing entity, with the electronic device connected to a gimbal camera, as an example to illustrate the gimbal camera control method provided in this application.

[0050] This application provides a gimbal camera control method. Figure 1A flowchart illustrating a gimbal camera control method provided in an embodiment of this application is shown. Figure 1 As shown, the gimbal camera control method provided in this application embodiment may include the following steps 201 to 203.

[0051] Step 201: The electronic device displays the camera control interface.

[0052] In some embodiments of this application, the above-mentioned electronic device can be connected to a gimbal camera.

[0053] In some embodiments of this application, the connection described above may be a wired connection or a wireless connection, and this application does not limit the specific connection.

[0054] In some embodiments of this application, the camera control interface described above may include a preview image captured by the camera of an electronic device and a first control switching control.

[0055] In some embodiments of this application, the first control switching control described above can be used to switch the camera control interface displayed on the electronic device to the gimbal control interface.

[0056] In some embodiments of this application, the camera control interface described above can be an interface corresponding to a special shooting mode. For example, the special shooting mode can be a "gimbal camera" shooting mode.

[0057] In some embodiments of this application, the application to which the above-mentioned camera control interface belongs may include, but is not limited to, any of the following: the system's camera application, a third-party camera application, or an application with shooting function.

[0058] In some embodiments of this application, the aforementioned application with shooting function may include, but is not limited to, at least one of the following: a communication application, a shopping application, or a browser application.

[0059] For example, a mobile phone is used as an example for illustration. Figure 2 As shown, the camera control interface can be a camera control interface 20. Furthermore, this camera control interface 20 may include a preview image 21 captured by the mobile phone camera and control switching controls 22.

[0060] It should be noted that the camera control interface described above may also include at least one control, and the at least one shooting control, from top to bottom and from left to right, is as follows: flash control, high dynamic range (HDR) mode control, dynamic photo mode control, settings control, "panorama" shooting mode control, "beauty" shooting mode control, "gimbal camera" shooting mode control, "photo" shooting mode control, "video" shooting mode control, "album" control, and shooting control.

[0061] Among them, the flash control can be used to turn the flash on or off; the HDR mode control can be used to turn the phone's high dynamic range photo shooting function on or off; the live photo mode control can be used to turn the phone's live photo shooting function on or off; the settings control can be used to trigger the phone to display at least one settings option, such as image ratio, time-lapse shooting, etc.; the "take a picture" control can switch the shooting mode to normal shooting mode; the "record video" control can be used to switch the shooting mode to video recording mode; the "album" control can be used to jump to the album application interface so that users can quickly view the captured images or recorded videos; and the shooting control can be used to trigger the phone to take a picture.

[0062] In some embodiments of this application, before step 201 above, the gimbal camera control method provided in the embodiments of this application may further include the following steps 301 and 302.

[0063] Step 301: With the camera's main interface displayed, the electronic device receives a third input from the user.

[0064] In some embodiments of this application, the aforementioned camera main interface can be the main interface of the camera application of an electronic device, such as the interface corresponding to the "camera" shooting mode.

[0065] In some embodiments of this application, the aforementioned third input can be used to trigger an electronic device to adjust the shooting mode.

[0066] In some embodiments of this application, the third input may be a click input to the target shooting mode control, or it may be voice input, or it may be gesture input, or it may be any other feasible input. This application does not limit this.

[0067] In some embodiments of this application, the target shooting mode control described above can be as follows: Figure 2 The "Gimbal Camera" shooting mode control in the camera control interface 20 shown.

[0068] It is understood that the camera main interface may include at least one shooting mode control, and the at least one shooting mode control may include the target shooting mode control.

[0069] For example, when a user needs to take an image, the user can tap the camera application icon displayed on the desktop to trigger the phone to start the camera application. Thus, as... Figure 3A As shown, the phone can display the main camera interface 23 of the camera application and continuously capture images through the phone's camera and display them in the preview interface.

[0070] It should be noted that the main camera interface may also include a lens switching control, which can be used to switch the camera used for shooting, such as switching from the front camera to the rear camera, that is, the camera used by the phone to shoot before switching is the front camera, and the camera used by the phone to shoot after switching is the rear camera; or, switching from the rear camera to the front camera, that is, the camera used by the phone to shoot before switching is the rear camera, and the camera used by the phone to shoot after switching is the front camera.

[0071] Step 302: The electronic device responds to the third input and switches from the camera main interface to the camera control interface.

[0072] For example, combined Figure 3A ,like Figure 3B As shown, users can click the "Gimbal Camera" shooting mode in the main camera interface 23, i.e., the third input mentioned above, to trigger the phone's interface to switch from the main camera interface 23 to the mode shown above. Figure 2 The camera control interface 20 is shown.

[0073] In this embodiment, the electronic device can display a camera control interface based on the user's click input on the target shooting mode control. Thus, the electronic device can provide the user with a first control switching control for switching the control interface through the camera control interface. Subsequently, the user can switch to the gimbal control interface by inputting on the camera control interface and further control the gimbal camera. This can improve the convenience of controlling the gimbal camera.

[0074] Step 202: The electronic device responds to the first input to the first control switching control and displays the PTZ control interface.

[0075] In some embodiments of this application, the first input described above can be used to trigger the display of the gimbal control interface on the electronic device.

[0076] In some embodiments of this application, the first input mentioned above may include, but is not limited to, any of the following: click input, voice input, gesture input, or other feasible inputs. This application does not limit this.

[0077] In some embodiments of this application, the gimbal control interface may include a preview image captured by the gimbal camera and gimbal operation controls.

[0078] In some embodiments of this application, the above-mentioned gimbal operation controls may include, but are not limited to, at least one of the following: gimbal adjustment controls, gimbal image capture controls, and full-screen display controls.

[0079] In some embodiments of this application, the above-mentioned gimbal adjustment control may include, but is not limited to, at least one of the following: camera parameter adjustment control, gimbal parameter adjustment control.

[0080] In some embodiments of this application, the gimbal control interface described above can also display the real-time position and attitude of the gimbal camera.

[0081] Understandably, electronic devices can display preview images captured by the gimbal camera in full screen, or they can display preview images captured by the gimbal camera and the real-time position and attitude of the gimbal camera in split screen.

[0082] It should be noted that the specific split-screen display format, and which screen displays which interface, can be determined according to actual needs, and this application embodiment does not limit it here.

[0083] For example, combined Figure 2 ,like Figure 4A As shown, users can click the control switch 22 to trigger the phone to display the following: Figure 4B The gimbal control interface shown in Figure 30, or it can display something like... Figure 4C The gimbal control interface shown is 30. In, as... Figure 4B or Figure 4C The gimbal control interface 30 shown includes a preview image 31 captured by the gimbal camera and gimbal operation controls, such as gimbal control controls, namely "camera control" control 34 and "gimbal control" control 35; gimbal image capture control, namely the capture control in the bottom center area; and "full screen display" control 36.

[0084] Among them, in such Figure 4B In the gimbal control interface 30 shown, the mobile phone can display a preview image 31 captured by the gimbal camera on the upper half of the screen, and display the position and attitude image 33 of the gimbal camera in real time in the center area of ​​the lower half of the screen.

[0085] In some embodiments of this application, the gimbal control interface further includes a second control switching control; after step 202, the gimbal camera control method provided in the embodiments of this application may further include the following steps 401 and 402.

[0086] Step 401: The electronic device receives the fourth input to the second control switching control.

[0087] In some embodiments of this application, the fourth input described above can be used to adjust the control interface displayed on the electronic device.

[0088] In some embodiments of this application, the fourth input may include, but is not limited to, any of the following: click input, voice input, gesture input, or other feasible inputs. This application does not limit this type of input.

[0089] Step 402: The electronic device responds to the fourth input and controls the pan-tilt control interface to switch to the camera control interface.

[0090] For example, combined Figure 4B If a user wants to take photos using their phone's camera, that is, to switch the device capturing the preview image displayed on the phone from the gimbal camera to the phone, then as follows: Figure 5 As shown, the user can manually click the control switch 32, i.e., the fourth input mentioned above, so that the phone can be adjusted as follows: Figure 2 The camera control interface 20 is shown. Users can then view images captured by the phone's camera through this interface and take further photos using the phone's camera.

[0091] In this embodiment, the electronic device can dynamically adjust the displayed gimbal control interface to a camera control interface based on the user's input to the second control switching control. Thus, the user can realize real-time control and switching of the electronic device's camera and the gimbal camera according to actual needs, thereby improving the flexibility and convenience of shooting through an electronic device connected to a gimbal camera.

[0092] Step 203: The electronic device responds to the second input to the gimbal operation control, controls the gimbal camera, and executes the operation corresponding to the second input.

[0093] In some embodiments of this application, the second input described above can be used to control the gimbal camera to perform operations.

[0094] In some embodiments of this application, the second input may include, but is not limited to, any of the following: click input, voice input, gesture input, or other feasible input. This application does not limit this type of input.

[0095] In some embodiments of this application, the above-mentioned gimbal operation control includes at least one of the following: a camera parameter adjustment control and a gimbal parameter adjustment control; combined with Figure 1 ,like Figure 6 As shown, step 203 can be implemented through step 203a or step 203b.

[0096] Step 203a: The electronic device responds to the second input to the camera parameter control and controls the gimbal camera to adjust the shooting parameters corresponding to the camera parameter control.

[0097] In some embodiments of this application, the above-mentioned shooting parameters may include, but are not limited to, at least one of the following: exposure and zoom.

[0098] In some embodiments of this application, after the electronic device displays the gimbal operation controls, the electronic device can display at least one operation sub-control based on the user's input to the gimbal operation controls, thereby executing subsequent steps based on the user's input to the operation sub-control.

[0099] In some embodiments of this application, when the electronic device displays the above-mentioned camera parameter control, the electronic device may display at least one camera parameter control sub-control, such as an "exposure" sub-control and a "zoom" sub-control, based on the user's input to the camera control; or, the electronic device may display at least one camera parameter control slider, such as an "exposure" slider and a "zoom" slider, based on the user's input to the camera control.

[0100] In some embodiments of this application, when the electronic device displays at least one camera parameter adjustment sub-control, the electronic device can display a corresponding camera parameter condition slider based on the user's input to the camera parameter adjustment sub-control, so as to adjust the shooting parameters.

[0101] For example, combined Figure 4B ,like Figure 7A As shown, when a user wants to adjust the shooting parameters of the gimbal camera, the user can click the "Camera Control" control 34, which is the second input for the aforementioned camera parameter adjustment control, as shown. Figure 7B As shown, the phone can display the "Exposure" sub-control 341 and the "Zoom" sub-control 342. If the user wants to adjust the exposure parameters used by the gimbal camera to capture preview images, then... Figure 7C As shown, the mobile phone can respond to the user's tap input on the "Exposure" sub-control 341, displaying an exposure slider for adjusting exposure parameters, such as exposure slider 343. The user can then control the gimbal camera to adjust the exposure parameters used for capturing the preview image by sliding the exposure slider 343 up and down. If the user wants to adjust the zoom parameters used by the gimbal camera to capture the preview image, such as... Figure 7D As shown, the mobile phone can respond to the user's click input on the "zoom" sub-control 342 and display a zoom slider for adjusting zoom parameters, such as zoom slider 344. Then, the user can adjust the zoom parameters used by the gimbal camera to capture and preview images by sliding the zoom slider 344 left and right.

[0102] Furthermore, by way of example, in combination Figure 4B When a user wants to adjust the shooting parameters of the gimbal camera, the user can click the "Camera Control" control 34, which is the second input for the aforementioned camera parameter adjustment control, such as... Figure 7E As shown, the mobile phone can directly display the exposure slider 343 for adjusting exposure parameters and the zoom slider 344 for adjusting zoom parameters. Therefore, the user can input at least one of the exposure slider 343 and the zoom slider 344 as needed, so that the mobile phone can control the gimbal camera and adjust the shooting parameters accordingly.

[0103] It should be noted that the display positions of the exposure slider 343 and zoom slider 344 can be determined according to actual needs, and this embodiment of the application does not limit them.

[0104] In some embodiments of this application, when a user wants to adjust the shooting parameters of the gimbal camera, the user can directly slide input in a specific area of ​​the gimbal control interface, so that the electronic device can adjust the shooting parameters according to the type of shooting parameters corresponding to the input position.

[0105] In some embodiments of this application, the aforementioned specific area may include, but is not limited to, the edge area of ​​the gimbal control interface.

[0106] Understandably, an edge area can correspond to a type of shooting parameter. For example, the lower edge area of ​​the gimbal control interface can correspond to focus parameters, while the right edge area can correspond to exposure parameters.

[0107] It should be noted that the correspondence between the above-mentioned edge areas and shooting parameters can be set or adjusted according to the user's actual needs, and this application embodiment does not limit it here.

[0108] Step 203b: The electronic device responds to the second input to the gimbal parameter adjustment control and controls the gimbal camera to adjust the shooting angle through the adjustment mode corresponding to the gimbal parameter adjustment control.

[0109] In some embodiments of this application, the electronic device can control the movement of the motor of the gimbal camera to adjust the shooting angle of the gimbal camera.

[0110] It should be noted that the range of the shooting angle adjustment can be determined according to the hardware conditions of the gimbal camera, such as 360°. Specifically, this application embodiment does not limit it.

[0111] In some embodiments of this application, the above adjustment mode may include any of the following: subject following mode, fixed angle mode.

[0112] In some embodiments of this application, the aforementioned subject-following mode can be understood as the electronic device automatically adjusting the shooting angle based on the movement of the subject selected by the user.

[0113] In some embodiments of this application, when the electronic device is in subject-following mode, the position of the subject in the preview image can be determined based on the position when the user selects the subject; or, the subject can remain in the center area of ​​the preview image; or, the user can actively set the position of the subject in the preview image, such as the upper left corner of a 3x3 grid; or any other feasible position, which is not limited in this embodiment of the application.

[0114] In some embodiments of this application, the above-mentioned fixed angle mode can be understood as the electronic device maintaining a fixed angle to continuously acquire images.

[0115] In some embodiments of this application, the electronic device can display at least one adjustment mode sub-control in response to a second input to the gimbal parameter adjustment control. The electronic device can then determine the desired shooting angle adjustment mode based on the user's input to the at least one adjustment mode sub-control, and further control the gimbal camera to adjust the shooting angle using the adjustment mode corresponding to the gimbal parameter adjustment control.

[0116] In some embodiments of this application, the at least one adjustment mode sub-control may include, but is not limited to, a subject follow sub-control and a fixed angle sub-control.

[0117] In some embodiments of this application, when the electronic device receives input from the user for the aforementioned subject-following sub-control, the electronic device may display a prompt message to prompt the user to select the subject object to follow in the preview interface.

[0118] In some embodiments of this application, when the electronic device receives input from the user for the aforementioned fixed angle sub-control, the electronic device can display an angle adjustment control so that the user can set the desired shooting angle through the angle adjustment control.

[0119] For example, combined Figure 4B ,like Figure 8A As shown, when a user wants to adjust the shooting angle of the gimbal camera, the user can click the "Gimbal Control" control 35, which is the second input to the gimbal parameter adjustment control mentioned above, such as... Figure 8B As shown, the phone can display a "Subject Follow" sub-control 351 and a "Fixed Angle" sub-control 352. If the user wants the phone to automatically adjust the shooting angle based on the person in the preview image 31, then... Figure 8C As shown, the user can click the "Subject Follow" sub-control 351 and further manually define the subject object that the phone wants to follow in the preview image 31. Then, the phone can control the gimbal camera's motor to move according to the movement of this subject object, so that the person displayed in the preview interface 31 can remain in a fixed position or area. If the user wants the phone to take pictures from a fixed angle, then... Figure 8D As shown, the user can click the "Fixed Angle" sub-control 352. At this time, the phone can display an angle adjustment control 353. The user can then use this angle adjustment control 353 to manually adjust the shooting angle of the gimbal camera to a fixed angle that meets their needs, and continue shooting based on the adjusted angle.

[0120] In some embodiments of this application, the electronic device may display an angle adjustment control in response to a second input to the gimbal parameter control, so that the user can set the desired adjustment mode and shooting angle through the angle adjustment control.

[0121] For example, combined Figure 4B When a user wants to adjust the shooting angle of the gimbal camera, the user can click the "Gimbal Control" control 35, which is the second input to the gimbal parameter adjustment control mentioned above, such as... Figure 8E As shown, the phone can directly display an angle adjustment control 354. The user can then input at least one of the directional arrows in the angle adjustment control 354 to manually adjust the gimbal camera's shooting angle to a fixed angle that meets their needs, and continue shooting based on that adjusted angle. Alternatively, as... Figure 8F As shown, the user can click the center area of ​​the angle adjustment control 354 to change the adjustment mode from fixed angle mode to subject follow mode. Then, the user can further select the subject object to follow in the preview image 31, so that the mobile phone can control the motor of the gimbal camera to move according to the movement of the subject object, so that the person displayed in the preview interface 31 can remain in a fixed position or fixed area.

[0122] It should be noted that, in combination Figure 8F When the phone is in subject-following mode, if the user inputs the directional arrow of the angle adjustment control 354, the phone may not respond to avoid accidental switching of the adjustment mode. If the user wishes to switch the adjustment mode to subject-following mode, the user can click the center area of ​​the angle adjustment control 354 to adjust the adjustment mode.

[0123] In this embodiment, the electronic device can control the gimbal device to perform corresponding operations based on the user's input of at least one of the camera parameter control control and the gimbal parameter control control. That is, the user can realize real-time control of the gimbal camera through the electronic device, thereby improving the convenience of controlling the gimbal camera.

[0124] In some embodiments of this application, the above-mentioned gimbal operation controls include gimbal shooting controls; combined with Figure 1 ,like Figure 9 As shown, step 203 above can be implemented through step 203c below.

[0125] Step 203c: The electronic device responds to the second input to the gimbal shooting control, controls the gimbal camera to perform a shooting operation, and stores the captured file to the electronic device.

[0126] In some embodiments of this application, when the input form of the second input is different, the electronic device can respond to the second input to control the gimbal camera to capture different types of files.

[0127] In some embodiments of this application, the types of the aforementioned files may include, but are not limited to, any of the following: images, videos, and moving photos.

[0128] For example, when the second input is a single click, the mobile phone can control the gimbal camera to capture an image; when the live photo mode is enabled and the second input is a double click, the mobile phone can control the gimbal camera to capture a live photo; when the second input is a long press, the mobile phone can control the gimbal camera to start recording video, and stop video recording when the user inputs the gimbal shooting control again.

[0129] Understandably, since the preview image displayed on the electronic device is captured by the gimbal camera, when the electronic device receives a second input from the user to the gimbal shooting control, the electronic device can control the gimbal camera to perform an image shooting operation and store the captured file in the electronic device.

[0130] It should be noted that when the electronic device displays the preview image captured by the gimbal camera and the real-time position and attitude of the gimbal camera in a split screen, or displays the preview image captured by the gimbal camera in a full screen, the electronic device can respond to the above-mentioned second input and control the gimbal camera to perform shooting operations.

[0131] In this embodiment, the electronic device can directly control the gimbal camera to capture images. This means the user can directly capture images by controlling the electronic device without simultaneously operating the gimbal camera, thus improving the convenience of image capture control. Furthermore, since the electronic device can directly store the captured images, it reduces the need for manual export of images from the gimbal camera when storing captured files there, thereby improving the convenience of image viewing.

[0132] In some embodiments of this application, when the second input is an input to a full-screen display control, the electronic device can respond to the second input and switch the display format of the gimbal control interface.

[0133] For example, combined Figure 4B When the phone displays a split-screen view of the preview image 31 captured by the gimbal camera and the position and attitude image 33 of the gimbal camera, if the user wants the phone to display the preview image 31 in full screen, then... Figure 10 As shown, users can click the "Full Screen Display" control 36 to trigger the phone to display the following: Figure 4C The gimbal control interface 30 is shown. Correspondingly, combined with... Figure 4C When the phone is displaying the preview image 31 in full screen, if the user wants the phone to display both the preview image 31 captured by the gimbal camera and the position and attitude image 33 of the gimbal camera in split screen, the user can click the "Full Screen Display" control 36 to trigger the phone to display the image as shown. Figure 4B The gimbal control interface shown is 30.

[0134] In this way, electronic devices can adjust the display format of the gimbal control interface according to the user's actual needs. Users can intuitively view the real-time position and attitude of the gimbal camera through split-screen display, or more accurately see the preview image through full-screen display. This improves the flexibility of displaying preview images on electronic devices.

[0135] In the gimbal camera control method provided in this application embodiment, when the electronic device displays a camera control interface, since the camera control interface includes a first control switching control that can be used to switch the camera adjustment interface displayed by the electronic device to the gimbal control interface, the electronic device can respond to the user's input to the first control switching control to display the gimbal control interface. That is, the acquisition device corresponding to the preview image displayed by the electronic device can be changed from the camera of the electronic device to the gimbal camera. In other words, the user can switch between using the electronic device's camera and the gimbal camera through the electronic device, thereby improving the convenience of controlling different device cameras. At the same time, since the gimbal control interface includes a preview image acquired by the gimbal camera and gimbal operation controls, the user can directly control the gimbal camera in real time by inputting the gimbal operation controls. Furthermore, since the user can intuitively see the real-time changes of the image acquired by the gimbal camera through the content displayed on the preview screen, the preview image acquired by the gimbal camera finally displayed by the electronic device will inevitably meet the user's actual needs. Thus, the convenience and accuracy of the electronic device controlling the gimbal camera are improved.

[0136] To illustrate the various scenarios in which the embodiments of this application can be applied, and in conjunction with the various implementation schemes of the embodiments of this application described above, specific examples are given below to explain the implementation process of the embodiments of this application in various scenarios. A mobile phone is used as an example for illustration.

[0137] When a user needs to take a photo, they can tap the camera app icon displayed on the home screen to trigger the phone to launch the camera app. Thus, as... Figure 3A As shown, the phone can display the main camera interface 23 of the camera application and continuously capture images through the phone's camera and display them in the preview interface.

[0138] If a user wants to use a gimbal camera connected to their phone for assisted shooting, then... Figure 3B As shown, users can click the "Gimbal Camera" shooting mode in the main camera interface 23 to trigger the phone's interface to switch from the main camera interface 23 to the mode shown. Figure 2 The camera control interface 20 shown may include a preview image 21 captured by the mobile phone camera and control switching controls 22.

[0139] Therefore, as Figure 4A As shown, users can click the control switch 22 to trigger the phone to display the following: Figure 4B The gimbal control interface shown in Figure 30, or it can display something like... Figure 4C The gimbal control interface shown is 30. In, as... Figure 4B or Figure 4C The gimbal control interface 30 shown includes a preview image 31 captured by the gimbal camera and gimbal operation controls, such as gimbal control controls, namely "Camera Control" control 34 and "Gimbal Control" control 35; gimbal image capture controls, namely the capture controls in the bottom center area; and a "Full Screen Display" control 36. Among these, in... Figure 4B In the gimbal control interface 30 shown, the mobile phone can display a preview image 31 captured by the gimbal camera on the upper half of the screen, and display the position and attitude image 33 of the gimbal camera in real time in the center area of ​​the lower half of the screen.

[0140] If a user wants to take photos using their phone's camera, that is, to switch the device capturing the preview image displayed on the phone from the gimbal camera to the phone, then as follows: Figure 5 As shown, users can manually click the control switch 32 to adjust the phone's settings as follows: Figure 2 The camera control interface 20 is shown. Users can then view images captured by the phone's camera through this interface and take further photos using the phone's camera.

[0141] When a user wants to adjust the shooting parameters of the gimbal camera, such as Figure 7A As shown, the user can click the "Camera Control" control 34, and then, as Figure 7B As shown, the phone can display the "Exposure" sub-control 341 and the "Zoom" sub-control 342. If the user wants to adjust the exposure parameters used by the gimbal camera to capture preview images, then... Figure 7C As shown, the mobile phone can respond to the user's tap input on the "Exposure" sub-control 341, displaying an exposure slider for adjusting exposure parameters, such as exposure slider 343. The user can then control the gimbal camera to adjust the exposure parameters used to capture the preview image by sliding the exposure slider 343 up and down. If the user wants to adjust the zoom parameters used by the gimbal camera to capture the preview image, such as... Figure 7DAs shown, the mobile phone can respond to the user's click input on the "zoom" sub-control 342 and display a zoom slider for adjusting zoom parameters, such as zoom slider 344. Then, the user can adjust the zoom parameters used by the gimbal camera to capture and preview images by sliding the zoom slider 344 left and right.

[0142] Alternatively, if the user wants to adjust the shooting parameters of the gimbal camera, the user can click the "Camera Control" control 34, which is the second input for the aforementioned camera parameter adjustment control, such as... Figure 7E As shown, the mobile phone can directly display the exposure slider 343 for adjusting exposure parameters and the zoom slider 344 for adjusting zoom parameters. Therefore, the user can input at least one of the exposure slider 343 and the zoom slider 344 as needed, so that the mobile phone can control the gimbal camera and adjust the shooting parameters accordingly.

[0143] When the user wants to adjust the shooting angle of the gimbal camera, such as Figure 8A As shown, the user can click the "PTZ Control" control 35, which is the second input for the aforementioned PTZ parameter adjustment control, as shown below. Figure 8B As shown, the phone can display a "Subject Follow" sub-control 351 and a "Fixed Angle" sub-control 352. If the user wants the phone to automatically adjust the shooting angle based on the person in the preview image 31, then... Figure 8C As shown, the user can click the "Subject Follow" sub-control 351 and further manually define the subject object that the phone wants to follow in the preview image 31. Then, the phone can control the gimbal camera's motor to move according to the movement of this subject object, so that the person displayed in the preview interface 31 can remain in a fixed position or area. If the user wants the phone to take pictures from a fixed angle, then... Figure 8D As shown, the user can click the "Fixed Angle" sub-control 352. At this time, the phone can display an angle adjustment control 353. The user can then use this angle adjustment control 353 to manually adjust the shooting angle of the gimbal camera to a fixed angle that meets their needs, and continue shooting based on the adjusted angle.

[0144] Alternatively, if the user wants to adjust the shooting angle of the gimbal camera, the user can click the "Gimbal Control" control 35, which is the second input to the aforementioned gimbal parameter adjustment control, such as... Figure 8E As shown, the phone can directly display an angle adjustment control 354. The user can then input at least one of the directional arrows in the angle adjustment control 354 to manually adjust the gimbal camera's shooting angle to a fixed angle that meets their needs, and continue shooting based on that adjusted angle. Alternatively, as... Figure 8FAs shown, the user can click the center area of ​​the angle adjustment control 354 to change the adjustment mode from fixed angle mode to subject follow mode. Then, the user can further select the subject object to follow in the preview image 31, so that the mobile phone can control the motor of the gimbal camera to move according to the movement of the subject object, so that the person displayed in the preview interface 31 can remain in a fixed position or fixed area.

[0145] When the phone displays a split-screen view of the preview image 31 captured by the gimbal camera and the position and attitude image 33 of the gimbal camera, if the user wants the phone to display the preview image 31 in full screen, then... Figure 10 As shown, users can click the "Full Screen Display" control 36 to trigger the phone to display the following: Figure 4C The gimbal control interface 30 is shown. Correspondingly, combined with... Figure 4C When the phone is displaying the preview image 31 in full screen, if the user wants the phone to display both the preview image 31 captured by the gimbal camera and the position and attitude image 33 of the gimbal camera in split screen, the user can click the "Full Screen Display" control 36 to trigger the phone to display the image as shown. Figure 4B The gimbal control interface shown is 30.

[0146] Furthermore, if the preview image 31 displayed on the mobile phone meets the user's needs, the user can input the gimbal shooting controls to control the gimbal camera to perform shooting operations and store the captured files to the electronic device.

[0147] Specifically, if a user wants the phone to capture an image based on the preview image 31, the user can click the gimbal shooting control; if a user wants the phone to capture a dynamic photo based on the preview image 31, the user can double-click the gimbal shooting control when the dynamic photo mode is enabled; if a user wants the phone to capture a video based on the preview image 31, the user can long-press the gimbal shooting control to trigger the phone to start video recording, and stop video recording upon receiving further input from the user.

[0148] Thus, when the phone displays the camera control interface, because this interface includes a first control switch that can be used to switch between the phone's camera adjustment interface and the gimbal control interface, the phone can respond to the user's input to this first control switch to display the gimbal control interface. This means the acquisition device corresponding to the preview image displayed on the phone can be changed from the phone's camera to the gimbal camera. In other words, the user can switch between using the phone's camera and the gimbal camera via the phone, thereby improving the convenience of controlling different camera devices. Simultaneously, because the gimbal control interface includes a preview image captured by the gimbal camera and gimbal operation controls, the user can directly control the gimbal camera in real time by inputting the gimbal operation controls. Furthermore, since the user can intuitively see the real-time changes in the image captured by the gimbal camera through the preview screen, the preview image captured by the gimbal camera ultimately displayed on the phone will inevitably meet the user's actual needs. This improves the convenience and accuracy of controlling the gimbal camera via the phone.

[0149] It should be noted that the above-described method embodiments, or the various possible implementations of the method embodiments, can be executed individually, or, provided there are no contradictions, they can be combined with each other. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.

[0150] It should be noted that the gimbal camera control method provided in this application embodiment can be executed by a gimbal camera control device. This application embodiment uses the execution of the gimbal camera control method by a gimbal camera control device as an example to illustrate the gimbal camera control device provided in this application embodiment.

[0151] Figure 11 A schematic diagram of a possible structure of the gimbal camera control device involved in an embodiment of this application is shown. For example... Figure 11 As shown, the gimbal camera control device 70 may include: a display module 71 and a control module 72;

[0152] The display module 71 is used to display a camera control interface, which includes a preview image captured by the camera of the electronic device and a first control switching control. The first control switching control is used to switch the camera control interface displayed by the electronic device to the gimbal control interface.

[0153] The display module 71 is also used to display a gimbal control interface in response to a first input to the first control switching control, the gimbal control interface including a preview image captured by the gimbal camera and gimbal operation controls.

[0154] The control module 72 is used to control the gimbal camera and perform the operation corresponding to the second input in response to the second input of the gimbal operation control displayed on the display module 71.

[0155] In one possible implementation, the aforementioned gimbal operation control includes at least one of the following: a camera parameter adjustment control and a gimbal parameter adjustment control; the aforementioned control module 72 is specifically used to control the gimbal camera to adjust the shooting parameters corresponding to the camera parameter adjustment control in response to a second input to the camera parameter adjustment control, the shooting parameters including at least one of the following: exposure, zoom; or, in response to a second input to the gimbal parameter adjustment control, to control the gimbal camera to adjust the shooting angle through an adjustment mode corresponding to the gimbal parameter adjustment control, the adjustment mode including any one of the following: subject following mode, fixed angle mode.

[0156] In one possible implementation, the aforementioned gimbal operation control includes a gimbal shooting control; the aforementioned control module 72 is specifically configured to, in response to a second input to the gimbal shooting control, control the gimbal camera to perform a shooting operation and store the captured file to an electronic device.

[0157] In one possible implementation, the gimbal camera control device 70 provided in this application embodiment further includes: a receiving module; the receiving module is used to receive a third input from the user when the main camera interface is displayed, before displaying the camera control interface; the display module 71 is also used to switch from the main camera interface to the camera control interface in response to the third input received by the receiving module.

[0158] In one possible implementation, the gimbal control interface further includes a second control switching control; the gimbal camera control device 70 provided in this application embodiment further includes a receiving module; the receiving module is used to receive a fourth input to the second control switching control after displaying the gimbal control interface in response to a first input to the first control switching control; the display module 71 is also used to control the gimbal control interface to switch to the camera control interface in response to the fourth input received by the receiving module.

[0159] In the gimbal camera control device provided in this application embodiment, when the gimbal camera control device displays a camera adjustment interface, since the camera adjustment interface includes a first adjustment switching control that can be used to switch the camera adjustment interface displayed by the gimbal camera control device to the gimbal control interface, the gimbal camera control device can respond to the user's input to the first adjustment switching control to display the gimbal control interface. That is, the acquisition device corresponding to the preview image displayed by the gimbal camera control device can be changed from the camera of the gimbal camera control device to the gimbal camera. In other words, the user can switch between using the camera of the gimbal camera control device and the gimbal camera through the gimbal camera control device, thereby improving the convenience of the gimbal camera control device in controlling different device cameras. At the same time, since the gimbal control interface includes a preview image acquired by the gimbal camera and gimbal operation controls, the user can directly achieve real-time control of the gimbal camera by inputting the gimbal operation controls. Furthermore, since the user can intuitively view the real-time changes of the image acquired by the gimbal camera through the content displayed on the preview screen, the preview image acquired by the gimbal camera finally displayed by the gimbal camera control device will inevitably meet the user's actual needs. This improves the convenience and accuracy of the gimbal camera control device in controlling the gimbal camera.

[0160] The gimbal camera control device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific type of device.

[0161] The gimbal camera control device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0162] The gimbal camera control device provided in this application embodiment can realize the various processes implemented in the above method embodiments. To avoid repetition, it will not be described again here.

[0163] Optionally, such as Figure 12 As shown, this application embodiment also provides an electronic device 90, including a processor 91 and a memory 92. The memory 92 stores a program or instructions that can run on the processor 91. When the program or instructions are executed by the processor 91, they implement the various steps of the above-described gimbal camera control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0164] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0165] Figure 13 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0166] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.

[0167] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 13 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0168] The display unit 106 is used to display a camera control interface, which includes a preview image captured by the camera of the electronic device and a first control switching control. The first control switching control is used to switch the camera control interface displayed by the electronic device to a gimbal control interface. In response to a first input to the first control switching control, the gimbal control interface is displayed, which includes a preview image captured by the gimbal camera and gimbal operation controls.

[0169] The processor 110 is configured to control the gimbal camera and perform an operation corresponding to the second input in response to a second input to the gimbal operation control.

[0170] Optionally, the aforementioned gimbal operation control includes at least one of the following: a camera parameter adjustment control and a gimbal parameter adjustment control; the processor 110 is specifically used to control the gimbal camera to adjust the shooting parameters corresponding to the camera parameter adjustment control in response to a second input to the camera parameter adjustment control, the shooting parameters including at least one of the following: exposure, zoom; or, in response to a second input to the gimbal parameter adjustment control, control the gimbal camera to adjust the shooting angle through an adjustment mode corresponding to the gimbal parameter adjustment control, the adjustment mode including any one of the following: subject following mode, fixed angle mode.

[0171] Optionally, the aforementioned gimbal operation control includes a gimbal shooting control; the processor 110 is specifically configured to respond to a second input to the gimbal shooting control, control the gimbal camera to perform a shooting operation, and store the captured file to an electronic device.

[0172] Optionally, the user input unit 107 is used to receive a third input from the user while the main camera interface is displayed, before the camera control interface is displayed; the display unit 106 is also used to switch from the main camera interface to the camera control interface in response to the third input.

[0173] Optionally, the above-mentioned gimbal control interface further includes a second control switching control; the user input unit 107 is further configured to receive a fourth input to the second control switching control after displaying the gimbal control interface in response to a first input to the first control switching control; the display unit 106 is further configured to control the gimbal control interface to switch to the camera control interface in response to the fourth input.

[0174] In the electronic device provided in this application embodiment, when the electronic device displays a camera control interface, since the camera control interface includes a first control switching control that can be used to switch the camera adjustment interface displayed by the electronic device to a gimbal control interface, the electronic device can respond to the user's input to the first control switching control to display the gimbal control interface. That is, the acquisition device corresponding to the preview image displayed by the electronic device can be changed from the camera of the electronic device to a gimbal camera. In other words, the user can switch between using the electronic device's camera and the gimbal camera through the electronic device, thereby improving the convenience of controlling different device cameras. At the same time, since the gimbal control interface includes a preview image captured by the gimbal camera and gimbal operation controls, the user can directly control the gimbal camera in real time by inputting the gimbal operation controls. Furthermore, since the user can intuitively see the real-time changes of the image captured by the gimbal camera through the content displayed on the preview screen, the preview image captured by the gimbal camera finally displayed by the electronic device will inevitably meet the user's actual needs. Thus, the convenience and accuracy of controlling the gimbal camera by the electronic device are improved.

[0175] The electronic device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0176] For details on the beneficial effects of the various implementation methods in this embodiment, please refer to the beneficial effects of the corresponding implementation methods in the above method embodiments. To avoid repetition, these will not be repeated here.

[0177] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0178] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0179] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0180] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0181] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0182] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0183] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0184] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above method embodiments and achieve the same technical effects. To avoid repetition, it will not be described again here.

[0185] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0186] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0187] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for controlling a gimbal camera, characterized in that, Applied to an electronic device connected to a gimbal camera, the method includes: The camera control interface is displayed, which includes a preview image captured by the camera of the electronic device and a first control switching control. The first control switching control is used to switch the camera control interface displayed by the electronic device to the gimbal control interface. In response to a first input to the first control switching control, the gimbal control interface is displayed, the gimbal control interface including a preview image captured by the gimbal camera and gimbal operation controls; In response to a second input to the gimbal operation control, the gimbal camera is controlled to perform an operation corresponding to the second input.

2. The method according to claim 1, characterized in that, The gimbal operation control includes at least one of the following: camera parameter adjustment control, gimbal parameter adjustment control; The step of controlling the gimbal camera in response to a second input to the gimbal operation control to perform an operation corresponding to the second input includes: In response to a second input to the camera parameter control, the gimbal camera is controlled to adjust the shooting parameters corresponding to the camera parameter control, the shooting parameters including at least one of the following: exposure and zoom; or, In response to a second input to the gimbal parameter control, the gimbal camera is controlled to adjust the shooting angle through an adjustment mode corresponding to the gimbal parameter adjustment control. The adjustment mode includes any one of the following: subject follow mode and fixed angle mode.

3. The method according to claim 1, characterized in that, The gimbal operation controls include gimbal shooting controls; The step of controlling the gimbal camera in response to a second input to the gimbal operation control to perform an operation corresponding to the second input includes: In response to a second input to the gimbal shooting control, the gimbal camera is controlled to perform a shooting operation, and the captured file is stored in the electronic device.

4. The method according to claim 1, characterized in that, Before displaying the camera control interface, the method further includes: While displaying the main camera interface, it receives third-party input from the user; In response to the third input, the camera main interface is switched to the camera control interface.

5. The method according to any one of claims 1 to 4, characterized in that, The gimbal control interface also includes a second control switching control; After displaying the PTZ control interface in response to a first input to the first control switching control, the method further includes: Receive a fourth input to the second control switching control; In response to the fourth input, the gimbal control interface is switched to the camera control interface.

6. A gimbal camera control device, characterized in that, An electronic device connected to a gimbal camera, the device comprising: a display module and a control module; The display module is used to display a camera control interface, which includes a preview image captured by the camera of the electronic device and a first control switching control. The first control switching control is used to switch the camera control interface displayed by the electronic device to a gimbal control interface. The display module is further configured to display the gimbal control interface in response to a first input to the first control switching control, the gimbal control interface including a preview image captured by the gimbal camera and gimbal operation controls; The control module is used to control the gimbal camera to perform an operation corresponding to the second input in response to a second input to the gimbal operation control displayed on the display module.

7. The apparatus according to claim 6, characterized in that, The gimbal operation control includes at least one of the following: camera parameter adjustment control, gimbal parameter adjustment control; The control module is specifically configured to, in response to a second input to the camera parameter adjustment control, control the gimbal camera to adjust the shooting parameters corresponding to the camera parameter adjustment control, wherein the shooting parameters include at least one of the following: exposure and zoom; or, in response to a second input to the gimbal parameter adjustment control, control the gimbal camera to adjust the shooting angle through an adjustment mode corresponding to the gimbal parameter adjustment control, wherein the adjustment mode includes any one of the following: subject following mode and fixed angle mode.

8. The apparatus according to claim 6, characterized in that, The gimbal operation controls include gimbal shooting controls; The control module is specifically used to respond to a second input to the gimbal shooting control, control the gimbal camera to perform a shooting operation, and store the captured file to the electronic device.

9. The apparatus according to claim 6, characterized in that, The device further includes: a receiving module; The receiving module is used to receive a third user input before displaying the camera control interface, while the main camera interface is displayed. The display module is also used to switch from the camera main interface to the camera control interface in response to the third input received by the receiving module.

10. The apparatus according to any one of claims 6 to 9, characterized in that, The gimbal control interface also includes a second control switching control; the device also includes a receiving module; The receiving module is configured to receive a fourth input to the second control switch after displaying the PTZ control interface in response to a first input to the first control switch control; The display module is also used to control the gimbal control interface to switch to the camera control interface in response to the fourth input received by the receiving module.