Methods apparatuses, and storage mediums for adjusting camera shooting angle

A method, an apparatus, and a storage medium are provided for adjusting camera shooting angle. The method includes: determining a position of a human body in a shooting range of a camera; adjusting a shooting angle of the camera based on the position of the human body, such that an image of the human body is located at the center of a video picture shot by the camera; determining a position of a human face in the video picture shot by the camera; and fine-adjusting the shooting angle of the camera based on the position of the human face, such that an image of the human face is located at the center of the video picture shot by the camera.

CROSS-REFERENCE TO RELATED APPLICATION

This application is based on and claims the priority of the Chinese patent application No. 201510849310.5, filed on Nov. 27, 2015, which is incorporated herein by reference in its entirety.

TECHNICAL FIELD

The present disclosure is related to the field of smart homes, and more particularly, to a camera shooting angle adjusting method and apparatus, and a storage medium.

BACKGROUND

With popularization of smart devices and rapid development of network technologies, smart camera is becoming more and more popular in people's life and is widely used in such scenes as security, automatic control and remote video interaction.

In the related arts, shooting angle of smart camera is fixed during using. When users want to adjust the shooting angle of smart camera, they may manually adjust the same using control devices of the smart cameras.

SUMMARY

According to a first aspect of embodiments of the present disclosure, there is provided a camera shooting angle adjusting method, including: determining a position of a human body in a shooting range of a camera; adjusting a shooting angle of the camera based on the position of the human body, such that an image of the human body is located at the center of a video picture shot by the camera; determining a position of a human face in the video picture shot by the camera; and fine-adjusting the shooting angle of the camera based on the position of the human face, such that an image of the human face is located at the center of the video picture shot by the camera.

According to a second aspect of embodiments of the present disclosure, there is provided a camera shooting angle adjusting apparatus, including: a first positioning module configured to determine a position of a human body in a shooting range of a camera; a first adjusting module configured to adjust a shooting angle of the camera based on the position of the human body determined by the first positioning module, such that an image of the human body is located at the center of a video picture shot by the camera; a second positioning module configured to determine a position of a human face in the video picture shot by the camera; and a second adjusting module configured to fine-adjust the shooting angle of the camera based on the position of the human face determined by the second positioning module, such that an image of the human face is located at the center of the video picture shot by the camera.

According to a third aspect of embodiments of the present disclosure, there is provided a camera shooting angle adjusting apparatus, including a processor and a memory configured to store instructions executable by the processor. The processor is configured to: determine a position of a human body in a shooting range of a camera; adjust a shooting angle of the camera based on the position of the human body, such that an image of the human body is located at the center of a video picture shot by the camera; determine a position of a human face in the video picture shot by the camera; and fine-adjust the shooting angle of the camera based on the position of the human face, such that an image of the human face is located at the center of the video picture shot by the camera.

According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a mobile terminal, causes the mobile terminal to perform acts including: determining a position of a human body in a shooting range of a camera; adjusting a shooting angle of the camera based on the position of the human body, such that an image of the human body is located at the center of a video picture shot by the camera; determining a position of a human face in the video picture shot by the camera; and fine-adjusting the shooting angle of the camera based on the position of the human face, such that an image of the human face is located at the center of the video picture shot by the camera.

It should be understood that both the foregoing general description and the following detailed description are only exemplary and explanatory and are not restrictive of the disclosure.

DETAILED DESCRIPTION

FIG. 1is a flow chart showing a camera shooting angle adjusting method according to an exemplary embodiment. The method is used in a camera. As shown inFIG. 1, the method may include the steps as follows.

In step101, a position of a human body in a shooting range of a camera is determined.

In step102, a shooting angle of the camera is adjusted based on the position of the human body, such that an image of the human body is located at the center of a video picture shot by the camera. For example, the camera may adjust the shooting angle and other shooting parameters so that the image of the human body is located at the center region of the video picture. The center region may be defined by a user in camera settings and the default center region may occupy the middle ⅓ of the whole image area of the video picture. The camera may adopt s standard adjusting step such as 0.5° during fine adjusting.

In step103, a position of a human face in the video picture shot by the camera is determined.

