CN108805086B - Media control method and audio processing device - Google Patents
Media control method and audio processing device Download PDFInfo
- Publication number
- CN108805086B CN108805086B CN201810612354.XA CN201810612354A CN108805086B CN 108805086 B CN108805086 B CN 108805086B CN 201810612354 A CN201810612354 A CN 201810612354A CN 108805086 B CN108805086 B CN 108805086B
- Authority
- CN
- China
- Prior art keywords
- signal
- media stream
- environment
- preset condition
- image
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Circuit For Audible Band Transducer (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
The application discloses a media control method, which comprises the following steps: the method comprises the steps of obtaining a media stream signal, modulating the media stream signal to an ultrasonic carrier signal when environmental information meets a preset condition, and outputting a modulation signal, so that the modulation signal can be directionally received in a predetermined target area. The method and the device can realize directional playing of the sound in the sound playing process, enable the playing content to be played only in the target range, and improve user experience. The application also discloses an audio processing device.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a media control method and an audio processing apparatus.
Background
With the continuous development of electronic technology, more and more electronic devices have a sound playing function. Such as a sound. At present, when sound is played, omnidirectional sound is played mainly through two full-band loudspeakers, and played content can be heard at each angle. When the system is used in public places, the existing sound playing mode may influence the lives of other people, and the user experience is poor.
Therefore, how to realize the directional playing of sound and make the playing content only play within the target range is an urgent problem to be solved.
Disclosure of Invention
In view of this, the present application provides a media control method, which can implement directional play of sound in the sound playing process, so that the played content is only played within the target range, and user experience is improved.
The application provides a media control method, which comprises the following steps:
acquiring a media stream signal;
and when the environmental information meets a preset condition, modulating the media stream signal to an ultrasonic carrier signal, and outputting a modulation signal, so that the modulation signal can be directionally received in a predetermined target area.
Preferably, the method further comprises:
acquiring an image of the environment;
carrying out portrait recognition on the collected image;
and when the region outside the target region in the image contains the portrait, determining that the environmental information meets a preset condition.
Preferably, when the environmental information does not satisfy a preset condition, the method further includes:
and playing the media stream signal in the environment in a full frequency band.
Preferably, the predetermining the target region comprises:
acquiring an image of the environment;
carrying out portrait recognition on the collected image;
and when the image contains the target person portrait, determining the preset range where the target person is located as a target area.
Preferably, when the environmental information satisfies a preset condition, modulating the media stream signal onto an ultrasonic carrier signal, and outputting a modulation signal, so that the directional reception of the modulation signal in a predetermined target area includes:
amplifying the modulated signal based on a power amplifier;
outputting the amplified modulation signal to the predetermined target area through the ultrasound transducer array.
An audio processing device comprising:
the memory is used for storing the application program and data generated by the operation of the application program;
the signal acquisition device is used for acquiring media stream signals;
and the processor is used for running the application program to modulate the media stream signal onto an ultrasonic carrier signal and output a modulation signal when the environmental information meets a preset condition, so that the modulation signal can be directionally received in a predetermined target area.
Preferably, the apparatus further comprises:
the first shooting device is used for acquiring an image of the environment;
the processor is further configured to perform portrait recognition on the acquired image, and when a region other than the target region in the image includes a portrait, it is determined that the environmental information satisfies a preset condition.
Preferably, the apparatus further comprises: a horn;
and the loudspeaker is used for playing the media stream signal in a full frequency band in the environment when the environment information does not meet the preset condition.
Preferably, the apparatus further comprises:
the second shooting device is used for acquiring an image of the environment;
the processor is further used for identifying the portrait of the acquired image, and when the image contains the portrait of the target person, the preset range where the target person is located is determined as the target area.
Preferably, the apparatus further comprises: a power amplifier and an ultrasound transducer array, wherein:
the power amplifier is used for amplifying the modulation signal;
the ultrasonic transducer array is used for outputting the amplified modulation signal to the predetermined target area.
According to the technical scheme, the media control method comprises the steps of firstly obtaining a media stream signal, modulating the media stream signal to an ultrasonic carrier signal when environmental information meets preset conditions, outputting a modulation signal, enabling the modulation signal to be received in a predetermined target area in a directional mode, achieving directional playing of sound in a sound playing process according to actual requirements of a user, enabling playing content to be played only in a target range, and improving user experience.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method of an embodiment 1 of a media control method disclosed in the present application;
fig. 2 is a flowchart of a method of an embodiment 2 of a media control method disclosed in the present application;
fig. 3 is a flowchart of a method according to embodiment 3 of the media control method disclosed in the present application;
fig. 4 is a flowchart of a method according to embodiment 4 of the media control method disclosed in the present application;
fig. 5 is a schematic structural diagram of an audio processing apparatus embodiment 1 disclosed in the present application;
fig. 6 is a schematic structural diagram of an audio processing apparatus embodiment 2 disclosed in the present application;
fig. 7 is a schematic structural diagram of an audio processing apparatus embodiment 3 disclosed in the present application;
fig. 8 is a schematic structural diagram of an audio processing apparatus embodiment 4 disclosed in 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 only a part of the embodiments of the present application, and not all of the embodiments. 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.
As shown in fig. 1, which is a flowchart of a method of embodiment 1 of a media control method disclosed in the present application, the method may include the following steps:
s101, acquiring a media stream signal;
when an audio processing device needs to play sound, a media stream signal is first acquired, where the media stream signal is a signal carrying playing content, and the audio processing device may be a device capable of playing sound, such as a sound box.
And S102, when the environmental information meets the preset condition, modulating the media stream signal to an ultrasonic carrier signal, and outputting a modulation signal, so that the modulation signal can be directionally received in a predetermined target area.
After the media stream signal is acquired, the environment where the audio processing device is located is further detected, whether the environment information meets a preset condition is judged, and when the environment information meets the preset condition, the media stream signal is modulated to the ultrasonic carrier signal, so that the modulated signal can be directionally received in a predetermined target area, namely, the content carried by the media stream signal is played in the predetermined target area. It should be noted that the preset condition is a condition that a user needs to directionally play the content carried by the media stream signal.
In summary, in the above embodiments, when media needs to be controlled, a media stream signal is first obtained, and when environment information meets a preset condition, the media stream signal is modulated onto an ultrasonic carrier signal, and a modulation signal is output, so that the modulation signal can be directionally received in a predetermined target area, and directional play of sound can be realized in a sound playing process according to actual needs of a user, so that played content is only played within a target range, and user experience is improved.
As shown in fig. 2, which is a flowchart of a method of embodiment 2 of the media control method disclosed in the present application, the method may include the following steps:
s201, collecting an image of an environment;
when the media needs to be controlled, the environment where the audio processing device is located needs to be detected, and whether the environment information meets the preset condition or not is judged. When judging whether the environment information meets the preset condition, the image of the environment where the audio processing equipment is located can be collected firstly, wherein the range of the collected image can be flexibly set according to the requirements of users.
S202, identifying the portrait of the collected image;
and after the image of the environment where the audio processing equipment is located is acquired, carrying out portrait recognition on the acquired image. That is, it is determined whether or not a portrait exists in the acquired image.
S203, when the region outside the target region in the image contains the portrait, determining that the environmental information meets a preset condition;
after recognition, when the region outside the predetermined target region contains the portrait, that is, the user does not influence the person outside the target region when playing the content carried by the media stream signal, it is determined that the environmental information at this time satisfies the preset condition.
S204, acquiring a media stream signal;
when audio processing equipment needs to play sound, media stream signals are obtained, wherein the media stream signals are signals carrying playing contents, and the audio processing equipment can be equipment capable of playing sound such as a sound box.
S205, when the environmental information meets the preset condition, modulating the media stream signal to an ultrasonic carrier signal, and outputting a modulation signal, so that the modulation signal can be directionally received in a predetermined target area.
After the media stream signal is acquired, when the environment information meets the preset condition, the media stream signal is modulated to the ultrasonic carrier signal, so that the modulated signal can be directionally received in a predetermined target area, namely, the content carried by the media stream signal is played in the predetermined target area. It should be noted that the preset condition is a condition that a user needs to directionally play the content carried by the media stream signal.
To sum up, in the above embodiment, on the basis of embodiment 1, the image of the environment of the audio processing device is further collected, and the portrait is identified for the collected image, and when the region outside the target region in the image includes the portrait, it is determined that the environment information satisfies the preset condition.
As shown in fig. 3, which is a flowchart of a method of embodiment 3 of the media control method disclosed in the present application, the method may include the following steps:
s301, collecting an image of an environment;
when the media needs to be controlled, the environment where the audio processing device is located needs to be detected, and whether the environment information meets the preset condition or not is judged. When judging whether the environment information meets the preset condition, the image of the environment where the audio processing equipment is located can be collected firstly, wherein the range of the collected image can be flexibly set according to the requirements of users.
S302, identifying the portrait of the collected image;
and after the image of the environment where the audio processing equipment is located is acquired, carrying out portrait recognition on the acquired image. That is, it is determined whether or not a portrait exists in the acquired image.
S303, when the region outside the target region in the image contains the portrait, determining that the environmental information meets a preset condition;
after recognition, when the region outside the predetermined target region contains the portrait, that is, the user does not influence the person outside the target region when playing the content carried by the media stream signal, it is determined that the environmental information at this time satisfies the preset condition.
S304, acquiring a media stream signal;
when audio processing equipment needs to play sound, media stream signals are obtained, wherein the media stream signals are signals carrying playing contents, and the audio processing equipment can be equipment capable of playing sound such as a sound box.
S305, when the environmental information meets the preset condition, modulating the media stream signal to an ultrasonic carrier signal, and outputting a modulation signal to enable the modulation signal to be directionally received in a predetermined target area;
after the media stream signal is acquired, when the environment information meets the preset condition, the media stream signal is modulated to the ultrasonic carrier signal, so that the modulated signal can be directionally received in a predetermined target area, namely, the content carried by the media stream signal is played in the predetermined target area. It should be noted that the preset condition is a condition that a user needs to directionally play the content carried by the media stream signal.
And S306, when the environment information does not meet the preset condition, playing the media stream signal in the environment in full frequency band.
When the environmental information of the environment where the audio processing device is located does not meet the preset condition, the media stream signal is played in the environment in full frequency band, that is, the played sound can be heard in the environment where the audio processing device is located.
In summary, in the above embodiments, by acquiring an image of an environment where the audio processing apparatus is located, and performing portrait recognition on the acquired image, when a region outside a target region in the image includes a portrait, it is determined that environment information satisfies a preset condition, when a region outside the target region in the image does not include a portrait, it is determined that the environment information does not satisfy the preset condition, and when the environment information satisfies the preset condition, a media stream signal is modulated onto an ultrasonic carrier signal, and a modulation signal is output, so that the modulation signal can be directionally received in the predetermined target region, and directional play of sound can be realized in a sound play process according to an actual requirement of a user, so that a play content is only played in the target range, and user experience is improved. And when the environment information does not meet the preset condition, playing the media stream signal in the environment in full frequency band. The media stream signal can be played directionally or in full frequency according to the environment condition.
As shown in fig. 4, which is a flowchart of a method of embodiment 4 of the media control method disclosed in the present application, the method may include the following steps:
s401, collecting an image of an environment;
when the media needs to be controlled, the environment where the audio processing device is located needs to be detected, and whether the environment information meets the preset condition or not is judged. When judging whether the environment information meets the preset condition, the image of the environment where the audio processing equipment is located can be collected firstly, wherein the range of the collected image can be flexibly set according to the requirements of users.
S402, identifying the portrait of the collected image;
and after the image of the environment where the audio processing equipment is located is acquired, carrying out portrait recognition on the acquired image. That is, it is determined whether or not a portrait exists in the acquired image.
S403, when the region outside the target region in the image contains the portrait, determining that the environmental information meets a preset condition;
after recognition, when the region outside the predetermined target region contains the portrait, that is, the user does not influence the person outside the target region when playing the content carried by the media stream signal, it is determined that the environmental information at this time satisfies the preset condition.
S404, acquiring a media stream signal;
when audio processing equipment needs to play sound, media stream signals are obtained, wherein the media stream signals are signals carrying playing contents, and the audio processing equipment can be equipment capable of playing sound such as a sound box.
S405, amplifying the modulation signal based on the power amplifier when the environmental information meets the preset condition;
and when the environmental information meets the preset condition, performing power amplification on the modulation signal through a power amplifier.
S406, outputting the amplified modulation signal to a predetermined target area through an ultrasonic transducer array;
the modulated signal after power amplification is output to a predetermined target area through an ultrasonic transducer array, so that the modulated signal can be directionally received in the predetermined target area, namely, the content carried by the media stream signal is played in the predetermined target area. It should be noted that the preset condition is a condition that a user needs to directionally play the content carried by the media stream signal.
And S407, when the environment information does not meet the preset condition, playing the media stream signal in the environment in full frequency band.
When the environmental information of the environment where the audio processing device is located does not meet the preset condition, the media stream signal is played in the environment in full frequency band, that is, the played sound can be heard in the environment where the audio processing device is located.
To sum up, in the above embodiment, when the environment information satisfies the preset condition, the power amplifier amplifies the modulation signal, and the modulation signal after power amplification is output to the predetermined target area through the ultrasonic transducer array, so that the modulation signal can be directionally received in the predetermined target area, that is, the content carried by the media stream signal is played in the predetermined target area.
Specifically, in the above embodiment, one implementation manner of determining the target area in advance may be that, by acquiring an image of an environment where the audio processing device is located, and then performing portrait recognition on the acquired image, when the image includes a target portrait, a preset range where the target person is located is determined as the target area. The target person figure can be flexibly set according to the actual requirement of the user, for example, the figure of the user can be determined as the target person figure.
As shown in fig. 5, which is a schematic structural diagram of an embodiment 1 of the audio processing apparatus disclosed in the present application, the audio processing apparatus may include:
a memory 501 for storing an application program and data generated by the application program;
a signal acquisition device 502, configured to acquire a media stream signal;
when an audio processing device needs to play sound, a media stream signal is first acquired, where the media stream signal is a signal carrying playing content, and the audio processing device may be a device capable of playing sound, such as a sound box.
The processor 503 is configured to run an application program to modulate the media stream signal onto the ultrasonic carrier signal and output a modulated signal when the environmental information satisfies a preset condition, so that the modulated signal can be directionally received in a predetermined target area.
After the media stream signal is acquired, the environment where the audio processing device is located is further detected, whether the environment information meets a preset condition is judged, and when the environment information meets the preset condition, the media stream signal is modulated to the ultrasonic carrier signal, so that the modulated signal can be directionally received in a predetermined target area, namely, the content carried by the media stream signal is played in the predetermined target area. It should be noted that the preset condition is a condition that a user needs to directionally play the content carried by the media stream signal.
In summary, in the above embodiments, when media needs to be controlled, a media stream signal is first obtained, and when environment information meets a preset condition, the media stream signal is modulated onto an ultrasonic carrier signal, and a modulation signal is output, so that the modulation signal can be directionally received in a predetermined target area, and directional play of sound can be realized in a sound playing process according to actual needs of a user, so that played content is only played within a target range, and user experience is improved.
As shown in fig. 6, which is a schematic structural diagram of an embodiment 2 of the audio processing apparatus disclosed in the present application, the audio processing apparatus may include:
a memory 601 for storing application programs and data generated by the application programs;
a first camera 602 for acquiring an image of an environment;
when the media needs to be controlled, the environment where the audio processing device is located needs to be detected, and whether the environment information meets the preset condition or not is judged. When judging whether the environmental information meets the preset condition, the image of the environment where the audio processing equipment is located can be collected through the first shooting device at first, wherein the collected image range can be flexibly set according to the user requirement, and the first shooting device can be a camera.
The processor 603 is configured to run an application program to perform portrait recognition on the acquired image, and when a region other than the target region in the image includes a portrait, determine that the environmental information meets a preset condition;
and after the image of the environment where the audio processing equipment is located is acquired, carrying out portrait recognition on the acquired image. That is, it is determined whether or not a portrait exists in the acquired image.
After recognition, when the region outside the predetermined target region contains the portrait, that is, the user does not influence the person outside the target region when playing the content carried by the media stream signal, it is determined that the environmental information at this time satisfies the preset condition.
A signal acquisition device 604, configured to acquire a media stream signal;
when audio processing equipment needs to play sound, media stream signals are obtained, wherein the media stream signals are signals carrying playing contents, and the audio processing equipment can be equipment capable of playing sound such as a sound box.
The processor 603 is further configured to modulate the media stream signal onto the ultrasonic carrier signal and output a modulated signal when the environmental information satisfies a preset condition, so that the modulated signal can be directionally received in a predetermined target area.
After the media stream signal is acquired, when the environment information meets the preset condition, the media stream signal is modulated to the ultrasonic carrier signal, so that the modulated signal can be directionally received in a predetermined target area, namely, the content carried by the media stream signal is played in the predetermined target area. It should be noted that the preset condition is a condition that a user needs to directionally play the content carried by the media stream signal.
To sum up, in the above embodiment, on the basis of embodiment 1, the image of the environment of the audio processing device is further collected, and the portrait is identified for the collected image, and when the region outside the target region in the image includes the portrait, it is determined that the environment information satisfies the preset condition.
As shown in fig. 7, which is a schematic structural diagram of an embodiment 3 of the audio processing apparatus disclosed in the present application, the audio processing apparatus may include:
a memory 701 for storing an application program and data generated by the application program;
a first camera 702 for acquiring an image of an environment;
when the media needs to be controlled, the environment where the audio processing device is located needs to be detected, and whether the environment information meets the preset condition or not is judged. When judging whether the environmental information meets the preset condition, the image of the environment where the audio processing equipment is located can be collected through the first shooting device at first, wherein the collected image range can be flexibly set according to the user requirement, and the first shooting device can be a camera.
A processor 703, configured to run an application program to perform portrait recognition on the acquired image, and determine that the environment information satisfies a preset condition when a region other than the target region in the image includes a portrait;
and after the image of the environment where the audio processing equipment is located is acquired, carrying out portrait recognition on the acquired image. That is, it is determined whether or not a portrait exists in the acquired image.
After recognition, when the region outside the predetermined target region contains the portrait, that is, the user does not influence the person outside the target region when playing the content carried by the media stream signal, it is determined that the environmental information at this time satisfies the preset condition.
A signal acquisition device 704, configured to acquire a media stream signal;
when audio processing equipment needs to play sound, media stream signals are obtained, wherein the media stream signals are signals carrying playing contents, and the audio processing equipment can be equipment capable of playing sound such as a sound box.
The processor 703 is further configured to modulate the media stream signal onto the ultrasonic carrier signal and output a modulation signal when the environmental information satisfies a preset condition, so that the modulation signal can be directionally received in a predetermined target area.
After the media stream signal is acquired, when the environment information meets the preset condition, the media stream signal is modulated to the ultrasonic carrier signal, so that the modulated signal can be directionally received in a predetermined target area, namely, the content carried by the media stream signal is played in the predetermined target area. It should be noted that the preset condition is a condition that a user needs to directionally play the content carried by the media stream signal.
The speaker 705 is configured to play the media stream signal in a full frequency band in the environment when the environment information does not satisfy the preset condition.
When the environmental information of the environment where the audio processing device is located does not meet the preset condition, the media stream signal is played in the environment in full frequency band, that is, the played sound can be heard in the environment where the audio processing device is located.
In summary, in the above embodiments, by acquiring an image of an environment where the audio processing apparatus is located, and performing portrait recognition on the acquired image, when a region outside a target region in the image includes a portrait, it is determined that environment information satisfies a preset condition, when a region outside the target region in the image does not include a portrait, it is determined that the environment information does not satisfy the preset condition, and when the environment information satisfies the preset condition, a media stream signal is modulated onto an ultrasonic carrier signal, and a modulation signal is output, so that the modulation signal can be directionally received in the predetermined target region, and directional play of sound can be realized in a sound play process according to an actual requirement of a user, so that a play content is only played in the target range, and user experience is improved. And when the environment information does not meet the preset condition, playing the media stream signal in the environment in full frequency band. The media stream signal can be played directionally or in full frequency according to the environment condition.
As shown in fig. 8, which is a schematic structural diagram of an embodiment 4 of the audio processing apparatus disclosed in the present application, the audio processing apparatus may include:
a memory 801 for storing application programs and data generated by the application programs;
a first camera 802 for capturing images of an environment;
when the media needs to be controlled, the environment where the audio processing device is located needs to be detected, and whether the environment information meets the preset condition or not is judged. When judging whether the environmental information meets the preset condition, the image of the environment where the audio processing equipment is located can be collected through the first shooting device at first, wherein the collected image range can be flexibly set according to the user requirement, and the first shooting device can be a camera.
A processor 803, configured to run an application program to perform portrait recognition on the acquired image, and determine that the environmental information satisfies a preset condition when a region other than the target region in the image includes a portrait;
and after the image of the environment where the audio processing equipment is located is acquired, carrying out portrait recognition on the acquired image. That is, it is determined whether or not a portrait exists in the acquired image.
After recognition, when the region outside the predetermined target region contains the portrait, that is, the user does not influence the person outside the target region when playing the content carried by the media stream signal, it is determined that the environmental information at this time satisfies the preset condition.
A signal acquisition device 804, configured to acquire a media stream signal;
when audio processing equipment needs to play sound, media stream signals are obtained, wherein the media stream signals are signals carrying playing contents, and the audio processing equipment can be equipment capable of playing sound such as a sound box.
A power amplifier 805 for amplifying the modulated signal based on the power amplifier when the environmental information satisfies a preset condition;
and when the environmental information meets the preset condition, performing power amplification on the modulation signal through a power amplifier.
An ultrasonic transducer array 806 for outputting the amplified modulation signal to a predetermined target area through the ultrasonic transducer array;
the modulated signal after power amplification is output to a predetermined target area through an ultrasonic transducer array, so that the modulated signal can be directionally received in the predetermined target area, namely, the content carried by the media stream signal is played in the predetermined target area. It should be noted that the preset condition is a condition that a user needs to directionally play the content carried by the media stream signal.
A speaker 807 for playing the media stream signal in the full frequency band in the environment when the environment information does not satisfy the preset condition.
When the environmental information of the environment where the audio processing device is located does not meet the preset condition, the media stream signal is played in the environment in full frequency band, that is, the played sound can be heard in the environment where the audio processing device is located.
To sum up, in the above embodiment, when the environment information satisfies the preset condition, the power amplifier amplifies the modulation signal, and the modulation signal after power amplification is output to the predetermined target area through the ultrasonic transducer array, so that the modulation signal can be directionally received in the predetermined target area, that is, the content carried by the media stream signal is played in the predetermined target area.
Specifically, in the above embodiment, one implementation manner of determining the target area in advance may be that an image of an environment where the audio processing device is located is captured by the second capturing device, then the captured image is subjected to portrait recognition by the processor, and when the image includes the target portrait, a preset range where the target person is located is determined as the target area. The target character portrait can be flexibly set according to the actual requirements of the user, for example, the portrait of the user can be determined as the target character portrait; the second photographing device may be a camera.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A media control method, the method comprising:
acquiring an image of an environment;
carrying out portrait recognition on the collected image;
when the region outside the target region in the image contains the portrait, determining that the environmental information meets a preset condition;
acquiring a media stream signal;
when the environment information meets the preset condition, modulating the media stream signal to an ultrasonic carrier signal, outputting a modulation signal, and enabling the predetermined target area to be capable of directionally receiving the modulation signal so as not to influence people outside the target area when the media stream signal carries content, wherein the environment information meets the preset condition and comprises people in the area outside the target area.
2. The method according to claim 1, wherein when the environmental information does not satisfy a preset condition, the method further comprises:
and playing the media stream signal in the environment in a full frequency band.
3. The method of claim 1, wherein predetermining a target region comprises:
and when the image contains the target person portrait, determining the preset range where the target person is located as a target area.
4. The method of claim 1, wherein modulating the media stream signal onto an ultrasonic carrier signal when the environmental information satisfies a preset condition, outputting a modulation signal such that the modulation signal can be directionally received in a predetermined target area comprises:
amplifying the modulated signal based on a power amplifier;
outputting the amplified modulation signal to the predetermined target area through an ultrasound transducer array.
5. An audio processing device, comprising:
the memory is used for storing the application program and data generated by the operation of the application program;
the signal acquisition device is used for acquiring media stream signals;
the processor is used for running the application program to modulate the media stream signal onto an ultrasonic carrier signal and output a modulation signal when environmental information meets preset conditions, so that the modulation signal can be directionally received in a predetermined target area, and people outside the target area are not influenced when the content carried by the media stream signal is played, wherein the environmental information meets the preset conditions and comprises people in the area outside the target area;
the first shooting device is used for acquiring an image of the environment;
the processor is further configured to perform portrait recognition on the acquired image, and when a region other than the target region in the image includes a portrait, it is determined that the environmental information satisfies a preset condition.
6. The apparatus of claim 5, further comprising: a horn;
and the loudspeaker is used for playing the media stream signal in a full frequency band in the environment when the environment information does not meet the preset condition.
7. The apparatus of claim 5, further comprising:
the second shooting device is used for acquiring an image of the environment;
the processor is further used for identifying the portrait of the acquired image, and when the image contains the portrait of the target person, the preset range where the target person is located is determined as the target area.
8. The apparatus of claim 5, further comprising: a power amplifier and an ultrasound transducer array, wherein:
the power amplifier is used for amplifying the modulation signal;
the ultrasonic transducer array is used for outputting the amplified modulation signal to the predetermined target area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810612354.XA CN108805086B (en) | 2018-06-14 | 2018-06-14 | Media control method and audio processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810612354.XA CN108805086B (en) | 2018-06-14 | 2018-06-14 | Media control method and audio processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108805086A CN108805086A (en) | 2018-11-13 |
CN108805086B true CN108805086B (en) | 2021-09-14 |
Family
ID=64086107
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810612354.XA Active CN108805086B (en) | 2018-06-14 | 2018-06-14 | Media control method and audio processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108805086B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111385649B (en) * | 2018-12-28 | 2022-01-04 | 深圳Tcl新技术有限公司 | Television sound transmission control method and device, smart television and storage medium |
CN112218209A (en) * | 2019-07-10 | 2021-01-12 | 北京小米移动软件有限公司 | Directional sound production component and mobile terminal |
CN112565973B (en) * | 2020-12-21 | 2023-08-01 | Oppo广东移动通信有限公司 | Terminal, terminal control method, device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469491A (en) * | 2013-09-13 | 2015-03-25 | 索尼公司 | audio delivery method and audio delivery system |
CN106664488A (en) * | 2014-06-30 | 2017-05-10 | 微软技术许可有限责任公司 | Driving parametric speakers as a function of tracked user location |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005507727A (en) * | 2001-10-16 | 2005-03-24 | ザ スキーペンズ アイ リサーチ インスティテュート インコーポレイテッド | Retinography digital processing device |
AU2004316031B2 (en) * | 2004-02-25 | 2011-04-21 | Accenture Global Services Limited | RFID protected media system and method that provides dynamic downloadable media |
CN103167376B (en) * | 2011-12-13 | 2015-07-08 | 中国科学院声学研究所 | Directional loudspeaker and signal processing method thereof |
KR101970962B1 (en) * | 2012-03-19 | 2019-04-22 | 삼성전자주식회사 | Method and apparatus for baby monitering |
CN104853279B (en) * | 2015-06-08 | 2019-06-18 | 北京声智科技有限公司 | A kind of orientation sound generation device and method |
CN105007553A (en) * | 2015-07-23 | 2015-10-28 | 惠州Tcl移动通信有限公司 | Sound oriented transmission method of mobile terminal and mobile terminal |
CN205983832U (en) * | 2016-04-26 | 2017-02-22 | 交通运输部公路科学研究所 | System with safety precaution is dredged to passenger flow based on audio frequency and video |
CN107277268B (en) * | 2017-07-17 | 2020-02-18 | 维沃移动通信有限公司 | Audio playing method and mobile terminal |
CN107656718A (en) * | 2017-08-02 | 2018-02-02 | 宇龙计算机通信科技(深圳)有限公司 | A kind of audio signal direction propagation method, apparatus, terminal and storage medium |
CN108089704A (en) * | 2017-12-15 | 2018-05-29 | 歌尔科技有限公司 | A kind of VR equipment and its experience control method, system, device, storage medium |
-
2018
- 2018-06-14 CN CN201810612354.XA patent/CN108805086B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469491A (en) * | 2013-09-13 | 2015-03-25 | 索尼公司 | audio delivery method and audio delivery system |
CN106664488A (en) * | 2014-06-30 | 2017-05-10 | 微软技术许可有限责任公司 | Driving parametric speakers as a function of tracked user location |
Also Published As
Publication number | Publication date |
---|---|
CN108805086A (en) | 2018-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108805086B (en) | Media control method and audio processing device | |
US20200043484A1 (en) | Detection of replay attack | |
US9703524B2 (en) | Privacy protection in collective feedforward | |
US10075805B2 (en) | Method and apparatus for processing audio signal based on speaker location information | |
JP6690007B2 (en) | Processing device, server device, output method, and program | |
WO2017195616A1 (en) | Information-processing device and method | |
CN107566884B (en) | Connection method, server and terminal | |
CN113411725B (en) | Audio playing method and device, mobile terminal and storage medium | |
WO2018079623A1 (en) | Processing device, server device, output method, and program | |
CN111681668B (en) | Acoustic imaging method and terminal equipment | |
JP6787177B2 (en) | Position information management system, output device, sound wave output control method, and program | |
CN109218913B (en) | Sound adjusting method, terminal equipment and device with storage function | |
KR20210002838A (en) | Vehicle and control method for the same | |
CN108919277B (en) | Indoor and outdoor environment identification method and system based on sub-ultrasonic waves and storage medium | |
CN110191398B (en) | Howling suppression method, howling suppression device and computer readable storage medium | |
CN113766385A (en) | Earphone noise reduction method and device | |
US10997984B2 (en) | Sounding device, audio transmission system, and audio analysis method thereof | |
CN111147655A (en) | Model generation method and device | |
US10945067B2 (en) | Area reproduction method, computer readable recording medium which records area reproduction program, and area reproduction system | |
EP3688870B1 (en) | Inference and correction of automatic gain compensation | |
JP2010185974A (en) | Noise suppressing device and noise suppressing method | |
CN112788515B (en) | Audio processing | |
US11145320B2 (en) | Privacy protection in collective feedforward | |
CN108650584B (en) | Audio device, information processing system, and sound processing method | |
WO2021209683A1 (en) | Audio processing |
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 |