[go: up one dir, main page]

WO2022135260A1 - Photographing method and apparatus, electronic device and readable storage medium - Google Patents

Photographing method and apparatus, electronic device and readable storage medium Download PDF

Info

Publication number
WO2022135260A1
WO2022135260A1 PCT/CN2021/138689 CN2021138689W WO2022135260A1 WO 2022135260 A1 WO2022135260 A1 WO 2022135260A1 CN 2021138689 W CN2021138689 W CN 2021138689W WO 2022135260 A1 WO2022135260 A1 WO 2022135260A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
view
shooting
orientation
angle
Prior art date
Application number
PCT/CN2021/138689
Other languages
French (fr)
Chinese (zh)
Inventor
赖剑兵
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022135260A1 publication Critical patent/WO2022135260A1/en

Links

Images

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/67Focus control based on electronic image sensor signals
    • H04N23/675Focus control based on electronic image sensor signals comprising setting of focusing regions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • 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/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a photographing method, an apparatus, an electronic device, and a readable storage medium.
  • the purpose of the embodiments of the present application is to provide a photographing method, apparatus, electronic device and readable storage medium, which can solve the problem of complicated operations when changing the photographing object during the photographing process.
  • an embodiment of the present application provides a shooting method, the method includes: collecting an audio signal in a current shooting environment; determining orientation information of a first object according to the audio signal; the first object is: sending out a sound indicated by the audio signal based on the orientation information, adjust the orientation of the camera to the direction corresponding to the orientation information; adjust the field of view of the camera from the first field of view to the second field of view with the first object as the shooting focus.
  • an embodiment of the present application further provides a shooting device, the device includes: an acquisition module, a determination module, and an adjustment module; an acquisition module for acquiring audio signals in a current shooting environment; a determination module for acquiring The audio signal collected by the module determines the orientation information of the first object, and the first object is: the object that emits the sound indicated by the audio signal; the adjustment module is used to adjust the orientation of the camera to the orientation information based on the orientation information determined by the determination module The corresponding direction; the adjustment module is further configured to adjust the field of view angle of the camera from the first field of view angle to the second field of view angle with the first object as the shooting focus.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is implemented when executed by the processor The steps of the photographing method according to the first aspect.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, 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, and implement the first aspect the method described.
  • the audio signal in the current shooting environment is collected in real time, and if it is detected that a certain shooting object emits a sound, the position information of the first object is determined according to the audio information, wherein , the first object is: the object that emits the sound indicated by the audio signal. Then, based on the azimuth information, the orientation of the camera is adjusted to the direction corresponding to the azimuth information, and the field of view of the camera is adjusted from the first field of view to the second field of view with the first object as the shooting focus.
  • the electronic device can automatically adjust the shooting lens through the sound, thereby reducing the operation steps for the user to manually adjust the lens.
  • FIG. 1 is a schematic diagram of a photographing method in a related art provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a shooting method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a field of view provided by an embodiment of the present application.
  • FIG. 4 is one of the schematic diagrams of an interface to which a shooting method provided by an embodiment of the present application is applied;
  • FIG. 5 is a second schematic diagram of an interface to which a shooting method provided by an embodiment of the present application is applied;
  • FIG. 6 is a third schematic diagram of an interface to which a shooting method provided by an embodiment of the present application is applied;
  • FIG. 7 is a schematic structural diagram of a photographing device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the shooting methods provided in the embodiments of the present application can be applied to a scene in which a user uses an electronic device to shoot.
  • FIG. 1 it is a schematic diagram of the operation of the user using a mobile phone to shoot a video.
  • the shooting lens 1 shown in (A) in FIG. 1 includes three shooting objects (object a, object b and object c).
  • object a speaks, in order to highlight the subject, as shown in (B) in Figure 1, the user can adjust the field of view of the camera of the mobile phone through manual zooming on the shooting interface, and then use object a as the subject of shooting.
  • object a speaks, in order to highlight the subject, as shown in (B) in Figure 1
  • the user can adjust the field of view of the camera of the mobile phone through manual zooming on the shooting interface, and then use object a as the subject of shooting.
  • the above process requires manual operation by the user, and when the number of lens switching times is large, the operation is cumbersome and inconvenient.
  • the mobile phone collects audio signals in the current shooting environment in real time.
  • Object a makes a sound
  • determine the orientation information of the object a that emits the sound and then, based on the orientation information, the mobile phone automatically adjusts the orientation and field of view of the camera, zooms in on the lens, and takes object a as the focus of shooting , without any operation by the user, which greatly reduces the operation steps of the user.
  • a shooting method provided by an embodiment of the present application may include the following steps 201 to 204:
  • Step 201 The photographing device collects audio signals in the current photographing environment.
  • the photographing apparatus collects, in real time, audio signals in a photographing environment where the photographing apparatus is currently located by using multiple microphones provided on the electronic device.
  • Step 202 The photographing device determines the orientation information of the first object according to the audio signal.
  • the above-mentioned first object is: the object that emits the sound indicated by the audio signal.
  • the photographing device analyzes and identifies the audio signal, and if the audio signal contains the sound (including voices such as speech, laughter, crying, etc.) made by a character, it is determined that the audio signal is The orientation of the subject making the sound.
  • the photographing apparatus may determine the specific orientation of the photographing object that emits the sound according to the time difference between the multiple microphones provided on the electronic device receiving the audio signal.
  • Step 203 The photographing device adjusts the orientation of the camera to the direction corresponding to the above-mentioned orientation information based on the above-mentioned orientation information.
  • Step 204 The photographing device adjusts the angle of view of the camera from the first angle of view to the second angle of view with the first object as the photographing focus.
  • the above-mentioned first angle of view is the angle of view before the camera performs the angle of view adjustment.
  • FIG. 3 which is a schematic diagram of the field of view of the camera
  • the light collected by the camera passes through the center point 31 of the camera and is projected onto the image sensor 32 , and then the camera completes image acquisition.
  • angle A is the field of view angle of the camera
  • B is the diameter of the field of view of the camera.
  • the size of the field of view determines the field of view of the camera. The larger the field of view, the larger the field of view of the camera.
  • the field of view of the camera can be adjusted by adjusting the focal length of the camera.
  • the orientation of the camera can be adjusted through a handheld gimbal or a camera with a micro gimbal.
  • the camera in this embodiment of the present application is a camera with a micro gimbal function. The rotation of the gimbal adjusts the orientation of the camera, and then adjusts the content captured by the camera.
  • the photographing device after acquiring the orientation information of the first photographing object, the photographing device automatically adjusts the orientation of the camera so that it is aimed at the first photographing object, and then the photographing device adjusts the field of view of the camera to make the first object become The focal point of the current shot.
  • the above-mentioned photographing focus is a photographing picture in which the first photographing object is used as the photographing subject.
  • the electronic device when the electronic device is shooting, the audio signal in the current shooting environment is collected in real time, and if it is detected that a certain shooting object emits a sound, the orientation information of the first object is determined according to the audio information, wherein the first object is: An object that emits the sound indicated by the audio signal. Then, based on the azimuth information, the orientation of the camera is adjusted to the direction corresponding to the azimuth information, and the field of view of the camera is adjusted from the first field of view to the second field of view with the first object as the shooting focus.
  • the electronic device can automatically adjust the shooting lens through the sound, thereby reducing the operation steps for the user to manually adjust the lens.
  • the screen shot by the wide-angle lens can also be displayed on the shooting preview interface. Make that object the focus of the shot.
  • the photographing method provided by this embodiment of the present application may further include the following steps 205a1 to 205a3:
  • Step 205a1 the photographing device displays the photographing content under the second angle of view in the photographing preview interface, and displays the target window.
  • the above-mentioned target window and the shooting preview interface at least partially overlap, and the shooting content displayed in the target window includes N shooting objects, and N ⁇ 1.
  • the shooting picture displayed in the above-mentioned target window may be: a picture taken by a wide-angle lens of an electronic device.
  • Step 205a2 The photographing apparatus receives a first input from the user to the second object in the target window.
  • the above-mentioned second object is at least one of the N shooting objects.
  • Step 205a3 In response to the above-mentioned first input, the photographing device switches the content displayed on the photographing preview interface to the photographing content at the third angle of view.
  • the shooting focus of the camera is the second object.
  • the photographing device before changing the photographing object, the photographing device needs to adjust the orientation of the camera so that it is aimed at the new photographing object.
  • the above-mentioned first input may be: the user's input on the screen of the electronic device, or the voice command input by the user, or the specific gesture input by the user, which can be specifically determined according to actual use requirements. Not limited.
  • the above-mentioned first input may be a user's click input on the second object displayed in the target window.
  • the photographing device after receiving the second input from the user, the photographing device identifies the photographing object within the range of the user's click through image recognition, and then the photographing device controls the camera to face the photographing object (that is, the above-mentioned second object), and adjusts The field of view method takes the subject as the current shooting focus.
  • a window 51 is displayed in the shooting preview interface of the mobile phone.
  • the window 51 is the shooting preview screen of the wide-angle lens of the mobile phone.
  • the user clicks the object c displayed in the window 51.
  • the mobile phone switches the shooting preview screen in the shooting preview interface to a screen with the object c as the shooting focus.
  • the user can switch the shooting focus of the electronic device by clicking on any shooting object in the window displayed in the shooting preview interface.
  • the electronic device may prompt the user to adjust the orientation of the camera by turning the body.
  • the photographing method provided in this embodiment of the present application may further include the following steps 203a1 to 203a3:
  • Step 203a1 In the case that the first object is not included in the photographable range of the camera, the photographing device displays prompt information.
  • the above prompt information is used to instruct the user to adjust the orientation of the camera.
  • the shooting range of the above-mentioned camera is the maximum shooting range that the camera can adjust the orientation of through the micro-cloud platform when the electronic device remains stationary.
  • the photographing device displays the above-mentioned prompt information.
  • Step 203a2 The photographing device receives a second input from the user to adjust the orientation of the camera.
  • the second input may be an input for the user to adjust the orientation of the camera by rotating the body or adjusting the orientation of the electronic device.
  • Step 203a3 In response to the second input, the photographing device adjusts the orientation of the camera from the first orientation to the second orientation.
  • the photographable range of the camera includes the first object.
  • the camera can capture the above-mentioned first object.
  • the photographing device recognizes the orientation of the first object according to the sound according to the methods of steps 203 and 204, and further adjusts the orientation and field of view of the second camera, so that the first object becomes the current camera's shooting focus.
  • the electronic device can display prompt information, and the user can adjust the orientation of the camera according to the prompt information, thereby allowing the first object to enter the shooting range of the camera.
  • the electronic device may also display the speaking object of the speaking subject and the shooting subject as the shooting focus simultaneously on the shooting screen.
  • the photographing method provided by this embodiment of the present application may further include the following steps 205b1 to 205b3:
  • Step 205b1 the photographing device determines the focus of the field of view of the first object.
  • the above-mentioned focus of the field of view is used to indicate the object that the first object is looking at.
  • the focus of the first object's field of vision is the talking object.
  • Step 205b2 The photographing device determines, according to the focus of the field of view, a third object that the first object is looking at.
  • Step 205b3 The photographing device adjusts the angle of view of the camera from the second angle of view to a fourth angle of view that includes the first object and the third object.
  • the photographing device determines the third object that the first object is looking at according to the focus of the field of view of the first object, and generally, the third object is the speaking object of the first object. Afterwards, the field of view of the camera expands the shooting range of the camera, so that the third object enters the shooting range of the camera. At the same time, the photographing device can also adjust the orientation of the camera so that the first object and the third object are located in the center of the photographed picture.
  • the electronic device can intelligently incorporate the speaker and the speaking object into the shooting picture at the same time, increasing the sense of presence.
  • the electronic device when the electronic device detects that the user intends to zoom in or zoom out the lens first, it can automatically realize the zooming in and out of the lens by adjusting the focal length.
  • the photographing method provided by this embodiment of the present application may further include the following step 205c1, and step 205c2 or step 205c3:
  • Step 205c1 the photographing device obtains the distance information of the relative distance between the above-mentioned camera and the above-mentioned first object;
  • Step 205c2 in the case that the above-mentioned distance information indicates that the relative distance is reduced, the photographing device increases the focal length of the above-mentioned camera;
  • Step 205c3 In the case that the above-mentioned distance information indicates that the relative distance increases, the photographing device reduces the focal length of the above-mentioned camera.
  • the photographing apparatus determines the relative positional relationship between the current displacement direction of the photographing apparatus and the first object through a position sensor provided on the electronic device. If the current shooting device is far away from the first shooting object, it is determined that the user wants a larger field of view to make the shooting range of the camera larger. At this time, the shooting device can automatically reduce the focal length of the camera to increase the viewing angle of the camera. The field angle, which in turn makes the camera's shooting range larger. On the other hand, if the current shooting device is approaching the first object, it is determined that the user wants a smaller field of view, so that the shooting range of the camera is narrowed and the subject is highlighted. At this time, the shooting device can automatically increase the focal length of the camera to Reduce the field of view of the camera, thereby making the shooting range of the camera smaller.
  • the user needs to move 5 steps.
  • the user only needs to move 2-3 steps to achieve the same shooting effect, reducing the number of users operation.
  • the electronic device can automatically adjust the focal length of the camera to expand or reduce the shooting range of the camera, thereby reducing the user's operation steps.
  • the electronic device collects the audio signal in the current shooting environment in real time, and if it is detected that a certain shooting object emits a sound, it is determined according to the audio information.
  • the orientation information of the object and then, based on the orientation information, the electronic device automatically adjusts the orientation and field of view of the camera, and uses the object as the focus of shooting, without requiring any operation by the user, which greatly reduces the user's operation steps.
  • the executing subject may be a photographing device, or a control module in the photographing device for executing the photographing method.
  • the photographing device provided by the embodiment of the present application is described by taking the photographing method performed by the photographing device as an example.
  • FIG. 7 is a schematic diagram of a possible structure for implementing a photographing apparatus provided by an embodiment of the present application.
  • the photographing apparatus 600 includes: an acquisition module 601 , a determination module 602 and an adjustment module 603 ; the acquisition module 601 is used for collecting The audio signal in the current shooting environment; the determination module 602 is used to determine the orientation information of the first object according to the audio signal collected by the acquisition module 601, and the first object is: the object that emits the sound indicated by the audio signal; the adjustment module 603 , is used to adjust the orientation of the camera to the direction corresponding to the orientation information based on the orientation information determined by the determination module 602; the adjustment module 603 is also used to adjust the field of view of the camera from the first field of view to the first object for shooting The second field of view of the focal point.
  • the electronic device 600 further includes: a display module 604 and a receiving module 605; the display module 604 is configured to display the shooting content under the second field of view in the shooting preview interface, and display the target window, the target window and The shooting preview interface at least partially overlaps, and the shooting content displayed in the target window includes N shooting objects, N ⁇ 1; receiving a first input from the user to a second object in the target window, where the second object is at least one of the N shooting objects One; the receiving module 605 receives the user's first input to the second object in the target window displayed by the display module 604; the display module 604 is also used to respond to the first input received by the receiving module 605, and the shooting preview interface displays the first input.
  • the content is switched to the shooting content under the third field of view angle; wherein, under the third field of view angle, the shooting focus of the camera is the second object.
  • the display module 604 is used to display prompt information when the first object is not included in the shooting range of the camera, and the prompt information is used to instruct the user to adjust the orientation of the camera;
  • the receiving module 605 is used to receive user adjustment.
  • the adjustment module 603 is further configured to adjust the orientation of the camera from the first orientation to the second orientation in response to the second input received by the receiving module 605; wherein, the orientation of the camera is the second orientation , the first object is included in the shooting range of the camera.
  • the determining module 602 is further configured to determine the visual field focus of the first object, and the visual field focus is used to indicate the object that the first object is looking at; object; the adjustment module 603 is further configured to adjust the field of view angle of the camera from the second field of view angle to the fourth field of view angle including the first object and the third object.
  • the obtaining module 601 is further configured to obtain the distance information of the relative distance between the camera and the first object; the adjusting module 603 is further configured to obtain the relative distance when the distance information obtained by the obtaining module 601 indicates that the relative distance decreases, Increase the focal length of the camera; or, the adjustment module 603 is further configured to reduce the focal length of the camera when the distance information obtained by the obtaining module 601 indicates that the relative distance increases.
  • the photographing device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the photographing device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the photographing apparatus provided in the embodiments of the present application can implement each process implemented by the photographing apparatus in the method embodiments of FIG. 2 to FIG. 6 , and to avoid repetition, details are not repeated here.
  • the electronic device when a user uses an electronic device to shoot, the electronic device collects the audio signal in the current shooting environment in real time. The orientation information of the object, and then, based on the orientation information, the electronic device automatically adjusts the orientation and field of view of the camera, and uses the object as the focus of shooting, without requiring any operation by the user, which greatly reduces the user's operation steps.
  • an embodiment of the present application further provides an electronic device, including a processor 110, a memory 109, a program or instruction stored in the memory 109 and executable on the processor 110, the program or instruction being processed by the processor
  • an electronic device including a processor 110, a memory 109, a program or instruction stored in the memory 109 and executable on the processor 110, the program or instruction being processed by the processor
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments 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, etc. part.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the sensor 105 is used to collect the audio signal in the current shooting environment; the processor 110 is used to determine the orientation information of the first object according to the audio signal collected by the sensor 105, and the first object is the one that sends out the above audio signal indication The object of the sound; the processor 110 is used to adjust the orientation of the camera to the direction corresponding to the orientation information based on the orientation information determined by the processor 110; the processor 110 is also used to adjust the field of view of the camera from the first field of view angle is the second field of view with the first object as the shooting focus.
  • the electronic device when the electronic device is shooting, the audio signal in the current shooting environment is collected in real time, and if it is detected that a certain shooting object emits a sound, the orientation information of the first object is determined according to the audio information, wherein the first object is : The object that emits the sound indicated by this audio signal. Then, based on the azimuth information, the orientation of the camera is adjusted to the direction corresponding to the azimuth information, and the field of view of the camera is adjusted from the first field of view to the second field of view with the first object as the shooting focus.
  • the electronic device can automatically adjust the shooting lens through the sound, thereby reducing the operation steps for the user to manually adjust the lens.
  • the electronic device 600 further includes: a display unit 106 and a user input unit 107; the display unit 106 is configured to display the shooting content under the second field of view in the shooting preview interface, and display the target window, the target window At least partially overlapping with the shooting preview interface, the shooting content displayed in the target window includes N shooting objects, N ⁇ 1; receiving the first input from the user to the second object in the target window, and the second object is one of the N shooting objects.
  • the user input unit 107 which receives the first input from the user to the second object in the target window displayed by the display unit 106;
  • the content displayed on the interface is switched to the shooting content under the third field of view angle; wherein, under the third field of view angle, the shooting focus of the camera is the second object.
  • the user can switch the shooting focus of the electronic device by clicking on any shooting object in the window displayed in the shooting preview interface.
  • the display unit 106 is used to display prompt information when the first object is not included in the shooting range of the camera, and the prompt information is used to instruct the user to adjust the orientation of the camera;
  • the user input unit 107 is used to receive the user A second input for adjusting the orientation of the camera;
  • the processor 110 is further configured to adjust the orientation of the camera from the first orientation to the second orientation in response to the second input received by the user input unit 107; wherein, the orientation of the camera is the first orientation When facing the second direction, the first object is included in the shooting range of the camera.
  • the electronic device can display prompt information, and the user can adjust the orientation of the camera according to the prompt information, thereby allowing the first object to enter the shooting range of the camera.
  • the processor 110 is further configured to determine the visual field focus of the first object, and the visual field focus is used to indicate the object that the first object is looking at; object; the processor 110 is further configured to adjust the field of view angle of the camera from the second field of view angle to a fourth field of view angle including the first object and the third object.
  • the electronic device can intelligently incorporate the speaker and the speaking object into the shooting picture at the same time, increasing the sense of presence.
  • the senor 105 is further configured to acquire distance information of the relative distance between the camera and the first object; the processor 110 is further configured to increase the relative distance when the distance information acquired by the sensor 105 indicates that the relative distance decreases The focal length of the camera; or, the processor 110 is further configured to reduce the focal length of the camera when the distance information obtained by the sensor 105 indicates that the relative distance increases.
  • the electronic device can automatically adjust the focal length of the camera to expand or reduce the shooting range of the camera, thereby reducing the user's operation steps.
  • the electronic device when the user uses the electronic device to shoot, the electronic device collects the audio signal in the current shooting environment in real time.
  • the orientation information of the object and then, based on the orientation information, the electronic device automatically adjusts the orientation and field of view of the camera, and uses the object as the focus of shooting, without requiring any operation by the user, which greatly reduces the user's operation steps.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An 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 of the foregoing shooting method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Studio Devices (AREA)

