WO2023070791A1 - Volume compensation optimization method and apparatus, electronic device, and readable storage medium - Google Patents

Volume compensation optimization method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2023070791A1
WO2023070791A1 PCT/CN2021/132596 CN2021132596W WO2023070791A1 WO 2023070791 A1 WO2023070791 A1 WO 2023070791A1 CN 2021132596 W CN2021132596 W CN 2021132596W WO 2023070791 A1 WO2023070791 A1 WO 2023070791A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressure level
sound pressure
volume compensation
distance
smart camera
Prior art date
Application number
PCT/CN2021/132596
Other languages
French (fr)
Chinese (zh)
Inventor
杨华泽
赵江涛
张文松
Original Assignee
歌尔科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 歌尔科技有限公司 filed Critical 歌尔科技有限公司
Publication of WO2023070791A1 publication Critical patent/WO2023070791A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Definitions

  • the present application relates to the technical field of sound processing, and in particular to a volume compensation optimization method, device, electronic equipment and readable storage medium.
  • a sound system is usually installed on a smart camera.
  • the sound system includes a microphone and a speaker, which can realize calls between families.
  • the listening sound is usually louder, and when the user is farther away from the smart camera, the listening sound is usually lower, that is, the sound system of the smart camera has poor listening effect.
  • the main purpose of this application is to provide a volume compensation optimization method, device, electronic equipment and readable storage medium, aiming to solve the technical problem of poor listening effect of the sound system of the smart camera in the prior art.
  • the present application provides a volume compensation optimization method, which is applied to a smart camera, and the volume compensation optimization method includes:
  • the step of determining the volume compensation value according to the current sound pressure level and the actual distance includes:
  • the step of determining the volume compensation value according to the current sound pressure level and the actual distance includes:
  • the volume compensation value is calculated according to the sound pressure level difference.
  • the step of calculating the volume compensation value according to the sound pressure level difference includes:
  • the sound pressure level difference is not less than the preset sound pressure level threshold, calculating a ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
  • the step of determining the appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance includes:
  • the appropriate sound pressure level is determined according to the sound pressure level compensation and the preset sound pressure level.
  • the step of detecting the actual distance between the smart camera and the target to be detected includes:
  • the actual distance is calculated according to the distance compensation value and the measured distance.
  • the step of detecting the current human body posture of the target to be detected through the smart camera includes:
  • the present application also provides a volume compensation optimization device, the volume compensation optimization device is applied to a smart camera, and the volume compensation optimization device includes:
  • a detection and acquisition module configured to detect the actual distance between the smart camera and the target to be detected, and acquire the current sound pressure level of the sound system in the smart camera;
  • a compensation determination module configured to determine a volume compensation value according to the current sound pressure level and the actual distance
  • the volume compensation module is configured to perform volume compensation on the sound system in the smart camera according to the volume compensation value.
  • the compensation determination module is also used for:
  • the compensation determination module is also used for:
  • the volume compensation value is calculated according to the sound pressure level difference.
  • the compensation determination module is also used for:
  • the sound pressure level difference is not less than the preset sound pressure level threshold, calculating a ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
  • the compensation determination module is also used for:
  • the appropriate sound pressure level is determined according to the sound pressure level compensation and the preset sound pressure level.
  • the detection and acquisition module is also used for:
  • the actual distance is calculated according to the distance compensation value and the measured distance.
  • the detection and acquisition module is also used for:
  • the present application also provides an electronic device, which includes: a memory, a processor, and a program of the volume compensation optimization method stored on the memory and operable on the processor, the volume compensation optimization When the program of the method is executed by the processor, the steps of the above volume compensation optimization method can be realized.
  • the present application also provides a readable storage medium, the readable storage medium is a computer-readable storage medium, and the computer-readable storage medium stores a program for realizing the volume compensation optimization method, and the program for the volume compensation optimization method When executed by the processor, the steps of the volume compensation optimization method as described above are realized.
  • the present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the volume compensation optimization method described above are implemented.
  • the present application provides a volume compensation optimization method, device, electronic equipment, and readable storage medium, that is, detecting the actual distance between the smart camera and the target to be detected, and obtaining the sound system in the smart camera The current sound pressure level, and then determine the volume compensation value according to the current sound pressure level and the actual distance, so that the volume compensation value required for the current volume can be determined according to the current volume and the actual distance, and then according to the volume compensation value , performing volume compensation on the sound system in the smart camera, realizing the purpose of volume compensation for the current sound pressure level emitted by the sound system in the smart camera according to the actual distance between the target to be detected and the smart camera, so that the smart camera The sound from the sound system in the system matches the actual distance, which can give a better listening effect to the target to be detected.
  • Fig. 1 is a schematic flow chart of the first embodiment of the volume compensation optimization method of the present application
  • FIG. 2 is a schematic flow chart of the second embodiment of the volume compensation optimization method of the present application.
  • FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in a volume compensation optimization method in an embodiment of the present application.
  • the embodiment of the present application provides a volume compensation optimization method.
  • the volume compensation optimization method includes:
  • Step S10 detecting the actual distance between the smart camera and the target to be detected, and obtaining the current sound pressure level of the sound system in the smart camera;
  • the volume compensation optimization method is applied to a smart camera, and the smart camera is equipped with a sound system, and the sound system includes a loudspeaker and a microphone, and is used to realize calls of the smart camera in different monitoring areas .
  • a call can be made between a room on the first floor monitored by a smart camera and a room on the second floor.
  • the current sound pressure level is the sound pressure level of the sound emitted by the current sound system, wherein the sound pressure level is a parameter describing the volume, and the unit is decibel.
  • the target to be detected is a target person served by the sound system in the smart camera.
  • Detect the actual distance between the smart camera and the target to be detected, and obtain the current sound pressure level of the sound system in the smart camera specifically, detect the distance between the smart camera and the target to be detected through the infrared device on the smart camera The actual distance between the targets, and obtain the current sound pressure level of the sound system in the smart camera.
  • the step of detecting the actual distance between the smart camera and the target to be detected further includes:
  • the target to be detected is photographed by the smart camera to obtain a captured image, and the actual distance between the smart camera and the target to be detected is detected through the captured image and the focal length of the smart camera.
  • Step S20 determining a volume compensation value according to the current sound pressure level and the actual distance
  • the volume compensation value is determined according to the current sound pressure level and the actual distance, specifically, the target sound pressure level corresponding to the actual distance is queried according to the mapping relationship between the sound pressure level and the distance , and then determine the volume compensation value according to the difference between the current sound pressure level and the target sound pressure level.
  • the step of determining the volume compensation value according to the current sound pressure level and the actual distance includes:
  • Step S21 obtaining a preset appropriate distance corresponding to the current sound pressure level
  • the preset appropriate distance corresponding to the current sound pressure level is obtained, specifically, according to the mapping relationship between the sound pressure level and the distance, the preset appropriate distance corresponding to the current sound pressure level is queried, wherein It should be noted that, in the embodiment of the present application, the sound test is performed on the smart camera in advance, and the mapping relationship between the sound pressure level and the distance corresponding to the sound system in the smart camera is determined.
  • Step S22 judging whether the preset appropriate distance matches the actual distance
  • judging whether the preset appropriate distance matches the actual distance specifically, judging whether the difference between the preset appropriate distance and the actual matrix is within a preset error range, If the difference between the preset appropriate distance and the actual matrix is within a preset error range, it is determined that the preset appropriate distance matches the actual distance; if the preset appropriate distance and the If the difference between the actual matrices is not within the preset error range, it is determined that the preset appropriate distance does not match the actual distance.
  • Step S23 if the preset appropriate distance does not match the actual distance, then determine a volume compensation value according to the current sound pressure level and the actual distance;
  • Step S24 if the preset proper distance matches the actual distance, no volume compensation is performed on the sound system in the smart camera.
  • the appropriate sound pressure level corresponding to the actual distance is queried according to the mapping relationship between the sound pressure level and the distance, and then Determine the volume compensation value according to the difference between the current sound pressure level and the appropriate sound pressure level; if the preset appropriate distance matches the actual distance, then do not adjust the sound system in the smart camera. Volume compensation.
  • the step of determining the volume compensation value according to the current sound pressure level and the actual distance includes:
  • Step A10 determining an appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance;
  • the preset sound pressure level corresponding to the actual distance is queried, and the preset sound pressure level is used as an appropriate sound pressure level.
  • the step of determining the appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance includes:
  • Step A11 according to the mapping relationship between the sound pressure level and the distance, query the preset sound pressure level corresponding to the actual distance;
  • Step A12 using the smart camera to detect the current human body posture of the target to be detected, and determine the sound pressure level compensation according to the current human body posture;
  • Step A13 determining the appropriate sound pressure level according to the sound pressure level compensation and the preset sound pressure level.
  • the preset sound pressure level is an appropriate sound pressure level corresponding to the actual distance under the standard human body posture, wherein, the standard human body posture can be set as a standing posture, and then other human body postures are non-standard human body postures, such as the head facing the smart camera The flat lying posture, the flat lying posture with the head away from the smart camera, and the squatting posture.
  • the mapping relationship between the sound pressure level and the distance query the preset sound pressure level corresponding to the actual distance under the standard human body posture; detect the current human body posture of the target to be detected by the smart camera , according to the mapping relationship between the current human body posture and the volume compensation value, query the sound pressure level compensation corresponding to the current human body posture; according to the sound pressure level compensation and the preset sound pressure level, determine the appropriate sound pressure level. Therefore, the purpose of determining the appropriate sound pressure level of the target to be detected at the actual distance based on the current human body posture of the target to be detected is achieved, and the accuracy of determining the appropriate sound pressure level of the target to be detected at the actual distance is improved. In turn, the accuracy of volume compensation is improved.
  • the sound pressure level compensation may be a specific sound pressure level compensation value, or a specific sound pressure level compensation coefficient, and the determination of the sound pressure level compensation based on the sound pressure level compensation and the preset sound pressure level Steps for proper sound pressure level include:
  • the sound pressure level compensation is a sound pressure level compensation value
  • summing the sound pressure level compensation and the preset sound pressure level to obtain a suitable sound pressure level
  • the sound pressure level compensation is a sound pressure level compensation coefficient
  • the product of the sound pressure level compensation and the preset sound pressure level is calculated to obtain a suitable sound pressure level.
  • Step A20 calculating the difference between the current sound pressure level and the appropriate sound pressure level to obtain a sound pressure level difference
  • Step A30 calculating the volume compensation value according to the sound pressure level difference.
  • the difference between the current sound pressure level and the appropriate sound pressure level is calculated to obtain a sound pressure level difference
  • the difference between the sound pressure level difference and the preset sound pressure level is calculated
  • the ratio between the thresholds is used to obtain a volume compensation value, wherein the preset sound pressure level threshold is a sound pressure level change value corresponding to a preset volume change of one division.
  • the step of calculating the volume compensation value according to the sound pressure level difference includes:
  • Step A31 judging whether the sound pressure level difference is smaller than a preset sound pressure level threshold
  • Step A32 if the sound pressure level difference is not less than the preset sound pressure level threshold, calculate the ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
  • Step A33 if the sound pressure level difference is smaller than the preset sound pressure level threshold, then no volume compensation is performed on the sound system in the smart camera.
  • the sound pressure level difference is less than a preset sound pressure level threshold, and if the sound pressure level difference is not less than the preset sound pressure level threshold, it is proved that the sound pressure level difference
  • the pressure level difference is not less than the sound pressure level change value required to change the volume by one bar, and then calculate the ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value; if If the sound pressure level difference is less than the preset sound pressure level threshold, it proves that the sound pressure level difference is less than the sound pressure level change value required to change the volume by one step, and there is no need to analyze the sound in the smart camera.
  • the system performs volume compensation.
  • Step S30 performing volume compensation on the sound system in the smart camera according to the volume compensation value.
  • the volume compensation value is compensated to the microphone and speaker of the sound system in the smart camera.
  • the embodiment of the present application provides a volume compensation optimization method, device, electronic equipment, and readable storage medium, that is, detecting the actual distance between the smart camera and the target to be detected, and acquiring the sound in the smart camera The current sound pressure level of the system, and then determine the volume compensation value according to the current sound pressure level and the actual distance, so that the volume compensation value required for the current volume can be determined according to the current volume and the actual distance, and then according to the volume
  • the compensation value is to perform volume compensation on the sound system in the smart camera, so as to realize the purpose of volume compensation for the current sound pressure level emitted by the sound system in the smart camera according to the actual distance between the target to be detected and the smart camera, so that The sound from the sound system in the smart camera matches the actual distance, which can give a better listening effect to the target to be detected. When the camera is far away, the listening sound is usually less technically flawed, so the listening effect of the sound system of the smart camera is improved.
  • the step of detecting the actual distance between the smart camera and the target to be detected includes:
  • Step S11 using the infrared device on the smart camera to measure the distance between the smart camera and the target to be detected to obtain the measured distance;
  • the infrared device on the smart camera emits infrared rays to the target to be detected, and receives the reflected infrared rays of the target to be detected, and then determines the time interval between the infrared device emitting infrared rays and receiving the infrared rays reflected by the target to be detected, according to In the time interval, the distance between the smart camera and the target to be detected is calculated to obtain a measurement distance.
  • Step S12 using the smart camera to detect the current human body posture of the target to be detected, and determine a distance compensation value according to the current human body posture;
  • the actual distance measured by infrared rays is the distance from the point closest to the camera on the target to be detected to the smart camera, and then directly according to the distance measured by the infrared device There will be a certain error in the volume compensation based on the distance.
  • Detect the current human body posture of the target to be detected by the smart camera and determine the distance compensation value according to the current human body posture, specifically, detect the current human body posture of the target to be detected by the smart camera, if the If the current human body posture is consistent with the standard human body posture, the measured distance is directly used as the actual distance; if the current human body posture is inconsistent with the standard human body posture, the current human body posture is queried according to the mapping relationship between the human body posture and distance compensation.
  • the distance compensation value corresponding to the posture where the standard human posture is the human body posture whose head is not far away from the camera, for example, standing posture or lying posture with the head facing the camera, etc., and the non-standard human posture is the human body whose head is far away from the camera Posture, such as lying flat with the head away from the camera.
  • the step of detecting the current human body posture of the target to be detected by the smart camera includes:
  • Step S121 acquiring an image captured by the smart camera of the target to be detected
  • the target to be detected is photographed by the smart camera to obtain a photographed image.
  • Step S122 classifying the captured images according to the preset image classification model to obtain image classification labels
  • the preset image classification model is a machine learning model for classifying human pose images
  • the preset image classification model may be a convolutional neural network model.
  • the preset image classification model may be a multi-classification model.
  • Step S123 Determine the current human body pose according to the image classification labels.
  • feature extraction is performed on the pixel matrix corresponding to the captured image to obtain the features of the captured image, so that the features of the captured image are fully connected to obtain an image classification label;
  • the human body pose corresponding to the image classification label is taken as the current human body pose.
  • Step A13 calculating the actual distance according to the distance compensation value and the measured distance.
  • the distance compensation value may be a specific distance value or a compensation coefficient.
  • Calculate the actual distance according to the distance compensation value and the measurement distance specifically, sum the distance compensation value and the measurement distance to obtain the actual distance; or calculate the distance compensation value and the measurement distance
  • the measurement matrix is quadratured to obtain the actual distance.
  • the embodiment of the present application provides the purpose of measuring the actual distance between the target to be detected and the smart camera according to the posture of the human body, and the distance between the smart camera and the target to be detected is measured by the infrared device on the smart camera, Obtain the measurement distance; detect the current human body posture of the target to be detected by the smart camera, determine a distance compensation value according to the current human body posture; calculate the actual distance according to the distance compensation value and the measurement distance.
  • the human body posture of the target to be detected considering that the human ear listens to the sound, by detecting the human body posture of the target to be detected, the distance measured by the infrared device is compensated, so the accuracy of measuring the distance between the target to be detected and the smart camera is improved, and the The human body posture is related to the distance measurement error for volume compensation, so the accuracy of volume compensation is improved.
  • the embodiment of the present application also provides a volume compensation optimization device, the volume compensation optimization device is applied to a smart camera, and the volume compensation optimization device includes:
  • a detection and acquisition module configured to detect the actual distance between the smart camera and the target to be detected, and acquire the current sound pressure level of the sound system in the smart camera;
  • a compensation determination module configured to determine a volume compensation value according to the current sound pressure level and the actual distance
  • the volume compensation module is configured to perform volume compensation on the sound system in the smart camera according to the volume compensation value.
  • the compensation determination module is also used for:
  • the compensation determination module is also used for:
  • the volume compensation value is calculated according to the sound pressure level difference.
  • the compensation determination module is also used for:
  • the sound pressure level difference is not less than the preset sound pressure level threshold, calculating a ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
  • the compensation determination module is also used for:
  • the appropriate sound pressure level is determined according to the sound pressure level compensation and the preset sound pressure level.
  • the detection and acquisition module is also used for:
  • the actual distance is calculated according to the distance compensation value and the measured distance.
  • the detection and acquisition module is also used for:
  • the volume compensation optimization device provided by the present invention adopts the volume compensation optimization method in the above-mentioned embodiment 1 or embodiment 2, and solves the technical problem of poor listening effect of the sound system of the smart camera.
  • the beneficial effect of the volume compensation optimization device provided by the embodiment of the present invention is the same as that of the volume compensation optimization method provided by the above embodiment, and other technical features of the volume compensation optimization device are the same as those of the above embodiment The disclosed features of the methods are the same and will not be repeated here.
  • An embodiment of the present invention provides an electronic device.
  • the electronic device includes: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor.
  • the processor executes, so that at least one processor can execute the volume compensation optimization method in the first embodiment above.
  • FIG. 3 it shows a schematic structural diagram of an electronic device suitable for implementing an embodiment of the present disclosure.
  • the electronic equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in FIG. 3 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
  • an electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which may be loaded into a random access memory (RAM) according to a program stored in a read-only memory (ROM) or from a storage device Various appropriate actions and processing are performed by the programs in the program. In RAM, various programs and data necessary for the operation of electronic equipment are also stored.
  • the processing means, ROM, and RAM are connected to each other via a bus. Input/output (I/O) interfaces are also connected to the bus.
  • the following systems can be connected to the I/O interface: input devices including, for example, touch screens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCDs), speakers, vibrators output devices such as; storage devices including, for example, magnetic tapes, hard disks, etc.; and communication devices.
  • input devices including, for example, touch screens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.
  • LCDs liquid crystal displays
  • speakers vibrators output devices
  • storage devices including, for example, magnetic tapes, hard disks, etc.
  • communication devices may allow an electronic device to communicate with other devices wirelessly or by wire to exchange data. While an electronic device is shown with various systems in the figures, it should be understood that implementing or having all of the systems shown is not a requirement. More or fewer systems may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts.
  • the computer program may be downloaded and installed from a network via communication means, or installed from a storage means, or installed from a ROM.
  • the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the electronic equipment provided by the present invention solves the technical problem of poor listening effect of the sound system of the smart camera by adopting the volume compensation optimization method in the first or second embodiment above.
  • the beneficial effect of the electronic device provided by the embodiment of the present invention is the same as that of the volume compensation optimization method provided by the first embodiment above, and other technical features of the electronic device are the same as those disclosed by the method of the above embodiment The features are the same, and will not be repeated here.
  • This embodiment provides a computer-readable storage medium, which has computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the volume compensation optimization method in the first embodiment above.
  • the computer-readable storage medium provided by the embodiments of the present invention may be, for example, a USB flash drive, but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable Programmable read-only memory
  • CD-ROM portable compact disk read-only memory
  • magnetic storage device magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in conjunction with an instruction execution system, system, or device.
  • Program code embodied on a computer readable storage medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: detects the actual distance between the smart camera and the target to be detected, and acquires the The current sound pressure level of the sound system in the smart camera; determine the volume compensation value according to the current sound pressure level and the actual distance; perform volume compensation on the sound system in the smart camera according to the volume compensation value.
  • Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation of the unit itself under certain circumstances.
  • the computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above volume compensation optimization method, which solves the technical problem of poor listening effect of the sound system of the smart camera.
  • the beneficial effect of the computer-readable storage medium provided by the embodiment of the present invention is the same as the beneficial effect of the volume compensation optimization method provided by the above-mentioned embodiment 1 or embodiment 2, which will not be repeated here.
  • the present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the volume compensation optimization method described above are implemented.
  • the computer program product provided by the application solves the technical problem of poor listening effect of the sound system of the smart camera.
  • the beneficial effect of the computer program product provided by the embodiment of the present invention is the same as the beneficial effect of the volume compensation optimization method provided by the first or second embodiment above, and will not be repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

