CROSS REFERENCE

This application claims the priority of Chinese patent application No. 201810300875.1, filed on Apr. 4, 2018, the entire contents of which are incorporated herein by reference.

TECHNICAL FIELD

The present application relates to the technical field of communication, and more particularly to a method and a device for controlling camera shooting, a smart device and a computer storage medium.

BACKGROUND

At present, more and more smart devices are equipped with a microphone array, the voice angle information of the speaker when speaking can be acquired via the microphone array, and with these angle information, the camera can be moved to shoot the speaker when speaking, however the prior art has the following two problems:

1. Fast Positioning to the Sound Source and Slow Shooting Control

The witching of the sound field is completed in an instant, while the camera needs the orientation of the sound source calculated by the angle of the microphone array, and then the camera is rotated to reach the designated position, and this process needs a certain time. If the rotation speed is increased, since the video frame rate recorded by the camera is insufficient, which results in smearing of the picture shot by the camera, in addition, time delay exists and causes the audio and video to be out of sync, leaving uncomfortable feeling to the speaker.

2. For example, when a video conference is performed by a company, there is the case of frequent discussion of the participants. When a participant A expresses a viewpoint, the system calculates the position of the participant A and starts the shooting control, however, it is very likely that the participant A has finished, the camera has not been rotated to align the participant A, and at this time, a Participant B begins to express his viewpoint, the system calculates the position of the Participant B again, and controls the camera to rotate towards the direction of the Participant B. In this case, the camera will be shaken between different participants using simply follow of the camera before. This situation may cause the video conference very uncomfortable and unacceptable.

In summary, the existing shooting control adopts a single tracking method, which is difficult to meet the scheduling requirements of the scene, and cannot handle the contradiction between the fast switching of the voice during the synchronous communication of the video and audio and the rotation of the camera, and the camera will be shaken between multiple speakers when the multiple speakers are communicated due to frequently and fast moving the camera, and shooting control is not efficient.

SUMMARY

For this reason, the present application provides a method and a device for controlling camera shooting, a smart device and a computer storage medium, in order to solve the problem that the existing shooting control adopts a single tracking method, which is difficult to meet the scheduling requirements of the scene, and cannot handle the contradiction between the fast switching of the voice during the synchronous communication of the video and audio and the rotation of the camera, and the camera will be shaken between multiple speakers when the multiple speakers are communicated due to frequently and fast moving the camera, and shooting control is not efficient.

In a first aspect of the present application, a method for controlling camera shooting, the method includes steps of:

collecting voice data of a sound source object;

extracting a voice feature based on the voice data of the sound source object;

determining a current voice scene according to the extracted voice feature and a voice feature corresponding to a preset voice scene;

acquiring a shooting mode corresponding to the current voice scene, and controlling the movement of the camera according to the shooting mode corresponding to the current voice scene.

In a second aspect of the present application, a device for controlling camera shooting, the device includes:

a voice collection unit, configured to collect voice data of a sound source object;

a feature extraction unit, configured to extract a voice feature based on the voice data of the sound source object;

a scene determination unit, configured to determine a current voice scene according to the extracted voice feature and a voice feature corresponding to the preset voice scene; and

a orientation control unit, configured to acquire a shooting mode corresponding to the current voice scene, and control movement of the camera according to the shooting mode corresponding to the current voice scene.

In a third aspect of the present application, a smart device, comprising: a memory, a processor, and a computer program stored in the memory and executed by the processor, when the processor executes the computer program, the steps claimed in the first aspect are implemented.

In a fourth aspect of the present application, a computer storage medium, the computer storage medium is stored with a computer program, wherein when the computer program is executed by a processor, the steps claimed in the first aspect are implemented.

Compared with the prior art, the embodiment of the present application has the following beneficial effects: in the embodiment of the present application, the voice data of the sound source object is collected, and then the voice feature is extracted based on the voice data of the sound source object, and then the current voice scene is determined according to the extracted voice feature and the voice feature corresponding to the preset voice scene, and finally, the shooting mode corresponding to the current voice scene is acquired, and the camera is controlled to move according to the shooting mode corresponding to the current voice scene, and the camera uses different shooting modes to control the moving and rotation of the camera according to different voice scenes, which avoids the camera from rotating frequently when a plurality of participants are speaking at the same time, therefore, not only meet the shooting needs, but also improve the shooting efficiency and user experience.