Abstract

The present application belongs to the technical field of communications, and discloses a photographing method and apparatus, an electronic device and a readable storage medium. The method comprises: acquiring an audio signal in a current photographing environment; determining orientation information of a first object according to the audio signal, wherein the first object is an object that emits a sound indicated by the audio signal; on the basis of the orientation information, adjusting the orientation of a camera to a direction corresponding to the orientation information; and adjusting the field of view of the camera from a first field of view to a second field of view that uses the first object as a photographing focal point.

Description

拍摄方法、装置、电子设备及可读存储介质Shooting method, device, electronic device and readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年12月21日在中国提交的中国专利申请号202011519336.0的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202011519336.0 filed in China on December 21, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种拍摄方法、装置、电子设备及可读存储介质。The embodiments of the present application relate to the field of communication technologies, and in particular, to a photographing method, an apparatus, an electronic device, and a readable storage medium.
背景技术Background technique
随着拍摄技术的发展,电子设备的拍摄功能越来越强大,用户使用拍摄功能的频率也越来越高。With the development of shooting technology, the shooting functions of electronic devices are becoming more and more powerful, and the frequency of users using shooting functions is also increasing.
在相关技术中,用户使用电子设备进行拍摄时,可以根据拍摄场景的需要,在拍摄不同的对象时,通过手动控制电子设备调整摄像头的拍摄角度或者摄像头的焦距,来不停地切换镜头,突出每个拍摄场景的人物主体,从而增加现场感。In the related art, when a user uses an electronic device to shoot, according to the needs of the shooting scene, when shooting different objects, manually control the electronic device to adjust the shooting angle of the camera or the focal length of the camera, so as to constantly switch lenses, highlighting the The subject of each shooting scene, thereby increasing the sense of presence.
然而,电子设备每次变更拍摄对象时,都需要用户手动调整摄像头的拍摄视角或者焦距,导致拍摄过程较为繁琐,拍摄效率较低。However, every time the electronic device changes the shooting object, the user needs to manually adjust the shooting angle of view or the focal length of the camera, resulting in a cumbersome shooting process and low shooting efficiency.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种拍摄方法、装置、电子设备及可读存储介质,能够解决在拍摄过程中,变更拍摄对象时,操作繁琐的问题。The purpose of the embodiments of the present application is to provide a photographing method, apparatus, electronic device and readable storage medium, which can solve the problem of complicated operations when changing the photographing object during the photographing process.
第一方面,本申请实施例提供一种拍摄方法,该方法包括:采集当前拍摄环境中的音频信号;根据音频信号,确定第一对象的方位信息;第一对象为:发出音频信号指示的声音的对象;基于方位信息,调整摄像头的朝向至方位信息对应的方向;将摄像头的视场角从第一视场角调整为以第一对象为拍摄焦点的第二视场角。In a first aspect, an embodiment of the present application provides a shooting method, the method includes: collecting an audio signal in a current shooting environment; determining orientation information of a first object according to the audio signal; the first object is: sending out a sound indicated by the audio signal based on the orientation information, adjust the orientation of the camera to the direction corresponding to the orientation information; adjust the field of view of the camera from the first field of view to the second field of view with the first object as the shooting focus.
第二方面,本申请实施例还提供了一种拍摄装置,该装置包括:获取模块、确定模块和调整模块;获取模块,用于采集当前拍摄环境中的音频信号;确定模块,用于根据获取模块采集的音频信号,确定第一对象的方位信息,第一对象为:发出所述音频信号指示的声音的对象;调整模块,用于基于确定模块确定的方位信息,调整摄像 头的朝向至方位信息对应的方向;调整模块,还用于将摄像头的视场角从第一视场角调整为以第一对象为拍摄焦点的第二视场角。In a second aspect, an embodiment of the present application further provides a shooting device, the device includes: an acquisition module, a determination module, and an adjustment module; an acquisition module for acquiring audio signals in a current shooting environment; a determination module for acquiring The audio signal collected by the module determines the orientation information of the first object, and the first object is: the object that emits the sound indicated by the audio signal; the adjustment module is used to adjust the orientation of the camera to the orientation information based on the orientation information determined by the determination module The corresponding direction; the adjustment module is further configured to adjust the field of view angle of the camera from the first field of view angle to the second field of view angle with the first object as the shooting focus.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的程序或指令,该程序或指令被该处理器执行时实现如第一方面所述的拍摄方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is implemented when executed by the processor The steps of the photographing method according to the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, 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, and implement the first aspect the method described.
在本申请实施例中,在电子设备进行拍摄时,实时采集当前拍摄环境中的音频信号,若检测到某个拍摄对象发出声音,则根据该音频信息,确定发出第一对象的方位信息,其中,第一对象为:发出音频信号指示的声音的对象。之后,基于该方位信息,调整摄像头的朝向至方位信息对应的方向,并将摄像头的视场角从第一视场角调整为以第一对象为拍摄焦点的第二视场角。使得电子设备能够自动通过声音调整拍摄镜头,减少用户手动调整镜头的操作步骤。In the embodiment of the present application, when the electronic device is shooting, the audio signal in the current shooting environment is collected in real time, and if it is detected that a certain shooting object emits a sound, the position information of the first object is determined according to the audio information, wherein , the first object is: the object that emits the sound indicated by the audio signal. Then, based on the azimuth information, the orientation of the camera is adjusted to the direction corresponding to the azimuth information, and the field of view of the camera is adjusted from the first field of view to the second field of view with the first object as the shooting focus. The electronic device can automatically adjust the shooting lens through the sound, thereby reducing the operation steps for the user to manually adjust the lens.
附图说明Description of drawings
图1是本申请实施例提供的一种相关技术中的拍摄方法示意图;1 is a schematic diagram of a photographing method in a related art provided by an embodiment of the present application;
图2是本申请实施例提供的一种拍摄方法流程示意图;2 is a schematic flowchart of a shooting method provided by an embodiment of the present application;
图3是本申请实施例提供的一种视场角示意图;3 is a schematic diagram of a field of view provided by an embodiment of the present application;
图4是本申请实施例提供的一种拍摄方法所应用的界面的示意图之一;FIG. 4 is one of the schematic diagrams of an interface to which a shooting method provided by an embodiment of the present application is applied;
图5是本申请实施例提供的一种拍摄方法所应用的界面的示意图之二;5 is a second schematic diagram of an interface to which a shooting method provided by an embodiment of the present application is applied;
图6是本申请实施例提供的一种拍摄方法所应用的界面的示意图之三;6 is a third schematic diagram of an interface to which a shooting method provided by an embodiment of the present application is applied;
图7是本申请实施例提供的一种拍摄装置结构示意图;FIG. 7 is a schematic structural diagram of a photographing device provided by an embodiment of the present application;
图8是本申请实施例提供的一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
本申请实施例提供的拍摄方法可以应用于用户使用电子设备进行拍摄的场景中。The shooting methods provided in the embodiments of the present application can be applied to a scene in which a user uses an electronic device to shoot.
示例性的,针对用户使用电子设备进行拍摄的场景,在相关技术中,为了剧情需要,用户会经常手动切换镜头,将当前正在讲话的对象作为拍摄焦点。例如,如图1所示,为用户使用手机拍摄视频的操作示意图,如图1中(A)所示的拍摄镜头1中,包括三个拍摄对象(对象a、对象b和对象c),当对象a讲话时,为了突出人物主体,如图1中(B)所示,用户可以在拍摄界面上通过手动变焦调整手机的摄像头的视场角,进而将对象a作为拍摄主体。然而,上述过程需要用户手动操作,当镜头切换次数较多时,操作繁琐,十分不便。Exemplarily, for a scene where a user uses an electronic device to shoot, in the related art, for the needs of the plot, the user often switches the shots manually, and takes the object currently speaking as the focus of the shooting. For example, as shown in FIG. 1, it is a schematic diagram of the operation of the user using a mobile phone to shoot a video. The shooting lens 1 shown in (A) in FIG. 1 includes three shooting objects (object a, object b and object c). When When object a speaks, in order to highlight the subject, as shown in (B) in Figure 1, the user can adjust the field of view of the camera of the mobile phone through manual zooming on the shooting interface, and then use object a as the subject of shooting. However, the above process requires manual operation by the user, and when the number of lens switching times is large, the operation is cumbersome and inconvenient.
针对这一问题,在本申请实施例提供的技术方案中,当用户使用手机进行拍摄时,手机实时采集当前拍摄环境中的音频信号,若检测到某个拍摄对象发出声音(例如,检测到上述对象a发出声音),则根据该音频信息,确定发出声音的对象a的方位信息,之后,基于该方位信息,手机自动调整摄像头的朝向及视场角,拉近镜头并将对象a作为拍摄焦点,而无需用户进行任何操作,极大减少了用户的操作步骤。In response to this problem, in the technical solutions provided in the embodiments of the present application, when a user uses a mobile phone to shoot, the mobile phone collects audio signals in the current shooting environment in real time. Object a makes a sound), then according to the audio information, determine the orientation information of the object a that emits the sound, and then, based on the orientation information, the mobile phone automatically adjusts the orientation and field of view of the camera, zooms in on the lens, and takes object a as the focus of shooting , without any operation by the user, which greatly reduces the operation steps of the user.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的拍摄方法进行详细地说明。The shooting methods provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
如图2所示,本申请实施例提供的一种拍摄方法,该方法可以包括下述步骤201至步 骤204:As shown in Figure 2, a shooting method provided by an embodiment of the present application may include the following steps 201 to 204:
步骤201、拍摄装置采集当前拍摄环境中的音频信号。Step 201: The photographing device collects audio signals in the current photographing environment.
示例性地,拍摄装置通过电子设备上设置的多个麦克风实时采集当前拍摄装置所处的拍摄环境中的音频信号。Exemplarily, the photographing apparatus collects, in real time, audio signals in a photographing environment where the photographing apparatus is currently located by using multiple microphones provided on the electronic device.
步骤202、拍摄装置根据该音频信号,确定第一对象的方位信息。Step 202: The photographing device determines the orientation information of the first object according to the audio signal.
其中,上述第一对象为:发出音频信号指示的声音的对象。Wherein, the above-mentioned first object is: the object that emits the sound indicated by the audio signal.
示例性地,拍摄装置获取到麦克风采集的音频信号后,对该音频信号进行分析识别,若该音频信号中包含人物发出的声音(包括:讲话声、笑声、哭声等声音),则判断发出声音的拍摄对象所处的方位。具体地,拍摄装置可以根据电子设备上设置的多个麦克风接收到该音频信号的时间差,来确定发出声音的拍摄对象的具体方位。Exemplarily, after acquiring the audio signal collected by the microphone, the photographing device analyzes and identifies the audio signal, and if the audio signal contains the sound (including voices such as speech, laughter, crying, etc.) made by a character, it is determined that the audio signal is The orientation of the subject making the sound. Specifically, the photographing apparatus may determine the specific orientation of the photographing object that emits the sound according to the time difference between the multiple microphones provided on the electronic device receiving the audio signal.
步骤203、拍摄装置基于上述方位信息,调整摄像头的朝向至上述方位信息对应的方向。Step 203: The photographing device adjusts the orientation of the camera to the direction corresponding to the above-mentioned orientation information based on the above-mentioned orientation information.
步骤204、拍摄装置将摄像头的视场角从第一视场角调整为以第一对象为拍摄焦点的第二视场角。Step 204: The photographing device adjusts the angle of view of the camera from the first angle of view to the second angle of view with the first object as the photographing focus.
示例性地,上述第一视场角为摄像头进行视场角调整前的视场角。Exemplarily, the above-mentioned first angle of view is the angle of view before the camera performs the angle of view adjustment.
需要说明的是,如图3所示,为摄像头视场角的示意图,摄像头采集的光线经过摄像头中心点31后投影到图像传感器32上,进而摄像头完成图像采集。其中,角A为摄像头的视场角,B为摄像头的视野范围直径。视场角的大小决定了摄像头的视野范围,视场角越大,摄像头的视野范围也就越大。同时,可以通过调整摄像头的焦距,来调整摄像头的视场角。It should be noted that, as shown in FIG. 3 , which is a schematic diagram of the field of view of the camera, the light collected by the camera passes through the center point 31 of the camera and is projected onto the image sensor 32 , and then the camera completes image acquisition. Among them, angle A is the field of view angle of the camera, and B is the diameter of the field of view of the camera. The size of the field of view determines the field of view of the camera. The larger the field of view, the larger the field of view of the camera. At the same time, the field of view of the camera can be adjusted by adjusting the focal length of the camera.
示例性地,本申请实施例中,可以通过手持云台或者具有微云台的摄像头调整摄像头的朝向,进一步地,本申请实施例的摄像头为具有微云台功能的摄像头,该摄像头可以通过微云台的转动,调整摄像头的朝向,进而调整摄像头拍摄内容。Exemplarily, in this embodiment of the present application, the orientation of the camera can be adjusted through a handheld gimbal or a camera with a micro gimbal. Further, the camera in this embodiment of the present application is a camera with a micro gimbal function. The rotation of the gimbal adjusts the orientation of the camera, and then adjusts the content captured by the camera.
需要说明的是,如图1所示的拍摄方法,用户拉近镜头放大对象a的视频画面时,对于无法改变摄像头朝向的电子设备,其实质是在增加摄像头焦距的同时,通过数码变焦的方式,放大了对象a的图像,这样的方式画面清晰度会变差。而对于可以改变摄像头朝向的电子设备,其放大对象a的图像的方式为光学变焦,在拍摄画面与上述方式相同的情况 下,这样的方式画面清晰度更高。It should be noted that, in the shooting method shown in Figure 1, when the user zooms in on the lens to zoom in on the video image of object a, for electronic devices that cannot change the orientation of the camera, the essence is to increase the focal length of the camera while increasing the focal length of the camera. , the image of object a is enlarged, and the picture clarity will be deteriorated in this way. As for the electronic device that can change the orientation of the camera, the way of magnifying the image of the object a is optical zoom. In the case where the shooting picture is the same as the above-mentioned method, the picture definition is higher in this method.
示例性地,拍摄装置在获取到第一拍摄对象的方位信息后,自动调整摄像头的朝向,使其对准第一拍摄对象,之后,拍摄装置通过调整摄像头的视场角,使第一对象成为当前镜头的拍摄焦点。可以理解的是,上述拍摄焦点,为将第一拍摄对象作为拍摄主体的拍摄画面。Exemplarily, after acquiring the orientation information of the first photographing object, the photographing device automatically adjusts the orientation of the camera so that it is aimed at the first photographing object, and then the photographing device adjusts the field of view of the camera to make the first object become The focal point of the current shot. It can be understood that, the above-mentioned photographing focus is a photographing picture in which the first photographing object is used as the photographing subject.
举例说明,结合图1,如图4中(A)和(B)所示,用户使用手机拍摄视频时,若手机检测到对象a正在讲话,则通过微云台调整摄像头的朝向,使摄像头对准对象a,之后,再调整摄像头的视场角,使对象a成为当前的拍摄焦点。For example, in conjunction with Figure 1, as shown in Figure 4 (A) and (B), when the user uses a mobile phone to shoot a video, if the mobile phone detects that the object a is speaking, the orientation of the camera is adjusted through the micro-cloud platform so that the camera Target object a, and then adjust the field of view of the camera so that object a becomes the current shooting focus.
如此,在电子设备进行拍摄时,实时采集当前拍摄环境中的音频信号,若检测到某个拍摄对象发出声音,则根据该音频信息,确定第一对象的方位信息,其中,第一对象为:发出音频信号指示的声音的对象。之后,基于该方位信息,调整摄像头的朝向至方位信息对应的方向,并将摄像头的视场角从第一视场角调整为以第一对象为拍摄焦点的第二视场角。使得电子设备能够自动通过声音调整拍摄镜头,减少用户手动调整镜头的操作步骤。In this way, when the electronic device is shooting, the audio signal in the current shooting environment is collected in real time, and if it is detected that a certain shooting object emits a sound, the orientation information of the first object is determined according to the audio information, wherein the first object is: An object that emits the sound indicated by the audio signal. Then, based on the azimuth information, the orientation of the camera is adjusted to the direction corresponding to the azimuth information, and the field of view of the camera is adjusted from the first field of view to the second field of view with the first object as the shooting focus. The electronic device can automatically adjust the shooting lens through the sound, thereby reducing the operation steps for the user to manually adjust the lens.
可选地,在本申请实施例中,电子设备自动调整当前的拍摄镜头后,还可以在拍摄预览界面上显示广角镜头拍摄的画面,用户可以通过点击该画面中的某个拍摄对象,使电子设备将该对象作为拍摄焦点。Optionally, in this embodiment of the present application, after the electronic device automatically adjusts the current shooting lens, the screen shot by the wide-angle lens can also be displayed on the shooting preview interface. Make that object the focus of the shot.
示例性地,上述步骤204之后,本申请实施例提供的拍摄方法,还可以包括以下步骤205a1至步骤205a3:Exemplarily, after the above step 204, the photographing method provided by this embodiment of the present application may further include the following steps 205a1 to 205a3:
步骤205a1、拍摄装置在拍摄预览界面中显示在上述第二视场角下的拍摄内容,并显示目标窗口。Step 205a1, the photographing device displays the photographing content under the second angle of view in the photographing preview interface, and displays the target window.
其中,上述目标窗口和拍摄预览界面至少部分重叠,目标窗口中显示的拍摄内容包括N个拍摄对象,N≥1。Wherein, the above-mentioned target window and the shooting preview interface at least partially overlap, and the shooting content displayed in the target window includes N shooting objects, and N≥1.
示例性地,上述目标窗口中显示的拍摄画面可以为:电子设备的广角镜头拍摄的画面。Exemplarily, the shooting picture displayed in the above-mentioned target window may be: a picture taken by a wide-angle lens of an electronic device.
步骤205a2、拍摄装置接收用户对目标窗口中的第二对象的第一输入。Step 205a2: The photographing apparatus receives a first input from the user to the second object in the target window.
其中,上述第二对象为N个拍摄对象中的至少一个。Wherein, the above-mentioned second object is at least one of the N shooting objects.
步骤205a3、拍摄装置响应于上述第一输入,将拍摄预览界面显示的内容,切换为在第三视场角下的拍摄内容。Step 205a3: In response to the above-mentioned first input, the photographing device switches the content displayed on the photographing preview interface to the photographing content at the third angle of view.
其中,在上述第三视场角下,摄像头的拍摄焦点为第二对象。Wherein, under the above-mentioned third angle of view, the shooting focus of the camera is the second object.
需要说明的是,本申请实施例中,拍摄装置在变更拍摄对象之前,均需要调整摄像头的朝向,使其对准新的拍摄对象。It should be noted that, in the embodiment of the present application, before changing the photographing object, the photographing device needs to adjust the orientation of the camera so that it is aimed at the new photographing object.
示例性地,上述第一输入可以为:用户在电子设备的屏幕上的输入,或者,用户输入的语音指令,或者,用户输入的特定手势,具体的可以根据实际使用需求确定,本发明实施例不作限定。示例性地,上述第一输入可以是用户对目标窗口中显示的第二对象的点击输入。Exemplarily, the above-mentioned first input may be: the user's input on the screen of the electronic device, or the voice command input by the user, or the specific gesture input by the user, which can be specifically determined according to actual use requirements. Not limited. Exemplarily, the above-mentioned first input may be a user's click input on the second object displayed in the target window.
示例性地,拍摄装置接收到用户的第二输入后,通过图像识别,识别出用户点击范围内的拍摄对象,之后,拍摄装置控制摄像头朝向该拍摄对象(即上述第二对象),并通过调整视场角的方式将该拍摄对象作为当前拍摄焦点。Exemplarily, after receiving the second input from the user, the photographing device identifies the photographing object within the range of the user's click through image recognition, and then the photographing device controls the camera to face the photographing object (that is, the above-mentioned second object), and adjusts The field of view method takes the subject as the current shooting focus.
举例说明,结合图4,如图5中(A)所示,在手机的拍摄预览界面中显示有窗口51,该窗口51为手机的广角镜头的拍摄预览画面,用户点击窗口51中显示的对象c之后,如图5中(B)所示,手机将拍摄预览界面中的拍摄预览画面切换为以对象c作为拍摄焦点的画面。For example, in conjunction with FIG. 4 , as shown in FIG. 5 (A), a window 51 is displayed in the shooting preview interface of the mobile phone. The window 51 is the shooting preview screen of the wide-angle lens of the mobile phone. The user clicks the object c displayed in the window 51. Afterwards, as shown in (B) of FIG. 5 , the mobile phone switches the shooting preview screen in the shooting preview interface to a screen with the object c as the shooting focus.
如此,用户可以通过点击拍摄预览界面中显示的窗口中的任一拍摄对象,切换电子设备的拍摄焦点。In this way, the user can switch the shooting focus of the electronic device by clicking on any shooting object in the window displayed in the shooting preview interface.
可选地,在本申请实施例中,由于微云台的调整范围有限,当发出声音的对象不在摄像头的调整范围内时,电子设备可以提示用户通过转动身体来调整摄像头的朝向。Optionally, in this embodiment of the present application, since the adjustment range of the micro-cloud platform is limited, when the object emitting the sound is not within the adjustment range of the camera, the electronic device may prompt the user to adjust the orientation of the camera by turning the body.
示例性地,上述步骤203之前,本申请实施例提供的拍摄方法,还可以包括以下步骤203a1至步骤203a3:Exemplarily, before the above step 203, the photographing method provided in this embodiment of the present application may further include the following steps 203a1 to 203a3:
步骤203a1、在摄像头的可拍摄范围内不包括第一对象的情况下,拍摄装置显示提示信息。Step 203a1: In the case that the first object is not included in the photographable range of the camera, the photographing device displays prompt information.
其中,上述提示信息用于指示用户调整摄像头的朝向。The above prompt information is used to instruct the user to adjust the orientation of the camera.
可以理解的是,上述摄像头的可拍摄范围为:在电子设备保持静止的情况下,摄像头能够通过微云台调整朝向所拍摄的最大范围。It can be understood that, the shooting range of the above-mentioned camera is the maximum shooting range that the camera can adjust the orientation of through the micro-cloud platform when the electronic device remains stationary.
示例性地,当上述摄像头通过微云台调整朝向也拍摄不到第一对象时,拍摄装置显示上述提示信息。Exemplarily, when the above-mentioned camera cannot capture the first object even by adjusting the orientation of the micro-cloud platform, the photographing device displays the above-mentioned prompt information.
步骤203a2、拍摄装置接收用户调整上述摄像头的朝向的第二输入。Step 203a2: The photographing device receives a second input from the user to adjust the orientation of the camera.
示例性地,上述第二输入可以为用户通过转动身体或者调整电子设备的朝向等方式,调整上述摄像头的朝向的输入。Exemplarily, the second input may be an input for the user to adjust the orientation of the camera by rotating the body or adjusting the orientation of the electronic device.
步骤203a3、拍摄装置响应于上述第二输入,将上述摄像头的朝向从第一朝向调整为第二朝向。Step 203a3: In response to the second input, the photographing device adjusts the orientation of the camera from the first orientation to the second orientation.
其中,在所述摄像头的朝向为第二朝向时,所述摄像头的可拍摄范围内包括所述第一对象。Wherein, when the orientation of the camera is the second orientation, the photographable range of the camera includes the first object.
示例性的,用户调整摄像头的朝向后,该摄像头可以拍摄到上述第一对象。之后,拍摄装置按照上述步骤203和步骤204的方法,根据声音识别第一对象的方位,进一步地调整第二摄像头的朝向以及视场角,使第一对象成为当前摄像头的拍摄焦点。Exemplarily, after the user adjusts the orientation of the camera, the camera can capture the above-mentioned first object. Afterwards, the photographing device recognizes the orientation of the first object according to the sound according to the methods of steps 203 and 204, and further adjusts the orientation and field of view of the second camera, so that the first object becomes the current camera's shooting focus.
举例说明,结合图4,如图6中(A)所示,当手机检测到发出声音的拍摄对象c位于摄像头的可拍摄范围之外(位于可拍摄范围右边)时,提示用户“请向右调整镜头”,用户通过转动身体等方式,将手机向右转动,如图6中(B)所示,使对象c进入手机摄像头的拍摄范围内。之后,如图6中(C)所示,手机按照如图4所示的方法,将对象c作为当前镜头的拍摄焦点。For example, in conjunction with Figure 4, as shown in Figure 6 (A), when the mobile phone detects that the object c that emits sound is outside the camera's shooting range (located on the right side of the shooting range), the mobile phone prompts the user "Please right Adjust the lens", the user turns the phone to the right by turning the body, etc., as shown in (B) in Figure 6, so that the object c enters the shooting range of the phone's camera. After that, as shown in (C) of FIG. 6 , the mobile phone uses the object c as the shooting focus of the current lens according to the method shown in FIG. 4 .
如此,在发出声音的拍摄对象位于摄像头的可拍摄范围之外时,电子设备可以显示提示信息,用户可以根据该提示信息调整摄像头的朝向,进而使第一对象进入摄像头的拍摄范围内。In this way, when the sounding object is outside the shooting range of the camera, the electronic device can display prompt information, and the user can adjust the orientation of the camera according to the prompt information, thereby allowing the first object to enter the shooting range of the camera.
可选地,在本申请实施例中,为了拍摄剧情更加丰富,电子设备还可以将正在讲话的拍摄对象的讲话对象,与该拍摄对象同时作为拍摄焦点,显示在拍摄画面中。Optionally, in this embodiment of the present application, in order to have a richer shooting story, the electronic device may also display the speaking object of the speaking subject and the shooting subject as the shooting focus simultaneously on the shooting screen.
示例性地,上述步骤204之后,本申请实施例提供的拍摄方法,还可以包括以下步骤205b1至步骤205b3:Exemplarily, after the above step 204, the photographing method provided by this embodiment of the present application may further include the following steps 205b1 to 205b3:
步骤205b1、拍摄装置确定上述第一对象的视野焦点。Step 205b1, the photographing device determines the focus of the field of view of the first object.
其中,上述视野焦点用于指示第一对象注视的对象。例如,当第一对象与其他对象进行交谈时,需要用眼睛注视对方,此时,第一对象的视野焦点为该交谈对象。Wherein, the above-mentioned focus of the field of view is used to indicate the object that the first object is looking at. For example, when the first object is talking with other objects, it is necessary to keep an eye on the other object, and at this time, the focus of the first object's field of vision is the talking object.
步骤205b2、拍摄装置根据视野焦点,确定第一对象注视的第三对象。Step 205b2: The photographing device determines, according to the focus of the field of view, a third object that the first object is looking at.
步骤205b3、拍摄装置将上述摄像头的视场角从第二视场角调整为包括第一对象和所 述第三对象的第四视场角。Step 205b3: The photographing device adjusts the angle of view of the camera from the second angle of view to a fourth angle of view that includes the first object and the third object.
示例性地,拍摄装置根据第一对象的视野焦点,确定第一对象注视的第三对象,通常,该第三对象即为第一对象的讲话对象。之后,摄像头的视场角,扩大摄像头的拍摄范围,使第三对象进入摄像头的拍摄范围内。同时,拍摄装置还可以调整摄像头朝向,使第一对象和第三对象位于拍摄画面的中心。Exemplarily, the photographing device determines the third object that the first object is looking at according to the focus of the field of view of the first object, and generally, the third object is the speaking object of the first object. Afterwards, the field of view of the camera expands the shooting range of the camera, so that the third object enters the shooting range of the camera. At the same time, the photographing device can also adjust the orientation of the camera so that the first object and the third object are located in the center of the photographed picture.
如此,电子设备可以智能的将讲话者以及讲话对象同时纳入拍摄画面中,增加现场感。In this way, the electronic device can intelligently incorporate the speaker and the speaking object into the shooting picture at the same time, increasing the sense of presence.
可选地,在本申请实施例中,当电子设备检测到用户先要拉近或拉远镜头的意图时,可以通过调整焦距,自动实现镜头的拉近和远离。Optionally, in this embodiment of the present application, when the electronic device detects that the user intends to zoom in or zoom out the lens first, it can automatically realize the zooming in and out of the lens by adjusting the focal length.
示例性地,上述步骤204之后,本申请实施例提供的拍摄方法,还可以包括以下步骤205c1,和步骤205c2或步骤205c3:Exemplarily, after the above step 204, the photographing method provided by this embodiment of the present application may further include the following step 205c1, and step 205c2 or step 205c3:
步骤205c1、拍摄装置获取上述摄像头与上述第一对象之间的相对距离的距离信息;Step 205c1, the photographing device obtains the distance information of the relative distance between the above-mentioned camera and the above-mentioned first object;
步骤205c2、在上述距离信息指示所述相对距离减小的情况下,拍摄装置增大上述摄像头的焦距;Step 205c2, in the case that the above-mentioned distance information indicates that the relative distance is reduced, the photographing device increases the focal length of the above-mentioned camera;
或者,or,
步骤205c3、在上述距离信息指示所述相对距离增大的情况下,拍摄装置减小上述摄像头的焦距。Step 205c3: In the case that the above-mentioned distance information indicates that the relative distance increases, the photographing device reduces the focal length of the above-mentioned camera.
示例性地,当拍摄装置发生移动时,拍摄装置通过电子设备上设置的位置传感器,判断拍摄装置当前的位移方向与第一对象的相对位置关系。若当前拍摄装置正远离第一拍摄对象,则确定用户想要更大的视场角,使摄像头的拍摄范围更大,此时,拍摄装置可以自动减小摄像头的焦距,以增大摄像头的视场角,进而使得摄像头的拍摄范围更大。反之,当前拍摄装置正靠近第一拍摄对象,则确定用户想要更小的视场角,使摄像头的拍摄范围变小,突出拍摄主体,此时,拍摄装置可以自动增大摄像头的焦距,以减小摄像头的视场角,进而使得摄像头的拍摄范围更小。Exemplarily, when the photographing apparatus moves, the photographing apparatus determines the relative positional relationship between the current displacement direction of the photographing apparatus and the first object through a position sensor provided on the electronic device. If the current shooting device is far away from the first shooting object, it is determined that the user wants a larger field of view to make the shooting range of the camera larger. At this time, the shooting device can automatically reduce the focal length of the camera to increase the viewing angle of the camera. The field angle, which in turn makes the camera's shooting range larger. On the other hand, if the current shooting device is approaching the first object, it is determined that the user wants a smaller field of view, so that the shooting range of the camera is narrowed and the subject is highlighted. At this time, the shooting device can automatically increase the focal length of the camera to Reduce the field of view of the camera, thereby making the shooting range of the camera smaller.
举例说明,在不采用上述方案的情况下,达到同样的拍摄效果,用户需要移动5步,按照上述方案中的方法,用户仅需移动2-3步即可实现同样的拍摄效果,减少了用户的操作。For example, if the above solution is not adopted, to achieve the same shooting effect, the user needs to move 5 steps. According to the method in the above solution, the user only needs to move 2-3 steps to achieve the same shooting effect, reducing the number of users operation.
如此,电子设备可以在识别到用户扩大或减小拍摄范围的意图后,自动通过调整摄像 头焦距,扩大或减小摄像头的拍摄范围,减少用户的操作步骤。In this way, after recognizing the user's intention to expand or reduce the shooting range, the electronic device can automatically adjust the focal length of the camera to expand or reduce the shooting range of the camera, thereby reducing the user's operation steps.
本申请实施例提供的拍摄方法,当用户使用电子设备进行拍摄时,电子设备实时采集当前拍摄环境中的音频信号,若检测到某个拍摄对象发出声音,则根据该音频信息,确定发出声音的对象的方位信息,之后,基于该方位信息,电子设备自动调整摄像头的朝向及视场角,将该对象作为拍摄焦点,而无需用户进行任何操作,极大减少了用户的操作步骤。In the shooting method provided by the embodiment of the present application, when a user uses an electronic device to shoot, the electronic device collects the audio signal in the current shooting environment in real time, and if it is detected that a certain shooting object emits a sound, it is determined according to the audio information. The orientation information of the object, and then, based on the orientation information, the electronic device automatically adjusts the orientation and field of view of the camera, and uses the object as the focus of shooting, without requiring any operation by the user, which greatly reduces the user's operation steps.
需要说明的是,本申请实施例提供的拍摄方法,执行主体可以为拍摄装置,或者该拍摄装置中的用于执行拍摄方法的控制模块。本申请实施例中以拍摄装置执行拍摄方法为例,说明本申请实施例提供的拍摄装置。It should be noted that, in the photographing method provided by the embodiments of the present application, the executing subject may be a photographing device, or a control module in the photographing device for executing the photographing method. In the embodiment of the present application, the photographing device provided by the embodiment of the present application is described by taking the photographing method performed by the photographing device as an example.
需要说明的是,本申请实施例中,上述各个方法附图所示的。拍摄方法均是以结合本申请实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的拍摄方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present application, the above methods are shown in the accompanying drawings. The photographing methods are all illustratively described with reference to a figure in the embodiments of the present application as an example. During specific implementation, the shooting methods shown in the drawings of the above-mentioned methods can also be implemented in combination with any other drawings shown in the above-mentioned embodiments that can be combined, and details are not described herein again.
图7为实现本申请实施例提供的一种拍摄装置的可能的结构示意图,如图7所示,拍摄装置600包括:获取模块601、确定模块602和调整模块603;获取模块601,用于采集当前拍摄环境中的音频信号;确定模块602,用于根据获取模块601采集的音频信号,确定第一对象的方位信息,该第一对象为:发出上述音频信号指示的声音的对象;调整模块603,用于基于确定模块602确定的方位信息,调整摄像头的朝向至方位信息对应的方向;调整模块603,还用于将摄像头的视场角从第一视场角调整为以第一对象为拍摄焦点的第二视场角。FIG. 7 is a schematic diagram of a possible structure for implementing a photographing apparatus provided by an embodiment of the present application. As shown in FIG. 7 , the photographing apparatus 600 includes: an acquisition module 601 , a determination module 602 and an adjustment module 603 ; the acquisition module 601 is used for collecting The audio signal in the current shooting environment; the determination module 602 is used to determine the orientation information of the first object according to the audio signal collected by the acquisition module 601, and the first object is: the object that emits the sound indicated by the audio signal; the adjustment module 603 , is used to adjust the orientation of the camera to the direction corresponding to the orientation information based on the orientation information determined by the determination module 602; the adjustment module 603 is also used to adjust the field of view of the camera from the first field of view to the first object for shooting The second field of view of the focal point.
可选地,电子设备600,还包括:显示模块604和接收模块605;显示模块604,用于在拍摄预览界面中显示在第二视场角下的拍摄内容,并显示目标窗口,目标窗口和拍摄预览界面至少部分重叠,目标窗口中显示的拍摄内容包括N个拍摄对象,N≥1;接收用户对目标窗口中的第二对象的第一输入,第二对象为N个拍摄对象中的至少一个;接收模块605,接收用户对显示模块604显示的目标窗口中的第二对象的第一输入;显示模块604,还用于响应于接收模块605接收的第一输入,将拍摄预览界面显示的内容,切换为在第三视场角下的拍摄内容;其中,在第三视场角下,摄像头的拍摄焦点为第二对象。Optionally, the electronic device 600 further includes: a display module 604 and a receiving module 605; the display module 604 is configured to display the shooting content under the second field of view in the shooting preview interface, and display the target window, the target window and The shooting preview interface at least partially overlaps, and the shooting content displayed in the target window includes N shooting objects, N≥1; receiving a first input from the user to a second object in the target window, where the second object is at least one of the N shooting objects One; the receiving module 605 receives the user's first input to the second object in the target window displayed by the display module 604; the display module 604 is also used to respond to the first input received by the receiving module 605, and the shooting preview interface displays the first input. The content is switched to the shooting content under the third field of view angle; wherein, under the third field of view angle, the shooting focus of the camera is the second object.
可选地,显示模块604,用于在摄像头的可拍摄范围内不包括第一对象的情况下,显示提示信息,提示信息用于指示用户调整摄像头的朝向;接收模块605,用于接收用户调 整摄像头的朝向的第二输入;调整模块603,还用于响应于接收模块605接收的第二输入,将摄像头的朝向从第一朝向调整为第二朝向;其中,在摄像头的朝向为第二朝向时,摄像头的可拍摄范围内包括第一对象。Optionally, the display module 604 is used to display prompt information when the first object is not included in the shooting range of the camera, and the prompt information is used to instruct the user to adjust the orientation of the camera; the receiving module 605 is used to receive user adjustment. The second input of the orientation of the camera; the adjustment module 603 is further configured to adjust the orientation of the camera from the first orientation to the second orientation in response to the second input received by the receiving module 605; wherein, the orientation of the camera is the second orientation , the first object is included in the shooting range of the camera.
可选地,确定模块602,还用于确定第一对象的视野焦点,视野焦点用于指示第一对象注视的对象;确定模块602,还用于根据视野焦点,确定第一对象注视的第三对象;调整模块603,还用于将摄像头的视场角从第二视场角调整为包括第一对象和第三对象的第四视场角。Optionally, the determining module 602 is further configured to determine the visual field focus of the first object, and the visual field focus is used to indicate the object that the first object is looking at; object; the adjustment module 603 is further configured to adjust the field of view angle of the camera from the second field of view angle to the fourth field of view angle including the first object and the third object.
可选地,获取模块601,还用于获取摄像头与第一对象之间的相对距离的距离信息;调整模块603,还用于在获取模块601获取的距离信息指示相对距离减小的情况下,增大摄像头的焦距;或者,调整模块603,还用于在获取模块601获取的距离信息指示相对距离增大的情况下,减小摄像头的焦距。Optionally, the obtaining module 601 is further configured to obtain the distance information of the relative distance between the camera and the first object; the adjusting module 603 is further configured to obtain the relative distance when the distance information obtained by the obtaining module 601 indicates that the relative distance decreases, Increase the focal length of the camera; or, the adjustment module 603 is further configured to reduce the focal length of the camera when the distance information obtained by the obtaining module 601 indicates that the relative distance increases.
本申请实施例中的拍摄装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The photographing device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的拍摄装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The photographing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的拍摄装置能够实现图2至图6的方法实施例中拍摄装置实现的各个过程,为避免重复,这里不再赘述。The photographing apparatus provided in the embodiments of the present application can implement each process implemented by the photographing apparatus in the method embodiments of FIG. 2 to FIG. 6 , and to avoid repetition, details are not repeated here.
本申请实施例提供的拍摄装置,当用户使用电子设备进行拍摄时,电子设备实时采集当前拍摄环境中的音频信号,若检测到某个拍摄对象发出声音,则根据该音频信息,确定发出声音的对象的方位信息,之后,基于该方位信息,电子设备自动调整摄像头的朝向及视场角,将该对象作为拍摄焦点,而无需用户进行任何操作,极大减少了用户的操作步骤。In the shooting device provided by the embodiment of the present application, when a user uses an electronic device to shoot, the electronic device collects the audio signal in the current shooting environment in real time. The orientation information of the object, and then, based on the orientation information, the electronic device automatically adjusts the orientation and field of view of the camera, and uses the object as the focus of shooting, without requiring any operation by the user, which greatly reduces the user's operation steps.
可选的,本申请实施例还提供一种电子设备,包括处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的程序或指令,该程序或指令被处理器110执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a processor 110, a memory 109, a program or instruction stored in the memory 109 and executable on the processor 110, the program or instruction being processed by the processor When 110 is executed, each process of the above-mentioned embodiment of the shooting method is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请各个实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。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, etc. part.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
其中,传感器105,用于采集当前拍摄环境中的音频信号;处理器110,用于根据传感器105采集的音频信号,确定第一对象的方位信息,该第一对象为:发出上述音频信号指示的声音的对象;处理器110,用于基于处理器110确定的方位信息,调整摄像头的朝向至方位信息对应的方向;处理器110,还用于将摄像头的视场角从第一视场角调整为以第一对象为拍摄焦点的第二视场角。Among them, the sensor 105 is used to collect the audio signal in the current shooting environment; the processor 110 is used to determine the orientation information of the first object according to the audio signal collected by the sensor 105, and the first object is the one that sends out the above audio signal indication The object of the sound; the processor 110 is used to adjust the orientation of the camera to the direction corresponding to the orientation information based on the orientation information determined by the processor 110; the processor 110 is also used to adjust the field of view of the camera from the first field of view angle is the second field of view with the first object as the shooting focus.
如此,在电子设备进行拍摄时,实时采集当前拍摄环境中的音频信号,若检测到某个拍摄对象发出声音,则根据该音频信息,确定第一对象的方位信息,其中,该第一对象为:发出该音频信号指示的声音的对象。之后,基于该方位信息,调整摄像头的朝向至方位信息对应的方向,并将摄像头的视场角从第一视场角调整为以第一对象为拍摄焦点的第二视场角。使得电子设备能够自动通过声音调整拍摄镜头,减少用户手动调整镜头的操作步骤。In this way, when the electronic device is shooting, the audio signal in the current shooting environment is collected in real time, and if it is detected that a certain shooting object emits a sound, the orientation information of the first object is determined according to the audio information, wherein the first object is : The object that emits the sound indicated by this audio signal. Then, based on the azimuth information, the orientation of the camera is adjusted to the direction corresponding to the azimuth information, and the field of view of the camera is adjusted from the first field of view to the second field of view with the first object as the shooting focus. The electronic device can automatically adjust the shooting lens through the sound, thereby reducing the operation steps for the user to manually adjust the lens.
可选地,电子设备600,还包括:显示单元106和用户输入单元107;显示单元106,用于在拍摄预览界面中显示在第二视场角下的拍摄内容,并显示目标窗口,目标窗口和拍 摄预览界面至少部分重叠,目标窗口中显示的拍摄内容包括N个拍摄对象,N≥1;接收用户对目标窗口中的第二对象的第一输入,第二对象为N个拍摄对象中的至少一个;用户输入单元107,接收用户对显示单元106显示的目标窗口中的第二对象的第一输入;显示单元106,还用于响应于用户输入单元107接收的第一输入,将拍摄预览界面显示的内容,切换为在第三视场角下的拍摄内容;其中,在第三视场角下,摄像头的拍摄焦点为第二对象。Optionally, the electronic device 600 further includes: a display unit 106 and a user input unit 107; the display unit 106 is configured to display the shooting content under the second field of view in the shooting preview interface, and display the target window, the target window At least partially overlapping with the shooting preview interface, the shooting content displayed in the target window includes N shooting objects, N≥1; receiving the first input from the user to the second object in the target window, and the second object is one of the N shooting objects. At least one: the user input unit 107, which receives the first input from the user to the second object in the target window displayed by the display unit 106; The content displayed on the interface is switched to the shooting content under the third field of view angle; wherein, under the third field of view angle, the shooting focus of the camera is the second object.
如此,用户可以通过点击拍摄预览界面中显示的窗口中的任一拍摄对象,切换电子设备的拍摄焦点。In this way, the user can switch the shooting focus of the electronic device by clicking on any shooting object in the window displayed in the shooting preview interface.
可选地,显示单元106,用于在摄像头的可拍摄范围内不包括第一对象的情况下,显示提示信息,提示信息用于指示用户调整摄像头的朝向;用户输入单元107,用于接收用户调整摄像头的朝向的第二输入;处理器110,还用于响应于用户输入单元107接收的第二输入,将摄像头的朝向从第一朝向调整为第二朝向;其中,在摄像头的朝向为第二朝向时,摄像头的可拍摄范围内包括第一对象。Optionally, the display unit 106 is used to display prompt information when the first object is not included in the shooting range of the camera, and the prompt information is used to instruct the user to adjust the orientation of the camera; the user input unit 107 is used to receive the user A second input for adjusting the orientation of the camera; the processor 110 is further configured to adjust the orientation of the camera from the first orientation to the second orientation in response to the second input received by the user input unit 107; wherein, the orientation of the camera is the first orientation When facing the second direction, the first object is included in the shooting range of the camera.
如此,在发出声音的拍摄对象位于摄像头的可拍摄范围之外时,电子设备可以显示提示信息,用户可以根据该提示信息调整摄像头的朝向,进而使第一对象进入摄像头的拍摄范围内。In this way, when the sounding object is outside the shooting range of the camera, the electronic device can display prompt information, and the user can adjust the orientation of the camera according to the prompt information, thereby allowing the first object to enter the shooting range of the camera.
可选地,处理器110,还用于确定第一对象的视野焦点,视野焦点用于指示第一对象注视的对象;处理器110,还用于根据视野焦点,确定第一对象注视的第三对象;处理器110,还用于将摄像头的视场角从第二视场角调整为包括第一对象和第三对象的第四视场角。Optionally, the processor 110 is further configured to determine the visual field focus of the first object, and the visual field focus is used to indicate the object that the first object is looking at; object; the processor 110 is further configured to adjust the field of view angle of the camera from the second field of view angle to a fourth field of view angle including the first object and the third object.
如此,电子设备可以智能的将讲话者以及讲话对象同时纳入拍摄画面中,增加现场感。In this way, the electronic device can intelligently incorporate the speaker and the speaking object into the shooting picture at the same time, increasing the sense of presence.
可选地,传感器105,还用于获取摄像头与第一对象之间的相对距离的距离信息;处理器110,还用于在传感器105获取的距离信息指示相对距离减小的情况下,增大摄像头的焦距;或者,处理器110,还用于在传感器105获取的距离信息指示相对距离增大的情况下,减小摄像头的焦距。Optionally, the sensor 105 is further configured to acquire distance information of the relative distance between the camera and the first object; the processor 110 is further configured to increase the relative distance when the distance information acquired by the sensor 105 indicates that the relative distance decreases The focal length of the camera; or, the processor 110 is further configured to reduce the focal length of the camera when the distance information obtained by the sensor 105 indicates that the relative distance increases.
如此,电子设备可以在识别到用户扩大或减小拍摄范围的意图后,自动通过调整摄像头焦距,扩大或减小摄像头的拍摄范围,减少用户的操作步骤。In this way, after recognizing the user's intention to expand or reduce the shooting range, the electronic device can automatically adjust the focal length of the camera to expand or reduce the shooting range of the camera, thereby reducing the user's operation steps.
本申请实施例提供的电子设备,当用户使用电子设备进行拍摄时,电子设备实时采集当前拍摄环境中的音频信号,若检测到某个拍摄对象发出声音,则根据该音频信息,确定发出声音的对象的方位信息,之后,基于该方位信息,电子设备自动调整摄像头的朝向及视场角,将该对象作为拍摄焦点,而无需用户进行任何操作,极大减少了用户的操作步骤。In the electronic device provided by the embodiment of the present application, when the user uses the electronic device to shoot, the electronic device collects the audio signal in the current shooting environment in real time. The orientation information of the object, and then, based on the orientation information, the electronic device automatically adjusts the orientation and field of view of the camera, and uses the object as the focus of shooting, without requiring any operation by the user, which greatly reduces the user's operation steps.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。It should be understood that, in this embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above-mentioned embodiments of the shooting method can be achieved, and the same can be achieved. The technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An 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 of the foregoing shooting method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非 排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (15)

  1. 一种拍摄方法,所述方法包括:A shooting method, the method includes:
    采集当前拍摄环境中的音频信号;Collect audio signals in the current shooting environment;
    根据所述音频信号,确定第一对象的方位信息,所述第一对象为:发出所述音频信号指示的声音的对象;According to the audio signal, determine the orientation information of the first object, where the first object is: the object that emits the sound indicated by the audio signal;
    基于所述方位信息,调整摄像头的朝向至所述方位信息对应的方向;Based on the orientation information, adjust the orientation of the camera to the direction corresponding to the orientation information;
    将摄像头的视场角从第一视场角调整为以所述第一对象为拍摄焦点的第二视场角。The angle of view of the camera is adjusted from the first angle of view to the second angle of view with the first object as the shooting focus.
  2. 根据权利要求1所述的方法,其中,所述将摄像头的视场角从第一视场角调整为以所述第一对象为拍摄焦点的第二视场角之后,所述方法还包括:The method according to claim 1, wherein after adjusting the field of view of the camera from the first angle of view to the second angle of view with the first object as the shooting focus, the method further comprises:
    在拍摄预览界面中显示在所述第二视场角下的拍摄内容,并显示目标窗口,所述目标窗口和所述拍摄预览界面至少部分重叠,所述目标窗口中显示的拍摄内容包括N个拍摄对象,N≥1;The shooting content under the second field of view is displayed in the shooting preview interface, and a target window is displayed, the target window and the shooting preview interface at least partially overlap, and the shooting content displayed in the target window includes N subject, N≥1;
    接收用户对所述目标窗口中的第二对象的第一输入,所述第二对象为所述N个拍摄对象中的至少一个;receiving a first input from a user to a second object in the target window, where the second object is at least one of the N shooting objects;
    响应于所述第一输入,将所述拍摄预览界面显示的内容,切换为在第三视场角下的拍摄内容;In response to the first input, the content displayed on the shooting preview interface is switched to the shooting content under the third field of view;
    其中,在所述第三视场角下,所述摄像头的拍摄焦点为所述第二对象。Wherein, under the third angle of view, the shooting focus of the camera is the second object.
  3. 根据权利要求1或2所述的方法,其中,所述基于所述方位信息,调整所述摄像头的朝向至所述方位信息对应的方向之前,所述方法还包括:The method according to claim 1 or 2, wherein, before adjusting the orientation of the camera to the direction corresponding to the orientation information based on the orientation information, the method further comprises:
    在所述摄像头的可拍摄范围内不包括所述第一对象的情况下,显示提示信息,所述提示信息用于指示用户调整所述摄像头的朝向;In the case that the first object is not included in the shooting range of the camera, displaying prompt information, where the prompt information is used to instruct the user to adjust the orientation of the camera;
    接收用户调整所述摄像头的朝向的第二输入;receiving a second input from the user to adjust the orientation of the camera;
    响应于所述第二输入,将所述摄像头的朝向从第一朝向调整为第二朝向;in response to the second input, adjusting the orientation of the camera from the first orientation to the second orientation;
    其中,在所述摄像头的朝向为第二朝向时,所述摄像头的可拍摄范围内包括所述第一对象。Wherein, when the orientation of the camera is the second orientation, the photographable range of the camera includes the first object.
  4. 根据权利要求1或2所述的方法,其中,所述将摄像头的视场角从第一视场角 调整为以所述第一对象为拍摄焦点的第二视场角之后,所述方法还包括:The method according to claim 1 or 2, wherein after adjusting the angle of view of the camera from the first angle of view to the second angle of view with the first object as the shooting focus, the method further include:
    确定所述第一对象的视野焦点,所述视野焦点用于指示所述第一对象注视的对象;determining the focus of the field of view of the first object, where the focus of the field of view is used to indicate the object that the first object is looking at;
    根据所述视野焦点,确定所述第一对象注视的第三对象;determining the third object that the first object is looking at according to the focus of the field of view;
    将所述摄像头的视场角从所述第二视场角调整为包括所述第一对象和所述第三对象的第四视场角。Adjusting the angle of view of the camera from the second angle of view to a fourth angle of view including the first object and the third object.
  5. 根据权利要求1或2所述的方法,其中,所述将摄像头的视场角从第一视场角调整为以所述第一对象为拍摄焦点的第二视场角之后,所述方法还包括:The method according to claim 1 or 2, wherein after adjusting the angle of view of the camera from the first angle of view to the second angle of view with the first object as the shooting focus, the method further include:
    获取所述摄像头与所述第一对象之间的相对距离的距离信息;obtaining distance information of the relative distance between the camera and the first object;
    在所述距离信息指示所述相对距离减小的情况下,增大所述摄像头的焦距;In the case that the distance information indicates that the relative distance decreases, increasing the focal length of the camera;
    或者,or,
    在所述距离信息指示所述相对距离增大的情况下,减小所述摄像头的焦距。In the case where the distance information indicates that the relative distance is increased, the focal length of the camera is decreased.
  6. 一种拍摄装置,所述装置包括:获取模块、确定模块和调整模块;A photographing device, the device comprising: an acquisition module, a determination module and an adjustment module;
    所述获取模块,用于采集当前拍摄环境中的音频信号;The acquisition module is used to collect audio signals in the current shooting environment;
    所述确定模块,用于根据所述获取模块采集的音频信号,确定第一对象的方位信息;所述第一对象为:发出所述音频信号指示的声音的对象;The determining module is configured to determine the orientation information of the first object according to the audio signal collected by the acquiring module; the first object is: the object that emits the sound indicated by the audio signal;
    所述调整模块,用于基于所述确定模块确定的方位信息,调整摄像头的朝向至所述方位信息对应的方向;The adjustment module is configured to adjust the orientation of the camera to the direction corresponding to the orientation information based on the orientation information determined by the determination module;
    所述调整模块,还用于将摄像头的视场角从第一视场角调整为以所述第一对象为拍摄焦点的第二视场角。The adjustment module is further configured to adjust the angle of view of the camera from the first angle of view to the second angle of view with the first object as the shooting focus.
  7. 根据权利要求6所述的装置,其中,所述装置还包括:显示模块和接收模块;The device according to claim 6, wherein the device further comprises: a display module and a receiving module;
    所述显示模块,用于在拍摄预览界面中显示在所述第二视场角下的拍摄内容,并显示目标窗口,所述目标窗口和所述拍摄预览界面至少部分重叠,所述目标窗口中显示的拍摄内容包括N个拍摄对象,N≥1;The display module is configured to display the shooting content under the second field of view in the shooting preview interface, and display a target window, the target window and the shooting preview interface at least partially overlap, and the target window is at least partially overlapping. The displayed shooting content includes N shooting objects, N≥1;
    接收用户对所述目标窗口中的第二对象的第一输入,所述第二对象为所述N个拍摄对象中的至少一个;receiving a first input from a user to a second object in the target window, where the second object is at least one of the N shooting objects;
    所述接收模块,接收用户对所述显示模块显示的目标窗口中的第二对象的第一输入;The receiving module receives the first input from the user to the second object in the target window displayed by the display module;
    所述显示模块,还用于响应于所述接收模块接收的第一输入,将所述拍摄预览界面显示的内容,切换为在第三视场角下的拍摄内容;The display module is further configured to, in response to the first input received by the receiving module, switch the content displayed on the shooting preview interface to the shooting content under the third field of view;
    其中,在所述第三视场角下,所述摄像头的拍摄焦点为所述第二对象。Wherein, under the third angle of view, the shooting focus of the camera is the second object.
  8. 根据权利要求6或7所述的装置,其中,所述装置还包括:显示模块和接收模块;The device according to claim 6 or 7, wherein the device further comprises: a display module and a receiving module;
    所述显示模块,用于在所述摄像头的可拍摄范围内不包括所述第一对象的情况下,显示提示信息,所述提示信息用于指示用户调整所述摄像头的朝向;the display module, configured to display prompt information when the first object is not included in the shooting range of the camera, where the prompt information is used to instruct the user to adjust the orientation of the camera;
    所述接收模块,用于接收用户调整所述摄像头的朝向的第二输入;the receiving module, configured to receive a second input from a user to adjust the orientation of the camera;
    所述调整模块,还用于响应于所述接收模块接收的第二输入,将所述摄像头的朝向从第一朝向调整为第二朝向;The adjusting module is further configured to adjust the orientation of the camera from the first orientation to the second orientation in response to the second input received by the receiving module;
    其中,在所述摄像头的朝向为第二朝向时,所述摄像头的可拍摄范围内包括所述第一对象。Wherein, when the orientation of the camera is the second orientation, the photographable range of the camera includes the first object.
  9. 根据权利要求6或7所述的装置,其中,所述确定模块,还用于所述调整模块在将摄像头的视场角从第一视场角调整为以所述第一对象为拍摄焦点的第二视场角之后,确定所述第一对象的视野焦点,所述视野焦点用于指示所述第一对象注视的对象;并根据所述视野焦点,确定所述第一对象注视的第三对象;The device according to claim 6 or 7, wherein the determining module is further configured for the adjusting module to adjust the field of view of the camera from the first field of view to the first object as the shooting focus. After the second field of view angle, the visual field focus of the first object is determined, and the visual field focus is used to indicate the object that the first object is watching; and according to the visual field focus, the third visual field focus of the first object is determined object;
    所述调整模块,还用于将所述摄像头的视场角从所述第二视场角调整为包括所述第一对象和所述第三对象的第四视场角。The adjustment module is further configured to adjust the angle of view of the camera from the second angle of view to a fourth angle of view including the first object and the third object.
  10. 根据权利要求6或7所述的装置,其中,所述获取模块,还用于调整模块在将摄像头的视场角从第一视场角调整为以所述第一对象为拍摄焦点的第二视场角之后,获取所述摄像头与所述第一对象之间的相对距离的距离信息;The device according to claim 6 or 7, wherein the acquisition module is further configured to adjust the field of view of the camera from the first field of view to the second field of view with the first object as the focus After the angle of view, obtain the distance information of the relative distance between the camera and the first object;
    所述调整模块,还用于在所述距离信息指示所述相对距离减小的情况下,增大所述摄像头的焦距;The adjustment module is further configured to increase the focal length of the camera when the distance information indicates that the relative distance decreases;
    或者,or,
    在所述距离信息指示所述相对距离增大的情况下,减小所述摄像头的焦距。In the case where the distance information indicates that the relative distance is increased, the focal length of the camera is decreased.
  11. 一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权 利要求1至5中任一项所述的拍摄方法的步骤。An electronic device, characterized in that it includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and when the program or instruction is executed by the processor, the The steps of the photographing method described in any one of requirements 1 to 5.
  12. 一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的拍摄方法的步骤。A readable storage medium, characterized in that a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the shooting method according to any one of claims 1 to 5 is realized. step.
  13. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的拍摄方法。A computer program product, the program product being executed by at least one processor to implement the photographing method according to any one of claims 1 to 5.
  14. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的拍摄方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction to realize the shooting according to any one of claims 1 to 5 method.
  15. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至5中任一项所述的拍摄方法。An electronic device, comprising the electronic device configured to perform the photographing method of any one of claims 1 to 5.