In step104, the shooting angle of the camera is fine-adjusted based on the position of the human face, such that an image of the human face is located at the center of the video picture shot by the camera. For example, the camera may fine-adjust the shooting angle of the camera within a preset range that is less than the first range that is used during the adjusting in step102. The first range may include a range between −10° and 10° while the second range may include a range between −2° and 2°. The camera may adopt s fine adjusting step such as 0.1° during fine adjusting. Additionally or alternatively, the camera may fine-adjust the shooting angle of the camera using a second motor while the camera adjust the shooting angle of the camera in step102using a first motor.

Alternatively or additionally, said determining the position of the human body in the shooting range of the camera includes: collecting a sound signal sent from a sound source in the shooting range of the camera; detecting whether a frequency band of the sound signal is within a preset frequency band; and determining a position of the sound source as the position of the human body when the frequency band of the sound signal is within the preset frequency band.

Alternatively or additionally, said determining the position of the human body in the shooting range of the camera includes: collecting an infrared signal sent by an infrared signal source in the shooting range of the camera; detecting whether the spectrum feature of the infrared signal matches a preset spectrum; and determining a position of the infrared signal source as the position of the human body, when the spectrum feature of the infrared signal matches the preset spectrum.

Alternatively or additionally, said determining the position of the human face in the video picture shot by the camera includes: recognizing a facial expression of at least one human face in the video picture shot by the camera; and determining a position of a human face, whose facial expression matches a designated facial expression, in the video picture as the position of the human face.

Alternatively or additionally, said determining the position of the human face in the video picture shot by the camera includes: pushing the video picture to a user terminal connected to the camera; receiving selection instruction information returned by the user terminal, the selection instruction information indicating a human face included in the video picture; and determining a position of the human face indicated by the selection instruction information in the video picture as the position of the human face.

Alternatively or additionally, the method further includes: after fine-adjusting the shooting angle of the camera based on the position of the human face, detecting a distance by which the image of the human face deviates from the center of the video picture shot by the camera; when detecting that the distance by which the image of the human face deviates from the center of the video picture is greater than a preset distance, fine-adjusting the shooting angle of the camera based on the position of the image of the human face once again, such that the image of the human face is located at the center of the video picture shot by the camera.

To sum up, in the camera shooting angle adjusting method according to the embodiment of the disclosure, a position of a human body in a shooting range of a camera is determined, a shooting angle of the camera is adjusted so that the camera targets the position of the human body, and then the camera is fine-adjusted based on a position of a human face. As such, the shooting angle of the camera is automatically fine-adjusted based on the position of the human face, without the need for users to manually adjust the shooting angle of the camera, thereby reducing the complexity of users' operations and improving the accuracy of adjusting the shooting angle.

FIG. 2Ais a flow chart showing a camera shooting angle adjusting method according to another exemplary embodiment. The method is used in a camera. As shown inFIG. 2A, the method may include the steps as follows.

In step201, a position of a human body in a shooting range of a camera is determined.

In a possible implementation, referring toFIG. 2Bwhich is a flow chart showing a process of determining a position of a human body in a shooting range of a camera according to an exemplary embodiment, the method may include the following steps.

In step201a, a sound signal sent from a sound source in the shooting range of the camera is collected.

In step201b, whether a frequency band of the sound signal is within a preset frequency band is detected.

In step201c, a position of the sound source is determined as the position of the human body, when the frequency band of the sound signal is within the preset frequency band.

The camera can determine a position of a human body based on a sound signal sent from a sound source in a shooting range of the camera. For example, the camera has a sound signal collecting device mounted therein. The sound signal collecting device collects sound signals from the sound source in a preset period of time and takes an average value of the sound signals collected in the preset period of time. For example, the camera may calculate a short term energy of the sound signals for each frame during the preset period of time. The preset period of time is not restricted, and may be set as 30 seconds or 1 minute. When the average value of the sound signals includes a spectrum signal within a preset frequency band, the camera may determine that the position of the sound source is the position of the human body by using the short term energy and other analysis. For example, as the position of the human body is to be determined, the preset frequency band may be a frequency band in which people normally talk. For example, the frequency band in which people normally talk is 130-350 Hz.

In another possible implementation, referring toFIG. 2Cwhich is a flow chart showing a process of determining a position of a human body in a shooting range of a camera according to another exemplary embodiment, the method may include the following steps implemented by a smart camera.

In step201d, an infrared signal sent by an infrared signal source in the shooting range of the camera is collected.

In step201e, whether the spectrum feature of the infrared signal matches a preset spectrum is detected.

In step201f, a position of the infrared signal source is determined as the position of the human body, when the spectrum feature of the infrared signal matches the preset spectrum.