A volume compensation optimization method and apparatus, an electronic device, and a readable storage medium, which are applied to an intelligent camera. The volume compensation optimization method comprises: detecting an actual distance between the intelligent camera and a target to be detected, and obtaining a current sound pressure level of a sound system in the intelligent camera; determining a volume compensation value according to the current sound pressure level and the actual distance; and performing volume compensation on a sound system in the intelligent camera according to the volume compensation value. The technical problem in the prior art that the sound system of the intelligent camera is poor in listening effect is solved.

Description

音量补偿优化方法、装置、电子设备及可读存储介质Volume compensation optimization method, device, electronic device and readable storage medium
本申请要求于2021年10月29日提交中国专利局、申请号为202111277317.6、发明名称为“音量补偿优化方法、装置、电子设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on October 29, 2021, with the application number 202111277317.6, and the title of the invention is "Volume Compensation Optimization Method, Device, Electronic Equipment, and Readable Storage Medium", the entire content of which Incorporated in this application by reference.
技术领域technical field
本申请涉及声音处理技术领域,尤其涉及一种音量补偿优化方法、装置、电子设备及可读存储介质。The present application relates to the technical field of sound processing, and in particular to a volume compensation optimization method, device, electronic equipment and readable storage medium.
背景技术Background technique
随着科技的高速发展,越来越多的智能产品应用到家庭环境中,目前,智能摄像头上通常会安装有声音系统,该声音系统包括麦克风和扬声器,可在家庭间实现通话,但是,当用户智能离摄像头较近时,收听的声音通常较大,而到用户离智能摄像头较远时,收听的声音通常较小,也即,智能摄像头的声音系统收听效果较差。With the rapid development of science and technology, more and more smart products are applied to the home environment. At present, a sound system is usually installed on a smart camera. The sound system includes a microphone and a speaker, which can realize calls between families. When the user's smart phone is closer to the camera, the listening sound is usually louder, and when the user is farther away from the smart camera, the listening sound is usually lower, that is, the sound system of the smart camera has poor listening effect.
发明内容Contents of the invention
本申请的主要目的在于提供一种音量补偿优化方法、装置、电子设备及可读存储介质,旨在解决现有技术中智能摄像头的声音系统收听效果差的技术问题。The main purpose of this application is to provide a volume compensation optimization method, device, electronic equipment and readable storage medium, aiming to solve the technical problem of poor listening effect of the sound system of the smart camera in the prior art.
为实现上述目的,本申请提供一种音量补偿优化方法,应用于智能摄像头,所述音量补偿优化方法包括:In order to achieve the above purpose, the present application provides a volume compensation optimization method, which is applied to a smart camera, and the volume compensation optimization method includes:
检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级;Detecting the actual distance between the smart camera and the target to be detected, and obtaining the current sound pressure level of the sound system in the smart camera;
根据所述当前声压级与所述实际距离,确定音量补偿值;determining a volume compensation value according to the current sound pressure level and the actual distance;
依据所述音量补偿值,对所述智能摄像头中的声音系统进行音量补偿。Perform volume compensation on the sound system in the smart camera according to the volume compensation value.
可选地,所述根据所述当前声压级与所述实际距离,确定音量补偿值的步骤包括:Optionally, the step of determining the volume compensation value according to the current sound pressure level and the actual distance includes:
获取所述当前声压级对应的预设合适距离;Obtaining a preset appropriate distance corresponding to the current sound pressure level;
判断所述预设合适距离与所述实际距离是否相匹配;judging whether the preset appropriate distance matches the actual distance;
若所述预设合适距离与所述实际距离不相匹配,则根据所述当前声压级与所述实际距离,确定音量补偿值;If the preset appropriate distance does not match the actual distance, then determine a volume compensation value according to the current sound pressure level and the actual distance;
若所述预设合适距离与所述实际距离相匹配,则不对所述智能摄像头中的声音系统进行音量补偿。If the preset appropriate distance matches the actual distance, no volume compensation is performed on the sound system in the smart camera.
可选地,所述根据所述当前声压级与所述实际距离,确定音量补偿值的步骤包括:Optionally, the step of determining the volume compensation value according to the current sound pressure level and the actual distance includes:
根据声压级与距离之间的映射关系,确定所述实际距离处的合适声压级;determining an appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance;
计算所述当前声压级和所述合适声压级之间的差值,得到声压级差值;calculating a difference between the current sound pressure level and the appropriate sound pressure level to obtain a sound pressure level difference;
根据所述声压级差值,计算所述音量补偿值。The volume compensation value is calculated according to the sound pressure level difference.
可选地,所述根据所述声压级差值,计算所述音量补偿值的步骤包括:Optionally, the step of calculating the volume compensation value according to the sound pressure level difference includes:
判断所述声压级差值是否小于预设声压级阈值;judging whether the sound pressure level difference is less than a preset sound pressure level threshold;
若所述声压级差值不小于所述预设声压级阈值,则计算所述声压级差值与所述预设声压级阈值之间的比值,得到所述音量补偿值;If the sound pressure level difference is not less than the preset sound pressure level threshold, calculating a ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
若所述声压级差值小于所述预设声压级阈值,则不对所述智能摄像头中的声音系统进行音量补偿。If the sound pressure level difference is smaller than the preset sound pressure level threshold, no volume compensation is performed on the sound system in the smart camera.
可选地,所述根据声压级与距离之间的映射关系,确定所述实际距离处的合适声压级的步骤包括:Optionally, the step of determining the appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance includes:
根据所述声压级与距离之间的映射关系,查询所述实际距离对应的预设声压级;Querying the preset sound pressure level corresponding to the actual distance according to the mapping relationship between the sound pressure level and the distance;
通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定声压级补偿;Detecting the current human body posture of the target to be detected by the smart camera, and determining the sound pressure level compensation according to the current human body posture;
依据所述声压级补偿和所述预设声压级,确定所述合适声压级。The appropriate sound pressure level is determined according to the sound pressure level compensation and the preset sound pressure level.
可选地,所述检测所述智能摄像头与待检测目标之间的实际距离的步骤包括:Optionally, the step of detecting the actual distance between the smart camera and the target to be detected includes:
通过所述智能摄像头上红外线装置测量所述智能摄像头与所述待检测目标之间的距离,得到测量距离;Measuring the distance between the smart camera and the target to be detected by the infrared device on the smart camera to obtain the measured distance;
通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定距离补偿值;Detecting the current human body posture of the target to be detected by the smart camera, and determining a distance compensation value according to the current human body posture;
依据所述距离补偿值和所述测量距离,计算所述实际距离。The actual distance is calculated according to the distance compensation value and the measured distance.
可选地,所述通过所述智能摄像头检测所述待检测目标的当前人体姿态的步骤包括:Optionally, the step of detecting the current human body posture of the target to be detected through the smart camera includes:
获取所述智能摄像头对所述待检测目标的拍摄图像;Obtaining an image captured by the smart camera of the target to be detected;
依据预设图像分类模型,对所述拍摄图像进行分类,得到图像分类标签;Classifying the captured images according to a preset image classification model to obtain image classification labels;
依据所述图像分类标签,确定所述当前人体姿态。Determine the current human body pose according to the image classification labels.
本申请还提供一种音量补偿优化装置,所述音量补偿优化装置应用于智能摄像头,所述音量补偿优化装置包括:The present application also provides a volume compensation optimization device, the volume compensation optimization device is applied to a smart camera, and the volume compensation optimization device includes:
检测与获取模块,用于检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级;A detection and acquisition module, configured to detect the actual distance between the smart camera and the target to be detected, and acquire the current sound pressure level of the sound system in the smart camera;
补偿确定模块,用于根据所述当前声压级与所述实际距离,确定音量补偿值;A compensation determination module, configured to determine a volume compensation value according to the current sound pressure level and the actual distance;
音量补偿模块,用于依据所述音量补偿值,对所述智能摄像头中的声音系统进行音量补偿。The volume compensation module is configured to perform volume compensation on the sound system in the smart camera according to the volume compensation value.
可选地,所述补偿确定模块还用于:Optionally, the compensation determination module is also used for:
获取所述当前声压级对应的预设合适距离;Obtaining a preset appropriate distance corresponding to the current sound pressure level;
判断所述预设合适距离与所述实际距离是否相匹配;judging whether the preset appropriate distance matches the actual distance;
若所述预设合适距离与所述实际距离不相匹配,则根据所述当前声压级与所述实际距离,确定音量补偿值;If the preset appropriate distance does not match the actual distance, then determine a volume compensation value according to the current sound pressure level and the actual distance;
若所述预设合适距离与所述实际距离相匹配,则不对所述智能摄像头中的声音系统进行音量补偿。If the preset appropriate distance matches the actual distance, no volume compensation is performed on the sound system in the smart camera.
可选地,所述补偿确定模块还用于:Optionally, the compensation determination module is also used for:
根据声压级与距离之间的映射关系,确定所述实际距离处的合适声压级;determining an appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance;
计算所述当前声压级和所述合适声压级之间的差值,得到声压级差值;calculating a difference between the current sound pressure level and the appropriate sound pressure level to obtain a sound pressure level difference;
根据所述声压级差值,计算所述音量补偿值。The volume compensation value is calculated according to the sound pressure level difference.
可选地,所述补偿确定模块还用于:Optionally, the compensation determination module is also used for:
判断所述声压级差值是否小于预设声压级阈值;judging whether the sound pressure level difference is less than a preset sound pressure level threshold;
若所述声压级差值不小于所述预设声压级阈值,则计算所述声压级差值与所述预设声压级阈值之间的比值,得到所述音量补偿值;If the sound pressure level difference is not less than the preset sound pressure level threshold, calculating a ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
若所述声压级差值小于所述预设声压级阈值,则不对所述智能摄像头中的声音系统进行音量补偿。If the sound pressure level difference is smaller than the preset sound pressure level threshold, no volume compensation is performed on the sound system in the smart camera.
可选地,所述补偿确定模块还用于:Optionally, the compensation determination module is also used for:
根据所述声压级与距离之间的映射关系,查询所述实际距离对应的预设声压级;Querying the preset sound pressure level corresponding to the actual distance according to the mapping relationship between the sound pressure level and the distance;
通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定声压级补偿;Detecting the current human body posture of the target to be detected by the smart camera, and determining the sound pressure level compensation according to the current human body posture;
依据所述声压级补偿和所述预设声压级,确定所述合适声压级。The appropriate sound pressure level is determined according to the sound pressure level compensation and the preset sound pressure level.
可选地,所述检测与获取模块还用于:Optionally, the detection and acquisition module is also used for:
通过所述智能摄像头上红外线装置测量所述智能摄像头与所述待检测目标之间的距离,得到测量距离;Measuring the distance between the smart camera and the target to be detected by the infrared device on the smart camera to obtain the measured distance;
通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定距离补偿值;Detecting the current human body posture of the target to be detected by the smart camera, and determining a distance compensation value according to the current human body posture;
依据所述距离补偿值和所述测量距离,计算所述实际距离。The actual distance is calculated according to the distance compensation value and the measured distance.
可选地,所述检测与获取模块还用于:Optionally, the detection and acquisition module is also used for:
获取所述智能摄像头对所述待检测目标的拍摄图像;Obtaining an image captured by the smart camera of the target to be detected;
依据预设图像分类模型,对所述拍摄图像进行分类,得到图像分类标签;Classifying the captured images according to a preset image classification model to obtain image classification labels;
依据所述图像分类标签,确定所述当前人体姿态。Determine the current human body pose according to the image classification labels.
本申请还提供一种电子设备,所述电子设备包括:存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的所述音量补偿优化方法的程序,所述音量补偿优化方法的程序被处理器执行时可实现如上述的音量补偿优化方法的步骤。The present application also provides an electronic device, which includes: a memory, a processor, and a program of the volume compensation optimization method stored on the memory and operable on the processor, the volume compensation optimization When the program of the method is executed by the processor, the steps of the above volume compensation optimization method can be realized.
本申请还提供一种可读存储介质,所述可读存储介质为计算机可读存储介质,所述计算机可读存储介质上存储有实现音量补偿优化方法的程序,所述音量补偿优化方法的程序被处理器执行时实现如上述的音量补偿优化方法的步骤。The present application also provides a readable storage medium, the readable storage medium is a computer-readable storage medium, and the computer-readable storage medium stores a program for realizing the volume compensation optimization method, and the program for the volume compensation optimization method When executed by the processor, the steps of the volume compensation optimization method as described above are realized.
本申请还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述的音量补偿优化方法的步骤。The present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the volume compensation optimization method described above are implemented.
本申请提供了一种音量补偿优化方法、装置、电子设备及可读存储介质,也即,检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级,进而根据所述当前声压级与所述实际距离,确定音量补偿值,实现了依据当前音量和实际距离,确定当前音量所需 的音量补偿值,进而依据所述音量补偿值,对所述智能摄像头中的声音系统进行音量补偿,实现依据待检测目标与智能摄像头之间的实际距离,对智能摄像头中的声音系统所发出的当前声压级进行音量补偿目的,使得智能摄像头中的声音系统发出的声音与实际距离相匹配,进而可给待检测目标比较好的收听效果,克服了当用户智能离摄像头较近时,收听的声音通常较大,而到用户离智能摄像头较远时,收听的声音通常较小的技术缺陷,所以,提升了智能摄像头的声音系统的收听效果。The present application provides a volume compensation optimization method, device, electronic equipment, and readable storage medium, that is, detecting the actual distance between the smart camera and the target to be detected, and obtaining the sound system in the smart camera The current sound pressure level, and then determine the volume compensation value according to the current sound pressure level and the actual distance, so that the volume compensation value required for the current volume can be determined according to the current volume and the actual distance, and then according to the volume compensation value , performing volume compensation on the sound system in the smart camera, realizing the purpose of volume compensation for the current sound pressure level emitted by the sound system in the smart camera according to the actual distance between the target to be detected and the smart camera, so that the smart camera The sound from the sound system in the system matches the actual distance, which can give a better listening effect to the target to be detected. It overcomes the fact that when the user's smart phone is closer to the camera, the listening sound is usually louder, and when the user is farther away from the smart camera, the listening sound is usually louder. When listening to the sound at a distance, there are usually minor technical defects, so the listening effect of the sound system of the smart camera is improved.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一部分附图,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only The accompanying drawings are a part of this application. For those skilled in the art, other drawings can be obtained according to the provided drawings without creative work.
图1为本申请音量补偿优化方法第一实施例的流程示意图;Fig. 1 is a schematic flow chart of the first embodiment of the volume compensation optimization method of the present application;
图2为本申请音量补偿优化方法第二实施例的流程示意图;FIG. 2 is a schematic flow chart of the second embodiment of the volume compensation optimization method of the present application;
图3为本申请实施例中音量补偿优化方法涉及的硬件运行环境的设备结构示意图。FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in a volume compensation optimization method in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
实施例一Embodiment one
本申请实施例提供一种音量补偿优化方法,在本申请音量补偿优化方法的第一实施例中,参照图1,所述音量补偿优化方法包括:The embodiment of the present application provides a volume compensation optimization method. In the first embodiment of the volume compensation optimization method of the present application, referring to FIG. 1, the volume compensation optimization method includes:
步骤S10,检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级;Step S10, detecting the actual distance between the smart camera and the target to be detected, and obtaining the current sound pressure level of the sound system in the smart camera;
在本实施例中,需要说明的是,所述音量补偿优化方法应用于智能摄像头,所述智能摄像头部署有声音系统,该声音系统包括扬声器和麦克风,用 于实现智能摄像头在不同监控区域的通话。例如,在家庭住宅中,可实现智能摄像头监控的1楼房间和2楼房间之间的通话。In this embodiment, it should be noted that the volume compensation optimization method is applied to a smart camera, and the smart camera is equipped with a sound system, and the sound system includes a loudspeaker and a microphone, and is used to realize calls of the smart camera in different monitoring areas . For example, in a family home, a call can be made between a room on the first floor monitored by a smart camera and a room on the second floor.
所述当前声压级为当前的声音系统发出声音的声压级,其中,声压级为描述音量大小的参数,单位为分贝。所述待检测目标为智能摄像头中声音系统服务的目标人物。The current sound pressure level is the sound pressure level of the sound emitted by the current sound system, wherein the sound pressure level is a parameter describing the volume, and the unit is decibel. The target to be detected is a target person served by the sound system in the smart camera.
检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级,具体地,通过智能摄像头上的红外线装置,检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级。Detect the actual distance between the smart camera and the target to be detected, and obtain the current sound pressure level of the sound system in the smart camera, specifically, detect the distance between the smart camera and the target to be detected through the infrared device on the smart camera The actual distance between the targets, and obtain the current sound pressure level of the sound system in the smart camera.
其中,所述检测所述智能摄像头与待检测目标之间的实际距离的步骤还包括:Wherein, the step of detecting the actual distance between the smart camera and the target to be detected further includes:
通过所述智能摄像头对所述待检测目标进行拍摄,得到拍摄图像,通过所述拍摄图像和智能摄像头的焦距,检测所述智能摄像头与待检测目标之间的实际距离。The target to be detected is photographed by the smart camera to obtain a captured image, and the actual distance between the smart camera and the target to be detected is detected through the captured image and the focal length of the smart camera.
步骤S20,根据所述当前声压级与所述实际距离,确定音量补偿值;Step S20, determining a volume compensation value according to the current sound pressure level and the actual distance;
在本实施例中,根据所述当前声压级与所述实际距离,确定音量补偿值,具体地,根据声压级和距离之间的映射关系,查询所述实际距离对应的目标声压级,进而依据所述当前声压级和所述目标声压级之间的差距,确定音量补偿值。In this embodiment, the volume compensation value is determined according to the current sound pressure level and the actual distance, specifically, the target sound pressure level corresponding to the actual distance is queried according to the mapping relationship between the sound pressure level and the distance , and then determine the volume compensation value according to the difference between the current sound pressure level and the target sound pressure level.
其中,所述根据所述当前声压级与所述实际距离,确定音量补偿值的步骤包括:Wherein, the step of determining the volume compensation value according to the current sound pressure level and the actual distance includes:
步骤S21,获取所述当前声压级对应的预设合适距离;Step S21, obtaining a preset appropriate distance corresponding to the current sound pressure level;
在本实施例中,获取所述当前声压级对应的预设合适距离,具体地,根据声压级与距离之间的映射关系,查询所述当前声压级对应的预设合适距离,其中,需要说明的是,本申请实施例通过预先对智能摄像头进行了声音测试,确定了智能摄像头中声音系统对应的声压级与距离之间的映射关系。In this embodiment, the preset appropriate distance corresponding to the current sound pressure level is obtained, specifically, according to the mapping relationship between the sound pressure level and the distance, the preset appropriate distance corresponding to the current sound pressure level is queried, wherein It should be noted that, in the embodiment of the present application, the sound test is performed on the smart camera in advance, and the mapping relationship between the sound pressure level and the distance corresponding to the sound system in the smart camera is determined.
步骤S22,判断所述预设合适距离与所述实际距离是否相匹配;Step S22, judging whether the preset appropriate distance matches the actual distance;
在本实施例中,判断所述预设合适距离与所述实际距离是否相匹配,具体地,判断所述预设合适距离和所述实际矩阵之间的差值是否在预设误差范围内,若所述预设合适距离和所述实际矩阵之间的差值在预设误差范围内, 则判定所述预设合适距离与所述实际距离相匹配;若所述预设合适距离和所述实际矩阵之间的差值不在预设误差范围内,则判定所述预设合适距离与所述实际距离不相匹配。In this embodiment, judging whether the preset appropriate distance matches the actual distance, specifically, judging whether the difference between the preset appropriate distance and the actual matrix is within a preset error range, If the difference between the preset appropriate distance and the actual matrix is within a preset error range, it is determined that the preset appropriate distance matches the actual distance; if the preset appropriate distance and the If the difference between the actual matrices is not within the preset error range, it is determined that the preset appropriate distance does not match the actual distance.
步骤S23,若所述预设合适距离与所述实际距离不相匹配,则根据所述当前声压级与所述实际距离,确定音量补偿值;Step S23, if the preset appropriate distance does not match the actual distance, then determine a volume compensation value according to the current sound pressure level and the actual distance;
步骤S24,若所述预设合适距离与所述实际距离相匹配,则不对所述智能摄像头中的声音系统进行音量补偿。Step S24, if the preset proper distance matches the actual distance, no volume compensation is performed on the sound system in the smart camera.
在本实施例中,具体地,若所述预设合适距离与所述实际距离不相匹配,根据声压级和距离之间的映射关系,查询所述实际距离对应的合适声压级,进而依据所述当前声压级和所述合适声压级之间的差距,确定音量补偿值;若所述预设合适距离与所述实际距离相匹配,则不对所述智能摄像头中的声音系统进行音量补偿。In this embodiment, specifically, if the preset appropriate distance does not match the actual distance, the appropriate sound pressure level corresponding to the actual distance is queried according to the mapping relationship between the sound pressure level and the distance, and then Determine the volume compensation value according to the difference between the current sound pressure level and the appropriate sound pressure level; if the preset appropriate distance matches the actual distance, then do not adjust the sound system in the smart camera. Volume compensation.
其中,所述根据所述当前声压级与所述实际距离,确定音量补偿值的步骤包括:Wherein, the step of determining the volume compensation value according to the current sound pressure level and the actual distance includes:
步骤A10,根据声压级与距离之间的映射关系,确定所述实际距离处的合适声压级;Step A10, determining an appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance;
在本实施例中,具体地,根据声压级与距离之间的映射关系,查询所述实际距离对应的预设声压级,将所述预设声压级作为合适声压级。In this embodiment, specifically, according to the mapping relationship between the sound pressure level and the distance, the preset sound pressure level corresponding to the actual distance is queried, and the preset sound pressure level is used as an appropriate sound pressure level.
其中,所述根据声压级与距离之间的映射关系,确定所述实际距离处的合适声压级的步骤包括:Wherein, the step of determining the appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance includes:
步骤A11,根据所述声压级与距离之间的映射关系,查询所述实际距离对应的预设声压级;Step A11, according to the mapping relationship between the sound pressure level and the distance, query the preset sound pressure level corresponding to the actual distance;
步骤A12,通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定声压级补偿;Step A12, using the smart camera to detect the current human body posture of the target to be detected, and determine the sound pressure level compensation according to the current human body posture;
步骤A13,依据所述声压级补偿和所述预设声压级,确定所述合适声压级。Step A13, determining the appropriate sound pressure level according to the sound pressure level compensation and the preset sound pressure level.
在本实施例中,需要说明的是,由于收听声音的为人物的耳朵,而通过红外线测量的实际距离为待检测目标上离摄像头最近的一点到智能摄像头的距离,所以,当待检测目标处于不同的人体姿态,将会影响合适声压级的确定。所述预设声压级为标准人体姿态下实际距离对应的合适声压级,其中,所述标准人体姿态可设置为站立姿态,则其他人体姿态为非标准人体姿态, 例如头部朝向智能摄像头的平躺姿态、头部远离智能摄像头的平躺姿态以及深蹲姿态等。In this embodiment, it should be noted that since the ear of the person is listening to the sound, and the actual distance measured by infrared rays is the distance from the closest point to the camera on the target to be detected to the smart camera, so when the target to be detected is in Different human postures will affect the determination of the appropriate sound pressure level. The preset sound pressure level is an appropriate sound pressure level corresponding to the actual distance under the standard human body posture, wherein, the standard human body posture can be set as a standing posture, and then other human body postures are non-standard human body postures, such as the head facing the smart camera The flat lying posture, the flat lying posture with the head away from the smart camera, and the squatting posture.
具体地,根据所述声压级与距离之间的映射关系,查询所述实际距离在标准人体姿态下对应的预设声压级;通过所述智能摄像头检测所述待检测目标的当前人体姿态,根据所述当前人体姿态与音量补偿值之间的映射关系,查询所述当前人体姿态对应的声压级补偿;依据所述声压级补偿和所述预设声压级,确定所述合适声压级。所以,实现了依据待检测目标的当前人体姿态,确定待检测目标在所述实际距离处的合适声压级的目的,提升了确定待检测目标在实际距离处的合适声压级的准确度,进而提升了音量补偿的准确度。Specifically, according to the mapping relationship between the sound pressure level and the distance, query the preset sound pressure level corresponding to the actual distance under the standard human body posture; detect the current human body posture of the target to be detected by the smart camera , according to the mapping relationship between the current human body posture and the volume compensation value, query the sound pressure level compensation corresponding to the current human body posture; according to the sound pressure level compensation and the preset sound pressure level, determine the appropriate sound pressure level. Therefore, the purpose of determining the appropriate sound pressure level of the target to be detected at the actual distance based on the current human body posture of the target to be detected is achieved, and the accuracy of determining the appropriate sound pressure level of the target to be detected at the actual distance is improved. In turn, the accuracy of volume compensation is improved.
其中,所述声压级补偿可以为具体的声压级补偿值,也可以为具体的声压级补偿系数,所述依据所述声压级补偿和所述预设声压级,确定所述合适声压级的步骤包括:Wherein, the sound pressure level compensation may be a specific sound pressure level compensation value, or a specific sound pressure level compensation coefficient, and the determination of the sound pressure level compensation based on the sound pressure level compensation and the preset sound pressure level Steps for proper sound pressure level include:
当所述声压级补偿为声压级补偿值时,对所述声压级补偿和所述预设声压级求和,得到合适声压级。When the sound pressure level compensation is a sound pressure level compensation value, summing the sound pressure level compensation and the preset sound pressure level to obtain a suitable sound pressure level.
当所述声压级补偿为声压级补偿系数时,对所述声压级补偿和所述预设声压级求积,得到合适声压级。When the sound pressure level compensation is a sound pressure level compensation coefficient, the product of the sound pressure level compensation and the preset sound pressure level is calculated to obtain a suitable sound pressure level.
步骤A20,计算所述当前声压级和所述合适声压级之间的差值,得到声压级差值;Step A20, calculating the difference between the current sound pressure level and the appropriate sound pressure level to obtain a sound pressure level difference;
步骤A30,根据所述声压级差值,计算所述音量补偿值。Step A30, calculating the volume compensation value according to the sound pressure level difference.
在本实施例中,具体地,计算所述当前声压级和所述合适声压级之间的差值,得到声压级差值,计算所述声压级差值与预设声压级阈值之间的比值,得到音量补偿值,其中,所述预设声压级阈值为预先设置的音量变化一格对应的声压级变化值。In this embodiment, specifically, the difference between the current sound pressure level and the appropriate sound pressure level is calculated to obtain a sound pressure level difference, and the difference between the sound pressure level difference and the preset sound pressure level is calculated The ratio between the thresholds is used to obtain a volume compensation value, wherein the preset sound pressure level threshold is a sound pressure level change value corresponding to a preset volume change of one division.
其中,所述根据所述声压级差值,计算所述音量补偿值的步骤包括:Wherein, the step of calculating the volume compensation value according to the sound pressure level difference includes:
步骤A31,判断所述声压级差值是否小于预设声压级阈值;Step A31, judging whether the sound pressure level difference is smaller than a preset sound pressure level threshold;
步骤A32,若所述声压级差值不小于所述预设声压级阈值,则计算所述声压级差值与所述预设声压级阈值之间的比值,得到所述音量补偿值;Step A32, if the sound pressure level difference is not less than the preset sound pressure level threshold, calculate the ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
步骤A33,若所述声压级差值小于所述预设声压级阈值,则不对所述智能摄像头中的声音系统进行音量补偿。Step A33, if the sound pressure level difference is smaller than the preset sound pressure level threshold, then no volume compensation is performed on the sound system in the smart camera.
在本实施例中,具体地,判断所述声压级差值是否小于预设声压级阈值,若所述声压级差值不小于所述预设声压级阈值,则证明所述声压级差值不小于音量变化一格所需的声压级变化值,进而计算所述声压级差值与所述预设声压级阈值之间的比值,得到所述音量补偿值;若所述声压级差值小于所述预设声压级阈值,则证明所述声压级差值小于音量变化一格所需的声压级变化值,进而无需对所述智能摄像头中的声音系统进行音量补偿。In this embodiment, specifically, it is judged whether the sound pressure level difference is less than a preset sound pressure level threshold, and if the sound pressure level difference is not less than the preset sound pressure level threshold, it is proved that the sound pressure level difference The pressure level difference is not less than the sound pressure level change value required to change the volume by one bar, and then calculate the ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value; if If the sound pressure level difference is less than the preset sound pressure level threshold, it proves that the sound pressure level difference is less than the sound pressure level change value required to change the volume by one step, and there is no need to analyze the sound in the smart camera. The system performs volume compensation.
步骤S30,依据所述音量补偿值,对所述智能摄像头中的声音系统进行音量补偿。Step S30, performing volume compensation on the sound system in the smart camera according to the volume compensation value.
在本实施例中,具体地,将所述音量补偿值补偿至所述智能摄像头中声音系统的麦克风和扬声器中。In this embodiment, specifically, the volume compensation value is compensated to the microphone and speaker of the sound system in the smart camera.
本申请实施例提供了一种音量补偿优化方法、装置、电子设备及可读存储介质,也即,检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级,进而根据所述当前声压级与所述实际距离,确定音量补偿值,实现了依据当前音量和实际距离,确定当前音量所需的音量补偿值,进而依据所述音量补偿值,对所述智能摄像头中的声音系统进行音量补偿,实现依据待检测目标与智能摄像头之间的实际距离,对智能摄像头中的声音系统所发出的当前声压级进行音量补偿目的,使得智能摄像头中的声音系统发出的声音与实际距离相匹配,进而可给待检测目标比较好的收听效果,克服了当用户智能离摄像头较近时,收听的声音通常较大,而到用户离智能摄像头较远时,收听的声音通常较小的技术缺陷,所以,提升了智能摄像头的声音系统的收听效果。The embodiment of the present application provides a volume compensation optimization method, device, electronic equipment, and readable storage medium, that is, detecting the actual distance between the smart camera and the target to be detected, and acquiring the sound in the smart camera The current sound pressure level of the system, and then determine the volume compensation value according to the current sound pressure level and the actual distance, so that the volume compensation value required for the current volume can be determined according to the current volume and the actual distance, and then according to the volume The compensation value is to perform volume compensation on the sound system in the smart camera, so as to realize the purpose of volume compensation for the current sound pressure level emitted by the sound system in the smart camera according to the actual distance between the target to be detected and the smart camera, so that The sound from the sound system in the smart camera matches the actual distance, which can give a better listening effect to the target to be detected. When the camera is far away, the listening sound is usually less technically flawed, so the listening effect of the sound system of the smart camera is improved.
实施例二Embodiment two
进一步地,参照图2,基于本申请第一实施例,在本申请另一实施例中,与上述实施例一相同或相似的内容,可以参考上文介绍,后续不再赘述。在此基础上,所述检测所述智能摄像头与待检测目标之间的实际距离的步骤包括:Further, referring to FIG. 2 , based on the first embodiment of the present application, in another embodiment of the present application, for the same or similar content as the first embodiment above, reference may be made to the introduction above, and details will not be repeated hereafter. On this basis, the step of detecting the actual distance between the smart camera and the target to be detected includes:
步骤S11,通过所述智能摄像头上红外线装置测量所述智能摄像头与所述待检测目标之间的距离,得到测量距离;Step S11, using the infrared device on the smart camera to measure the distance between the smart camera and the target to be detected to obtain the measured distance;
在本实施例中,通过所述智能摄像头上红外线装置向待检测目标发射红 外线,并接收待检测目标反射红外线,进而确定所述红外线装置发射红外线到接收待检测目标反射的红外线的时间间隔,依据所述时间间隔,计算所述智能摄像头与所述待检测目标之间的距离,得到测量距离。In this embodiment, the infrared device on the smart camera emits infrared rays to the target to be detected, and receives the reflected infrared rays of the target to be detected, and then determines the time interval between the infrared device emitting infrared rays and receiving the infrared rays reflected by the target to be detected, according to In the time interval, the distance between the smart camera and the target to be detected is calculated to obtain a measurement distance.
步骤S12,通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定距离补偿值;Step S12, using the smart camera to detect the current human body posture of the target to be detected, and determine a distance compensation value according to the current human body posture;
在本实施例中,需要说明的是,由于收听声音的为人物的耳朵,而通过红外线测量的实际距离为待检测目标上离摄像头最近的一点到智能摄像头的距离,进而直接根据红外线装置测量的距离来进行音量补偿,将会存在一定的误差。In this embodiment, it should be noted that since it is the ear of the person who listens to the sound, the actual distance measured by infrared rays is the distance from the point closest to the camera on the target to be detected to the smart camera, and then directly according to the distance measured by the infrared device There will be a certain error in the volume compensation based on the distance.
通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定距离补偿值,具体地,通过所述智能摄像头检测所述待检测目标的当前人体姿态,若所述当前人体姿态与标准人体姿态一致,则将所述测量距离直接作为实际距离,若所述当前人体姿态与标准人体姿态不一致,则依据人体姿态与距离补偿之间的映射关系,查询所述当前人体姿态对应的距离补偿值,其中,标准人体姿态为人体头部未远离摄像头的人体姿态,例如,站立姿态或者头部朝向摄像头的平躺姿态等,非标准人体姿态为人体头部远离摄像头的人体姿态,例如头部远离摄像头的平躺姿态等。Detect the current human body posture of the target to be detected by the smart camera, and determine the distance compensation value according to the current human body posture, specifically, detect the current human body posture of the target to be detected by the smart camera, if the If the current human body posture is consistent with the standard human body posture, the measured distance is directly used as the actual distance; if the current human body posture is inconsistent with the standard human body posture, the current human body posture is queried according to the mapping relationship between the human body posture and distance compensation. The distance compensation value corresponding to the posture, where the standard human posture is the human body posture whose head is not far away from the camera, for example, standing posture or lying posture with the head facing the camera, etc., and the non-standard human posture is the human body whose head is far away from the camera Posture, such as lying flat with the head away from the camera.
其中,所述通过所述智能摄像头检测所述待检测目标的当前人体姿态的步骤包括:Wherein, the step of detecting the current human body posture of the target to be detected by the smart camera includes:
步骤S121,获取所述智能摄像头对所述待检测目标的拍摄图像;Step S121, acquiring an image captured by the smart camera of the target to be detected;
在本实施例中,通过所述智能摄像头对所述待检测目标进行拍摄,得到拍摄图像。In this embodiment, the target to be detected is photographed by the smart camera to obtain a photographed image.
步骤S122,依据预设图像分类模型,对所述拍摄图像进行分类,得到图像分类标签;Step S122, classifying the captured images according to the preset image classification model to obtain image classification labels;
在本实施例中,需要说明的是,所述预设图像分类模型为用于对人体姿态图像进行分类的机器学习模型,所述预设图像分类模型可以为卷积神经网络模型。所述预设图像分类模型可以为多分类模型。In this embodiment, it should be noted that the preset image classification model is a machine learning model for classifying human pose images, and the preset image classification model may be a convolutional neural network model. The preset image classification model may be a multi-classification model.
步骤S123,依据所述图像分类标签,确定所述当前人体姿态。Step S123: Determine the current human body pose according to the image classification labels.
在本实施例中,依据预设图像分类模型,对所述拍摄图像对应的像素矩阵进行特征提取,得到拍摄图像特征,从而对所述拍摄图像特征进行全连接, 得到图像分类标签;将所述图像分类标签对应的人体姿态作为当前人体姿态。In this embodiment, according to the preset image classification model, feature extraction is performed on the pixel matrix corresponding to the captured image to obtain the features of the captured image, so that the features of the captured image are fully connected to obtain an image classification label; The human body pose corresponding to the image classification label is taken as the current human body pose.
步骤A13,依据所述距离补偿值和所述测量距离,计算所述实际距离。Step A13, calculating the actual distance according to the distance compensation value and the measured distance.
在本实施例中,需要说明的是,所述距离补偿值可以为具体的距离值,也可以为补偿系数。In this embodiment, it should be noted that the distance compensation value may be a specific distance value or a compensation coefficient.
依据所述距离补偿值和所述测量距离,计算所述实际距离,具体地,对所述距离补偿值和所述测量距离进行求和,得到所述实际距离;或者对所述距离补偿值和所述测量矩阵进行求积,得到所述实际距离。Calculate the actual distance according to the distance compensation value and the measurement distance, specifically, sum the distance compensation value and the measurement distance to obtain the actual distance; or calculate the distance compensation value and the measurement distance The measurement matrix is quadratured to obtain the actual distance.
本申请实施例提供了一种依据人体姿态测量待检测目标与智能摄像头之间的实际距离的目的,通过所述智能摄像头上红外线装置测量所述智能摄像头与所述待检测目标之间的距离,得到测量距离;通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定距离补偿值;依据所述距离补偿值和所述测量距离,计算所述实际距离。其中,考虑到收听声音的为人耳,通过检测待检测目标的人体姿态,对通过红外线装置测量的距离进行补偿,所以,提升了测量待检测目标与智能摄像头之间的距离的准确性,消除了人体姿态对为了进行音量补偿而进行的距离测量误差,所以,提升了音量补偿的准确性。The embodiment of the present application provides the purpose of measuring the actual distance between the target to be detected and the smart camera according to the posture of the human body, and the distance between the smart camera and the target to be detected is measured by the infrared device on the smart camera, Obtain the measurement distance; detect the current human body posture of the target to be detected by the smart camera, determine a distance compensation value according to the current human body posture; calculate the actual distance according to the distance compensation value and the measurement distance. Among them, considering that the human ear listens to the sound, by detecting the human body posture of the target to be detected, the distance measured by the infrared device is compensated, so the accuracy of measuring the distance between the target to be detected and the smart camera is improved, and the The human body posture is related to the distance measurement error for volume compensation, so the accuracy of volume compensation is improved.
实施例三Embodiment Three
本申请实施例还提供一种音量补偿优化装置,所述音量补偿优化装置应用于智能摄像头,所述音量补偿优化装置包括:The embodiment of the present application also provides a volume compensation optimization device, the volume compensation optimization device is applied to a smart camera, and the volume compensation optimization device includes:
检测与获取模块,用于检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级;A detection and acquisition module, configured to detect the actual distance between the smart camera and the target to be detected, and acquire the current sound pressure level of the sound system in the smart camera;
补偿确定模块,用于根据所述当前声压级与所述实际距离,确定音量补偿值;A compensation determination module, configured to determine a volume compensation value according to the current sound pressure level and the actual distance;
音量补偿模块,用于依据所述音量补偿值,对所述智能摄像头中的声音系统进行音量补偿。The volume compensation module is configured to perform volume compensation on the sound system in the smart camera according to the volume compensation value.
可选地,所述补偿确定模块还用于:Optionally, the compensation determination module is also used for:
获取所述当前声压级对应的预设合适距离;Obtaining a preset appropriate distance corresponding to the current sound pressure level;
判断所述预设合适距离与所述实际距离是否相匹配;judging whether the preset appropriate distance matches the actual distance;
若所述预设合适距离与所述实际距离不相匹配,则根据所述当前声压级 与所述实际距离,确定音量补偿值;If the preset suitable distance does not match the actual distance, then determine the volume compensation value according to the current sound pressure level and the actual distance;
若所述预设合适距离与所述实际距离相匹配,则不对所述智能摄像头中的声音系统进行音量补偿。If the preset appropriate distance matches the actual distance, no volume compensation is performed on the sound system in the smart camera.
可选地,所述补偿确定模块还用于:Optionally, the compensation determination module is also used for:
根据声压级与距离之间的映射关系,确定所述实际距离处的合适声压级;determining an appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance;
计算所述当前声压级和所述合适声压级之间的差值,得到声压级差值;calculating a difference between the current sound pressure level and the appropriate sound pressure level to obtain a sound pressure level difference;
根据所述声压级差值,计算所述音量补偿值。The volume compensation value is calculated according to the sound pressure level difference.
可选地,所述补偿确定模块还用于:Optionally, the compensation determination module is also used for:
判断所述声压级差值是否小于预设声压级阈值;judging whether the sound pressure level difference is less than a preset sound pressure level threshold;
若所述声压级差值不小于所述预设声压级阈值,则计算所述声压级差值与所述预设声压级阈值之间的比值,得到所述音量补偿值;If the sound pressure level difference is not less than the preset sound pressure level threshold, calculating a ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
若所述声压级差值小于所述预设声压级阈值,则不对所述智能摄像头中的声音系统进行音量补偿。If the sound pressure level difference is smaller than the preset sound pressure level threshold, no volume compensation is performed on the sound system in the smart camera.
可选地,所述补偿确定模块还用于:Optionally, the compensation determination module is also used for:
根据所述声压级与距离之间的映射关系,查询所述实际距离对应的预设声压级;Querying the preset sound pressure level corresponding to the actual distance according to the mapping relationship between the sound pressure level and the distance;
通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定声压级补偿;Detecting the current human body posture of the target to be detected by the smart camera, and determining the sound pressure level compensation according to the current human body posture;
依据所述声压级补偿和所述预设声压级,确定所述合适声压级。The appropriate sound pressure level is determined according to the sound pressure level compensation and the preset sound pressure level.
可选地,所述检测与获取模块还用于:Optionally, the detection and acquisition module is also used for:
通过所述智能摄像头上红外线装置测量所述智能摄像头与所述待检测目标之间的距离,得到测量距离;Measuring the distance between the smart camera and the target to be detected by the infrared device on the smart camera to obtain the measured distance;
通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定距离补偿值;Detecting the current human body posture of the target to be detected by the smart camera, and determining a distance compensation value according to the current human body posture;
依据所述距离补偿值和所述测量距离,计算所述实际距离。The actual distance is calculated according to the distance compensation value and the measured distance.
可选地,所述检测与获取模块还用于:Optionally, the detection and acquisition module is also used for:
获取所述智能摄像头对所述待检测目标的拍摄图像;Obtaining an image captured by the smart camera of the target to be detected;
依据预设图像分类模型,对所述拍摄图像进行分类,得到图像分类标签;Classifying the captured images according to a preset image classification model to obtain image classification labels;
依据所述图像分类标签,确定所述当前人体姿态。Determine the current human body pose according to the image classification labels.
本发明提供的音量补偿优化装置,采用上述实施例一或实施例二中的音 量补偿优化方法,解决了智能摄像头的声音系统收听效果差的技术问题。与现有技术相比,本发明实施例提供的音量补偿优化装置的有益效果与上述实施例提供的音量补偿优化方法的有益效果相同,且该音量补偿优化装置中的其他技术特征与上述实施例方法公开的特征相同,在此不做赘述。The volume compensation optimization device provided by the present invention adopts the volume compensation optimization method in the above-mentioned embodiment 1 or embodiment 2, and solves the technical problem of poor listening effect of the sound system of the smart camera. Compared with the prior art, the beneficial effect of the volume compensation optimization device provided by the embodiment of the present invention is the same as that of the volume compensation optimization method provided by the above embodiment, and other technical features of the volume compensation optimization device are the same as those of the above embodiment The disclosed features of the methods are the same and will not be repeated here.
实施例五Embodiment five
本发明实施例提供一种电子设备,电子设备包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行上述实施例一中的音量补偿优化方法。An embodiment of the present invention provides an electronic device. The electronic device includes: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor. The processor executes, so that at least one processor can execute the volume compensation optimization method in the first embodiment above.
下面参考图3,其示出了适于用来实现本公开实施例的电子设备的结构示意图。本公开实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图3示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 3 , it shows a schematic structural diagram of an electronic device suitable for implementing an embodiment of the present disclosure. The electronic equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The electronic device shown in FIG. 3 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
如图3所示,电子设备可以包括处理装置(例如中央处理器、图形处理器等),其可以根据存储在只读存储器(ROM)中的程序或者从存储装置加载到随机访问存储器(RAM)中的程序而执行各种适当的动作和处理。在RAM中,还存储有电子设备操作所需的各种程序和数据。处理装置、ROM以及RAM通过总线彼此相连。输入/输出(I/O)接口也连接至总线。As shown in FIG. 3, an electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which may be loaded into a random access memory (RAM) according to a program stored in a read-only memory (ROM) or from a storage device Various appropriate actions and processing are performed by the programs in the program. In RAM, various programs and data necessary for the operation of electronic equipment are also stored. The processing means, ROM, and RAM are connected to each other via a bus. Input/output (I/O) interfaces are also connected to the bus.
通常,以下系统可以连接至I/O接口:包括例如触摸屏、触摸板、键盘、鼠标、图像传感器、麦克风、加速度计、陀螺仪等的输入装置;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置;包括例如磁带、硬盘等的存储装置;以及通信装置。通信装置可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图中示出了具有各种系统的电子设备,但是应理解的是,并不要求实施或具备所有示出的系统。可以替代地实施或具备更多或更少的系统。Typically, the following systems can be connected to the I/O interface: input devices including, for example, touch screens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCDs), speakers, vibrators output devices such as; storage devices including, for example, magnetic tapes, hard disks, etc.; and communication devices. A communication device may allow an electronic device to communicate with other devices wirelessly or by wire to exchange data. While an electronic device is shown with various systems in the figures, it should be understood that implementing or having all of the systems shown is not a requirement. More or fewer systems may alternatively be implemented or provided.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包 括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置从网络上被下载和安装,或者从存储装置被安装,或者从ROM被安装。在该计算机程序被处理装置执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means, or installed from a storage means, or installed from a ROM. When the computer program is executed by the processing device, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
本发明提供的电子设备,采用上述实施例一或实施例二中的音量补偿优化方法,解决了智能摄像头的声音系统收听效果差的技术问题。与现有技术相比,本发明实施例提供的电子设备的有益效果与上述实施例一提供的音量补偿优化方法的有益效果相同,且该电子设备中的其他技术特征与上述实施例方法公开的特征相同,在此不做赘述。The electronic equipment provided by the present invention solves the technical problem of poor listening effect of the sound system of the smart camera by adopting the volume compensation optimization method in the first or second embodiment above. Compared with the prior art, the beneficial effect of the electronic device provided by the embodiment of the present invention is the same as that of the volume compensation optimization method provided by the first embodiment above, and other technical features of the electronic device are the same as those disclosed by the method of the above embodiment The features are the same, and will not be repeated here.
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式的描述中,具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。It should be understood that various parts of the present disclosure may be implemented in hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in an appropriate manner.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
实施例六Embodiment six
本实施例提供一种计算机可读存储介质,具有存储在其上的计算机可读程序指令,计算机可读程序指令用于执行上述实施例一中的音量补偿优化的方法。This embodiment provides a computer-readable storage medium, which has computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the volume compensation optimization method in the first embodiment above.
本发明实施例提供的计算机可读存储介质例如可以是U盘,但不限于电、磁、光、电磁、红外线、或半导体的系统、系统或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、系统或者器件使用或者与其 结合使用。计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。The computer-readable storage medium provided by the embodiments of the present invention may be, for example, a USB flash drive, but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this embodiment, a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in conjunction with an instruction execution system, system, or device. Program code embodied on a computer readable storage medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
上述计算机可读存储介质可以是电子设备中所包含的;也可以是单独存在,而未装配入电子设备中。The above-mentioned computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
上述计算机可读存储介质承载有一个或者多个程序,当上述一个或者多个程序被电子设备执行时,使得电子设备:检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级;根据所述当前声压级与所述实际距离,确定音量补偿值;依据所述音量补偿值,对所述智能摄像头中的声音系统进行音量补偿。The above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: detects the actual distance between the smart camera and the target to be detected, and acquires the The current sound pressure level of the sound system in the smart camera; determine the volume compensation value according to the current sound pressure level and the actual distance; perform volume compensation on the sound system in the smart camera according to the volume compensation value.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可 以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该单元本身的限定。The modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation of the unit itself under certain circumstances.
本发明提供的计算机可读存储介质,存储有用于执行上述音量补偿优化方法的计算机可读程序指令,解决了智能摄像头的声音系统收听效果差的技术问题。与现有技术相比,本发明实施例提供的计算机可读存储介质的有益效果与上述实施例一或实施例二提供的音量补偿优化方法的有益效果相同,在此不做赘述。The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above volume compensation optimization method, which solves the technical problem of poor listening effect of the sound system of the smart camera. Compared with the prior art, the beneficial effect of the computer-readable storage medium provided by the embodiment of the present invention is the same as the beneficial effect of the volume compensation optimization method provided by the above-mentioned embodiment 1 or embodiment 2, which will not be repeated here.
实施例七Embodiment seven
本申请还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述的音量补偿优化方法的步骤。The present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the volume compensation optimization method described above are implemented.
本申请提供的计算机程序产品解决了智能摄像头的声音系统收听效果差的技术问题。与现有技术相比,本发明实施例提供的计算机程序产品的有益效果与上述实施例一或实施例二提供的音量补偿优化方法的有益效果相同,在此不做赘述。The computer program product provided by the application solves the technical problem of poor listening effect of the sound system of the smart camera. Compared with the prior art, the beneficial effect of the computer program product provided by the embodiment of the present invention is the same as the beneficial effect of the volume compensation optimization method provided by the first or second embodiment above, and will not be repeated here.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利处理范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent processing scope of the present application in the same way.