PCT/CN2021/138689 2020-12-21 2021-12-16 Photographing method and apparatus, electronic device and readable storage medium WO2022135260A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011519336.0A CN112637495B (en) 2020-12-21 2020-12-21 Shooting method, shooting device, electronic equipment and readable storage medium
CN202011519336.0 2020-12-21

Publications (1)

Publication Number Publication Date
WO2022135260A1 true WO2022135260A1 (en) 2022-06-30

Family

ID=75320728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/138689 WO2022135260A1 (en) 2020-12-21 2021-12-16 Photographing method and apparatus, electronic device and readable storage medium

Country Status (2)

Country Link
CN (1) CN112637495B (en)
WO (1) WO2022135260A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637495B (en) * 2020-12-21 2022-06-17 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN113329138A (en) * 2021-06-03 2021-08-31 维沃移动通信有限公司 Video shooting method, video playing method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681644A (en) * 2014-11-20 2016-06-15 中兴通讯股份有限公司 Focal distance adjusting method and device and terminal
CN110072070A (en) * 2019-03-18 2019-07-30 华为技术有限公司 A kind of multi-channel video recording method and device
CN110445978A (en) * 2019-06-24 2019-11-12 华为技术有限公司 Shooting method and equipment
US20190392831A1 (en) * 2019-06-28 2019-12-26 Intel Corporation Voice controlled camera with ai scene detection for precise focusing
CN111445413A (en) * 2020-03-27 2020-07-24 Oppo广东移动通信有限公司 Image processing method, device, electronic device and storage medium
CN111541845A (en) * 2020-04-30 2020-08-14 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN111901524A (en) * 2020-07-22 2020-11-06 维沃移动通信有限公司 Focusing method and device and electronic equipment
CN112637495A (en) * 2020-12-21 2021-04-09 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004132759A (en) * 2002-10-09 2004-04-30 Sony Corp Three-dimensional image generating data imaging device, three-dimensional image generating data imaging method, and computer program
CN104580992B (en) * 2014-12-31 2018-01-23 广东欧珀移动通信有限公司 A kind of control method and mobile terminal
WO2017066992A1 (en) * 2015-10-23 2017-04-27 深圳市柔宇科技有限公司 Head-mounted display device, and prompt information display system and method
CN108151709B (en) * 2016-12-06 2020-07-10 百度在线网络技术(北京)有限公司 Positioning method and device applied to terminal
WO2018232688A1 (en) * 2017-06-22 2018-12-27 深圳市大疆创新科技有限公司 Method for controlling photography device, photography device, and system
CN207720301U (en) * 2017-12-19 2018-08-10 中咨公路工程监理咨询有限公司 A kind of construction site video monitoring system
CN111708383A (en) * 2020-07-01 2020-09-25 海信视像科技股份有限公司 Method for adjusting shooting angle of camera and display device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681644A (en) * 2014-11-20 2016-06-15 中兴通讯股份有限公司 Focal distance adjusting method and device and terminal
CN110072070A (en) * 2019-03-18 2019-07-30 华为技术有限公司 A kind of multi-channel video recording method and device
CN110445978A (en) * 2019-06-24 2019-11-12 华为技术有限公司 Shooting method and equipment
US20190392831A1 (en) * 2019-06-28 2019-12-26 Intel Corporation Voice controlled camera with ai scene detection for precise focusing
CN111445413A (en) * 2020-03-27 2020-07-24 Oppo广东移动通信有限公司 Image processing method, device, electronic device and storage medium
CN111541845A (en) * 2020-04-30 2020-08-14 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN111901524A (en) * 2020-07-22 2020-11-06 维沃移动通信有限公司 Focusing method and device and electronic equipment
CN112637495A (en) * 2020-12-21 2021-04-09 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN112637495B (en) 2022-06-17
CN112637495A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN111541845B (en) Image processing method and device and electronic equipment
US11108953B2 (en) Panoramic photo shooting method and apparatus
US7990421B2 (en) Arrangement and method relating to an image recording device
CN103901901B (en) A kind of screen rotation method and device of video terminal
WO2022089284A1 (en) Photographing processing method and apparatus, electronic device, and readable storage medium
CN111901524B (en) Focusing method, apparatus and electronic device
CN109905603B (en) Shooting processing method and mobile terminal
CN112689094B (en) Camera anti-shake prompting method and device and electronic equipment
US20110013072A1 (en) Method and apparatus for manual focusing in portable terminal
US11962897B2 (en) Camera movement control method and apparatus, device, and storage medium
CN111970456A (en) Shooting control method, device, equipment and storage medium
WO2022135260A1 (en) Photographing method and apparatus, electronic device and readable storage medium
CN112954214A (en) Shooting method and device, electronic equipment and storage medium
CN113840070A (en) Shooting method, shooting device, electronic equipment and medium
CN112312042A (en) Display control method, display control device, electronic equipment and storage medium
WO2022161340A1 (en) Image display method and apparatus, and electronic device
CN111031248A (en) Shooting method and electronic equipment
CN110769156A (en) Image display method and electronic device
CN113727021A (en) Shooting method and device and electronic equipment
CN114422687B (en) Preview image switching method and device, electronic equipment and storage medium
CN115550538B (en) Tracking shooting method, device and medium
US11632495B2 (en) Method and apparatus for adjusting sound volume in shooting process
CN112291471B (en) Shooting control method, shooting control device, electronic device and readable storage medium
CN107820009A (en) Image capture method and mobile terminal
CN108965709B (en) A focusing method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21909256

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21909256

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13/02/2024)

122 Ep: pct application non-entry in european phase

Ref document number: 21909256

Country of ref document: EP

Kind code of ref document: A1