In addition to or instead of determining a position of a human body based on sound signals sent from a sound source in a shooting range of the camera, the camera may also determine a position of a human body based on the spectrum feature of an infrared signal. The spectrum feature of the infrared signal may include among others a frequency of the infrared signal and a wavelength thereof. Infrared signals sent by different objects have different spectrum features. In a possible implementation of the embodiment, the spectrum feature of a human body may be set as a preset spectrum. When the spectrum feature of infrared signals sent by an object matches the preset spectrum, the object can be determined as a human body.

In step202, a shooting angle of the camera is adjusted.

The shooting angle of the camera is adjusted such that an image of the human body is located at the center of a video picture shot by the camera.

For example, a micro electric motor is provided within the camera. After the camera determines the position of the human body, the micro electric motor within the camera starts to work to adjust the shooting angle of the camera such that an image of the human body is located at the center of a video picture shot by the camera.

In step203, a position of a human face in the video picture shot by the camera is determined by performing human face recognition.

After determining the position of the human body, to obtain better shooting effect, a position of a human face in the video picture shot by the camera is determined by the camera through human face recognition. For example, the camera determines a position of a human face based on facial features of the human body in the video picture, such as the ears, eyes, mouth and nose, shapes of the facial features and their geometrical relations.

In step204, the shooting angle of the camera is fine-adjusted based on the position of the human face.

When there is only one human face in the video picture shot by the camera, the shooting angle of the camera may be fine-adjusted such that an image of the human face is located at the center of the video picture shot by the camera.

Alternatively or additionally, when there are multiple human faces in the video picture shot by the camera, the position of one of the human faces may be determined, and the fine-adjustment may be performed subsequently based on the determined position of the human face. When there are multiple human faces in the video picture shot by the camera, the method of determining the position of one of the human faces may be as below.

In a possible implementation, referring toFIG. 2Dwhich is a flow chart showing a process of determining a position of a human face according to an exemplary embodiment, the method may include the following steps.

In step203a, facial expression recognition is performed of at least one human face in the video picture shot by the camera.

In step203b, a position of a human face, whose facial expression matches a designated facial expression, in the video picture is determined as the position of the human face.

When there are multiple human faces in the video picture shot by the camera, the human face to be shot by the camera may be determined through facial expression recognition. For example, a smiling facial expression is preset as a designated facial expression. When there are multiple human faces in the video picture shot by the camera and one human face has a smiling facial expression, the shooting angle of the camera is fine-adjusted such that the human face having the smiling facial expression is located at the center of a video picture shot by the camera.FIG. 2Eis a schematic diagram showing how to adjust a shooting angle of a camera according to an exemplary embodiment. The video picture20shown inFIG. 2Eincludes three human faces20a,20band20c. The camera detects that one human face20chas a smiling facial expression. Then, the shooting angle of the camera is fine-adjusted such that the human face20chaving a smiling facial expression is located at the center of the video picture.

In another possible implementation, referring toFIG. 2Fwhich is a flow chart showing a process of determining a position of a human face according to another exemplary embodiment, the method may include the following steps.

In step203c, the video picture is pushed to a user terminal connected to the camera.

In step203d, selection instruction information returned by the user terminal is received, the selection instruction information indicating a human face included in the video picture.

In step203e, a position of the human face indicated by the selection instruction information in the video picture is determined as the position of the human face.

Alternatively or additionally, when there are multiple human faces in the video picture shot by the camera, the camera may push the shot video picture to a user terminal connected thereto. The user may select a human face to be shot. When receiving selection instruction information returned by the user terminal, the camera determines a position of the human face indicated by the selection instruction information in the video picture as the position of the human face.FIG. 2Gis a schematic diagram showing how to adjust a shooting angle of a camera according to another exemplary embodiment. The video picture shown inFIG. 2Gis one transmitted by the camera to the user terminal and displayed in the user terminal. The video picture includes three human faces A, B and C. When the user clicks a region where the human face C is located, the user terminal sends coordinate information of the human face C to the camera. After receiving the coordinate information, the camera determines that the user has selected the human face C based on the coordinate information. Then, the shooting angle of the camera is fine-adjusted such that an image of the human face C is located at the center of the video picture.

