CN112672051A - Shooting method and device and electronic equipment - Google Patents

Shooting method and device and electronic equipment Download PDF

Info

Publication number
CN112672051A
CN112672051A CN202011553623.3A CN202011553623A CN112672051A CN 112672051 A CN112672051 A CN 112672051A CN 202011553623 A CN202011553623 A CN 202011553623A CN 112672051 A CN112672051 A CN 112672051A
Authority
CN
China
Prior art keywords
target
camera
calibration position
input
pan
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.)
Granted
Application number
CN202011553623.3A
Other languages
Chinese (zh)
Other versions
CN112672051B (en
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 CN202011553623.3A priority Critical patent/CN112672051B/en
Publication of CN112672051A publication Critical patent/CN112672051A/en
Application granted granted Critical
Publication of CN112672051B publication Critical patent/CN112672051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a shooting method, a shooting device and electronic equipment, belongs to the technical field of communication and aims to solve the problem of complex operation in the shooting process. The method comprises the following steps: receiving a first input of a user on a target interface under the condition that the target interface is displayed and a cloud deck camera is at a preset calibration position; responding to the first input, and updating the holder camera from a preset calibration position to a target calibration position according to a target rotation parameter corresponding to the first input; and acquiring an image by adopting a pan-tilt camera at a target calibration position. The application is applied to the shooting angle scene of the cloud deck camera capable of being rapidly adjusted.

Description

Shooting method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a shooting method, a shooting device and electronic equipment.
Background
With the development of electronic devices, users have more and more frequent shooting functions using the electronic devices.
In order to capture a satisfactory image, the user may need to adjust the capturing angle of the camera many times to determine a desired captured picture. Generally, a user adjusts a shooting angle of a camera by moving an electronic device, so as to shoot different images.
However, when a user needs to take a large number of images, each time the user takes an image, the user may manually move the electronic device to adjust the shooting angle of the camera, so that the shooting process is cumbersome to operate.
Disclosure of Invention
The embodiment of the application aims to provide a shooting method, a shooting device and electronic equipment, and the problem that the operation is complex in the shooting process can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, which is applied to an electronic device with a pan-tilt camera, and the method includes: receiving a first input of a user on a target interface under the condition that the target interface is displayed and a cloud deck camera is at a preset calibration position; responding to the first input, and updating the holder camera from a preset calibration position to a target calibration position according to a target rotation parameter corresponding to the first input; and acquiring an image by adopting a pan-tilt camera at a target calibration position.
In a second aspect, an embodiment of the present application provides a camera, including: the device comprises a receiving module, an updating module and an acquisition module; the receiving module is used for receiving a first input of a user on a target interface under the condition that the target interface is displayed and a holder camera of the electronic equipment is at a preset calibration position; the updating module is used for responding to the first input received by the receiving module and updating the holder camera from a preset calibration position to a target calibration position according to a target rotation parameter corresponding to the first input; and the acquisition module is used for acquiring the image by adopting the pan-tilt camera at the target calibration position updated by the updating module.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present 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 according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, first, the shooting device can display a target interface for adjusting the calibration position of the pan/tilt head camera when the pan/tilt head camera is at the preset calibration position. Then, after the shooting device receives a first input of the user on the target interface, the pan-tilt camera can be updated from the preset calibration position to the target calibration position according to the target rotation parameter corresponding to the first input. Finally, the shooting device can adopt the pan-tilt camera at the target calibration position to acquire images. Through foretell scheme, compare in the correlation technique and need the manual mobile electronic equipment of user just can adjust the shooting angle of camera, the shooting device in this application can be after receiving the first input of user on the target interface, and the calibration position of cloud platform camera is adjusted to the target rotation parameter that corresponds according to this first input, need not user mobile electronic equipment to can reach the purpose of quick adjustment camera shooting angle, and then can make shooting process easy and simple to handle, efficient.
Drawings
Fig. 1 is a schematic flowchart of a shooting method according to an embodiment of the present disclosure;
fig. 2 is one of schematic interfaces of an application of a shooting method according to an embodiment of the present disclosure;
fig. 3 is a second schematic interface diagram of an application of a shooting method according to an embodiment of the present disclosure;
fig. 4 is a third schematic interface diagram of an application of a shooting method according to an embodiment of the present disclosure;
fig. 5 is a fourth schematic interface diagram of an application of a shooting method according to an embodiment of the present disclosure;
fig. 6 is a fifth schematic interface diagram of an application of a shooting method according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a shooting device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method provided by the embodiment of the application can be applied to the electronic equipment with the pan-tilt camera, in other words, the shooting method can be executed by software or hardware installed in the electronic equipment. The tripod head camera comprises a tripod head and a camera, the tripod head is a shooting auxiliary device which is arranged on the electronic device and used for installing and bearing the camera, the tripod head is complex and precise in structure and mainly comprises a limiting mechanism, a double-ball suspension, a lens, a voice coil motor, a magnetic power frame and a protective cover. Because the cloud platform is set up inside electronic equipment under normal conditions for bear and install the camera, consequently, the cloud platform among the electronic equipment also can be called little cloud platform, and little cloud platform can be used for the anti-shake, and the supplementary user stably shoots, improves the shooting quality of image.
The shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flow chart of a shooting method provided in an embodiment of the present application, including steps 201 to 203:
step 201: the method comprises the steps that a shooting device receives first input of a user on a target interface under the condition that the target interface is displayed and a cloud deck camera is located at a preset calibration position.
And the target interface is used for adjusting the calibration position of the holder camera.
In this embodiment, the target interface may be an original interface or a newly added interface, which is not limited in this embodiment. In one example, a target control may be displayed in the target interface, and the target control may be used to adjust the calibration position of the pan/tilt head camera.
In this application embodiment, the above-mentioned cloud platform camera can be leading cloud platform camera, also can be rearmounted cloud platform camera, and this application embodiment does not limit to this.
In this embodiment of the present application, the preset calibration position may be default for the system, or may be set by the user, which is not limited in this embodiment of the present application.
In an embodiment of the present application, the first input may be: the click input of the user on the target interface, or the voice instruction input by the user, or the specific gesture input by the user may be specifically determined according to the actual use requirement, and the embodiment of the present application does not limit this.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
In an example, the first input may be specifically an input of the target control by a user.
In one example, the camera may display a target interface on the first preview screen. The first preview picture is a preview picture acquired by the shooting device through a cloud deck camera at a preset calibration position.
Optionally, in this embodiment of the application, the user may trigger the shooting device to display the target interface according to a requirement.
For example, before the step 201, the method may further include the following steps 201a and 201 b:
step 201 a: the camera receives a second input from the user.
For example, the second input may be: the user may specifically determine the actual use requirement according to a click input on the screen of the shooting device, or a voice instruction input by the user, or a specific gesture input by the user, which is not limited in the embodiment of the present application.
In an example, the click input of the user on the screen of the shooting device may specifically be a click input of the user on a preset control displayed in the screen. The preset control is used for triggering the shooting device to display the target interface.
Step 201 b: and responding to the second input, and displaying a target interface by the shooting device.
For example, when a user wants to take a picture, the user can click a "camera" application program, and at this time, a shooting preview interface can be displayed in the screen of the mobile phone, and a "calibration position setting" button is displayed in the upper right corner of the shooting preview interface. When the user wants to adjust the shooting angle, the user can click the 'calibration position setting' key, and at the moment, the mobile phone can display a target interface on the shooting preview interface.
Step 202: and responding to the first input, and updating the holder camera to a target calibration position from a preset calibration position according to the target rotation parameter corresponding to the first input by the shooting device.
In the embodiment of the present application, the rotation parameter in the present application may include at least one of: rotation angle, rotation speed, rotation direction.
In embodiments of the present application, different first inputs may correspond to different target rotation parameters. For example, if the shooting device receives a click input of the user on the target interface, it may be determined that the rotation parameter of the pan-tilt camera is rotated 15 degrees to the left; if the shooting device receives a double-click input of the user on the target interface, it may be determined that the rotation parameter of the pan-tilt camera is a left rotation of 30 degrees, and the like, which is not limited in the embodiment of the present application.
In the embodiment of the present application, the target rotation parameter corresponds to the target calibration position. It can be understood that after the shooting device rotates the pan-tilt camera according to the target rotation parameter, the position of the pan-tilt camera is the target calibration position.
In the embodiment of the application, the preview picture displayed in the screen of the shooting device can change along with the change of the calibration position of the pan-tilt camera. For example, after the shooting device updates the pan/tilt camera from the preset calibration position to the target calibration position, a second preview picture may be displayed on a screen of the shooting device, where the second preview picture is a preview picture acquired by the shooting device using the pan/tilt camera at the target calibration position.
Step 203: the shooting device adopts a cloud platform camera at a target calibration position to collect images.
In this embodiment of the application, the above-mentioned shooting device may adopt the pan-tilt camera at the target calibration position to perform anti-shake shooting.
According to the shooting method provided by the embodiment of the application, firstly, the shooting device can display a target interface for adjusting the calibration position of the holder camera under the condition that the holder camera is at the preset calibration position. Then, after the shooting device receives a first input of the user on the target interface, the pan-tilt camera can be updated from the preset calibration position to the target calibration position according to the target rotation parameter corresponding to the first input. Finally, the shooting device can adopt the pan-tilt camera at the target calibration position to acquire images. Through foretell scheme, compare in the correlation technique and need the manual mobile electronic equipment of user just can adjust the shooting angle of camera, the shooting device in this application can be after receiving the first input of user on the target interface, and the calibration position of cloud platform camera is adjusted to the target rotation parameter that corresponds according to this first input, need not user mobile electronic equipment to can reach the purpose of quick adjustment camera shooting angle, and then can make shooting process easy and simple to handle, efficient.
Optionally, in this embodiment of the application, a user may trigger the shooting device to adjust the calibration position of the pan/tilt head camera through input to the control.
For example, the target interface may include the target control, which is used to adjust the calibration position of the pan-tilt camera.
For example, the target control may be an original control or a newly added control, which is not limited in this embodiment of the application.
It can be understood that, under the condition that the target control is the original control, the target control may be a control that has added a function of adjusting the calibration position of the pan/tilt/zoom camera on the basis of keeping the function of the original control, or may be a control that replaces the function of the original control with a function of adjusting the calibration position of the pan/tilt/zoom camera, which is not limited in the embodiments of the present application. For example, the shooting device may add a function of adjusting the calibration position of the pan/tilt camera on the basis of the shooting function of the shooting key in the shooting preview interface.
In one example, the target control may be a calibration position adjustment progress bar for adjusting a rotation parameter of the pan/tilt head camera. The shooting device can determine the target rotation parameters of the pan-tilt camera after receiving the input of the user to the calibration position adjustment progress bar.
In another example, in a case that the target interface includes a target control displayed at a first display position, and the first input is an input of a user moving the target control from the first display position to a second display position, before the pan-tilt-zoom:
step 202 a: and the shooting device determines the target rotation parameter according to the position parameter of the target control.
Wherein, the first display position corresponds to the preset calibration position. Illustratively, the target control is used for adjusting the calibration position of the pan-tilt camera.
Illustratively, the location parameters may include at least one of: moving distance, moving direction, moving speed. It is to be understood that the position parameter mentioned above may be a movement parameter corresponding to the movement of the target control from the first display position to the second display position.
Illustratively, a mapping relationship exists between the position parameters and the target rotation parameters. For example, there is a one-to-one correspondence between position parameters and target rotation parameters.
For example, the camera may store a first corresponding relationship table of the position parameter and the target rotation parameter, and after the camera determines the target parameter of the target control, the corresponding target rotation parameter may be queried through the first relationship table.
In one example, the user input to move the target control from the first display position to the second display position may be an input to click select the second display position and trigger movement of the target control for the user.
In an example, the input that the user moves the target control from the first display position to the second display position may be specifically an input that the user drags the target control from the first display position to the second display position.
For example, taking the target control as a shooting key in a shooting preview interface as an example, as shown in fig. 2, a shooting preview interface 31 is displayed in the screen of the mobile phone, and a shooting key 32 and a "set" key 33 are displayed in the shooting preview interface 31. When the user wants to adjust the calibration position of the pan/tilt head camera, the user can click the "set" button 33. At this time, the mobile phone may display a pull-down menu 34 in the upper right corner of the screen, where an anti-shake assistant option 34a is displayed, and the user may click on the anti-shake assistant option 34 a. Then, as shown in fig. 3, the mobile phone displays an anti-shake assistant interface 41 (i.e., the above-mentioned target interface) on the shooting preview interface 31, and a rocker shooting button 42 (i.e., the above-mentioned target control) is displayed at a position a of the anti-shake assistant interface 41. When the user clicks the rocker shooting key 42, the mobile phone may keep the original function (i.e., taking a picture), as shown in fig. 4, when the user drags the rocker shooting key 42 from the position a to the position B, the mobile phone may determine the rotation angle and the rotation direction of the pan/tilt head camera (i.e., the above-mentioned target rotation parameters) according to the movement distance and the movement direction (i.e., the above-mentioned position parameters) of the rocker shooting key 42. Then, the mobile phone can rotate the holder camera according to the determined rotation angle and the rotation direction, so that the calibration position of the holder camera is adjusted.
The shooting method provided by the embodiment of the application can be applied to a scene of adjusting the calibration position of the tripod head camera through the target control, and compared with a scheme that a user moves the electronic equipment, the user can realize that the shooting device can quickly adjust the calibration position of the tripod head camera only through inputting the target control displayed by the shooting device, so that the aim of quickly adjusting the shooting angle of the camera is fulfilled, and the shooting process is simple and convenient to operate and high in efficiency.
Optionally, in this embodiment of the application, the target interface may further include a target identifier, a display position of the target identifier is used to indicate a real-time calibration position of the pan/tilt head camera, and a mapping relationship exists between the display position of the target identifier and the display position of the target control.
For example, the target mark may be a mark with any shape, for example, the target mark may be a circle (e.g., a solid dot), or a triangle, or a rectangle, and the like, which is not limited in this application.
In an example, the display positions of the target identifiers and the display positions of the target controls may correspond to each other one by one. For example, the camera may store a second corresponding relationship table between the display position of the target identifier and the display position of the target control, and after the camera determines the display position of the target identifier, the display position of the corresponding target control may be queried through the second relationship table.
It is to be understood that the display position of the target identifier changes as the display position of the target control changes.
The shooting method provided by the real-time example can be applied to a scene of prompting the calibration position of the cradle head camera of the user in real time, and the shooting device can visually show the real-time calibration position of the cradle head camera to the user through the display target identification, so that the user can know the real-time calibration position of the cradle head camera conveniently, and further operation is carried out.
Optionally, in this embodiment of the application, the target interface may further include an inner circle identifier and an outer circle identifier, where the outer circle identifier is used to indicate a first anti-shake range of the pan/tilt head camera, the inner circle identifier is used to indicate a second anti-shake range of the pan/tilt head camera, and the first anti-shake range includes the second anti-shake range; the display position of the inner circle mark changes along with the change of the display position of the target mark.
It can be understood that the first anti-shake range is the maximum anti-shake range of the pan/tilt head camera, that is, the range of pictures that can be collected when the pan/tilt head camera rotates by one rotation at the maximum rotation angle; the second anti-shake range is the optimal anti-shake range of the pan-tilt camera, namely, the image quality acquired in the anti-shake range is higher.
For example, the target mark may be kept displayed at the center of the inner circle mark, or may be kept displayed at any point on the boundary of the inner circle mark.
For example, in conjunction with fig. 2, when the user wants to adjust the calibration position of the pan/tilt head camera, the user may click the anti-shake helper option. At this time, as shown in fig. 3, in addition to the rocker shooting button 42 (i.e. the above-mentioned target control) displayed in the position a of the anti-shake assistant interface 41, the mobile phone may also display two circles, i.e. an inner circle 43 representing the optimal anti-shake range of the pan-tilt camera and an outer circle 44 representing the maximum anti-shake range of the pan-tilt camera, in the anti-shake assistant interface 41. The centers of the inner circle 43 and the outer circle 44 are overlapped, and a solid dot 45 for marking the real-time calibration position of the pan-tilt camera is displayed on the center of the inner circle 43. As shown in fig. 4, when the user drags the rocker shooting key 42 from the a position to the B position, the solid dots 45 change the display position as the rocker shooting key 42 moves. When the user determines the desired position for shooting, the user can lift the finger from the rocker shooting key 42. At this time, as shown in fig. 5, the rocker shooting button 42 may automatically return to the a position, the inner circle 43 automatically changes its position with the solid dot 45, and the solid dot 45 is kept displayed at the center of the inner circle 43. Finally, the user can click the rocker shooting button 42, and then the mobile phone can be triggered to adopt a new calibration position for anti-shake shooting.
It should be noted that when the user lifts the finger from the rocker shooting key 42, the mobile phone may take a picture after the user clicks the rocker shooting key 42, and may also automatically adopt a new calibration position to take an anti-shake picture without being triggered by the user.
The shooting method provided by the embodiment of the application is applied to the scene of the anti-shake range for visually showing different calibration positions of the tripod head camera to a user, the shooting device can visually show the anti-shake range of the tripod head camera to the user through the excircle identifier of the first anti-shake range of the display indication tripod head camera and the inner circle identifier of the second anti-shake range of the tripod head camera, so that the user can timely know the anti-shake condition of the tripod head camera, and the shooting process is more flexible.
Optionally, in this embodiment of the application, after the calibration position of the pan/tilt/zoom lens is changed, the shooting device may update the calibration position of the pan/tilt/zoom lens to the preset calibration position again.
Illustratively, after the step 203, the method may further include the step 204 of:
step 204: and the shooting device updates the holder camera from the target calibration position to the preset calibration position.
In one example, the camera may automatically update the pan-tilt camera from the target calibration position to the preset calibration position after capturing an image with the pan-tilt camera at the target calibration position.
In another example, the step 204 may specifically include the following steps 204a and 204 b:
step 204 a: the photographing apparatus receives a third input from the user.
For example, the third input may be: the user may specifically determine the actual use requirement according to a click input on the screen of the shooting device, or a voice instruction input by the user, or a specific gesture input by the user, which is not limited in the embodiment of the present application.
In an example, the click input of the user on the screen of the shooting device may be specifically a click input of the user on a predetermined control displayed in the screen. The preset control is used for triggering the shooting device to update the calibration position of the holder camera to a preset calibration position.
Step 204 b: and responding to the third input, and updating the holder camera to the preset calibration position from the target calibration position by the shooting device.
For example, referring to fig. 2, when the user wants to restore the calibration position of the pan/tilt head camera to the a position (i.e., the preset calibration position described above), the user may click the "set" button 33. At this time, the mobile phone may display a pull-down menu 34 in the upper right corner of the screen, where an anti-shake assistant option 34a and a micro cloud platform calibration option 34b are displayed on the pull-down menu, and the user may click on the micro cloud platform calibration option 34 b. Then, the mobile phone may calibrate the pan-tilt camera, and during the calibration process of the pan-tilt camera, as shown in (a) in fig. 6, the mobile phone displays the text "calibration is being performed …" in the screen. After the mobile phone completes calibration of the pan/tilt camera, as shown in (b) of fig. 6, the mobile phone displays an inner circle 43 and an outer circle 44 with overlapped circle centers in the anti-shake assistant interface 41, a solid dot 45 for identifying the real-time calibration position of the pan/tilt camera is displayed on the circle center of the inner circle 43, and meanwhile, the mobile phone displays the text "calibration completed".
The shooting method provided by the embodiment of the application can be applied to a scene that the calibration position of the cradle head camera is restored to the preset calibration position, and the shooting device can quickly update the calibration position of the cradle head camera to the preset calibration position from the target calibration position.
In the shooting method provided by the embodiment of the present application, the execution subject may be a shooting device, or a control module in the shooting device for executing the shooting method. The embodiment of the present application takes an example in which a shooting device executes a shooting method, and the shooting device provided in the embodiment of the present application is described.
Fig. 7 is a schematic diagram of a possible structure of a camera according to an embodiment of the present disclosure, and as shown in fig. 7, a camera 500 includes: a receiving module 501, an updating module 502 and an acquiring module 503, wherein: a receiving module 501, configured to receive a first input of a user on a target interface when the target interface is displayed and a pan-tilt camera of an electronic device is at a preset calibration position; an updating module 502, configured to respond to the first input received by the receiving module 501, and update the pan-tilt camera from a preset calibration position to a target calibration position according to a target rotation parameter corresponding to the first input; and an acquiring module 503, configured to acquire an image by using the pan-tilt camera at the target calibration position updated by the updating module 502.
Optionally, as shown in fig. 7, the photographing apparatus 500 further includes: a determination module 504; the target interface comprises a target control displayed at a first display position, and the first input is input of a user moving the target control from the first display position to a second display position; a determining module 504, configured to determine the target rotation parameter according to a position parameter of the target control; wherein, the first display position corresponds to the preset calibration position.
Optionally, the target interface further includes a target identifier, a display position of the target identifier is used to indicate a real-time calibration position of the pan/tilt head camera, and a mapping relationship exists between the display position of the target identifier and a display position of the target control.
Optionally, the target interface further includes an inner circle identifier and an outer circle identifier, where the outer circle identifier is used to indicate a first anti-shake range of the pan/tilt head camera, the inner circle identifier is used to indicate a second anti-shake range of the pan/tilt head camera, and the first anti-shake range includes the second anti-shake range; the display position of the inner circle mark changes with the change of the display position of the target mark.
Optionally, the updating module 502 is further configured to update the pan-tilt camera from the target calibration position to a preset calibration position.
The shooting device that this application embodiment provided, at first, the shooting device can show the target interface that is used for adjusting the calibration position of cloud platform camera under the condition that cloud platform camera is in preset calibration position. Then, after the shooting device receives a first input of the user on the target interface, the pan-tilt camera can be updated from the preset calibration position to the target calibration position according to the target rotation parameter corresponding to the first input. Finally, the shooting device can adopt the pan-tilt camera at the target calibration position to acquire images. Through foretell scheme, compare in the correlation technique and need the manual mobile electronic equipment of user just can adjust the shooting angle of camera, the shooting device in this application can be after receiving the first input of user on the target interface, and the calibration position of cloud platform camera is adjusted to the target rotation parameter that corresponds according to this first input, need not user mobile electronic equipment to can reach the purpose of quick adjustment camera shooting angle, and then can make shooting process easy and simple to handle, efficient.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The shooting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 107 is configured to receive a first input of a user on a target interface when the target interface is displayed and a pan-tilt camera of the electronic device is at a preset calibration position; a processor 110, configured to respond to a first input received by the user input unit 107, and update the pan-tilt camera from a preset calibration position to a target calibration position according to a target rotation parameter corresponding to the first input; and an input unit 104 for acquiring an image using the pan-tilt-camera at the target calibration position updated by the processor 110.
Optionally, the target interface includes a target control displayed at a first display position, and the first input is an input of a user moving the target control from the first display position to a second display position; the processor 110 is configured to determine the target rotation parameter according to the position parameter of the target control; wherein, the first display position corresponds to the preset calibration position.
Optionally, the target interface further includes a target identifier, a display position of the target identifier is used to indicate a real-time calibration position of the pan/tilt head camera, and a mapping relationship exists between the display position of the target identifier and a display position of the target control.
Optionally, the target interface further includes an inner circle identifier and an outer circle identifier, where the outer circle identifier is used to indicate a first anti-shake range of the pan/tilt head camera, the inner circle identifier is used to indicate a second anti-shake range of the pan/tilt head camera, and the first anti-shake range includes the second anti-shake range; the display position of the inner circle mark changes with the change of the display position of the target mark.
Optionally, the processor 110 is further configured to update the pan-tilt camera from the target calibration position to a preset calibration position.
The electronic equipment provided by the embodiment of the application comprises a display unit, a display unit and a control unit, wherein the display unit is used for displaying a target interface used for adjusting the calibration position of the holder camera under the condition that the holder camera is located at the preset calibration position. Then, after the electronic device receives a first input of the user on the target interface, the pan-tilt camera can be updated from the preset calibration position to the target calibration position according to the target rotation parameter corresponding to the first input. Finally, the electronic device may acquire the image using a pan-tilt camera at the target calibration position. Through foretell scheme, compare in the correlation technique and need the manual mobile electronic equipment of user just can adjust the shooting angle of camera, electronic equipment in this application can be after receiving the first input of user on the target interface, and the calibration position of cloud platform camera is adjusted to the target rotation parameter that corresponds according to this first input, need not user mobile electronic equipment to can reach the purpose of quick adjustment camera shooting angle, and then can make shooting process easy and simple to handle, efficient.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 a terminal (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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A shooting method is applied to an electronic device with a pan-tilt camera, and is characterized by comprising the following steps:
receiving a first input of a user on a target interface under the condition that the target interface is displayed and the cloud deck camera is at a preset calibration position;
responding to the first input, and updating the holder camera from the preset calibration position to a target calibration position according to a target rotation parameter corresponding to the first input;
and acquiring an image by adopting the holder camera at the target calibration position.
2. The method of claim 1, wherein the target interface includes a target control displayed at a first display location, and wherein the first input is a user input to move the target control from the first display location to a second display location;
before updating the pan-tilt camera from the preset calibration position to a target calibration position according to a target rotation parameter corresponding to the first input, the method further includes:
determining the target rotation parameter according to the position parameter of the target control;
and the first display position corresponds to the preset calibration position.
3. The method according to claim 2, wherein the target interface further comprises a target identifier, a display position of the target identifier is used for indicating a real-time calibration position of the pan/tilt head camera, and a mapping relation exists between the display position of the target identifier and a display position of the target control.
4. The method according to claim 3, wherein the target interface further comprises an inner circle identifier and an outer circle identifier, the outer circle identifier indicating a first anti-shake range of the pan/tilt head camera, the inner circle identifier indicating a second anti-shake range of the pan/tilt head camera, the first anti-shake range including the second anti-shake range;
the display position of the inner circle mark changes along with the change of the display position of the target mark.
5. The method of any one of claims 1 to 4, wherein after acquiring an image with the pan-tilt camera at the target calibration position, the method further comprises:
and updating the holder camera from the target calibration position to the preset calibration position.
6. A photographing apparatus, characterized by comprising: the device comprises a receiving module, an updating module and an acquisition module;
the receiving module is used for receiving a first input of a user on a target interface under the condition that the target interface is displayed and a holder camera of the electronic equipment is at a preset calibration position;
the updating module is configured to update the pan-tilt camera from the preset calibration position to a target calibration position according to the target rotation parameter corresponding to the first input in response to the first input received by the receiving module;
the acquisition module is used for acquiring images by adopting the cloud deck camera at the target calibration position updated by the updating module.
7. The camera of claim 6, further comprising: a determination module;
the target interface comprises a target control displayed at a first display position, and the first input is input of a user to move the target control from the first display position to a second display position;
the determining module is used for determining the target rotation parameter according to the position parameter of the target control;
and the first display position corresponds to the preset calibration position.
8. The shooting device of claim 7, wherein the target interface further comprises a target identifier, a display position of the target identifier is used for indicating a real-time calibration position of the pan-tilt camera, and a mapping relation exists between the display position of the target identifier and a display position of the target control.
9. The shooting device of claim 8, wherein the target interface further comprises an inner circle identifier and an outer circle identifier, the outer circle identifier is used for indicating a first anti-shake range of the pan-tilt camera, the inner circle identifier is used for indicating a second anti-shake range of the pan-tilt camera, and the first anti-shake range comprises the second anti-shake range;
the display position of the inner circle mark changes along with the change of the display position of the target mark.
10. The camera according to any one of claims 6 to 9, wherein the updating module is further configured to update the pan-tilt camera from the target calibration position to the preset calibration position.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the photographing method according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1 to 5.
CN202011553623.3A 2020-12-24 2020-12-24 Shooting method and device and electronic equipment Active CN112672051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011553623.3A CN112672051B (en) 2020-12-24 2020-12-24 Shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011553623.3A CN112672051B (en) 2020-12-24 2020-12-24 Shooting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112672051A true CN112672051A (en) 2021-04-16
CN112672051B CN112672051B (en) 2022-06-10

Family

ID=75408560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011553623.3A Active CN112672051B (en) 2020-12-24 2020-12-24 Shooting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112672051B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179370A (en) * 2021-04-21 2021-07-27 深圳传音控股股份有限公司 Photographing method, mobile terminal and readable storage medium
CN115064169A (en) * 2022-08-17 2022-09-16 广州小鹏汽车科技有限公司 Voice interaction method, server and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07110502A (en) * 1993-10-13 1995-04-25 Nikon Corp Blur preventing camera
US7839926B1 (en) * 2000-11-17 2010-11-23 Metzger Raymond R Bandwidth management and control
JP2013047760A (en) * 2011-08-29 2013-03-07 Institute Of National Colleges Of Technology Japan Instruction position display device and instruction position display system
CN103336534A (en) * 2013-06-07 2013-10-02 浙江宇视科技有限公司 Method for controlling holder camera on touch screen of monitor terminal
CN104159016A (en) * 2013-05-13 2014-11-19 浙江大华技术股份有限公司 Cradle head control system, method and device
CN104767927A (en) * 2014-01-07 2015-07-08 三亚中兴软件有限责任公司 Orientation control method and device for holder camera
CN110291777A (en) * 2018-04-09 2019-09-27 深圳市大疆创新科技有限公司 Image-pickup method, equipment and machine readable storage medium
CN110568867A (en) * 2019-09-10 2019-12-13 天津市高速公路科技发展有限公司 Control method, device and equipment of cloud deck
CN111328387A (en) * 2019-07-19 2020-06-23 深圳市大疆创新科技有限公司 Pan-tilt control method, device and computer readable storage medium
CN111381606A (en) * 2018-12-27 2020-07-07 杭州海康威视系统技术有限公司 Holder control method and device, electronic equipment and storage medium
CN111787274A (en) * 2020-05-21 2020-10-16 视联动力信息技术股份有限公司 Equipment control method and device, terminal equipment and storage medium
CN111787234A (en) * 2020-08-12 2020-10-16 努比亚技术有限公司 Shooting control method and device and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07110502A (en) * 1993-10-13 1995-04-25 Nikon Corp Blur preventing camera
US7839926B1 (en) * 2000-11-17 2010-11-23 Metzger Raymond R Bandwidth management and control
JP2013047760A (en) * 2011-08-29 2013-03-07 Institute Of National Colleges Of Technology Japan Instruction position display device and instruction position display system
CN104159016A (en) * 2013-05-13 2014-11-19 浙江大华技术股份有限公司 Cradle head control system, method and device
CN103336534A (en) * 2013-06-07 2013-10-02 浙江宇视科技有限公司 Method for controlling holder camera on touch screen of monitor terminal
CN104767927A (en) * 2014-01-07 2015-07-08 三亚中兴软件有限责任公司 Orientation control method and device for holder camera
CN110291777A (en) * 2018-04-09 2019-09-27 深圳市大疆创新科技有限公司 Image-pickup method, equipment and machine readable storage medium
CN111381606A (en) * 2018-12-27 2020-07-07 杭州海康威视系统技术有限公司 Holder control method and device, electronic equipment and storage medium
CN111328387A (en) * 2019-07-19 2020-06-23 深圳市大疆创新科技有限公司 Pan-tilt control method, device and computer readable storage medium
CN110568867A (en) * 2019-09-10 2019-12-13 天津市高速公路科技发展有限公司 Control method, device and equipment of cloud deck
CN111787274A (en) * 2020-05-21 2020-10-16 视联动力信息技术股份有限公司 Equipment control method and device, terminal equipment and storage medium
CN111787234A (en) * 2020-08-12 2020-10-16 努比亚技术有限公司 Shooting control method and device and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179370A (en) * 2021-04-21 2021-07-27 深圳传音控股股份有限公司 Photographing method, mobile terminal and readable storage medium
CN115064169A (en) * 2022-08-17 2022-09-16 广州小鹏汽车科技有限公司 Voice interaction method, server and storage medium
CN115064169B (en) * 2022-08-17 2022-12-13 广州小鹏汽车科技有限公司 Voice interaction method, server and storage medium

Also Published As

Publication number Publication date
CN112672051B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN109639970B (en) Shooting method and terminal equipment
CN111182205B (en) Photographing method, electronic device, and medium
JP5464083B2 (en) Information processing apparatus, information processing method, and program
CN111669507A (en) Photographing method and device and electronic equipment
CN112738402B (en) Shooting method, shooting device, electronic equipment and medium
CN110519512B (en) Object processing method and terminal
CN112672051B (en) Shooting method and device and electronic equipment
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
CN112911147B (en) Display control method, display control device and electronic equipment
WO2023083089A1 (en) Photographing control display method and apparatus, and electronic device and medium
CN111669506A (en) Photographing method and device and electronic equipment
CN112689094A (en) Camera anti-shake prompting method and device and electronic equipment
CN107592458B (en) Shooting method and mobile terminal
CN113747073B (en) Video shooting method and device and electronic equipment
CN111064896A (en) Device control method and electronic device
CN110913133B (en) Shooting method and electronic equipment
CN112416199A (en) Control method and device and electronic equipment
WO2023151527A1 (en) Image photographing method and apparatus
CN109636720B (en) Image display method and terminal equipment
CN108737731B (en) Focusing method and terminal equipment
CN112333395B (en) Focusing control method and device and electronic equipment
CN113286085B (en) Display control method and device and electronic equipment
CN112333389B (en) Image display control method and device and electronic equipment
CN111373730B (en) Panoramic shooting method and 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
GR01 Patent grant
GR01 Patent grant