Directional sound production control method and device, sound production equipment, medium and electronic equipment

文档序号:1651481 发布日期:2019-12-24 浏览:30次 中文

阅读说明:本技术 定向发声控制方法及装置、发声设备、介质和电子设备 (Directional sound production control method and device, sound production equipment, medium and electronic equipment ) 是由 贾玉虎 于 2019-09-06 设计创作,主要内容包括:本发明公开了一种定向发声控制方法、定向发声控制装置、定向发声设备、存储介质和电子设备,涉及定向发声技术领域。该定向发声控制方法包括:采集定向发声设备所处环境中一目标用户的人脸图像;如果目标用户的人脸图像与预存人脸图像匹配,则确定目标用户相对于定向发声设备的方向,作为目标方向;控制定向发声设备的声音发出端调整至目标方向,以便沿目标方向执行定向发声。本公开可以提高用户使用定向发声设备的便利性,使得定向发声过程更加智能。(The invention discloses a directional sounding control method, a directional sounding control device, a directional sounding device, a storage medium and an electronic device, and relates to the technical field of directional sounding. The directional sounding control method comprises the following steps: acquiring a face image of a target user in the environment where the directional sounding equipment is located; if the face image of the target user is matched with the prestored face image, determining the direction of the target user relative to the directional sound production equipment as a target direction; and controlling the sound emitting end of the directional sound emitting device to adjust to the target direction so as to perform directional sound emission along the target direction. The directional sounding device can improve the convenience of using the directional sounding device by a user, so that the directional sounding process is more intelligent.)

1. A directional sounding control method is applied to a directional sounding process executed by a directional sounding device, and is characterized by comprising the following steps:

acquiring a face image of a target user in the environment where the directional sounding equipment is located;

if the face image of the target user is matched with a prestored face image, determining the direction of the target user relative to the directional sound production equipment as a target direction;

and controlling the sound emitting end of the directional sound emitting device to adjust to the target direction so as to execute directional sound emission along the target direction.

2. The directional sound emission control method according to claim 1, further comprising:

detecting whether a user exists in the environment where the directional sounding device is located;

and if so, determining the user in the environment where the directional sound production equipment is located as the target user, and executing a process of acquiring the face image of the target user.

3. The directional-sound-production control method of claim 2, wherein detecting whether a user is present in the environment in which the directional-sound-production device is located comprises:

carrying out infrared detection on the environment where the directional sounding equipment is located;

and determining whether a user exists in the environment where the directional sounding device is located according to the imaging result of the infrared detection.

4. The directional sound emission control method according to claim 2, further comprising:

responding to a directional sounding trigger event, and if the user is not detected in the environment where the directional sounding equipment is located within a preset time period, controlling a sound emitting end of the directional sounding equipment to perform directional sounding along a preset default direction.

5. The directional sound production control method according to claim 1, wherein determining the direction of the target user relative to the directional sound production device as a target direction comprises:

determining the shooting angle of a camera when the directional sound production equipment shoots the face image of the target user;

and determining the direction of the target user relative to the directional sound production equipment according to the shooting angle of the camera, and taking the direction as the target direction.

6. The directional sound production control method according to claim 1, wherein determining the direction of the target user relative to the directional sound production device as a target direction comprises:

determining a target image which is shot by the directional sound-emitting device and contains a target user;

extracting background information in the target image;

determining the position of the background information in the environment by utilizing prestored environment information;

determining a direction of the target user relative to the directional sound production device as a target direction based on the location of the context information in the environment.

7. The directional sound emission control method according to any one of claims 1 to 6, further comprising:

before the sound emitting end of the directional sound emitting device is adjusted to the target direction, controlling the directional sound emitting device not to perform directional sound emission; and

and if the sound emitting end of the directional sound emitting device is adjusted to the target direction, controlling the directional sound emitting device to start to perform directional sound emission.

8. A directional sound emission control device provided in a directional sound emission device, the directional sound emission control device comprising:

the face image acquisition module is used for acquiring a face image of a target user in the environment where the directional sounding equipment is located;

the target direction determining module is used for determining the direction of the target user relative to the directional sound production equipment as a target direction if the face image of the target user is matched with a prestored face image;

and the directional sounding control module is used for controlling the sound emitting end of the directional sounding equipment to be adjusted to the target direction so as to execute directional sounding along the target direction.

9. A directional sound production device, comprising:

the face detection module is used for acquiring a face image of a target user in the environment where the directional sound production equipment is located, comparing the face image of the target user with a prestored face image, and sending a comparison success instruction if the face image of the target user is matched with the prestored face image;

the main control module is used for receiving the comparison success instruction, determining the direction of the target user relative to the directional sounding device as a target direction, generating a direction adjusting instruction based on the target direction and sending the direction adjusting instruction;

and the direction adjusting module is used for receiving the direction adjusting instruction and controlling the sound emitting end of the directional sound emitting device to adjust to the target direction so that the directional sound emitting device can perform directional sound emission along the target direction.

10. The directional sound production device of claim 9, further comprising:

the user detection module is used for detecting whether a user exists in the environment where the directional sounding equipment is located; and if so, controlling the face detection module to execute the process of acquiring the face image of the target user.

11. A directional sound production device according to claim 10, wherein the user detection module comprises:

and the infrared detection module is used for carrying out infrared detection on the environment where the directional sound production equipment is located and determining whether a user exists in the environment where the directional sound production equipment is located according to an imaging result of the infrared detection.

12. The directional sound production device according to claim 10, wherein the main control module is further configured to control the sound emitting end of the directional sound production device to perform directional sound production in a preset default direction if the user presence information sent by the user detection module is not received within a preset time period in response to the directional sound production trigger event.

13. The directional sound production device according to claim 9, wherein the main control module is further configured to determine a shooting angle of a camera when the directional sound production device shoots a face image of the target user, and determine a direction of the target user relative to the directional sound production device as a target direction according to the shooting angle of the camera.

14. The directional sound production device according to claim 9, wherein the main control module is further configured to determine a target image captured by the directional sound production device and containing a target user, extract background information in the target image, determine a location of the background information in the environment by using pre-stored environment information, and determine a direction of the target user relative to the directional sound production device as a target direction based on the location of the background information in the environment.

15. The directional sound production device according to any one of claims 9 to 14, wherein the main control module is further configured to control the directional sound production device not to perform directional sound production until the sound production end of the directional sound production device is adjusted to the target direction; and if the sound emitting end of the directional sound emitting device is adjusted to the target direction, controlling the directional sound emitting device to start to perform directional sound emission.

16. A storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, implements the directional sound emission control method according to any one of claims 1 to 7.

17. An electronic device, comprising:

a processor; and

a memory for storing executable instructions of the processor;

wherein the processor is configured to perform the directional voicing control method of any of claims 1-7 via execution of the executable instructions.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:麦克风增益调节方法、装置、系统及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类