To sum up, in the camera shooting angle adjusting method according to the embodiment of the disclosure, a position of a human body in a shooting range of a camera is determined, a shooting angle of the camera is adjusted so that the camera targets the position of the human body, and then the camera is fine-adjusted based on a position of a human face. As such, the shooting angle of the camera is automatically fine-adjusted based on the position of the human face, without the need for users to manually adjust the shooting angle of the camera, thereby reducing the complexity of users' operations and improving the accuracy of adjusting the shooting angle.

In the disclosure, by using a sound source or infrared signal detecting method, a sound signal or an infrared signal sent by a human body in a shooting range is collected, and a position of the human body in the shooting range can be determined based on a preset frequency band or time-frequency spectrum, so that the human body in the shooting range can be tracked accurately and effectively. Accordingly, a shooting angle of a camera can be adjusted to adapt to the position of the human body, and it can be avoided that the position of an animal or object other than a human body is determined as the position of the human body.

Here, by recognizing a facial expression in the shooting range, a human face to be shot by the camera can be determined. Alternatively, the camera pushes a shot video picture to a user terminal connected to the camera; and by receiving the user terminal's selection instruction information, a human face to be shot can be determined. Accordingly, a shooting angle can be fine-adjusted. As such, it is convenient, when there are multiple human faces in the shooting range, to adjust the shooting angle of the camera based on the user's needs, so that the human face to be shot can be displayed at the center of the video picture.

FIG. 3Ais a flow chart showing a camera shooting angle adjusting method according to yet another exemplary embodiment. The method is used in a camera. As shown inFIG. 3A, the method may include the steps as follows.

In step301, a position of a human body in a shooting range of a camera is determined.

In step302, a shooting angle of the camera is adjusted.

In step303, a position of a human face in the video picture shot by the camera is determined through human face recognition.

In step304, the shooting angle of the camera is fine-adjusted based on the position of the human face.

For the implementation of steps301-304, reference can be made to the description of steps201-204in the embodiment shown inFIG. 2, and the description thereof will not be repeated here.

In step305, after the shooting angle of the camera is fine-adjusted based on the position of the human face, a distance by which the image of the human face deviates from the center of the video picture shot by the camera is detected.

As the position of the human face is changing in the video shooting process, the camera detects a distance by which the image of the human face deviates from the center of the video picture shot by the camera, in order to prevent the position of the human face from exceeding the shooting range of the camera so as to ensure better shooting effect. Refer toFIG. 3B, which is a schematic diagram showing how to detect a deviation distance of a human face. The center of the video picture30shot by the camera inFIG. 3Bis taken as the starting point. A distance from the center of the video picture30to the center of the image31of the human face is calculated. The distance from the center of the video picture30to the center of the image31of the human face is taken as the distance by which the image of the human face deviates from the center of the video picture shot by the camera.

In step306, when detecting that the distance by which the image of the human face deviates from the center of the video picture is greater than a preset distance, the shooting angle of the camera is fine-adjusted based on the position of the image of the human face once again, such that the image of the human face is located at the center of the video picture shot by the camera.

The camera may designate the center of the video picture shot by the camera as the center of a circle and designate a preset distance as its radius. When it is detected that the distance from the center of the video picture to the center of the image the human face is greater than the preset distance (for example, the center of the image of the human face is located outside the circle having the center of the video picture as its center and having the preset distance as its radius), the shooting angle of the camera is fine-adjusted based on the position of the image of the human face once again.

Refer toFIG. 3C, which is a schematic diagram showing how to adjust a position of a human face. InFIG. 3C, when it is detected that the distance from the center of the video picture32to the center of the image33of the human face is greater than the preset distance (for example, the center of the image33of the human face is located outside the circle34whose center is the center of the video picture32and whose radius is the preset distance), the shooting angle of the camera is fine-adjusted such that the image33of the human face is located at the center of the video picture32once again.

For example, the shooting angle of the camera is not adjusted immediately when the camera detects that the distance from the center of the video picture to the center of the image of the human face is greater than the preset distance, but is adjusted after a preset period of time (which may be 5 or 10 s for example). The camera fine-adjusts the shooting angle based on the position of the image of the human face, only when the distance from the center of the video picture to the center of the image at the position of the human face is greater than the preset distance for a duration longer than the preset period of time.

It should be noted that the detection of the distance by which the image of the human face deviates from the center of the video picture and the preset distance are not defined by the embodiment but may be set by developers or users according to the actual needs.

