CN112637495A - Shooting method, shooting device, electronic equipment and readable storage medium - Google Patents
Shooting method, shooting device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN112637495A CN112637495A CN202011519336.0A CN202011519336A CN112637495A CN 112637495 A CN112637495 A CN 112637495A CN 202011519336 A CN202011519336 A CN 202011519336A CN 112637495 A CN112637495 A CN 112637495A
- Authority
- CN
- China
- Prior art keywords
- shooting
- camera
- orientation
- angle
- view
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000005236 sound signal Effects 0.000 claims abstract description 39
- 230000004044 response Effects 0.000 claims description 10
- 230000000007 visual effect Effects 0.000 claims description 7
- 230000007423 decrease Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 abstract description 7
- 238000003384 imaging method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 206010011469 Crying Diseases 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/675—Focus control based on electronic image sensor signals comprising setting of focusing regions
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/695—Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
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 application discloses a shooting method, a shooting device, electronic equipment and a readable storage medium, belongs to the technical field of communication, and can solve the problem of complex operation when a shooting object is frequently changed in the shooting process. The method comprises the following steps: collecting audio signals in a current shooting environment; determining, from the audio signal, orientation information of a first object, the first object being: an object emitting sound indicated by an audio signal; based on the azimuth information, adjusting the direction of the camera to the direction corresponding to the azimuth information; the angle of view of the camera is adjusted from a first angle of view to a second angle of view with the first object as a shooting focus. The embodiment of the application is applied to a scene that a user uses the electronic equipment to shoot.
Description
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a shooting method, a shooting device, electronic equipment and a readable storage medium.
Background
With the development of shooting technology, the shooting function of electronic equipment is more and more powerful, and the frequency of using the shooting function by users is higher and higher.
In the related art, when a user uses the electronic device to shoot, the user can adjust the shooting angle of the camera or the focal length of the camera by manually controlling the electronic device to continuously switch the lens when shooting different objects according to the needs of shooting scenes, so that the person body of each shooting scene is highlighted, and the scene feeling is increased.
However, when the electronic device changes the shooting object each time, the user is required to manually adjust the shooting angle or the focal length of the camera, which results in a complicated shooting process and low shooting efficiency.
Disclosure of Invention
An object of the embodiments of the present application is to provide a shooting method, an apparatus, an electronic device, and a readable storage medium, which can solve the problem of complicated operation when a shooting object is changed during shooting.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, where the method includes: collecting audio signals in a current shooting environment; determining orientation information of the first object from the audio signal; the first object is: an object emitting sound indicated by an audio signal; based on the azimuth information, adjusting the direction of the camera to the direction corresponding to the azimuth information; the angle of view of the camera is adjusted from a first angle of view to a second angle of view with the first object as a shooting focus.
In a second aspect, an embodiment of the present application further provides a shooting apparatus, including: the device comprises an acquisition module, a determination module and an adjustment module; the acquisition module is used for acquiring audio signals in the current shooting environment; the determining module is used for determining the azimuth information of a first object according to the audio signal acquired by the acquiring module, wherein the first object is as follows: an object emitting sound indicated by the audio signal; the adjusting module is used for adjusting the direction of the camera to the direction corresponding to the azimuth information based on the azimuth information determined by the determining module; and the adjusting module is also used for adjusting the field angle of the camera from the first field angle to a second field angle taking the first object as a shooting focus.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the shooting method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this application embodiment, when the electronic device performs shooting, the audio signal in the current shooting environment is collected in real time, and if it is detected that a certain shooting object makes a sound, the direction information of the first object is determined to be sent according to the audio information, where the first object is: an object that emits a sound indicated by an audio signal. Then, based on the orientation information, the orientation of the camera is adjusted to a direction corresponding to the orientation information, and the angle of view of the camera is adjusted from a first angle of view to a second angle of view with the first object as a shooting focus. The electronic equipment can automatically adjust the shooting lens through sound, and the operation steps of manually adjusting the lens by a user are reduced.
Drawings
Fig. 1 is a schematic diagram of a shooting method in the related art provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of a shooting method provided in an embodiment of the present application;
fig. 3 is a schematic view of an angle of view provided by an embodiment of the present application;
fig. 4 is one of schematic diagrams of an interface applied by a shooting method according to an embodiment of the present disclosure;
fig. 5 is a second schematic diagram of an interface applied in a shooting method according to an embodiment of the present disclosure;
fig. 6 is a third schematic view of an interface applied by a shooting method according to the embodiment of the present application;
fig. 7 is a schematic structural diagram of a shooting device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method provided by the embodiment of the application can be applied to scenes in which a user uses the electronic equipment to shoot.
For example, for a scene shot by a user using an electronic device, in the related art, the user may often manually switch a lens for a scenario, and take a subject currently speaking as a shooting focus. For example, as shown in fig. 1, in order to provide an operation diagram for a user to capture a video using a mobile phone, a capture lens 1 shown in (a) of fig. 1 includes three capture objects (object a, object B, and object c), and when the object a speaks, the user can adjust the field angle of the camera of the mobile phone by manual zooming on a capture interface to set the object a as a capture object, as shown in (B) of fig. 1, in order to highlight a person. However, the above process requires manual operation by the user, and when the number of times of lens switching is large, the operation is cumbersome and inconvenient.
In view of this problem, in the technical solution provided in this embodiment of the application, when a user uses a mobile phone to perform shooting, the mobile phone collects an audio signal in a current shooting environment in real time, and if it is detected that a certain shooting object makes a sound (for example, it is detected that the object a makes a sound), the direction information of the object a making a sound is determined according to the audio information, and then, based on the direction information, the mobile phone automatically adjusts the orientation and the angle of view of the camera, zooms in and takes the object a as a shooting focus, without any operation performed by the user, thereby greatly reducing the operation steps of the user.
The shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 2, a shooting method provided in an embodiment of the present application may include the following steps 201 to 204:
Illustratively, the shooting device collects audio signals in a shooting environment where the shooting device is currently located in real time through a plurality of microphones arranged on the electronic equipment.
Wherein, the first object is: an object that emits a sound indicated by an audio signal.
For example, after the shooting device acquires the audio signal collected by the microphone, the shooting device analyzes and identifies the audio signal, and if the audio signal contains the sound (including the sounds of speaking, laughing, crying and the like) emitted by a person, the shooting device determines the direction of the shooting object emitting the sound. Specifically, the photographing apparatus may determine a specific orientation of a photographing object that emits a sound according to a time difference in which the plurality of microphones provided on the electronic device receive the audio signal.
And step 203, the shooting device adjusts the orientation of the camera to the direction corresponding to the orientation information based on the orientation information.
In step 204, the imaging device adjusts the field angle of the camera from a first field angle to a second field angle with the first object as the imaging focus.
The first angle of view is, for example, an angle of view before the camera performs the angle of view adjustment.
It should be noted that, as shown in fig. 3, which is a schematic view of the angle of view of the camera, the light collected by the camera passes through the camera center point 31 and is then projected onto the image sensor 32, and the camera completes image collection. Wherein, the angle A is the visual field angle of the camera, and the angle B is the visual field diameter of the camera. The size of the field of view determines the field of view of the camera, and the larger the field of view, the larger the field of view of the camera. Meanwhile, the field angle of the camera can be adjusted by adjusting the focal length of the camera.
For example, in the embodiment of the present application, the orientation of the camera may be adjusted by using a handheld pan/tilt or a camera with a micro pan/tilt, and further, the camera in the embodiment of the present application is a camera with a micro pan/tilt function, and the orientation of the camera may be adjusted by using the rotation of the micro pan/tilt to adjust the shooting content of the camera.
In the shooting method shown in fig. 1, when the user zooms in to zoom in on the video screen of the object a, the essence of the electronic device that cannot change the orientation of the camera is that the image of the object a is zoomed in by means of digital zooming while the focal length of the camera is increased, and thus the image sharpness is degraded. While for an electronic device that can change the orientation of the camera, the way of enlarging the image of the object a is optical zooming, and in the case of taking the same picture as above, the picture is more clear.
For example, the imaging device automatically adjusts the orientation of the camera to be aligned with the first imaging target after acquiring the orientation information of the first imaging target, and then the imaging device adjusts the angle of view of the camera to bring the first imaging target to the imaging focus of the current lens. It is understood that the above-described shooting focus is a shooting picture in which the first photographic subject is the subject of shooting.
For example, referring to fig. 1, as shown in (a) and (B) of fig. 4, when a user uses a mobile phone to capture a video, if the mobile phone detects that a subject a is speaking, the orientation of the camera is adjusted by the micro-cloud platform, so that the camera is directed to the subject a, and then the angle of view of the camera is adjusted, so that the subject a is the current capture focus.
Therefore, when the electronic equipment shoots, the audio signals in the current shooting environment are collected in real time, if a certain shooting object is detected to make a sound, the azimuth information of the first object is determined according to the audio information, wherein the first object is as follows: an object that emits a sound indicated by an audio signal. Then, based on the orientation information, the orientation of the camera is adjusted to a direction corresponding to the orientation information, and the angle of view of the camera is adjusted from a first angle of view to a second angle of view with the first object as a shooting focus. The electronic equipment can automatically adjust the shooting lens through sound, and the operation steps of manually adjusting the lens by a user are reduced.
Optionally, in this embodiment of the application, after the electronic device automatically adjusts the current shooting lens, a picture shot by the wide-angle lens may be displayed on the shooting preview interface, and a user may click a certain shooting object in the picture, so that the electronic device uses the object as a shooting focus.
After the step 204, the shooting method provided in the embodiment of the present application may further include the following steps 205a1 to 205a 3:
in step 205a1, the image pickup apparatus displays the pickup content at the second field angle in the pickup preview interface, and displays the target window.
The target window and the shooting preview interface are at least partially overlapped, the shooting content displayed in the target window comprises N shooting objects, and N is larger than or equal to 1.
Illustratively, the shooting picture displayed in the target window may be: the wide-angle lens of the electronic equipment shoots pictures.
Step 205a2, the camera receives a first input from a user to a second object in the target window.
Wherein the second object is at least one of the N photographic objects.
In step 205a3, the image capture device switches the content displayed on the capture preview interface to capture content at the third field angle in response to the first input.
And under the third angle of view, the shooting focus of the camera is a second object.
In the embodiment of the present application, before the imaging device changes the imaging target, the orientation of the camera needs to be adjusted so as to be aligned with a new imaging target.
Illustratively, the first input may be: the input of the user on the screen of the electronic device, or the voice instruction input by the user, or the specific gesture input by the user may be determined according to the actual use requirement, and the embodiment of the present invention is not limited. Illustratively, the first input may be a click input of the second object displayed in the target window by the user.
For example, after receiving the second input from the user, the camera identifies the shooting object within the user's click range through image recognition, and then controls the camera to face the shooting object (i.e., the second object) and takes the shooting object as the current shooting focus by adjusting the angle of view.
For example, referring to 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 a shooting preview screen of the wide-angle lens of the mobile phone, and after the user clicks an object c displayed in the window 51, as shown in fig. 5 (B), the mobile phone switches the shooting preview screen in the shooting preview interface to a screen with the object c as a shooting focus.
In this way, the user can switch the shooting focus of the electronic device by clicking any one of the shooting objects in the window displayed in the shooting preview interface.
Optionally, in this embodiment of the application, since the adjustment range of the micro-pan-tilt is limited, when the object emitting 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 rotating the body.
For example, before the step 203, the shooting method provided in the embodiment of the present application may further include the following steps 203a1 to 203a 3:
in step 203a1, when the first object is not included in the range of the camera, the camera displays a prompt message.
The prompt information is used for indicating a user to adjust the orientation of the camera.
It can be understood that the shooting range of the camera is as follows: in the case where the electronic device remains stationary, the camera can be adjusted toward the maximum range of the shot by the micro-cloud stage.
Illustratively, when the camera is adjusted to the direction through the micro cloud platform and the first object can not be shot, the shooting device displays the prompt message.
In step 203a2, the camera receives a second input from the user to adjust the orientation of the camera.
For example, the second input may be an input for adjusting the orientation of the camera by a user by rotating a body or adjusting the orientation of the electronic device.
In step 203a3, the image capture device adjusts the orientation of the camera from a first orientation to a second orientation in response to the second input.
When the orientation of the camera is a second orientation, the first object is included in the shooting range of the camera.
For example, after the user adjusts the orientation of the camera, the camera may capture the first object. Then, the imaging apparatus recognizes the direction of the first object from the voice according to the methods of step 203 and step 204, and further adjusts the orientation and the angle of view of the second camera so that the first object is the current imaging focus of the camera.
For example, referring to fig. 4, as shown in fig. 6 (a), when the mobile phone detects that the shooting object c emitting sound is located outside the shooting range of the camera (located on the right side of the shooting range), the user is prompted to "please adjust the lens to the right", and the user turns the mobile phone to the right by turning his body, etc., as shown in fig. 6 (B), so that the object c enters the shooting range of the camera of the mobile phone. Thereafter, as shown in fig. 6 (C), the mobile phone takes the object C as the shooting focus of the current lens in the method shown in fig. 4.
Therefore, when the shooting object which makes sound is located outside the shooting range of the camera, the electronic equipment can display prompt information, and a user can adjust the direction of the camera according to the prompt information, so that the first object enters the shooting range of the camera.
Optionally, in this embodiment of the application, in order to capture a richer scenario, the electronic device may further display a speaking object of a speaking capture object in the capture picture as a capture focus together with the capture object.
After the step 204, the shooting method provided in the embodiment of the present application may further include the following steps 205b1 to 205b 3:
step 205b1, the camera determines the focus of the field of view of the first object.
Wherein the view focus is used to indicate an object at which the first object is gazing. For example, when a first object talks to another object, it is necessary to gaze the other object with eyes, and at this time, the visual field of the first object is focused on the talking object.
Step 205b2, the camera determines the third object the first object gazes at based on the focus of the field of view.
In step 205b3, the camera adjusts 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.
Illustratively, the camera determines a third object, which is usually a speaking object of the first object, the first object gazes according to the visual field focus of the first object. And then, the field angle of the camera is enlarged, the shooting range of the camera is enlarged, and the third object is made to enter the shooting range of the camera. Meanwhile, the shooting device can also adjust the orientation of the camera so that the first object and the third object are positioned at the center of the shot picture.
Therefore, the electronic equipment can intelligently bring the speaker and the speaking object into the shooting picture at the same time, and the scene sense is increased.
Optionally, in this embodiment of the application, when the electronic device detects an intention of a user to zoom in or out first, the zoom-in and zoom-out of the lens may be automatically achieved by adjusting the focal length.
For example, after the step 204, the shooting method provided in the embodiment of the present application may further include the following step 205c1, and step 205c2 or step 205c 3:
step 205c1, the image capturing device acquiring distance information of the relative distance between the camera and the first object;
step 205c2, in the case that the distance information indicates that the relative distance is decreased, the shooting device increases the focal length of the camera;
or,
in step 205c3, the camera decreases the focal length of the camera if the distance information indicates that the relative distance is increased.
Illustratively, when the shooting device moves, the shooting device judges the relative position relationship between the current displacement direction of the shooting device and the first object through a position sensor arranged on the electronic equipment. If the current shooting device is far away from the first shooting object, it is determined that the user wants a larger angle of view, so that the shooting range of the camera is larger. On the contrary, when the current shooting device is approaching to the first shooting object, it is determined that the user wants a smaller angle of view, so that the shooting range of the camera becomes smaller, and the shooting main body is highlighted.
For example, under the condition that the scheme is not adopted, the same shooting effect is achieved, the user needs to move 5 steps, according to the method in the scheme, the user only needs to move 2-3 steps to achieve the same shooting effect, and the operation of the user is reduced.
Therefore, after the intention of the user to enlarge or reduce the shooting range is recognized, the electronic equipment can automatically enlarge or reduce the shooting range of the camera by adjusting the focal length of the camera, and operation steps of the user are reduced.
According to the shooting method provided by the embodiment of the application, when a user uses the electronic equipment to shoot, the electronic equipment collects the audio signals in the current shooting environment in real time, if a certain shooting object is detected to make a sound, the direction information of the object making the sound is determined according to the audio information, then based on the direction information, the electronic equipment automatically adjusts the orientation and the angle of view of the camera, the object is used as a shooting focus, the user does not need to perform any operation, and the operation steps of the user are greatly reduced.
In the shooting method provided by the embodiment of the present application, the execution subject may be a shooting device, or a control module in the shooting device for executing the shooting method. The embodiment of the present application takes an example in which a shooting device executes a shooting method, and the shooting device provided in the embodiment of the present application is described.
In the embodiments of the present application, the above-described methods are illustrated in the drawings. The photographing method is exemplarily described with reference to one of the drawings in the embodiments of the present application. In specific implementation, the shooting methods shown in the above method drawings may also be implemented by combining with any other drawings that may be combined, which are illustrated in the above embodiments, and are not described herein again.
Fig. 7 is a schematic diagram of a possible structure of a camera according to an embodiment of the present disclosure, and as shown in fig. 7, the camera 600 includes: an obtaining module 601, a determining module 602 and an adjusting module 603; the acquisition module 601 is configured to acquire an audio signal in a current shooting environment; a determining module 602, configured to determine, according to the audio signal acquired by the acquiring module 601, orientation information of a first object, where the first object is: an object emitting a sound indicated by the audio signal; an adjusting module 603, configured to adjust, based on the orientation information determined by the determining module 602, a direction of the camera to a direction corresponding to the orientation information; the adjusting module 603 is further configured to adjust the field angle of the camera from a first field angle to a second field angle with the first object as a shooting focus.
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 at the second field angle in the shooting preview interface, and display a target window, where the target window and the shooting preview interface are at least partially overlapped, the shooting content displayed in the target window includes N shooting objects, and N is greater than or equal to 1; receiving a first input of a user to a second object in the target window, wherein the second object is at least one of the N shooting objects; a receiving module 605, configured to receive a first input of a user to a second object in the target window displayed by the display module 604; a display module 604, further configured to switch, in response to the first input received by the receiving module 605, the content displayed on the shooting preview interface to the shooting content at the third field angle; wherein, under the third angle of view, the shooting focus of the camera is the second object.
Optionally, the display module 604 is configured to display a prompt message in a case that the first object is not included in the shooting range of the camera, where the prompt message is used to instruct a user to adjust the orientation of the camera; a receiving module 605, configured to receive a second input for a user to adjust an orientation of the camera; an adjusting module 603, further configured to adjust the orientation of the camera from the first orientation to a second orientation in response to the second input received by the receiving module 605; when the orientation of the camera is the second orientation, the shooting range of the camera comprises the first object.
Optionally, the determining module 602 is further configured to determine a visual field focus of the first object, the visual field focus being used to indicate an object at which the first object is gazing; a determining module 602, further configured to determine a third object gazed by the first object according to the focus of the field of view; the adjusting module 603 is further configured to adjust the field angle of the camera from the second field angle to a fourth field angle including the first object and the third object.
Optionally, the obtaining module 601 is further configured to obtain distance information of a relative distance between the camera and the first object; the adjusting module 603 is further configured to increase the focal length of the camera if the distance information acquired by the acquiring module 601 indicates that the relative distance decreases; or, the adjusting module 603 is further configured to decrease the focal length of the camera if the distance information acquired by the acquiring module 601 indicates that the relative distance increases.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The shooting device provided in the embodiment of the present application can implement each process implemented by the shooting device in the method embodiments of fig. 2 to fig. 6, and is not described here again to avoid repetition.
According to the shooting device provided by the embodiment of the application, when a user uses the electronic equipment to shoot, the electronic equipment collects the audio signals in the current shooting environment in real time, if a certain shooting object is detected to make a sound, the direction information of the object making the sound is determined according to the audio information, then, based on the direction information, the electronic equipment automatically adjusts the orientation and the angle of view of the camera, the object is used as a shooting focus, the user does not need to perform any operation, and the operation steps of the user are greatly reduced.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 110, a memory 109, and a program or an instruction stored in the memory 109 and executable on the processor 110, where the program or the instruction is executed by the processor 110 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic hardware structure diagram 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.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The sensor 105 is used for acquiring an audio signal in the current shooting environment; a processor 110, configured to determine, according to the audio signal acquired by the sensor 105, orientation information of a first object, where the first object is: an object emitting a sound indicated by the audio signal; the processor 110 is used for adjusting 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 further configured to adjust a field angle of the camera from a first field angle to a second field angle with the first object as a shooting focus.
Therefore, when the electronic equipment shoots, the audio signals in the current shooting environment are collected in real time, and if a certain shooting object is detected to make a sound, the azimuth information of the first object is determined according to the audio information, wherein the first object is as follows: an object that emits a sound indicated by the audio signal. Then, based on the orientation information, the orientation of the camera is adjusted to a direction corresponding to the orientation information, and the angle of view of the camera is adjusted from a first angle of view to a second angle of view with the first object as a shooting focus. The electronic equipment can automatically adjust the shooting lens through sound, and the operation steps of manually adjusting the lens by a user are reduced.
Optionally, the electronic device 600 further includes: a display unit 106 and a user input unit 107; the display unit 106 is used for displaying the shooting content under the second field angle in the shooting preview interface and displaying a target window, wherein the target window and the shooting preview interface are at least partially overlapped, the shooting content displayed in the target window comprises N shooting objects, and N is larger than or equal to 1; receiving a first input of a user to a second object in the target window, wherein the second object is at least one of the N shooting objects; a user input unit 107 that receives a first input of a user to a second object in the target window displayed by the display unit 106; a display unit 106 further configured to switch the content displayed on the shooting preview interface to the shooting content at the third angle of view in response to the first input received by the user input unit 107; wherein, under the third angle of view, 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 any one of the shooting objects in the window displayed in the shooting preview interface.
Optionally, the display unit 106 is configured to display prompt information in a case that the first object is not included in the photographable range of the camera, where the prompt information is used to instruct the user to adjust the orientation of the camera; a user input unit 107 for receiving a second input of a user adjusting the orientation of the camera; a processor 110, further configured to adjust an orientation of the camera from the first orientation to a second orientation in response to a second input received by the user input unit 107; when the orientation of the camera is the second orientation, the shooting range of the camera comprises the first object.
Therefore, when the shooting object which makes sound is located outside the shooting range of the camera, the electronic equipment can display prompt information, and a user can adjust the direction of the camera according to the prompt information, so that the first object enters the shooting range of the camera.
Optionally, the processor 110, further configured to determine a field of view focus of the first object, the field of view focus being indicative of an object at which the first object is gazing; a processor 110, further configured to determine a third object at which the first object is gazing based on the focus of the field of view; the processor 110 is further configured to adjust the field angle of the camera from the second field angle to a fourth field angle including the first object and the third object.
Therefore, the electronic equipment can intelligently bring the speaker and the speaking object into the shooting picture at the same time, and the scene sense is increased.
Optionally, the sensor 105 is further configured to acquire distance information of a relative distance between the camera and the first object; a processor 110, further configured to increase the focal length of the camera if the distance information acquired by the sensor 105 indicates that the relative distance decreases; alternatively, the processor 110 is further configured to decrease the focal length of the camera if the distance information acquired by the sensor 105 indicates that the relative distance is increased.
Therefore, after the intention of the user to enlarge or reduce the shooting range is recognized, the electronic equipment can automatically enlarge or reduce the shooting range of the camera by adjusting the focal length of the camera, and operation steps of the user are reduced.
According to the electronic equipment provided by the embodiment of the application, when a user uses the electronic equipment to shoot, the electronic equipment collects the audio signals in the current shooting environment in real time, if a certain shooting object is detected to make a sound, the direction information of the object making the sound is determined according to the audio information, then based on the direction information, the electronic equipment automatically adjusts the orientation and the angle of view of the camera, the object is used as a shooting focus, the user does not need to perform any operation, and the operation steps of the user are greatly reduced.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A photographing method, characterized in that the method comprises:
collecting audio signals in a current shooting environment;
determining orientation information of a first object from the audio signal, the first object being: an object emitting sound indicated by the audio signal;
based on the orientation information, adjusting the orientation of the camera to the direction corresponding to the orientation information;
the angle of view of the camera is adjusted from a first angle of view to a second angle of view with the first object as a shooting focus.
2. The method of claim 1, wherein after adjusting the field angle of the camera from a first field angle to a second field angle with the first object as a shooting focus, the method further comprises:
displaying the shooting content under the second field angle in a shooting preview interface, and displaying a target window, wherein the target window is at least partially overlapped with the shooting preview interface, the shooting content displayed in the target window comprises N shooting objects, and N is more than or equal to 1;
receiving a first input of a user to a second object in the target window, wherein the second object is at least one of the N shooting objects;
switching the contents displayed on the shooting preview interface to shooting contents at a third field angle in response to the first input;
wherein, at the third angle of view, a shooting focus of the camera is the second object.
3. 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:
displaying prompt information under the condition that the first object is not included in the shooting range of the camera, wherein the prompt information is used for instructing a user to adjust the orientation of the camera;
receiving a second input of a user for adjusting the orientation of the camera;
adjusting an orientation of the camera from a first orientation to a second orientation in response to the second input;
when the orientation of the camera is a second orientation, the first object is included in the shooting range of the camera.
4. The method according to claim 1 or 2, wherein after adjusting the angle of view of the camera from a first angle of view to a second angle of view with the first object as a shooting focus, the method further comprises:
determining a field of view focus of the first object, the field of view focus being indicative of an object at which the first object is gazing;
determining a third object at which the first object gazes according to the visual field focus;
adjusting a field angle of the camera from the second field angle to a fourth field angle that includes the first object and the third object.
5. The method according to claim 1 or 2, wherein after adjusting the angle of view of the camera from a first angle of view to a second angle of view with the first object as a shooting focus, the method further comprises:
acquiring distance information of a relative distance between the camera and the first object;
increasing a focal length of the camera if the distance information indicates that the relative distance decreases;
or,
reducing a focal length of the camera if the distance information indicates that the relative distance increases.
6. A camera, characterized in that the camera comprises: the device comprises an acquisition module, a determination module and an adjustment module;
the acquisition module is used for acquiring audio signals in the current shooting environment;
the determining module is used for determining the azimuth information of the first object according to the audio signal acquired by the acquiring module; the first object is: an object emitting sound indicated by the audio signal;
the adjusting module is used for adjusting the orientation of the camera to the direction corresponding to the orientation information based on the orientation information determined by the determining module;
the adjusting module is further configured to adjust a field angle of the camera from a first field angle to a second field angle with the first object as a shooting focus.
7. The apparatus of claim 6, further comprising: a display module and a receiving module;
the display module is used for displaying the shooting content under the second field angle in a shooting preview interface and displaying a target window, wherein the target window and the shooting preview interface are at least partially overlapped, the shooting content displayed in the target window comprises N shooting objects, and N is more than or equal to 1;
receiving a first input of a user to a second object in the target window, wherein the second object is at least one of the N shooting objects;
the receiving module receives first input of a user to a second object in the target window displayed by the display module;
the display module is further configured to switch, in response to the first input received by the receiving module, the content displayed on the shooting preview interface to shooting content at a third field angle;
wherein, at the third angle of view, a shooting focus of the camera is the second object.
8. The apparatus of claim 6 or 7, further comprising: a display module and a receiving module;
the display module is used for displaying prompt information under the condition that the first object is not included in the shooting range of the camera, and the prompt information is used for indicating a user to adjust the direction of the camera;
the receiving module is used for receiving a second input of the orientation of the camera adjusted by the user;
the adjusting module is further used for adjusting the orientation of the camera from the first orientation to the second orientation in response to the second input received by the receiving module;
when the orientation of the camera is a second orientation, the first object is included in the shooting range of the camera.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the photographing method according to any one of claims 1 to 5.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1 to 5.
Priority Applications (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 |
PCT/CN2021/138689 WO2022135260A1 (en) | 2020-12-21 | 2021-12-16 | Photographing method and apparatus, electronic device and readable storage medium |
Applications Claiming Priority (1)
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 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112637495A true CN112637495A (en) | 2021-04-09 |
CN112637495B CN112637495B (en) | 2022-06-17 |
Family
ID=75320728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011519336.0A Active CN112637495B (en) | 2020-12-21 | 2020-12-21 | Shooting method, shooting device, electronic equipment and readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112637495B (en) |
WO (1) | WO2022135260A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113329138A (en) * | 2021-06-03 | 2021-08-31 | 维沃移动通信有限公司 | Video shooting method, video playing method and electronic equipment |
WO2022135260A1 (en) * | 2020-12-21 | 2022-06-30 | 维沃移动通信有限公司 | Photographing method and apparatus, electronic device and readable storage medium |
Citations (9)
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 |
CN104580992A (en) * | 2014-12-31 | 2015-04-29 | 广东欧珀移动通信有限公司 | Control method and mobile terminal |
WO2017066992A1 (en) * | 2015-10-23 | 2017-04-27 | 深圳市柔宇科技有限公司 | Head-mounted display device, and prompt information display system and method |
CN108151709A (en) * | 2016-12-06 | 2018-06-12 | 百度在线网络技术(北京)有限公司 | Localization method and device applied to terminal |
CN207720301U (en) * | 2017-12-19 | 2018-08-10 | 中咨公路工程监理咨询有限公司 | A kind of construction site video monitoring system |
CN108521860A (en) * | 2017-06-22 | 2018-09-11 | 深圳市大疆创新科技有限公司 | Control method, capture apparatus and the system of capture apparatus |
CN110072070A (en) * | 2019-03-18 | 2019-07-30 | 华为技术有限公司 | A kind of multichannel kinescope method and equipment |
CN111708383A (en) * | 2020-07-01 | 2020-09-25 | 海信视像科技股份有限公司 | Method for adjusting shooting angle of camera and display device |
CN111901524A (en) * | 2020-07-22 | 2020-11-06 | 维沃移动通信有限公司 | Focusing method and device and electronic equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681644A (en) * | 2014-11-20 | 2016-06-15 | 中兴通讯股份有限公司 | Focal distance adjusting method and device and terminal |
CN110445978B (en) * | 2019-06-24 | 2020-12-15 | 华为技术有限公司 | Shooting method and equipment |
US11289078B2 (en) * | 2019-06-28 | 2022-03-29 | Intel Corporation | Voice controlled camera with AI scene detection for precise focusing |
CN111445413B (en) * | 2020-03-27 | 2023-08-08 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and storage medium |
CN111541845B (en) * | 2020-04-30 | 2022-06-24 | 维沃移动通信(杭州)有限公司 | Image processing method and device and electronic equipment |
CN112637495B (en) * | 2020-12-21 | 2022-06-17 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and readable storage medium |
-
2020
- 2020-12-21 CN CN202011519336.0A patent/CN112637495B/en active Active
-
2021
- 2021-12-16 WO PCT/CN2021/138689 patent/WO2022135260A1/en active Application Filing
Patent Citations (9)
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 |
CN104580992A (en) * | 2014-12-31 | 2015-04-29 | 广东欧珀移动通信有限公司 | Control method and mobile terminal |
WO2017066992A1 (en) * | 2015-10-23 | 2017-04-27 | 深圳市柔宇科技有限公司 | Head-mounted display device, and prompt information display system and method |
CN108151709A (en) * | 2016-12-06 | 2018-06-12 | 百度在线网络技术(北京)有限公司 | Localization method and device applied to terminal |
CN108521860A (en) * | 2017-06-22 | 2018-09-11 | 深圳市大疆创新科技有限公司 | Control method, capture apparatus and the system of capture apparatus |
CN207720301U (en) * | 2017-12-19 | 2018-08-10 | 中咨公路工程监理咨询有限公司 | A kind of construction site video monitoring system |
CN110072070A (en) * | 2019-03-18 | 2019-07-30 | 华为技术有限公司 | A kind of multichannel kinescope method and equipment |
CN111708383A (en) * | 2020-07-01 | 2020-09-25 | 海信视像科技股份有限公司 | Method for adjusting shooting angle of camera and display device |
CN111901524A (en) * | 2020-07-22 | 2020-11-06 | 维沃移动通信有限公司 | Focusing method and device and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022135260A1 (en) * | 2020-12-21 | 2022-06-30 | 维沃移动通信有限公司 | Photographing method and apparatus, electronic device and readable storage medium |
CN113329138A (en) * | 2021-06-03 | 2021-08-31 | 维沃移动通信有限公司 | Video shooting method, video playing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112637495B (en) | 2022-06-17 |
WO2022135260A1 (en) | 2022-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111541845B (en) | Image processing method and device and electronic equipment | |
EP3116215B1 (en) | Mobile terminal and method for controlling the same | |
CN111182205B (en) | Photographing method, electronic device, and medium | |
CN108495045B (en) | Image capturing method, image capturing apparatus, electronic apparatus, and storage medium | |
CN107515669B (en) | Display method and device | |
US11539888B2 (en) | Method and apparatus for processing video data | |
KR20190008610A (en) | Mobile terminal and Control Method for the Same | |
CN111246095B (en) | Method, device and equipment for controlling lens movement and storage medium | |
CN112866576B (en) | Image preview method, storage medium and display device | |
US10158805B2 (en) | Method of simultaneously displaying images from a plurality of cameras and electronic device adapted thereto | |
CN113840070B (en) | Shooting method, shooting device, electronic equipment and medium | |
CN112714253B (en) | Video recording method and device, electronic equipment and readable storage medium | |
WO2021219141A1 (en) | Photographing method, graphic user interface, and electronic device | |
KR101689171B1 (en) | Mobile Terminal And Method Of Photographing Image Using The Same | |
CN112637495B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN113938748B (en) | Video playing method, device, terminal, storage medium and program product | |
WO2022161340A1 (en) | Image display method and apparatus, and electronic device | |
CN113727021B (en) | Shooting method and device and electronic equipment | |
CN112887617B (en) | Shooting method and device and electronic equipment | |
CN112383808A (en) | Video playing method, device, terminal and storage medium | |
CN110769156A (en) | Picture display method and electronic equipment | |
CN112954209A (en) | Photographing method and device, electronic equipment and medium | |
CN113613053B (en) | Video recommendation method and device, electronic equipment and storage medium | |
CN113286085B (en) | Display control method and device and electronic equipment | |
CN115499589A (en) | Shooting method, shooting device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |