WO2022041585A1 - 耳机位置的调整方法、装置、设备及存储介质 - Google Patents

耳机位置的调整方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2022041585A1
WO2022041585A1 PCT/CN2020/136953 CN2020136953W WO2022041585A1 WO 2022041585 A1 WO2022041585 A1 WO 2022041585A1 CN 2020136953 W CN2020136953 W CN 2020136953W WO 2022041585 A1 WO2022041585 A1 WO 2022041585A1
Authority
WO
WIPO (PCT)
Prior art keywords
earphone
center point
ear
ear canal
information
Prior art date
Application number
PCT/CN2020/136953
Other languages
English (en)
French (fr)
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 歌尔股份有限公司
Priority to US18/041,047 priority Critical patent/US20230269515A1/en
Publication of WO2022041585A1 publication Critical patent/WO2022041585A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control
    • H04S7/30Control circuits for electronic adaptation of the sound field
    • H04S7/302Electronic adaptation of stereophonic sound system to listener position or orientation
    • H04S7/303Tracking of listener position or orientation
    • H04S7/304For headphones
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/08Systems for measuring distance only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/15Transducers incorporated in visual displaying devices, e.g. televisions, computer displays, laptops

Definitions

  • the present application relates to the field of acoustic technology, and more particularly, to a method for adjusting the position of an earphone, an apparatus for adjusting the position of an earphone, a head-mounted device, and a computer-readable storage medium.
  • VR Virtual Reality
  • AR Augmented Reality
  • headsets are usually provided on VR/AR devices to realize audio-visual combination.
  • the wearing position of the VR/AR device may be inaccurate.
  • the wearing position of the VR/AR device even if the user manually adjusts the wearing position of the VR/AR device, it is difficult to adjust to the exact position, which will result in the user not being able to experience the best acoustic system design of the VR/AR device, that is, the best listening experience cannot be achieved. feel.
  • An object of the present application is to provide a new technical solution for adjusting the position of the earphone.
  • a method for adjusting the position of an earphone wherein the earphone is provided with a TOF sensor, including:
  • the position information of the ear includes the position of the point describing the shape of the ear;
  • a position adjustment vector of the earphone is output.
  • the obtaining the position of the center point of the earphone includes:
  • the position of the earphone center point is determined according to the relative position of the TOF sensor and the earphone center point.
  • determining the position of the center point of the ear canal according to the position information of the ear including:
  • the position of the center point of the ear canal is determined from the position information of the earphone by using the big top heap sorting method.
  • the method further includes:
  • the position of the center point of the earphone is not within the outline of the ear canal, the position of the center point of the current ear canal is obtained, and according to the position of the center point of the current ear canal and the position of the center point of the current ear canal, output Headphone position adjustment vector.
  • the determining the contour of the ear canal according to the position information of the ear includes:
  • the shortest closed edge curve is determined as the contour of the ear canal.
  • performing edge detection on the contour information of the ear to obtain a plurality of closed edge curves including:
  • edge detection is performed on the contour information of the ear to obtain a plurality of closed edge curves.
  • a device for adjusting the position of an earphone wherein the earphone is provided with a TOF sensor, and the device includes:
  • the first acquisition module is used to obtain the position information of the ear by using the TOF sensor, and the position information of the ear includes the position of the point describing the shape of the ear;
  • a first determining module configured to determine the position of the center point of the ear canal according to the position information of the ear
  • the second acquisition module is used to acquire the position of the center point of the earphone
  • the first output module is configured to output the position adjustment vector of the earphone according to the position of the center point of the ear canal and the position of the center point of the earphone.
  • the device further includes:
  • a second determining module configured to determine the contour of the ear canal according to the position information of the earphone
  • a third acquiring module configured to acquire the position of the current center point of the earphone after the position of the earphone is adjusted
  • an end module configured to end the adjustment of the position of the earphone when the position of the center point of the earphone is within the outline of the ear canal;
  • the second output module when the position of the center point of the earphone is not within the outline of the ear canal, obtains the position of the center point of the current ear canal, and obtains the position of the center point of the current ear canal according to the position of the center point of the current ear canal and the center of the current ear canal The position of the point, the output headphone position adjustment vector.
  • a headset the headset is provided with an earphone, the headset is provided with a TOF sensor, and the headset includes the device according to the second aspect; or,
  • a memory is included and a processor is included for storing computer instructions, the processor for invoking the computer instructions from the memory to perform the method of any one of the first aspects.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the method according to any one of the first aspects.
  • a TOF sensor is provided on the earphone, and the position information of the ear is obtained by using the TOF sensor; the position of the center point of the ear canal is determined according to the position information of the ear; the position of the center point of the earphone is obtained; The position of the headphone and the position of the center point of the headphone, and the position adjustment vector of the headphone is output.
  • the user manually adjusts the position of the earphone according to the adjustment vector, so that the center of the earphone is close to the center of the ear canal, or even the center of the earphone coincides with the center of the ear canal.
  • the wearing position of the headset is accurate, and the user can achieve the best sense of hearing. That is to say, the embodiments of the present application provide a basis for the user to achieve the best sense of hearing.
  • FIG. 1 is a block diagram of a hardware configuration of a head-mounted device for implementing a method for adjusting the position of an earphone according to an embodiment of the present application;
  • FIG. 2 is a schematic flowchart of a method for adjusting the position of an earphone provided by an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a device for adjusting the position of an earphone provided by an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of an earphone provided by an embodiment of the present application.
  • FIG. 1 is a block diagram of a hardware configuration of a head-mounted device for implementing a method for adjusting the position of an earphone according to an embodiment of the present application.
  • the headset 1000 may be a virtual reality VR headset, a mixed reality MR headset, an augmented reality AR headset, or a headset.
  • the head mounted device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like.
  • the processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like.
  • the memory 1200 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like.
  • the interface device 1300 includes, for example, a USB interface, an earphone interface, and the like.
  • the communication device 1400 is capable of, for example, wired or wireless communication.
  • the display device 2500 is, for example, a liquid crystal display, a touch display, or the like.
  • the input device 1600 may include, for example, a touch screen, a keyboard, and the like. The user can input/output voice information through the speaker 1700 and the microphone 1800 .
  • the present invention may only involve some of the devices, for example, the head mounted device 1000 only involves the memory 1200 and the processor 1100 .
  • the memory 1200 of the head mounted device 1000 is used to store an instruction, and the instruction is used to control the processor 1100 to execute the headphone position adjustment method provided by the embodiment of the present application.
  • An embodiment of the present application provides a method for adjusting the position of an earphone.
  • the method is performed by a head-mounted device as shown in FIG. 1 , and a TOF sensor is provided on at least one earphone of the head-mounted device.
  • the position adjustment of the two earphones set by the headset can be realized according to the TOF sensor set on one earphone. This is because the user is wearing the headphone. When wearing the device, the wearing position is usually symmetrical.
  • the position of the corresponding side earphones of the head-mounted device can be adjusted according to the TOF sensors provided on the earphones on both sides.
  • the method includes the following S2100-S2400:
  • the position information of the ear includes the position of the point describing the shape of the ear.
  • a TOF sensor is provided on the earphone. With the user wearing the headset, the earphones on the headset will overlie the human ear. At this time, the TOF sensor obtains the position information of the ear including the position of the point describing the shape of the ear. On this basis, the headset can use the TOF sensor to obtain the position information of the ear.
  • the position of the point is a three-dimensional coordinate position
  • the coordinate origin of the three-dimensional coordinate system corresponding to the three-dimensional coordinate value can be any point in the points describing the shape of the ear.
  • the coordinate value of the x-axis and the coordinate value of the y-axis are used to represent the position of the point on the plane where the ear is located, and the coordinate value of the z-axis is used to represent the TOF sensor.
  • the distance value of the point is used to represent the coordinate value of the point.
  • the position of the center point of the ear canal is used to indicate the position of the (external) ear canal. It can be understood that, since the ear canal is relative to other parts of the ear, the point corresponding to the position information of the ear is the point with the largest depth value. Therefore, the point with the largest depth value in the position information of the ear is used as the position of the center point of the ear canal.
  • the specific implementation of the above S2200 may be to traverse the position information of the ear to find the point with the largest depth value in the position information of the ear, that is, the point with the largest z-axis coordinate value, point as the center point of the ear canal.
  • the position of the center point of the ear canal can be quickly and accurately determined from the position information by using the large top heap sorting method.
  • the center point of the earphone is the center point of the side of the earphone in contact with the ear.
  • the position of the center point of the earphone is: the position of the center point of the earphone on the plane formed by the x-axis and the y-axis in the three-dimensional coordinate system corresponding to the position information of the ear.
  • the specific implementation of the above S2300 may be the following S2310:
  • S2310 Determine the position of the center point of the earphone according to the relative position of the TOF sensor and the center point of the earphone.
  • the relative position of the TOF sensor and the center point of the earphone is measured by the head-mounted device before leaving the factory, and stored in the head-mounted device in advance. On this basis, the position of the center point of the earphone can be obtained by combining the corresponding coordinate origin in the position information of the ear.
  • S2400 Output a position adjustment vector of the earphone according to the position of the center point of the ear canal and the position of the center point of the earphone.
  • the position of the projection of the center point of the ear canal on the plane of the x-axis and the y-axis is obtained.
  • the position vector of the center point of the earphone relative to the center point of the ear canal is determined, and the position vector is determined as the adjustment vector of the earphone.
  • the adjustment vector can be: 0.5cm below.
  • the adjustment vector may be displayed through a display screen of the headset.
  • the position adjustment vector of the headset may be voice output.
  • the user after obtaining the position adjustment vector of the earphone, the user manually adjusts the position of the earphone according to the adjustment vector, so that the center of the earphone is close to the center of the ear canal, or even the center of the earphone coincides with the center of the ear canal.
  • the wearing position of the headset is accurate, and the user can achieve the best sense of hearing.
  • a TOF sensor is provided on the earphone, and the position information of the ear is obtained by using the TOF sensor; the position of the center point of the ear canal is determined according to the position information of the ear; the position of the center point of the earphone is obtained; The position of the headphone and the position of the center point of the headphone, and the position adjustment vector of the headphone is output.
  • the user manually adjusts the position of the earphone according to the adjustment vector, so that the center of the earphone is close to the center of the ear canal, or even the center of the earphone coincides with the center of the ear canal.
  • the wearing position of the headset is accurate, and the user can achieve the best sense of hearing. That is to say, the embodiments of the present application provide a basis for the user to achieve the best sense of hearing.
  • the method for adjusting the position of the earphone provided by the embodiment of the present application further includes the following S2500-S2800:
  • the contour of the ear canal is represented by contour information of the ear
  • the contour information of the ear canal includes: positions of points corresponding to the contour of the ear canal in the position information of the ear.
  • the specific implementation of the above S2500 may be: using the first neural network model to obtain the contour of the ear canal according to the position information of the ear.
  • the first neural network model is a model that is trained first and can extract the contour of the ear canal from the position information of the ear.
  • the above S2500 can also be implemented by the following S2510-S2530:
  • the points whose depth values are continuous in the direction of the ear contour can be determined according to the depth value corresponding to the middle point, and the corresponding point can be used as the contour information of the ear.
  • the specific implementation of the above S2510 may be: using the second neural network model to obtain the contour information of the ear according to the position information of the ear.
  • the second neural network model is a model that is trained first and can extract the contour information of the ear from the position information of the ear.
  • the specific implementation of the above S2520 may be: using the roberts edge detection operator to perform edge detection on the contour information of the ear to obtain a plurality of closed edge curves.
  • a plurality of closed edge curves are represented by forming points on the corresponding edge curves.
  • the above S2520 may also be implemented by other edge detection operators.
  • edge detection operators For example: canny edge detection operator.
  • the shortest closed edge curve in the ear is the contour of the ear canal.
  • the contour of the ear canal can be obtained by performing the above S2510-S2530.
  • the position information obtained by the earphone at the current moment is different from the position information at the previous moment, it means that the position of the earphone is adjusted.
  • the current position of the center point of the headset indicates the position of the center point of the headset after the headset position is adjusted. After the position of the earphone is adjusted, the current position of the center point of the earphone is acquired by using the above-mentioned implementation manner of S2300.
  • the headset may output an instruction to end the adjustment.
  • the current position of the center point of the ear canal indicates the position of the center point of the ear canal after the position of the earphone is adjusted.
  • the position of the center point of the earphone is not within the outline of the ear canal, it means that the user manually adjusts the earphone, but the earphone is not worn accurately.
  • the headset determines the current position of the center point of the ear canal and the current position of the center point of the earphone, thereby re-determining and outputting the position adjustment vector of the earphone, so as to realize the next position adjustment.
  • An embodiment of the present application provides an apparatus 30 for adjusting the position of an earphone, wherein a TOF sensor is provided on the earphone.
  • the device 30 for adjusting the position of the earphone includes: a first acquisition module 31 , a first determination module 32 , a second acquisition module 33 , and a first output module 34 . in:
  • the first acquisition module 31 is used to acquire the position information of the ear by using the TOF sensor, and the position information of the ear includes the position of the point describing the shape of the ear;
  • the first determination module 32 is used for determining the position of the center point of the ear canal according to the position information of the ear;
  • the second acquisition module 33 is used to acquire the position of the center point of the earphone
  • the first output module 34 is configured to output a position adjustment vector of the earphone according to the position of the center point of the ear canal and the position of the center point of the earphone.
  • the second obtaining module 33 is specifically used for:
  • the position of the earphone center point is determined according to the relative position of the TOF sensor and the earphone center point.
  • the first obtaining module 31 is specifically configured to: determine the position of the center point of the ear canal from the position information of the earphone by using a large top heap sorting method.
  • the device 30 for adjusting the position of the earphone further includes:
  • a second determining module configured to determine the contour of the ear canal according to the position information of the earphone
  • a third acquiring module configured to acquire the position of the current center point of the earphone after the position of the earphone is adjusted
  • an end module configured to end the adjustment of the position of the earphone when the position of the center point of the earphone is within the outline of the ear canal;
  • the second output module when the position of the center point of the earphone is not within the outline of the ear canal, obtains the position of the center point of the current ear canal, and obtains the position of the center point of the current ear canal according to the position of the center point of the current ear canal and the center of the current ear canal The position of the point, the output headphone position adjustment vector.
  • the second determining module is specifically configured to:
  • a first determining unit configured to determine the contour information of the ear according to the position information of the ear
  • a detection unit configured to perform edge detection on the contour information of the ear to obtain a plurality of closed edge curves
  • the second determining unit is configured to determine, among the closed edge curves, the shortest closed edge curve as the contour of the ear canal.
  • the detection unit is specifically used for:
  • edge detection is performed on the contour information of the ear to obtain a plurality of closed edge curves.
  • An embodiment of the present application provides a head-mounted device 40.
  • the head-mounted device 40 is provided with an earphone and a TOF sensor is provided on the earphone. ;or,
  • It includes a memory 41 and a processor 42, the memory 41 is used to store computer instructions, and the processor 42 is used to call the computer instructions from the memory 41 to execute any one of the above method embodiments. how to adjust the position of the headset.
  • An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the method for adjusting the position of an earphone according to any one of the foregoing method embodiments is implemented.
  • the present application may be a system, method and/or computer program product.
  • the computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the present application.
  • a computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically coded devices, such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • flash memory static random access memory
  • SRAM static random access memory
  • CD-ROM compact disk read only memory
  • DVD digital versatile disk
  • memory sticks floppy disks
  • mechanically coded devices such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above.
  • Computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.
  • the computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for carrying out the operations of the present application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages.
  • Source or object code written in any combination, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as the "C" language or similar programming languages.
  • the computer readable program instructions 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 implement.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through the Internet connect).
  • LAN local area network
  • WAN wide area network
  • custom electronic circuits such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs) can be personalized by utilizing state information of computer readable program instructions.
  • Computer readable program instructions are executed to implement various aspects of the present application.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks 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 in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation in hardware, implementation in software, and implementation in a combination of software and hardware are all equivalent.

Abstract

本申请实施例公开了一种耳机位置的调整方法、装置、设备及存储介质。其中,耳机上设置有TOF传感器,方法包括:利用TOF传感器获取耳朵的位置信息,申请耳朵的位置信息包括描述耳朵形态的点的位置;根据申请耳朵的位置信息,确定耳道中心点的位置;获取耳机中心点的位置;根据申请耳道中心点的位置以及申请耳机中心点的位置,输出耳机的位置调整矢量。

Description

耳机位置的调整方法、装置、设备及存储介质
本申请要求于2020年8月25日提交中国专利局、申请号为202010860323.3、发明名称为“耳机位置的调整方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及声学技术领域,更具体地,涉及一种耳机位置的调整方法、一种耳机位置的调整装置、一种头戴设备以及一种计算机可读存储介质。
背景技术
目前,VR(Virtual Reality;虚拟现实)/AR(Augmented Reality;增强现实)设备已经被越来越广泛的使用。为了提高用户的虚实结合的沉浸感,VR/AR设备上通常设置有耳机以实现视听结合。
但是,用户在使用VR/AR设备时,存在VR/AR设备佩戴位置不准确的情况发生。在该情况下,即使用户手动调整VR/AR设备的佩戴位置,也难以调整到准确的位置,而这将导致用户无法体验到VR/AR设备的最佳声学系统设计,即无法到达最佳听感。
发明内容
本申请的一个目的是提供一种用于调整耳机位置的新技术方案。
根据本申请的第一方面,提供了一种耳机位置的调整方法,所述耳机上设置有TOF传感器,包括:
利用TOF传感器获取耳朵的位置信息,所述耳朵的位置信息包括描述耳朵形态的点的位置;
根据所述耳朵的位置信息,确定耳道中心点的位置;
获取耳机中心点的位置;
根据所述耳道中心点的位置以及所述耳机中心点的位置,输出耳机的位 置调整矢量。
可选的,所述获取耳机中心点的位置,包括:
根据所述TOF传感器与所述耳机中心点的相对位置,确定所述耳机中心点的位置。
可选的,所述根据所述耳朵的位置信息,确定耳道中心点的位置,包括:
利用大顶堆排序方法,从所述耳机的位置信息中确定出所述耳道中心点的位置。
可选的,所述方法还包括:
根据所述耳朵的位置信息,确定耳道的轮廓;
在所述耳机的位置发生调整后,获取当前耳机中心点的位置;
在所述耳机中心点位置处于所述耳道的轮廓内的情况下,结束耳机位置的调整;
在所述耳机中心点的位置未处于所述耳道的轮廓内的情况下,获取当前耳道中心点的位置,以及根据所述当前耳道中心点的位置以及当前耳机中心点的位置,输出耳机的位置调整矢量。
可选的,所述根据所述耳朵的位置信息,确定耳道的轮廓包括:
根据所述耳朵的位置信息,确定所述耳朵的轮廓信息;
对所述耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线;
将所述封闭边缘曲线中,最短的封闭边缘曲线确定为所述耳道的轮廓。
可选的,所述对所述耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线,包括:
利用roberts边缘检测算子,对所述耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线。
根据本申请的第二方面,提供了一种耳机位置的调整装置,,所述耳机上设置有TOF传感器,所述装置包括:
第一获取模块,用于利用TOF传感器获取耳朵的位置信息,所述耳朵的位置信息包括描述耳朵形态的点的位置;
第一确定模块,用于根据所述耳朵的位置信息,确定耳道中心点的位置;
第二获取模块,用于获取耳机中心点的位置;
第一输出模块,用于根据所述耳道中心点的位置以及所述耳机中心点的位置,输出耳机的位置调整矢量。
可选的,所述装置还包括:
第二确定模块,用于根据所述耳机的位置信息,确定耳道的轮廓;
第三获取模块,用于在所述耳机的位置发生调整后,获取当前耳机中心点的位置;
结束模块,用于在所述耳机中心点位置处于所述耳道的轮廓内的情况下,结束耳机位置的调整;以及,
第二输出模块,在所述耳机中心点的位置未处于所述耳道的轮廓内的情况下,获取当前耳道中心点的位置,以及根据所述当前耳道中心点的位置以及当前耳机中心点的位置,输出耳机的位置调整矢量。
根据本申请的第三方面,提供了一种头戴设备,所述头戴设备上设置有耳机,所述耳机上设置有TOF传感器,所述头戴设备包括如第二方面所述的装置;或者,
包括存储器和处理器,所述存储器用于存储计算机指令,所述处理器用于从所述存储器中调用所述计算机指令,以执行如第一方面中任一项所述的方法。
根据本申请的第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现根据第一方面中任一项所述的方法。
在本申请实施例中,在耳机上设置有TOF传感器,利用TOF传感器获取耳朵的位置信息;根据耳朵的位置信息,确定耳道中心点的位置;获取耳机中心点的位置;根据耳道中心点的位置以及耳机中心点的位置,输出耳机的位置调整矢量。这样,用户在得到耳机的位置调整矢量后,根据该调整矢量,手动调整耳机的位置,以使得耳机的中心靠近耳道中心,甚至耳机的中心与耳道的中心重合。在此情况下,头戴设备的佩戴位置准确,用户可以达到最佳听感。这也就是说,本申请实施例为用户到达最佳听感提供基础。
通过以下参照附图对本申请的示例性实施例的详细描述,本申请的其它特征及其优点将会变得清楚。
附图说明
被结合在说明书中并构成说明书的一部分的附图示出了本申请的实施例,并且连同其说明一起用于解释本申请的原理。
图1是根据本申请实施例提供的一种实现耳机位置的调整方法的头戴设备的硬件配置的框图;
图2是本申请实施例提供的一种耳机位置的调整方法的流程示意图;
图3是本申请实施例提供的一种耳机位置的调整装置的结构示意图;
图4是本申请实施例提供的一种耳机的结构示意图。
具体实施方式
现在将参照附图来详细描述本申请的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本申请的范围。
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本申请及其应用或使用的任何限制。
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。
<硬件配置实施例>
图1是根据本申请实施例提供的一种实现耳机位置的调整方法的头戴设备的硬件配置的框图。
头戴设备1000可以为虚拟现实VR头戴设备,还可以为混合现实MR头戴设备,或增强现实AR头戴设备,或者头戴式耳机。
头戴设备1000可以包括处理器1100、存储器1200、接口装置1300、通信装置1400、显示装置1500、输入装置1600、扬声器1700、麦克风1800,等等。其中,处理器1100可以是中央处理器CPU、微处理器MCU等。存储 器1200例如包括ROM(只读存储器)、RAM(随机存取存储器)、诸如硬盘的非易失性存储器等。接口装置1300例如包括USB接口、耳机接口等。通信装置1400例如能够进行有线或无线通信。显示装置2500例如是液晶显示屏、触摸显示屏等。输入装置1600例如可以包括触摸屏、键盘等。用户可以通过扬声器1700和麦克风1800输入/输出语音信息。
尽管在图1中对头戴设备1000均示出了多个装置,但是,本发明可以仅涉及其中的部分装置,例如,头戴设备1000只涉及存储器1200和处理器1100。
应用于本发明的实施例中,头戴设备1000的存储器1200用于存储指令,该指令用于控制处理器1100执行本申请实施例提供的耳机位置调整方法。
在上述描述中,技术人员可以根据本申请所公开方案设计指令。指令如何控制处理器进行操作,这是本领域公知,故在此不再详细描述。
<方法实施例>
本申请实施例提供一种耳机位置的调整方法,该方法由如图1所示的头戴设备执行,且头戴设备的至少一侧耳机上设置有TOF传感器。
需要说明的是,在头戴设备的一侧耳机上设置TOF传感器的情况下,可根据一侧耳机上设置的TOF传感器实现头戴设置的两个耳机的位置调整,这是因为用户在佩戴头戴设备时,佩戴位置通常是对称的。对应的,在头戴设备的两侧耳机上均设置TOF传感器的情况下,可根据两侧耳机上设置的TOF传感器实现头戴设备的对应侧耳机的位置调整。
如图2所示,该方法包括如下S2100-S2400:
S2100、利用TOF传感器获取耳朵的位置信息。
其中,耳朵的位置信息包括描述耳朵形态的点的位置。
在本申请实施例中,耳机上设置有TOF传感器。在用户佩戴头戴设备的情况下,头戴设备上的耳机将覆盖在人耳上。此时,TOF传感器得到耳朵的位置信息,该耳朵的位置信息包括描述耳朵形态的点的位置。在此基础上,头戴设备可利用TOF传感器获取耳朵的位置信息。
对于每一描述耳朵形态的点,该点的位置为一个三维坐标位置,该三维坐标值对应的三维坐标系的坐标原点可以为描述耳朵形态的点中的任一点。另外,该三维坐标位置中,x轴的坐标值和y轴的坐标值用于表示点在耳朵 所在平面的位置,z轴的坐标值用于表示TOF传感器与点的距离值。
S2200、根据耳朵的位置信息,确定耳道中心点的位置。
在本申请实施例中,耳道中心点的位置用来表示(外)耳道的位置。可以理解的是,由于耳道相对于耳朵的其他部位,其对应在耳朵的位置信息中的点为深度值最大的点。因此,将耳朵的位置信息中深度值最大的点作为耳道中心点的位置。
在本申请的一个实施例中,上述S2200的具体实现可以为,遍历耳朵的位置信息,以查找耳朵的位置信息中深度值最大的点,即z轴的坐标值最大的点,将查找到的点作为耳道中心点的位置。
在本申请的另一个实施例中,上述S2200的具体实现还可以为如下的S2210:
S2210、利用大顶堆排序方法,从所述耳机的位置信息中确定出所述耳道中心点的位置。
在本申请实施例中,利用大顶堆排序方法,可以快速且准确的从位置信息中确定出耳道中心点的位置。
S2300、获取耳机中心点的位置。
在本申请实施例中,耳机的中心点为耳机与耳朵接触的一面的中心点。耳机中心点的位置为:耳机的中心点在耳朵的位置信息对应的三维坐标系中的x轴与y轴所成平面上的位置。
在本申请的一个实施例中,上述S2300的具体实现可以为如下S2310:
S2310、根据TOF传感器与耳机中心点的相对位置,确定耳机中心点的位置。
在本申请实施例中,TOF传感器与耳机中心点的相对位置,由头戴设备在出厂前测量,且提前存储在头戴设备中。在此基础上,结合耳朵的位置信息中对应的坐标原点,可以得到耳机中心点的位置。
S2400、根据耳道中心点的位置以及耳机中心点的位置,输出耳机的位置调整矢量。
在本申请实施例中,根据耳道中心点的位置,得到耳道中心点投影在x轴和y轴所在平面上的位置。根据耳道中心点投影在x轴和y轴所在平面上的位置以及耳机中心点的位置,确定出耳机中心点相对于耳道中心点的位置矢量,将该位置矢量确定为耳机的调整矢量。
在一个示例中,调整矢量可以:下方0.5cm处。
在一个示例中,在头戴设备为VR/AR/MR头戴设备的情况下,可通过头戴设备的显示屏显示调整矢量。
在另一个示例中,在头戴设备为头戴式耳机的情况下,可语音输出耳机的位置调整矢量。
在本申请实施例中,用户在得到耳机的位置调整矢量后,根据该调整矢量,手动调整耳机的位置,以使得耳机的中心靠近耳道中心,甚至耳机的中心与耳道的中心重合。在此情况下,头戴设备的佩戴位置准确,用户可以达到最佳听感。
在本申请实施例中,在耳机上设置有TOF传感器,利用TOF传感器获取耳朵的位置信息;根据耳朵的位置信息,确定耳道中心点的位置;获取耳机中心点的位置;根据耳道中心点的位置以及耳机中心点的位置,输出耳机的位置调整矢量。这样,用户在得到耳机的位置调整矢量后,根据该调整矢量,手动调整耳机的位置,以使得耳机的中心靠近耳道中心,甚至耳机的中心与耳道的中心重合。在此情况下,头戴设备的佩戴位置准确,用户可以达到最佳听感。这也就是说,本申请实施例为用户到达最佳听感提供基础。
在上述任一实施例的基础上,本申请实施例提供的耳机位置的调整方法还包括如下S2500-S2800:
S2500、根据耳朵的位置信息,确定耳道的轮廓。
在本申请实施例中,耳道的轮廓利用耳朵的轮廓信息表示,耳道的轮廓信息包括:耳朵的位置信息中对应于耳道轮廓的点的位置。
在一个实施例中,上述S2500的具体实现可以为:利用第一神经网络模型,根据耳朵的位置信息,得到耳道的轮廓。其中,第一神经网络模型,为首先训练好,且能够从耳朵的位置信息中提取出耳道的轮廓的模型。
在另一个实施例中,上述S2500还可通过如下S2510-S2530来实现:
S2510、根据耳朵的位置信息,确定耳朵的轮廓信息。
在本申请中,根据耳朵的位置信息,可以根据其中点对应的深度值,确定深度值在耳朵轮廓方向上连续的点,并将对应点作为耳朵的轮廓信息。
在一个实施例中,上述S2510的具体实现可以为:利用第二神经网络模型,根据耳朵的位置信息,得到耳朵的轮廓信息。其中,第二神经网络模型,为首先训练好,且能够从耳朵的位置信息中提取出耳朵的轮廓信息的模型。
S2520、对耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线。
在一个实施例中,上述S2520的具体实现可以为:利用roberts边缘检测算子,对耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线。
在本申请实施例中,多个封闭边缘曲线通过组成对应边缘曲线上的点表示。
在另一个是实施例中,上述S2520还可以通过其他边缘检测算子来实现。例如:canny边缘检测算子。
S2530、将封闭边缘曲线中,最短的封闭边缘曲线确定为耳道的轮廓。
可以理解的是,耳朵中最短的封闭边缘曲线即为耳道的轮廓。在此基础上,执行上述S2510-S2530可以得到耳道的轮廓。
S2600、在耳机的位置发生调整后,获取当前耳机中心点的位置。
在本申请实施例中,在耳机当前时刻获取到的位置信息,不同于前一时刻的位置信息的情况下,说明耳机的位置发生调整。
当前耳机中心点的位置表示的是:耳机位置发生调整后耳机中心点的位置。在耳机的位置发生调整后,利用如上述S2300的实现方式,获取当前耳机中心点的位置。
S2700、在耳机中心点的位置处于耳道轮廓内的情况下,结束耳机调整。
S2800、在耳机中心点的位置未处于耳道的轮廓内的情况下,获取当前耳 道中心点的位置,以及根据当前耳道中心点的位置以及当前耳机中心点的位置,输出耳机的位置调整矢量。
在本申请实施例中,在耳机中心点的位置位于耳道轮廓内的情况下,说明耳机中心点与耳道中心点靠近,甚至重合,这样耳机已经被准确的佩戴,因此无需进行位置调整。在此基础上,头戴设备可输出结束调整的指示。
在本申请实施例中,当前耳道中心点的位置表示的是:耳机位置发生调整后耳道中心点的位置。在耳机中心点的位置未处于耳道的轮廓内的情况下,说明用户手动调整耳机,但耳机仍未被准确的佩戴。在此基础上,头戴设备确定当前的耳道中心点的位置以及当前耳机中心点的位置,从而重新确定并输出耳机的位置调整矢量,以实现下一次的位置调整。
<装置实施例>
本申请实施例提供一种耳机位置的调整装置30,其中,耳机上设置有TOF传感器。
如图3所示,该耳机位置的调整装置30包括:第一获取模块31、第一确定模块32、第二获取模块33、第一输出模块34。其中:
第一获取模块31,用于利用TOF传感器获取耳朵的位置信息,所述耳朵的位置信息包括描述耳朵形态的点的位置;
第一确定模块32,用于根据所述耳朵的位置信息,确定耳道中心点的位置;
第二获取模块33,用于获取耳机中心点的位置;
第一输出模块34,用于根据所述耳道中心点的位置以及所述耳机中心点的位置,输出耳机的位置调整矢量。
在一个实施例中,第二获取模块33具体用于:
根据所述TOF传感器与所述耳机中心点的相对位置,确定所述耳机中心点的位置。
在一个实施例中,第一获取模块31具体用于:利用大顶堆排序方法,从所述耳机的位置信息中确定出所述耳道中心点的位置。
在一个实施例中,耳机位置的调整装置30还包括:
第二确定模块,用于根据所述耳机的位置信息,确定耳道的轮廓;
第三获取模块,用于在所述耳机的位置发生调整后,获取当前耳机中心点的位置;
结束模块,用于在所述耳机中心点位置处于所述耳道的轮廓内的情况下,结束耳机位置的调整;以及,
第二输出模块,在所述耳机中心点的位置未处于所述耳道的轮廓内的情况下,获取当前耳道中心点的位置,以及根据所述当前耳道中心点的位置以及当前耳机中心点的位置,输出耳机的位置调整矢量。
在一个实施例中,第二确定模块,具体用于:
第一确定单元,用于根据所述耳朵的位置信息,确定所述耳朵的轮廓信息;
检测单元,用于对所述耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线;
第二确定单元,用于将所述封闭边缘曲线中,最短的封闭边缘曲线确定为所述耳道的轮廓。
在一个实施例中,检测单元,具体用于:
利用roberts边缘检测算子,对所述耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线。
<设备实施例>
本申请实施例提供一种头戴设备40,头戴设备40上设置有耳机,所述耳机上设置有TOF传感器,所述头戴设备40包括如上述装置实施例提供的耳机位置的调整装置30;或者,
包括存储器41和处理器42,所述存储器41用于存储计算机指令,所述处理器42用于从所述存储器41中调用所述计算机指令,以执行如上述方法实施例中任一项所述的耳机位置的调整方法。
<存储介质实施例>
本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现根据上述方法实施例中任一项所述的耳机位置的调整方法。
本申请可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本申请的各个方面的计算机可读程序指令。
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。
用于执行本申请操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算 机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本申请的各个方面。
这里参照根据本申请实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本申请的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它 们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本申请的范围由所附权利要求来限定。

Claims (10)

  1. 一种耳机位置的调整方法,其特征在于,所述耳机上设置有TOF传感器,包括:
    利用TOF传感器获取耳朵的位置信息,所述耳朵的位置信息包括描述耳朵形态的点的位置;
    根据所述耳朵的位置信息,确定耳道中心点的位置;
    获取耳机中心点的位置;
    根据所述耳道中心点的位置以及所述耳机中心点的位置,输出耳机的位置调整矢量。
  2. 根据权利要求1所述的方法,其特征在于,所述获取耳机中心点的位置,包括:
    根据所述TOF传感器与所述耳机中心点的相对位置,确定所述耳机中心点的位置。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述耳朵的位置信息,确定耳道中心点的位置,包括:
    利用大顶堆排序方法,从所述耳机的位置信息中确定出所述耳道中心点的位置。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    根据所述耳朵的位置信息,确定耳道的轮廓;
    在所述耳机的位置发生调整后,获取当前耳机中心点的位置;
    在所述耳机中心点位置处于所述耳道的轮廓内的情况下,结束耳机位置的调整;
    在所述耳机中心点的位置未处于所述耳道的轮廓内的情况下,获取当前耳道中心点的位置,以及根据所述当前耳道中心点的位置以及当前耳机中心点的位置,输出耳机的位置调整矢量。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述耳朵的位置信息,确定耳道的轮廓包括:
    根据所述耳朵的位置信息,确定所述耳朵的轮廓信息;
    对所述耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线;
    将所述封闭边缘曲线中,最短的封闭边缘曲线确定为所述耳道的轮廓。
  6. 根据权利要求5所述的方法,其特征在于,所述对所述耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线,包括:
    利用roberts边缘检测算子,对所述耳朵的轮廓信息进行边缘检测,得到多个封闭边缘曲线。
  7. 一种耳机位置的调整装置,其特征在于,所述耳机上设置有TOF传感器,所述装置包括:
    第一获取模块,用于利用TOF传感器获取耳朵的位置信息,所述耳朵的位置信息包括描述耳朵形态的点的位置;
    第一确定模块,用于根据所述耳朵的位置信息,确定耳道中心点的位置;
    第二获取模块,用于获取耳机中心点的位置;
    第一输出模块,用于根据所述耳道中心点的位置以及所述耳机中心点的位置,输出耳机的位置调整矢量。
  8. 根据权利要求7所述的装置,其特征在于,所述装置还包括:
    第二确定模块,用于根据所述耳机的位置信息,确定耳道的轮廓;
    第三获取模块,用于在所述耳机的位置发生调整后,获取当前耳机中心点的位置;
    结束模块,用于在所述耳机中心点位置处于所述耳道的轮廓内的情况下,结束耳机位置的调整;以及,
    第二输出模块,在所述耳机中心点的位置未处于所述耳道的轮廓内的情况下,获取当前耳道中心点的位置,以及根据所述当前耳道中心点的位置以及当前耳机中心点的位置,输出耳机的位置调整矢量。
  9. 一种头戴设备,其特征在于,所述头戴设备上设置有耳机,所述耳机上设置有TOF传感器,所述头戴设备包括如权利要求8所述的装置;或者,
    包括存储器和处理器,所述存储器用于存储计算机指令,所述处理器用于从所述存储器中调用所述计算机指令,以执行如权利要求1-7中任一项所述的方法。
  10. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行时,实现根据权利要求1-7中任一项所述的方法。