To sum up, in the camera shooting angle adjusting method according to the embodiment of the disclosure, a position of a human body in a shooting range of a camera is determined, a shooting angle of the camera is adjusted so that the camera targets the position of the human body, and then the camera is fine-adjusted based on a position of a human face. As such, the shooting angle of the camera is automatically fine-adjusted based on the position of the human face, without the need for users to manually adjust the shooting angle of the camera, thereby reducing the complexity of users' operations and improving the accuracy of adjusting the shooting angle.

In the disclosure, by using a sound source or infrared signal detecting method, a sound signal or an infrared signal sent by a human body in a shooting range is collected, and a position of the human body in the shooting range can be determined based on a preset frequency band or time-frequency spectrum, so that the human body in the shooting range can be tracked accurately and effectively. Accordingly, a shooting angle of a camera can be adjusted to adapt to the position of the human body, and it can be avoided that the position of an animal or object other than a human body is determined as the position of the human body.

Here, by recognizing a facial expression in the shooting range, a human face to be shot by the camera can be determined. Alternatively, the camera pushes a shot video picture to a user terminal connected to the camera; and by receiving the user terminal's selection instruction information, a human face to be shot can be determined. Accordingly, a shooting angle can be fine-adjusted. As such, it is convenient, when there are multiple human faces in the shooting range, to adjust the shooting angle of the camera based on the user's needs, so that the human face to be shot can be displayed at the center of the video picture.

In addition, a distance between the center of the video picture and an image of the human face is determined and, when the distance between the center of the video picture and the image of the human face is greater than a preset distance, the shooting angle of the camera is fine-adjusted such that the image of the human face is located at the center of the video picture, thereby achieving the best shooting effect.

The followings describe apparatus embodiments of the present disclosure, which may be used to perform the method embodiments of the present disclosure. For the details not disclosed in the apparatus embodiments of the present disclosure, please refer to the method embodiments of the present disclosure.

FIG. 4is a schematic diagram illustrating a camera shooting angle adjusting apparatus according to an exemplary embodiment. The apparatus may be used in a camera. Referring toFIG. 4, the apparatus includes but is not limited to include a first positioning module401, a first adjusting module402, a second positioning module403and a second adjusting module404.

The first positioning module401is configured to determine a position of a human body in a shooting range of a camera.

The first adjusting module402is configured to adjust a shooting angle of the camera based on the position of the human body determined by the first positioning module401, such that an image of the human body is located at the center of a video picture shot by the camera.

The second positioning module403is configured to determine a position of a human face in the video picture shot by the camera.

The second adjusting module404is configured to fine-adjust the shooting angle of the camera based on the position of the human face determined by the second positioning module403, such that an image of the human face is located at the center of the video picture shot by the camera.

To sum up, in the camera shooting angle adjusting apparatus according to the embodiment of the disclosure, a position of a human body in a shooting range of a camera is determined, a shooting angle of the camera is adjusted so that the camera targets the position of the human body, and then the camera is fine-adjusted based on a position of a human face. As such, the shooting angle of the camera is automatically fine-adjusted based on the position of the human face, without the need for users to manually adjust the shooting angle of the camera, thereby reducing the complexity of users' operations and improving the accuracy of adjusting the shooting angle.

FIG. 5is a schematic diagram illustrating a camera shooting angle adjusting apparatus according to another exemplary embodiment. The apparatus may be used in a camera. Referring toFIG. 5, the apparatus includes but is not limited to include a first positioning module501, a first adjusting module502, a second positioning module503and a second adjusting module504.

The first positioning module501is configured to determine a position of a human body in a shooting range of a camera.

The first adjusting module502is configured to adjust a shooting angle of the camera based on the position of the human body determined by the first positioning module501, such that an image of the human body is located at the center of a video picture shot by the camera.

The second positioning module503is configured to determine a position of a human face in the video picture shot by the camera.

The second adjusting module504is configured to fine-adjust the shooting angle of the camera based on the position of the human face determined by the second positioning module503, such that an image of the human face is located at the center of the video picture shot by the camera.

Alternatively or additionally, the first positioning module501includes a sound collecting sub-module501aand a frequency band detecting sub-module501b.

The sound collecting sub-module501ais configured to collect a sound signal sent from a sound source in the shooting range of the camera.

The frequency band detecting sub-module501bis configured to detect whether a frequency band of the sound signal collected by the sound collecting sub-module501ais within a preset frequency band.

A position of the sound source is determined as the position of the human body, when the frequency band of the sound signal collected by the sound collecting sub-module501ais within the preset frequency band.