Claims (10)

  1. 一种音量补偿优化方法,其特征在于,应用于智能摄像头,所述音量补偿优化方法包括:A volume compensation optimization method, characterized in that it is applied to a smart camera, and the volume compensation optimization method includes:
    检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级;Detecting the actual distance between the smart camera and the target to be detected, and obtaining the current sound pressure level of the sound system in the smart camera;
    根据所述当前声压级与所述实际距离,确定音量补偿值;determining a volume compensation value according to the current sound pressure level and the actual distance;
    依据所述音量补偿值,对所述智能摄像头中的声音系统进行音量补偿。Perform volume compensation on the sound system in the smart camera according to the volume compensation value.
  2. 如权利要求1所述音量补偿优化方法,其特征在于,所述根据所述当前声压级与所述实际距离,确定音量补偿值的步骤包括:The volume compensation optimization method according to claim 1, wherein the step of determining the volume compensation value according to the current sound pressure level and the actual distance comprises:
    获取所述当前声压级对应的预设合适距离;Obtaining a preset appropriate distance corresponding to the current sound pressure level;
    判断所述预设合适距离与所述实际距离是否相匹配;judging whether the preset appropriate distance matches the actual distance;
    若所述预设合适距离与所述实际距离不相匹配,则根据所述当前声压级与所述实际距离,确定音量补偿值;If the preset appropriate distance does not match the actual distance, then determine a volume compensation value according to the current sound pressure level and the actual distance;
    若所述预设合适距离与所述实际距离相匹配,则不对所述智能摄像头中的声音系统进行音量补偿。If the preset appropriate distance matches the actual distance, no volume compensation is performed on the sound system in the smart camera.
  3. 如权利要求2所述音量补偿优化方法,其特征在于,所述根据所述当前声压级与所述实际距离,确定音量补偿值的步骤包括:The volume compensation optimization method according to claim 2, wherein the step of determining the volume compensation value according to the current sound pressure level and the actual distance comprises:
    根据声压级与距离之间的映射关系,确定所述实际距离处的合适声压级;determining an appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance;
    计算所述当前声压级和所述合适声压级之间的差值,得到声压级差值;calculating a difference between the current sound pressure level and the appropriate sound pressure level to obtain a sound pressure level difference;
    根据所述声压级差值,计算所述音量补偿值。The volume compensation value is calculated according to the sound pressure level difference.
  4. 如权利要求3所述音量补偿优化方法,其特征在于,所述根据所述声压级差值,计算所述音量补偿值的步骤包括:The volume compensation optimization method according to claim 3, wherein the step of calculating the volume compensation value according to the sound pressure level difference comprises:
    判断所述声压级差值是否小于预设声压级阈值;judging whether the sound pressure level difference is less than a preset sound pressure level threshold;
    若所述声压级差值不小于所述预设声压级阈值,则计算所述声压级差值与所述预设声压级阈值之间的比值,得到所述音量补偿值;If the sound pressure level difference is not less than the preset sound pressure level threshold, calculating a ratio between the sound pressure level difference and the preset sound pressure level threshold to obtain the volume compensation value;
    若所述声压级差值小于所述预设声压级阈值,则不对所述智能摄像头中的声音系统进行音量补偿。If the sound pressure level difference is smaller than the preset sound pressure level threshold, no volume compensation is performed on the sound system in the smart camera.
  5. 如权利要求3所述音量补偿优化方法,其特征在于,所述根据声压级与距离之间的映射关系,确定所述实际距离处的合适声压级的步骤包括:The volume compensation optimization method according to claim 3, wherein the step of determining the appropriate sound pressure level at the actual distance according to the mapping relationship between the sound pressure level and the distance comprises:
    根据所述声压级与距离之间的映射关系,查询所述实际距离对应的预设声压级;Querying the preset sound pressure level corresponding to the actual distance according to the mapping relationship between the sound pressure level and the distance;
    通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定声压级补偿;Detecting the current human body posture of the target to be detected by the smart camera, and determining the sound pressure level compensation according to the current human body posture;
    依据所述声压级补偿和所述预设声压级,确定所述合适声压级。The appropriate sound pressure level is determined according to the sound pressure level compensation and the preset sound pressure level.
  6. 如权利要求1所述音量补偿优化方法,其特征在于,所述检测所述智能摄像头与待检测目标之间的实际距离的步骤包括:The volume compensation optimization method according to claim 1, wherein the step of detecting the actual distance between the smart camera and the target to be detected comprises:
    通过所述智能摄像头上红外线装置测量所述智能摄像头与所述待检测目标之间的距离,得到测量距离;Measuring the distance between the smart camera and the target to be detected by the infrared device on the smart camera to obtain the measured distance;
    通过所述智能摄像头检测所述待检测目标的当前人体姿态,依据所述当前人体姿态,确定距离补偿值;Detecting the current human body posture of the target to be detected by the smart camera, and determining a distance compensation value according to the current human body posture;
    依据所述距离补偿值和所述测量距离,计算所述实际距离。The actual distance is calculated according to the distance compensation value and the measured distance.
  7. 如权利要求5或者6所述音量补偿优化方法,其特征在于,所述通过所述智能摄像头检测所述待检测目标的当前人体姿态的步骤包括:The volume compensation optimization method according to claim 5 or 6, wherein the step of detecting the current human body posture of the target to be detected by the smart camera comprises:
    获取所述智能摄像头对所述待检测目标的拍摄图像;Obtaining an image captured by the smart camera of the target to be detected;
    依据预设图像分类模型,对所述拍摄图像进行分类,得到图像分类标签;Classifying the captured images according to a preset image classification model to obtain image classification labels;
    依据所述图像分类标签,确定所述当前人体姿态。Determine the current human body posture according to the image classification labels.
  8. 一种音量补偿优化装置,其特征在于,应用于智能摄像头,所述音量补偿优化装置包括:A volume compensation optimization device is characterized in that it is applied to a smart camera, and the volume compensation optimization device includes:
    检测与获取模块,用于检测所述智能摄像头与待检测目标之间的实际距离,并获取所述智能摄像头中的声音系统的当前声压级;A detection and acquisition module, configured to detect the actual distance between the smart camera and the target to be detected, and obtain the current sound pressure level of the sound system in the smart camera;
    补偿确定模块,用于根据所述当前声压级与所述实际距离,确定音量补偿值;A compensation determination module, configured to determine a volume compensation value according to the current sound pressure level and the actual distance;
    音量补偿模块,用于依据所述音量补偿值,对所述智能摄像头中的声音 系统进行音量补偿。The volume compensation module is used to perform volume compensation to the sound system in the smart camera according to the volume compensation value.
  9. 一种电子设备,其特征在于,所述电子设备包括:An electronic device, characterized in that the electronic device comprises:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1至7中任一项所述的音量补偿优化方法的步骤。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform any one of claims 1 to 7 The steps of the volume compensation optimization method.
  10. 一种可读存储介质,其特征在于,所述可读存储介质上存储有实现音量补偿优化方法的程序,所述实现音量补偿优化方法的程序被处理器执行以实现如权利要求1至7中任一项所述音量补偿优化方法的步骤。A readable storage medium, characterized in that, the readable storage medium is stored with a program for implementing the volume compensation optimization method, and the program for implementing the volume compensation optimization method is executed by a processor to implement claims 1 to 7. The steps of any one of the volume compensation optimization methods.