PCT/CN2020/136953 2020-08-25 2020-12-16 耳机位置的调整方法、装置、设备及存储介质 WO2022041585A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/041,047 US20230269515A1 (en) 2020-08-25 2020-12-16 Earphone position adjustment method and apparatus, and equipment and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010860323.3A CN111741400B (zh) 2020-08-25 2020-08-25 耳机位置的调整方法、装置、设备及存储介质
CN202010860323.3 2020-08-25

Publications (1)

Publication Number Publication Date
WO2022041585A1 true WO2022041585A1 (zh) 2022-03-03

Family

ID=72658824

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136953 WO2022041585A1 (zh) 2020-08-25 2020-12-16 耳机位置的调整方法、装置、设备及存储介质

Country Status (3)

Country Link
US (1) US20230269515A1 (zh)
CN (1) CN111741400B (zh)
WO (1) WO2022041585A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741400B (zh) * 2020-08-25 2020-11-24 歌尔光学科技有限公司 耳机位置的调整方法、装置、设备及存储介质
CN114710726A (zh) * 2022-03-31 2022-07-05 歌尔股份有限公司 智能穿戴设备的中心定位方法、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9668042B1 (en) * 2013-09-18 2017-05-30 Google Inc. Adjustable acoustic bass earbud
CN207216146U (zh) * 2017-07-10 2018-04-10 深圳市柔宇科技有限公司 头戴式显示设备
CN108391205A (zh) * 2018-03-30 2018-08-10 广东欧珀移动通信有限公司 左右声道切换方法和装置、可读存储介质、终端
CN109164410A (zh) * 2018-08-10 2019-01-08 深圳市荣睿和芯科技有限公司 Rfid定位及追踪方法、系统及计算机可读存储介质
CN111289989A (zh) * 2018-12-10 2020-06-16 英飞凌科技股份有限公司 确定用于坐标系统之间转换的旋转参数的方法和装置
CN111741400A (zh) * 2020-08-25 2020-10-02 歌尔光学科技有限公司 耳机位置的调整方法、装置、设备及存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165460A1 (en) * 2004-01-26 2005-07-28 Onje' Erfan Neuro-Electric-Therapy Headset
CN104936054B (zh) * 2015-04-28 2018-02-27 西安慕声电子科技有限公司 一种模块化仿形耳机及制作方法
JP6903933B2 (ja) * 2017-02-15 2021-07-14 株式会社Jvcケンウッド 収音装置、及び収音方法
CN208402070U (zh) * 2018-05-28 2019-01-18 Oppo广东移动通信有限公司 耳机

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9668042B1 (en) * 2013-09-18 2017-05-30 Google Inc. Adjustable acoustic bass earbud
CN207216146U (zh) * 2017-07-10 2018-04-10 深圳市柔宇科技有限公司 头戴式显示设备
CN108391205A (zh) * 2018-03-30 2018-08-10 广东欧珀移动通信有限公司 左右声道切换方法和装置、可读存储介质、终端
CN109164410A (zh) * 2018-08-10 2019-01-08 深圳市荣睿和芯科技有限公司 Rfid定位及追踪方法、系统及计算机可读存储介质
CN111289989A (zh) * 2018-12-10 2020-06-16 英飞凌科技股份有限公司 确定用于坐标系统之间转换的旋转参数的方法和装置
CN111741400A (zh) * 2020-08-25 2020-10-02 歌尔光学科技有限公司 耳机位置的调整方法、装置、设备及存储介质