Alternatively or additionally, the first positioning module501further includes an infrared signal collecting sub-module501cand a spectrum detecting sub-module501d.

The infrared signal collecting sub-module501cis configured to collect an infrared signal sent by an infrared signal source in the shooting range of the camera.

The spectrum detecting sub-module501dis configured to detect whether the spectrum feature of the infrared signal collected by the infrared signal collecting sub-module501cmatches a preset spectrum.

A position of the infrared signal source is determined as the position of the human body, when the spectrum feature of the infrared signal collected by the infrared signal collecting sub-module501cmatches the preset spectrum.

Alternatively or additionally, the second positioning module503includes a facial expression recognizing sub-module503aand a first positioning sub-module503b.

The facial expression recognizing sub-module503ais configured to recognize a facial expression of at least one human face in the video picture shot by the camera.

The first positioning sub-module503bis configured to determine a position of a human face, whose facial expression recognized by the facial expression recognizing sub-module503amatches a designated facial expression, in the video picture as the position of the human face.

Alternatively or additionally, the second positioning module503further includes an image pushing sub-module503c, an information receiving sub-module503dand a second positioning sub-module503e.

The image pushing sub-module503cis configured to push the video picture to a user terminal connected to the camera.

The information receiving sub-module503dis configured to receive selection instruction information returned by the user terminal, the selection instruction information indicating a human face included in the video picture.

The second positioning sub-module503eis configured to determine a position of the human face indicated by the selection instruction information received by the information receiving sub-module503din the video picture as the position of the human face.

Alternatively or additionally, the apparatus further includes a distance detecting module505.

The distance detecting module505is configured to, after the shooting angle of the camera is fine-adjusted based on the position of the human face, detect a distance by which the image of the human face deviates from the center of the video picture shot by the camera.

The second adjusting module504is further configured to, when it is detected that the distance by which the center of the image at the position of the human face deviates from the center of the video picture, detected by the distance detecting module505, is greater than a preset distance, fine-adjust the shooting angle of the camera based on the position of the image of the human face once again, such that the image of the human face is located at the center of the video picture shot by the camera.

To sum up, in the camera shooting angle adjusting apparatus according to the embodiment of the disclosure, a position of a human body in a shooting range of a camera is determined, a shooting angle of the camera is adjusted so that the camera targets the position of the human body, and then the camera is fine-adjusted based on a position of a human face. As such, the shooting angle of the camera is automatically fine-adjusted based on the position of the human face, without the need for users to manually adjust the shooting angle of the camera, thereby reducing the complexity of users' operations and improving the accuracy of adjusting the shooting angle.

In the disclosure, by using a sound source or infrared signal detecting method, a sound signal or an infrared signal sent by a human body in a shooting range is collected, and a position of the human body in the shooting range can be determined based on a preset frequency band or time-frequency spectrum, so that the human body in the shooting range can be tracked accurately and effectively. Accordingly, a shooting angle of a camera can be adjusted to adapt to the position of the human body, and it can be avoided that the position of an animal or object other than a human body is determined as the position of the human body.

Here, by recognizing a facial expression in the shooting range, a human face to be shot by the camera can be determined. Alternatively, the camera pushes a shot video picture to a user terminal connected to the camera; and by receiving the user terminal's selection instruction information, a human face to be shot can be determined. Accordingly, a shooting angle can be fine-adjusted. As such, it is convenient, when there are multiple human faces in the shooting range, to adjust the shooting angle of the camera based on the user's needs, so that the human face to be shot can be displayed at the center of the video picture.

In addition, a distance between the center of the video picture and an image of the human face is determined and, when the distance between the center of the video picture and the image of the human face is greater than a preset distance, the shooting angle of the camera is fine-adjusted such that the image of the human face is located at the center of the video picture, thereby achieving the best shooting effect.

A camera shooting angle adjusting apparatus is provided according to yet another exemplary embodiment of the present disclosure. The apparatus can realize the camera shooting angle adjusting method of the present disclosure, and includes a processor and a memory configured to store instructions executable by the processor.

The processor is configured to: determine a position of a human body in a shooting range of a camera; adjust a shooting angle of the camera based on the position of the human body, such that an image of the human body is located at the center of a video picture shot by the camera; determine a position of a human face in the video picture shot by the camera; and fine-adjust the shooting angle of the camera based on the position of the human face, such that an image of the human face is located at the center of the video picture shot by the camera.