PCT/CN2021/132596 2021-10-29 2021-11-24 Volume compensation optimization method and apparatus, electronic device, and readable storage medium WO2023070791A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111277317.6 2021-10-29
CN202111277317.6A CN114063964A (en) 2021-10-29 2021-10-29 Volume compensation optimization method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2023070791A1 true WO2023070791A1 (en) 2023-05-04

Family

ID=80236142

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/132596 WO2023070791A1 (en) 2021-10-29 2021-11-24 Volume compensation optimization method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN114063964A (en)
WO (1) WO2023070791A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115938389B (en) * 2023-03-10 2023-07-28 科大讯飞(苏州)科技有限公司 Volume compensation method and device for in-vehicle media source and vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679346A (en) * 2015-12-31 2016-06-15 深圳还是威健康科技有限公司 Method and apparatus for controlling radio set
CN106331371A (en) * 2016-09-14 2017-01-11 维沃移动通信有限公司 Volume adjustment method and mobile terminal
US20200327744A1 (en) * 2019-04-11 2020-10-15 Toyota Jidosha Kabushiki Kaisha Information processing system and information processing program
CN112637733A (en) * 2020-12-08 2021-04-09 歌尔科技有限公司 Method and device for automatically adjusting volume of voice equipment and voice equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898836B (en) * 2015-05-19 2017-11-24 广东欧珀移动通信有限公司 A kind of rotating camera adjusting method and user terminal
CN109639893A (en) * 2018-12-14 2019-04-16 Oppo广东移动通信有限公司 Play parameter method of adjustment, device, electronic equipment and storage medium
GB2589720A (en) * 2019-10-30 2021-06-09 Fujitsu Client Computing Ltd Information processing apparatus, program, and information processing system
CN112631542A (en) * 2020-12-21 2021-04-09 深圳酷派技术有限公司 Audio adjusting method and device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679346A (en) * 2015-12-31 2016-06-15 深圳还是威健康科技有限公司 Method and apparatus for controlling radio set
CN106331371A (en) * 2016-09-14 2017-01-11 维沃移动通信有限公司 Volume adjustment method and mobile terminal
US20200327744A1 (en) * 2019-04-11 2020-10-15 Toyota Jidosha Kabushiki Kaisha Information processing system and information processing program
CN112637733A (en) * 2020-12-08 2021-04-09 歌尔科技有限公司 Method and device for automatically adjusting volume of voice equipment and voice equipment