Also Published As

Publication number Publication date
US20230269515A1 (en) 2023-08-24
CN111741400A (zh) 2020-10-02
CN111741400B (zh) 2020-11-24

Similar Documents

Publication Publication Date Title
US10585486B2 (en) Gesture interactive wearable spatial audio system
CN107168518B (zh) 一种用于头戴显示器的同步方法、装置及头戴显示器
WO2022041585A1 (zh) 耳机位置的调整方法、装置、设备及存储介质
US8787584B2 (en) Audio metrics for head-related transfer function (HRTF) selection or adaptation
US10129684B2 (en) Systems and methods for audio creation and delivery
US20180261201A1 (en) Earphone active noise control
US20190349705A9 (en) Graphical user interface to adapt virtualizer sweet spot
US20180220253A1 (en) Differential headtracking apparatus
EP2839675A1 (en) Auto detection of headphone orientation
WO2021258102A1 (en) Spatialized audio relative to a mobile peripheral device
WO2019237667A1 (zh) 播放音频数据的方法和装置
EP3975586A1 (en) Sound modification based on direction of interest
US10267868B1 (en) Identifying a location of an audio device relative to a mobile device
CN107220021B (zh) 语音输入识别方法、装置及头戴式设备
US20220322024A1 (en) Audio system and method of determining audio filter based on device position
CN110741657A (zh) 用于确定声音生成物体的佩戴者的耳部之间的距离的方法以及耳戴式声音生成物体
US11217268B2 (en) Real-time augmented hearing platform
Hendrikse et al. Realistic audiovisual listening environments in the lab: analysis of movement behavior and consequences for hearing aids
CN115843433A (zh) 声环境控制系统和方法
US10764406B1 (en) Methods and systems for sending sensor data
TWI831513B (zh) 適用於無吊桿的頭戴式耳機之麥克風系統及波束成形方法
US10694567B1 (en) Systems and methods for establishing a data connection
WO2022009552A1 (ja) 情報処理装置、情報処理方法、およびプログラム
US20240089687A1 (en) Spatial audio adjustment for an audio device
WO2020205261A1 (en) Methods and systems for establishing user controls in a wearable audio device

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: 20951251

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20951251

Country of ref document: EP

Kind code of ref document: A1