Alternatively or additionally, said determining the position of the human body in the shooting range of the camera includes: collecting a sound signal sent from a sound source in the shooting range of the camera; detecting whether a frequency band of the sound signal is within a preset frequency band; and determining a position of the sound source as the position of the human body when the frequency band of the sound signal is within the preset frequency band.

Alternatively or additionally, said determining the position of the human body in the shooting range of the camera includes: collecting an infrared signal sent by an infrared signal source in the shooting range of the camera; detecting whether the spectrum feature of the infrared signal matches a preset spectrum; and determining a position of the infrared signal source as the position of the human body when the spectrum feature of the infrared signal matches the preset spectrum.

Alternatively or additionally, said determining the position of the human face in the video picture shot by the camera includes: recognizing a facial expression of at least one human face in the video picture shot by the camera; and determining a position of a human face, whose facial expression matches a designated facial expression, in the video picture as the position of the human face.

Alternatively or additionally, said determining the position of the human face in the video picture shot by the camera includes: pushing the video picture to a user terminal connected to the camera; receiving selection instruction information returned by the user terminal, the selection instruction information indicating a human face included in the video picture; and determining a position of the human face indicated by the selection instruction information in the video picture as the position of the human face.

Alternatively or additionally, the processor is further configured to: after fine-adjusting the shooting angle of the camera based on the position of the human face, detect a distance by which the image of the human face deviates from the center of the video picture shot by the camera; when detecting that the distance by which the image of the human face deviates from the center of the video picture is greater than a preset distance, fine-adjust the shooting angle of the camera based on the position of the image of the human face such that the image of the human face is located at the center of the video picture shot by the camera.

FIG. 6is a schematic diagram illustrating a camera shooting angle adjusting apparatus600according to yet another exemplary embodiment. For example, the apparatus600may be a camera.

Referring toFIG. 6, the apparatus600may include one or more following components: a processing component602, a memory604, a power component606, a multimedia component608, an audio component610, a sensor component614and a communication component616.

The processing component602typically controls overall operations of the apparatus600, such as the operations associated with display, telephone calls, data communications, camera operations and recording operations. The processing component602may include one or more processors618to execute instructions to perform all or part of the steps in the above described methods. Moreover, the processing component602may include one or more modules which facilitate the interaction between the processing component602and other components. For example, the processing component602may include a multimedia module to facilitate the interaction between the multimedia component608and the processing component602.

The memory604is configured to store various types of data to support the operation of the apparatus600. Examples of such data include instructions for any applications or methods operated on the apparatus600, contact data, phonebook data, messages, pictures, video, etc. The memory604may be implemented by using any type of volatile or non-volatile memory devices, or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk. The memory604also stores one or more modules configured to, when being executed by the one or more processors618, perform all or a part of the steps of the method shown inFIG. 1, 2Aor3A.

The power component606provides power to various components of the apparatus600. The power component606may include a power management system, one or more power sources, and any other components associated with the generation, management, and distribution of power in the apparatus600.

The audio component610is configured to output and/or input audio signals. For example, the audio component610includes a microphone (MIC) configured to receive an external audio signal when the apparatus600is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory604or transmitted via the communication component616. In some embodiments, the audio component610further includes a speaker to output audio signals.

The sensor component614includes one or more sensors to provide status assessments of various aspects of the apparatus600. For instance, the sensor component614may detect an open/closed status of the apparatus600, relative positioning of components, e.g., the display and the keypad, of the apparatus600, a change in position of the apparatus600or a component of the apparatus600, a presence or absence of user's contact with the apparatus600, an orientation or an acceleration/deceleration of the apparatus600, and a change in temperature of the apparatus600. The sensor component614may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component614may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component614may also include an accelerometer sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

The communication component616is configured to facilitate communication, wired or wirelessly, between the apparatus600and other devices. The apparatus600can access a wireless network based on a communication standard, such as WiFi, 2G; or 3G or a combination thereof. In one exemplary embodiment, the communication component616receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component616further includes a near field communication (NFC) module to facilitate short-range communications.

In exemplary embodiments, the apparatus600may be implemented with one or more circuitries, which include application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components. The apparatus may use the circuitries in combination with the other hardware or software components for performing the above described methods. Each module, sub-module, unit, or sub-unit in the disclosure may be implemented at least partially using the one or more circuitries.

Regarding the apparatuses in the above embodiments, the specific manners for respective modules to perform operations have been described in detail in the method embodiments, and will not be elaborated herein.