Also Published As

Publication number Publication date
CN114063964A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN109982228B (en) Microphone fault detection method and mobile terminal
JP7303900B2 (en) Parameter acquisition method and terminal equipment
WO2023070790A1 (en) Volume real-time compensation method, electronic device, and readable storage medium
CN107463897B (en) Fingerprint identification method and mobile terminal
CN109542279B (en) Terminal device control method and terminal device
KR102435697B1 (en) Electronic device having structure with gas sensor
WO2018161540A1 (en) Fingerprint registration method and related product
WO2023070791A1 (en) Volume compensation optimization method and apparatus, electronic device, and readable storage medium
TW201944251A (en) Volume adjustment method and apparatus, electronic device and storage medium
CN108848267B (en) Audio playing method and mobile terminal
CN108828613B (en) Method for removing noise and hazardous chemical storage laser scanning device
US8941623B2 (en) Methods and devices for determining user input location based on device support configuration
CN104105047A (en) Audio detection apparatus and method
CN110456923B (en) Gesture sensing data processing method and electronic equipment
WO2023070788A1 (en) Real-time volume adjustment method, electronic device, and readable storage medium
JP7472281B2 (en) Electronic device and focusing method
CN108093119B (en) Strange incoming call number marking method and mobile terminal
KR20200043128A (en) Electronic device and control method thereof
WO2023070785A1 (en) Volume adjustment optimization method and apparatus, electronic device, and readable storage medium
CN109040457B (en) Screen brightness adjusting method and mobile terminal
CN108845261B (en) Electric quantity prompting method and terminal equipment
CN108968962B (en) Exhaled gas detection method and device, storage medium and terminal equipment
CN114302278A (en) Headset wearing calibration method, electronic device and computer-readable storage medium
CN114264365A (en) Wind noise detection method and device, terminal equipment and storage medium
CN115495038A (en) Audio adjusting method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21962135

Country of ref document: EP

Kind code of ref document: A1