CN110572566A - Camera control method and electronic equipment - Google Patents

Camera control method and electronic equipment Download PDF

Info

Publication number
CN110572566A
CN110572566A CN201910774892.3A CN201910774892A CN110572566A CN 110572566 A CN110572566 A CN 110572566A CN 201910774892 A CN201910774892 A CN 201910774892A CN 110572566 A CN110572566 A CN 110572566A
Authority
CN
China
Prior art keywords
input
camera
controlling
electronic device
shooting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910774892.3A
Other languages
Chinese (zh)
Inventor
庾增增
李晓聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910774892.3A priority Critical patent/CN110572566A/en
Publication of CN110572566A publication Critical patent/CN110572566A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The invention relates to the technical field of communication, and provides a camera control method and electronic equipment to solve the problem that in the prior art, the control mode of a camera is single. The method comprises the following steps: receiving a first input to the virtual key; and controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters. Therefore, the user can control the camera based on the virtual key on the side of the electronic equipment, and the diversity of control modes of the camera can be improved.

Description

camera control method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a camera control method and an electronic device.
Background
With the development of electronic devices, the shooting function of the electronic devices is more and more powerful. In order to obtain a better shooting effect, the electronic device is provided with a rotatable camera.
In the prior art, if the camera needs to be controlled to rotate, a user needs to manually operate a shooting interface. For example, in the case of photographing a panoramic image, a user needs to manually perform an operation on a photographing interface in order to control the camera to rotate. However, in a scene where the user takes a one-handed photograph, the user has difficulty in performing the operation.
therefore, in the prior art, the control mode of the camera is single.
disclosure of Invention
The embodiment of the invention provides a control method of a camera and electronic equipment, and aims to solve the problem that the control mode of the camera is single in the prior art.
in order to solve the technical problem, the invention is realized as follows:
In a first aspect, an embodiment of the present invention provides a method for controlling a camera, which is applied to an electronic device with a camera, where a virtual key is arranged on a side of the electronic device, and the method includes:
receiving a first input to the virtual key;
And controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters.
in a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device has a camera, and a side of the electronic device is provided with a virtual key, and the electronic device includes:
the receiving module is used for receiving a first input of the virtual key;
And the control module is used for controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters.
in a third aspect, an embodiment of the present invention further provides an electronic device, including: the camera control system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the camera control method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the control method for a camera head described above are implemented.
In the embodiment of the invention, a first input to the virtual key is received; and controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters. Therefore, the user can control the camera based on the virtual key on the side of the electronic equipment, and the diversity of camera control modes can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is one of flowcharts of a control method of a camera according to an embodiment of the present invention;
fig. 2 is a second flowchart of a control method of a camera according to an embodiment of the present invention;
fig. 3 to 7 are operation diagrams of a control method of a camera according to an embodiment of the present invention;
FIG. 8 is a block diagram of an electronic device according to an embodiment of the present invention;
Fig. 9 is a second structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for controlling a camera according to an embodiment of the present invention, where the method is applied to an electronic device with a camera, and a virtual key is disposed on a side of the electronic device. As shown in fig. 1, the method comprises the following steps:
Step 101, receiving a first input to the virtual key.
In this step, a virtual key is disposed on a side of the electronic device, and the user performs a touch operation on the virtual key, so that the electronic device can detect the operation. For example, a virtual key is displayed on the side of the electronic device, and a user performs a first input, such as clicking, pressing, sliding, and the like, on the displayed virtual key, which can be detected by the electronic device.
The side edge may be a side edge corresponding to a long side of the electronic device, or a side edge corresponding to a short side.
and 102, controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters.
Wherein, the shooting control parameter may include at least one of orientation of the camera, a rotatable angle of the camera, a shooting mode of the camera, and extension of the camera. The electronic device detects the first input, and can control the camera, for example, control the camera to open, close, rotate, take a picture, extend or retract, and the like.
The input parameters of the first input may include a combination of one or more of an input time, an input direction, an input position, an input trajectory, and the like. During specific implementation, the camera can be controlled to carry out different works through different input parameters and shooting control parameters, so that flexible and various interaction modes of a user and the camera can be realized through virtual keys. For example, the rotation direction or rotation angle of the camera is controlled based on the input parameters of the first input, or the shooting mode of the camera, such as front shooting, rear shooting, etc., is controlled based on the input parameters, which is convenient for the user to operate.
In the embodiment of the present invention, the control method of the camera may be applied to an electronic device, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
the control method of the camera of the embodiment of the invention receives a first input of the virtual key; and controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters. Therefore, the user can control the camera based on the virtual key on the side of the electronic equipment, the diversity of the control mode of the camera can be improved, and the user can select the operation mode of the camera according to the actual situation. And the user can conveniently control the camera in the scene shot by one hand, and the operation convenience can be improved.
Referring to fig. 2, the present embodiment is mainly different from the above embodiments in that the camera is controlled to rotate based on the input parameters of the first input.
Fig. 2 is a flowchart of a control method for a camera according to an embodiment of the present invention, as shown in fig. 2, including the following steps:
step 201, receiving a first input to the virtual key.
The implementation of this step can be seen in the description in step 101.
for example, the virtual key is rectangular, and the user slides from a first short side of the virtual key to the opposite other short side; or from a first long side of the virtual key to the opposite long side. As another example, the virtual key is circular and the user slides around the edge of the virtual key.
And step 202, controlling the camera to rotate according to the first input parameter.
Wherein the angle of rotation of the camera is associated with the input parameter.
the input parameters of the first input may include parameters such as an input duration, an input track, an input direction, an input position, and the like, for example, a length of a sliding track, a sliding direction, a pressing duration, and the like. The camera is the camera that can rotate relative to the electronic equipment body, and electronic equipment acquires the input parameter of user on virtual button to can rotate according to this input parameter control camera, wherein, camera pivoted angle is relevant with the input parameter. For example, when the length of the slide trajectory is larger, the rotation angle is larger; the smaller the length of the sliding track, the smaller the rotation angle. When the input duration is longer, the rotation angle is larger; when the input time period is shorter, the rotation angle is smaller. For another example, when the pressing duration exceeds the preset duration, the camera starts to rotate, and the camera continues to rotate along with the pressing, until the pressing is finished, the camera stops rotating.
Further, the input parameters include an input trajectory; the controlling the camera to rotate according to the input parameters of the first input comprises:
Controlling the rotation angle of the camera according to the input track of the first input;
the length of the input track is in positive correlation with the size of the rotating angle.
In this embodiment, the camera is rotated as the first input is made. And the longer the input track length of the first input is, the larger the rotation angle of the camera is, and when the first input is finished, the camera stops rotating. Therefore, the user can operate the rotation angle of the control camera on the side of the electronic equipment, the direction of the camera is convenient to control by the user, and the user operation is convenient.
Optionally, the input parameter includes an input direction; the controlling the camera to rotate according to the input parameters of the first input comprises:
And controlling the rotation direction or the allowable rotation angle of the camera according to the input direction of the first input.
In this embodiment, the direction of rotation of the camera may be determined according to the direction of the first input. For example, when the direction of the first input is from left to right, the camera rotates clockwise; when the first input direction is from right to left, the camera rotates anticlockwise.
The allowable rotation angle of the camera can be determined according to the direction of the first input. The permissible angle of rotation is understood to be the maximum angle value that can be currently rotated. For example, when the direction of the first input is vertical, the allowable rotation angle of the camera is 360 °; when the direction of the first input is the landscape, the allowable rotation angle of the camera is 180 °.
Therefore, the electronic equipment can control the rotation parameters of the camera according to the first input parameters, and user operation is facilitated.
for the convenience of understanding the above embodiments, the first input is taken as an example of the sliding operation. For example, as shown in fig. 3-6, which are virtual key diagrams obtained from a front view and a side view of the electronic device, respectively. The side of the electronic device 1 is displayed with a virtual key 11, and the top of the electronic device is provided with a rotatable camera 12.
as shown in fig. 3, the user slides on the virtual key 11 from the first end 111 to the second end 112. As the sliding operation proceeds, the camera 12 rotates clockwise by an angle corresponding to the length of the sliding trajectory. When slid to the second end 112 of the virtual key, the camera is rotated 360 °, i.e. back to the starting point.
as shown in fig. 4, the user slides on the virtual key 11 from the second end 112 to the first end 111. As the sliding operation proceeds, the camera 12 rotates counterclockwise by an angle corresponding to the sliding distance. When slid to the first end 111 of the virtual key, the camera is rotated 360 °, i.e. back to the starting point.
As shown in fig. 5, the user slides on the virtual key 11 from the third end 113 to the fourth end 114. When slid to the fourth end 114 of the virtual key, the camera is rotated 180 °.
As shown in fig. 6, the user slides on the virtual key 11 from the fourth end 114 to the third end 113. When slid to the third end 113 of the virtual key, the camera is rotated 180 °.
Optionally, the input parameter includes an input position of the first input on the virtual key; the controlling at least one of the control parameters of the camera, such as the on, the off and the shooting according to the first input parameter, comprises at least one of the following:
Starting the camera and displaying a shooting interface under the condition that the input position is the first position;
and under the condition that the input position is the second position, starting the camera, and switching the shooting type from the first type to the second type.
In this embodiment, in a case where the input position of the first input is the first position, the camera is started, and a shooting interface, for example, a shooting preview interface, is displayed in the display screen. Under the condition that the camera is rotatable, before the camera is started, the camera can be controlled to extend out of the electronic equipment, the camera is started, and a shooting interface is displayed in the display screen. For example, a user performs touch operation on an upper endpoint of the virtual key, and when the duration of the touch operation reaches a preset duration, the electronic device starts the camera.
and under the condition that the input position of the first input is the second position, starting the camera, and switching the default shooting type from the first type to the second type. The shooting type of the camera may include shooting, video recording, continuous shooting, beauty, small video and the like, and the first type and the second type may be any two different types among the above shooting types. For example, a user performs touch operation on a lower endpoint of the virtual key, and when the duration of the touch operation reaches a preset duration, the electronic device starts the camera and switches the shooting type.
in addition, the electronic device can also control the camera to perform shooting operations, such as shooting, continuous shooting and the like, in response to the first input. For example, the user performs double-click operation on the virtual key to trigger the electronic device to take a picture. The electronic equipment responds to the first input, and can also start the camera first, display a shooting interface and then control the camera to shoot. This enables a shooting operation to be performed quickly.
In the embodiment, the user can operate the virtual key to control the camera to start or switch the shooting type of the camera, so that the operation convenience can be improved, and the operation can be conveniently carried out by one hand.
this embodiment can also be applied to the corresponding embodiment of fig. 1 and achieve the same advantageous effects.
Optionally, after the camera is started and the shooting interface is displayed, the method further includes:
Receiving a third input to the virtual key;
zooming the camera in response to the second input.
The second input may be an operation performed by the user on the shooting interface, and the user may perform the second input on the virtual key, for example, clicking, sliding, pressing, and the like, to trigger the electronic device to zoom the camera.
For example, as shown in fig. 7, the user presses the first end 111 of the virtual key 11 and then slides the second end 112, and the electronic device draws the lens of the camera closer, so that the image is clearer. If the user slides to the first end after pressing the second end 112 of the virtual key, the electronic device zooms the lens of the camera.
Like this, the user can zoom the operation to the camera according to the scene of actually shooing, and user simple operation, and can be convenient for user one-hand operate.
According to the control method of the camera, the user can control the camera to start, rotate, switch shooting types and the like by operating the side virtual key, and the user operation is convenient and fast. And diversified operation can be carried out in the shooting process, so that the user can conveniently operate with one hand.
Referring to fig. 8, fig. 8 is a structural diagram of an electronic device according to an embodiment of the present invention, the electronic device has a camera, and a virtual key is disposed on a side of the electronic device, as shown in fig. 8, the electronic device 800 includes:
a receiving module 801, configured to receive a first input to the virtual key;
a control module 802, configured to control at least one of the control parameters of turning on, turning off, and shooting of the camera according to the first input parameter.
Optionally, the camera is a rotatable camera, and the control module 802 is specifically configured to:
controlling the camera to rotate according to the first input parameter;
wherein the angle of rotation of the camera is associated with the input parameter.
Optionally, the input parameter includes an input trajectory; the control module 802 is specifically configured to:
controlling the rotation angle of the camera according to the input track of the first input;
The length of the input track is in positive correlation with the size of the rotating angle.
Optionally, the input parameter includes an input direction; the control module 802 is specifically configured to:
And controlling the rotation direction or the allowable rotation angle of the camera according to the input direction of the first input.
optionally, the input parameter includes an input position of the first input on the virtual key; the control module 802 is specifically configured to at least one of:
Starting the camera and displaying a shooting interface under the condition that the input position is the first position;
And under the condition that the input position is the second position, starting the camera, and switching the shooting type from the first type to the second type.
The electronic device 800 can implement each process implemented by the electronic device in the above method embodiments, and details are not described here to avoid repetition.
According to the electronic device 800 of the embodiment of the invention, a user can control the camera based on the virtual key on the side of the electronic device, so that the diversity of camera control modes can be improved.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
wherein, the processor 910 is configured to control the user input unit 907 to receive a first input to the virtual key; and controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters. Therefore, the user can control the camera based on the virtual key on the side of the electronic equipment, and the diversity of camera control modes can be improved.
optionally, the camera is a rotatable camera; the processor 910 executes the control of at least one of the parameters of the camera, such as turning on, turning off and shooting control, according to the input parameter of the first input, including:
Controlling the camera to rotate according to the first input parameter;
Wherein the angle of rotation of the camera is associated with the input parameter.
optionally, the input parameter includes an input trajectory; the processor 910 executes the input parameters according to the first input to control the camera to rotate, including:
Controlling the rotation angle of the camera according to the input track of the first input;
The length of the input track is in positive correlation with the size of the rotating angle.
optionally, the input parameter includes an input direction; the processor 910 executes the input parameters according to the first input to control the camera to rotate, including:
And controlling the rotation direction or the allowable rotation angle of the camera according to the input direction of the first input.
Optionally, the input parameter includes an input position of the first input on the virtual key; the processor 910 executes the input parameters according to the first input to control at least one of the camera turning on, turning off and shooting control parameters, including at least one of:
Starting the camera and displaying a shooting interface under the condition that the input position is the first position;
And under the condition that the input position is the second position, starting the camera, and switching the shooting type from the first type to the second type.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 910; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with a network and other devices through a wireless communication system.
the electronic device provides wireless broadband internet access to the user via the network module 902, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as sound. Also, the audio output unit 903 may provide audio output related to a specific function performed by the electronic device 900 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 904 is used to receive audio or video signals. The input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics processor 9041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphic processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sounds and can process such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 901 in case of the phone call mode.
The electronic device 900 also includes at least one sensor 905, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 9061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 9061 and/or the backlight when the electronic device 900 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 906 is used to display information input by the user or information provided to the user. The Display unit 906 may include a Display panel 9061, and the Display panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 907 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 9071 (e.g., operations by a user on or near the touch panel 9071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 9071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 910, receives a command from the processor 910, and executes the command. In addition, the touch panel 9071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 907 may include other input devices 9072 in addition to the touch panel 9071. Specifically, the other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, and the like), a track ball, a mouse, and a joystick, which are not described herein again.
further, the touch panel 9071 may be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of the touch event. Although in fig. 9, the touch panel 9071 and the display panel 9061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
the interface unit 908 is an interface for connecting an external device to the electronic apparatus 900. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 908 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic device 900 or may be used to transmit data between the electronic device 900 and external devices.
the memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 910 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 909 and calling data stored in the memory 909, thereby performing overall monitoring of the electronic device. Processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
the electronic device 900 may further include a power supply 911 (e.g., a battery) for supplying power to various components, and preferably, the power supply 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the electronic device 900 includes some functional modules that are not shown, and thus are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 910, a memory 909, and a computer program that is stored in the memory 909 and can be run on the processor 910, and when the computer program is executed by the processor 910, each process in the above-mentioned embodiment of the camera control method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned control method for a camera, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. a control method of a camera is applied to electronic equipment with the camera, and is characterized in that a virtual key is arranged on the side of the electronic equipment, and the method comprises the following steps:
Receiving a first input to the virtual key;
And controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters.
2. the method of claim 1, wherein the camera is a rotatable camera, and wherein controlling at least one of the camera on, off, and photographing control parameters according to the first input parameter comprises:
Controlling the camera to rotate according to the first input parameter;
Wherein the angle of rotation of the camera is associated with the input parameter.
3. The method of claim 2, wherein the input parameters include an input trajectory; the controlling the camera to rotate according to the input parameters of the first input comprises:
controlling the rotation angle of the camera according to the input track of the first input;
the length of the input track is in positive correlation with the size of the rotating angle.
4. The method of claim 2, wherein the input parameters include an input direction; the controlling the camera to rotate according to the input parameters of the first input comprises:
and controlling the rotation direction or rotation angle of the camera according to the input direction of the first input.
5. The method of claim 1, wherein the input parameter comprises an input location of the first input on the virtual key; the controlling at least one of the control parameters of the camera, such as the on, the off and the shooting according to the first input parameter, comprises at least one of the following:
Starting the camera and displaying a shooting interface under the condition that the input position is the first position;
And under the condition that the input position is the second position, starting the camera, and switching the shooting type from the first type to the second type.
6. The utility model provides an electronic equipment, electronic equipment has the camera, its characterized in that, electronic equipment's side is equipped with virtual button, electronic equipment includes:
the receiving module is used for receiving a first input of the virtual key;
and the control module is used for controlling at least one of the opening and closing of the camera and shooting control parameters according to the first input parameters.
7. The electronic device of claim 6, wherein the camera is a rotatable camera, and the control module is specifically configured to:
Controlling the camera to rotate according to the first input parameter;
Wherein the angle of rotation of the camera is associated with the input parameter.
8. The electronic device of claim 7, wherein the input parameter comprises an input trajectory; the control module is specifically configured to:
Controlling the rotation angle of the camera according to the input track of the first input;
The length of the input track is in positive correlation with the size of the rotating angle.
9. the electronic device of claim 7, wherein the input parameter comprises an input direction; the control module is specifically configured to:
and controlling the rotation direction or the allowable rotation angle of the camera according to the input direction of the first input.
10. the electronic device of claim 6, wherein the input parameter comprises an input location of the first input on the virtual key; the control module is specifically configured to at least one of:
starting the camera and displaying a shooting interface under the condition that the input position is the first position;
And under the condition that the input position is the second position, starting the camera, and switching the shooting type from the first type to the second type.
11. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the method of controlling a camera according to any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps in the control method of a camera according to any one of claims 1 to 5.
CN201910774892.3A 2019-08-21 2019-08-21 Camera control method and electronic equipment Pending CN110572566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910774892.3A CN110572566A (en) 2019-08-21 2019-08-21 Camera control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910774892.3A CN110572566A (en) 2019-08-21 2019-08-21 Camera control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110572566A true CN110572566A (en) 2019-12-13

Family

ID=68775782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910774892.3A Pending CN110572566A (en) 2019-08-21 2019-08-21 Camera control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110572566A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120327172A1 (en) * 2011-06-22 2012-12-27 Microsoft Corporation Modifying video regions using mobile device input
CN104238669A (en) * 2014-09-04 2014-12-24 广东欧珀移动通信有限公司 Method and device for controlling rotation of camera of mobile terminal and mobile terminal
CN107133059A (en) * 2016-02-29 2017-09-05 北京小米移动软件有限公司 Camera control method, device and mobile terminal
KR101884125B1 (en) * 2017-06-13 2018-07-31 이승호 System for Self-Camera and Method using the same
CN108710468A (en) * 2018-04-27 2018-10-26 Oppo广东移动通信有限公司 Image acquiring method, device, storage medium and electronic equipment
CN108810403A (en) * 2018-04-27 2018-11-13 Oppo广东移动通信有限公司 Focus adjustment method, apparatus, storage medium and electronic equipment
CN110087001A (en) * 2019-05-30 2019-08-02 维沃移动通信有限公司 A kind of shooting processing method, device and mobile terminal
CN110113516A (en) * 2019-05-17 2019-08-09 Oppo广东移动通信有限公司 Filming control method and relevant apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120327172A1 (en) * 2011-06-22 2012-12-27 Microsoft Corporation Modifying video regions using mobile device input
CN104238669A (en) * 2014-09-04 2014-12-24 广东欧珀移动通信有限公司 Method and device for controlling rotation of camera of mobile terminal and mobile terminal
CN107133059A (en) * 2016-02-29 2017-09-05 北京小米移动软件有限公司 Camera control method, device and mobile terminal
KR101884125B1 (en) * 2017-06-13 2018-07-31 이승호 System for Self-Camera and Method using the same
CN108710468A (en) * 2018-04-27 2018-10-26 Oppo广东移动通信有限公司 Image acquiring method, device, storage medium and electronic equipment
CN108810403A (en) * 2018-04-27 2018-11-13 Oppo广东移动通信有限公司 Focus adjustment method, apparatus, storage medium and electronic equipment
CN110113516A (en) * 2019-05-17 2019-08-09 Oppo广东移动通信有限公司 Filming control method and relevant apparatus
CN110087001A (en) * 2019-05-30 2019-08-02 维沃移动通信有限公司 A kind of shooting processing method, device and mobile terminal

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
CN107957839B (en) Display control method and mobile terminal
CN109495711B (en) Video call processing method, sending terminal, receiving terminal and electronic equipment
CN109361869B (en) Shooting method and terminal
CN108471498B (en) Shooting preview method and terminal
CN110087001B (en) Shooting processing method and device and mobile terminal
CN108495029B (en) Photographing method and mobile terminal
CN110213440B (en) Image sharing method and terminal
CN108881733B (en) Panoramic shooting method and mobile terminal
CN107707817B (en) video shooting method and mobile terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN109102555B (en) Image editing method and terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN111147752B (en) Zoom factor adjusting method, electronic device, and medium
CN111107269B (en) Photographing method, electronic device and storage medium
CN107728923B (en) Operation processing method and mobile terminal
CN108924422B (en) Panoramic photographing method and mobile terminal
CN108881721B (en) Display method and terminal
CN108132749B (en) Image editing method and mobile terminal
CN108174110B (en) Photographing method and flexible screen terminal
CN111405181B (en) Focusing method and electronic equipment
CN110769154B (en) Shooting method and electronic equipment
CN111031246A (en) Shooting method and electronic equipment
WO2020063136A1 (en) Application program start-up method and terminal device
CN108898548B (en) Display method of panorama and mobile terminal

Legal Events

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

Application publication date: 20191213