Self-adaptive height adjusting method and system of microphone support and storage medium

By combining distance detection and image recognition technology, adaptive adjustment of the height of the microphone bracket is solved, and the problems of time-consuming, lack of accuracy and susceptibility to interference in traditional methods are significantly improved, and the quality and user experience of sound acquisition are significantly improved.

CN119906924AActive Publication Date: 2025-04-29SKYLAB M&C TECH
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510381691.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-04-29
Estimated Expiration
2045-03-28

AI Technical Summary

Technical Problem

Traditional manual adjustment and remote adjustment of microphone stand height are time-consuming, lack of accuracy and susceptibility to interference, resulting in poor sound acquisition results.

Method used

Through distance detection and image recognition technology, the distance and image information between the microphone user and the bracket are obtained in real time, the required height is calculated, and the adjustment mechanism is driven to adjust the height when the distance reaches a preset threshold.

Benefits of technology

It realizes adaptive dynamic adjustment of the height of the microphone bracket, accurately matches the user's optimal voice position, and improves the quality and user experience of sound acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906924A_ABST
    Figure CN119906924A_ABST
Patent Text Reader

Abstract

The invention provides a microphone support adaptive height adjustment method and system and a storage medium. When a microphone user gets close to the microphone support, first distance information is detected; if the detected first distance information is lower than a preset first distance threshold value, analyzing the obtained first image information according to a preset image processing technology so as to obtain first pixel information; when the first pixel information is within a preset pixel range, analyzing and calculating first height information by combining the first image information and the first distance information; only when the first distance information is lower than a preset second distance threshold value, the height of the microphone support needing to be adjusted can be accurately calculated according to the first height information and the first distance information; through the process, self-adaptive adjustment of the height of the microphone support is achieved, the optimal sound production position of a microphone user is accurately matched, and the use experience is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of support control, and more specifically, to a method, system and storage medium for adaptively adjusting the height of a microphone support. Background Art

[0002] In situations where microphones are used by multiple people, especially at award ceremonies, due to the significant differences in the heights of microphone users, the adaptation of microphone height becomes a key issue that needs to be solved urgently. The traditional method of manually adjusting the height of the microphone stand has exposed many disadvantages. On the one hand, the manual adjustment process is extremely cumbersome and requires repeated operations by staff, which is time-consuming and easily destroys the continuity and fluency of the award ceremony. On the other hand, the manual adjustment of the microphone stand height lacks precision and it is difficult to match the best vocal position for each user. Due to the inability to accurately locate, the sound collection effect is likely to be poor during the sound collection process, resulting in unclear speech, noise, or too low volume.

[0003] Currently, there are designs on the market that use remote controls to remotely adjust the height of microphone stands. However, in crowded places with many electronic devices, signal transmission is easily interfered with. Once the signal is interrupted or delayed, the adjustment instructions of the microphone stand cannot be transmitted in a timely and accurate manner, which may cause the stand to be adjusted lagging or erroneous operation. In addition, the requirements for the staff of the remote control equipment are high, and manual operation is also prone to over- or under-adjustment of the microphone height, and it is also impossible to accurately match the best vocal position of the microphone user.

[0004] Therefore, there is an urgent need for a technology that can adaptively adjust the height of a microphone stand. Summary of the invention

[0005] In view of the above problems, the purpose of the present invention is to provide an adaptive height adjustment method, system and storage medium for a microphone stand. When the microphone user approaches the microphone stand, the height value of the microphone stand that needs to be adjusted is accurately obtained according to the distance between the microphone user and the microphone stand and through image recognition technology; only when the distance between the microphone user and the microphone stand reaches a preset distance threshold, the adjustment mechanism is driven according to the actual required height calculated in the early stage, and the height of the microphone stand is adjusted accordingly. This dual feedback mechanism based on distance detection and image recognition technology realizes adaptive dynamic adjustment of the microphone stand lifting height, ensures that the optimal vocal position of the microphone user can be accurately matched, effectively avoids problems such as sound distortion or poor volume, and greatly improves the user's experience in various scenarios.

[0006] A first aspect of the present invention provides a method for adaptively adjusting the height of a microphone stand, the method comprising: Obtaining first distance information; Determining whether the first distance information is lower than a preset first distance threshold; If yes, obtaining first image information; Obtaining first pixel information according to the first image information; Determining whether the first pixel information is within a preset pixel range; If not, adjusting the focal length according to the first pixel information and reacquiring the first image information; If yes, obtaining second pixel information according to the first image information; Obtaining first height information according to the first pixel information, the second pixel information and the first distance information; The height of the bracket is adjusted according to the first distance information and the first height information.

[0007] In this solution, obtaining the first pixel information according to the first image information is specifically: Determining whether the feet of the target person are located on a preset first plane according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the first coordinate information; Determining whether a first part of a target person is recognized according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the second coordinate information; First pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information.

[0008] In this solution, first pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information, specifically: Obtaining a first straight line L1 according to a line connecting the origin of the first image information and the first coordinate information; A straight line perpendicular to the first straight line L1 and passing through the second coordinate information is obtained as a second straight line L2; Obtaining third coordinate information according to the intersection point of the first straight line L1 and the second straight line L2; The pixel distance between the second coordinate information and the third coordinate information is calculated to obtain first pixel information.

[0009] In this solution, the second pixel information is obtained according to the first image information, specifically: The distance between the origin of the first image information and the third coordinate information is calculated to obtain second pixel information.

[0010] In this solution, adjusting the focal length according to the first pixel information is specifically: Determining whether the first pixel information exceeds a preset first pixel threshold; If so, adjust the focus down; If not, determining whether the first pixel information is lower than a preset second pixel threshold; If so, adjust the focus upward.

[0011] In this solution, adjusting the height of the bracket according to the first distance information and the first height information is specifically: Get the second height information; updating second height information according to the first distance information and the first height information; Determining whether the first distance information is greater than a preset second distance threshold; If yes, collect and record the first distance information and the first height information again; If not, the height of the bracket is adjusted according to the second height information.

[0012] A second aspect of the present invention provides an adaptive height adjustment system for a microphone stand, including an adaptive height adjustment method program for a microphone stand, wherein the adaptive height adjustment method program for a microphone stand implements the following steps when executed by the processor: Obtaining first distance information; Determining whether the first distance information is lower than a preset first distance threshold; If yes, obtaining first image information; Obtaining first pixel information according to the first image information; Determining whether the first pixel information is within a preset pixel range; If not, adjusting the focal length according to the first pixel information and reacquiring the first image information; If yes, obtaining second pixel information according to the first image information; Obtaining first height information according to the first pixel information, the second pixel information and the first distance information; The height of the bracket is adjusted according to the first distance information and the first height information.

[0013] In this solution, obtaining the first pixel information according to the first image information is specifically: Determining whether the feet of the target person are located on a preset first plane according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the first coordinate information; Determining whether a first part of a target person is recognized according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the second coordinate information; First pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information.

[0014] In this solution, adjusting the height of the bracket according to the first distance information and the first height information is specifically: Get the second height information; updating second height information according to the first distance information and the first height information; Determining whether the first distance information is greater than a preset second distance threshold; If yes, collect and record the first distance information and the first height information again; If not, the height of the bracket is adjusted according to the second height information.

[0015] A third aspect of the present invention provides a computer-readable storage medium, which includes a program for an adaptive height adjustment method for a microphone stand. When the program for the adaptive height adjustment method for a microphone stand is executed by a processor, the steps of the adaptive height adjustment method for a microphone stand as described in any one of the above items are implemented.

[0016] The present invention proposes a method, system and storage medium for adaptively adjusting the height of a microphone stand. When a microphone user approaches the microphone stand, first distance information will be detected. If the detected first distance information is lower than a preset first distance threshold, the acquired first image information is analyzed according to a preset image processing technology to obtain first pixel information. When the first pixel information is within a preset pixel range, the first image information and the first distance information are combined to analyze and calculate the first height information. Only when the first distance information is lower than a preset second distance threshold, the height of the microphone stand that needs to be adjusted is accurately calculated according to the first height information and the first distance information. Through this process, adaptive adjustment of the microphone stand height is achieved, the optimal vocal position of the microphone user is accurately matched, and the user experience is significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and should not be regarded as limiting the scope.

[0018] Figure 1 A flow chart showing a method for adaptively adjusting the height of a microphone stand according to the present invention is shown; Figure 2 A flowchart of confirming first pixel information provided by an embodiment of the present invention is shown; Figure 3 A flowchart of microphone stand height adjustment provided by an embodiment of the present invention is shown; Figure 4 A block diagram of an adaptive height adjustment system for a microphone stand according to the present invention is shown. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the present invention have the same meanings as commonly understood by those skilled in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless the embodiments of the present invention are explicitly defined in this way.

[0021] The words "first", "second" and similar words used in the embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "one", "an" or "the" and similar words do not indicate a quantity limitation, but indicate the existence of at least one. Similarly, words such as "include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The steps before or after the method of the embodiment of the present invention are not necessarily carried out in order. On the contrary, various steps can be processed in reverse order or simultaneously. At the same time, other operations can also be added to these processes, or a step or several steps can be removed from these processes.

[0022] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0023] Figure 1 A flow chart of a method for adaptively adjusting the height of a microphone stand of the present invention is shown.

[0024] like Figure 1 As shown, the first aspect of the present invention discloses a method for adaptively adjusting the height of a microphone stand, the method comprising: S102, obtaining first distance information; S104, determining whether the first distance information is lower than a preset first distance threshold; S106, if yes, obtaining first image information; S108, obtaining first pixel information according to the first image information; S110, determining whether the first pixel information is within a preset pixel range; S112, if not, adjusting the focal length according to the first pixel information and reacquiring the first image information; S114, if yes, obtaining second pixel information according to the first image information; S116, obtaining first height information according to the first pixel information, the second pixel information and the first distance information; S118: Adjust the height of the bracket according to the first distance information and the first height information.

[0025] It should be noted that the first distance information is the distance between the microphone stand and the microphone user; the first image information is the image of the microphone user captured by the microphone stand through the camera device; the first pixel information is the number of pixels from the first part of the microphone user to the preset first plane in the first image information; the second pixel information is the number of pixels between the feet of the microphone user and the image origin in the first image information; the first height information is the calculated value of the height from the first part of the user to the preset first plane. The first plane is the plane where the microphone stand is placed, including the ground or the stage surface; the first part is the part used to identify the height of the microphone user, including the mouth; for clarity, the ground is used to refer to the first plane and the mouth is used to refer to the first part below.

[0026] In this embodiment, a distance sensor is provided on the microphone stand for measuring the distance between the microphone user and the microphone stand; and a camera device is provided on the microphone stand for capturing an image of the microphone user. When the first distance information is not less than the preset first distance threshold, it indicates that the distance between the microphone user and the microphone stand is too large, which affects the accuracy of the microphone height adjustment, and therefore, the microphone height adjustment is not performed. When the first distance information is less than the preset first distance threshold, the height of the microphone stand is adjusted after analysis and calculation by image recognition related technology, such as OpenCV. First, image recognition and analysis are performed on the first image information to obtain the number of pixels from the mouth of the microphone user to the ground in the image, that is, the first pixel information. Then, it is determined whether the first pixel information is within the preset pixel range. If the first pixel information is not within the preset pixel range, it indicates that the number of pixels is too large or too small, which will affect the accuracy of the microphone height adjustment. At this time, the first image information is re-photographed after adjusting the focal length of the camera device. If the first pixel information is within the preset pixel range, it means that the accuracy requirement of the microphone height adjustment is met. At this time, the number of pixels between the feet of the microphone user and the image origin in the image is obtained based on image recognition and analysis, that is, the second pixel information. Finally, based on the first pixel information, the second pixel information and the first distance information, the vertical height between the mouth of the microphone user and the ground is calculated, that is, the first height information, which is used to adjust the height of the microphone stand.

[0027] Figure 2 A flow chart for confirming first pixel information provided by an embodiment of the present invention is shown.

[0028] According to an embodiment of the present invention, Figure 2 As shown, the first pixel information is obtained according to the first image information, specifically: S202, judging whether the feet of the target person are located on a preset first plane according to the first image information; S204, if not, setting the first pixel information to a preset first pixel reference value; S206, if yes, obtain the first coordinate information; S208, judging whether a first part of the target person is recognized according to the first image information; S204, if not, setting the first pixel information to a preset first pixel reference value; S210, if yes, obtain second coordinate information; S212: Obtain first pixel information according to the first coordinate information, the second coordinate information and the first image information.

[0029] It should be noted that the first coordinate information is the coordinate point where the foot of the microphone user is located in the first image information; the second coordinate information is the coordinate point where the first part of the microphone user is located in the first image information, that is, the coordinate point where the mouth is located.

[0030] In this embodiment, image recognition related technologies, such as OpenCV, recognize the feet and mouth of the microphone user in the image. First, if the feet of the microphone user are not recognized or the user's feet are not on the preset first plane, it means that the captured image cannot cover the feet of the microphone user. At this time, the first pixel information is set to the preset first pixel reference value; wherein the first pixel reference value is a preset specific value used to characterize that the number of pixel points is too large. If the feet of the microphone user are recognized to be on the preset first plane, the coordinate points of the feet of the microphone user in the image are extracted, that is, the first coordinate information. Then, if the mouth of the microphone user is not recognized, it means that the captured image cannot cover the mouth of the microphone user. At this time, the first pixel information is set to the preset first pixel reference value. If the mouth of the microphone user is recognized, the coordinate points of the mouth of the microphone user in the image are extracted, that is, the second coordinate information. Finally, according to the coordinate points of the user's feet and mouth in the image, the number of pixels between the mouth of the microphone user and the ground is obtained.

[0031] According to an embodiment of the present invention, first pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information, specifically: Obtaining a first straight line L1 according to a line connecting the origin of the first image information and the first coordinate information; A straight line perpendicular to the first straight line L1 and passing through the second coordinate information is obtained as a second straight line L2; Obtaining third coordinate information according to the intersection point of the first straight line L1 and the second straight line L2; The pixel distance between the second coordinate information and the third coordinate information is calculated to obtain first pixel information.

[0032] It should be noted that, in this embodiment, a method for obtaining the number of pixels between the mouth of the microphone user and the ground is provided. First, the origin in the image is connected to the coordinate point of the foot of the microphone user to obtain a first straight line L1. Then, a straight line perpendicular to the first straight line L1 and passing through the coordinate point of the mouth of the microphone user is made to obtain a second straight line L2. Among them, the intersection of the first straight line L1 and the second straight line L2 obtains the third coordinate information. Finally, the pixel distance between the coordinate point of the mouth of the microphone user and the third coordinate information is calculated, that is, the number of pixels between the mouth of the microphone user and the ground is obtained.

[0033] According to an embodiment of the present invention, second pixel information is obtained according to the first image information, specifically: The distance between the origin of the first image information and the third coordinate information is calculated to obtain second pixel information.

[0034] It should be noted that in this embodiment, a method for obtaining the number of pixels between the foot of the microphone user and the image origin is provided. The pixel distance between the coordinate point of the foot of the microphone user and the third coordinate information is calculated, that is, the number of pixels between the foot of the microphone user and the image origin is obtained.

[0035] According to an embodiment of the present invention, adjusting the focal length according to the first pixel information is specifically: Determining whether the first pixel information exceeds a preset first pixel threshold; If so, adjust the focus down; If not, determining whether the first pixel information is lower than a preset second pixel threshold; If so, adjust the focus upward.

[0036] It should be noted that, in the present embodiment, a strategy for adjusting the focal length of a camera device is provided. When the first pixel information exceeds the preset first pixel threshold, it indicates that the image magnification ratio is too large, and the focal length is lowered to make the shooting angle of view wider and accommodate a larger scene range, that is, to reduce the image magnification ratio. When the first pixel information does not exceed the preset first pixel threshold, the size relationship between the first pixel information and the preset second pixel threshold is determined. If the first pixel information is lower than the second pixel threshold, it indicates that the image magnification ratio is too small, and the focal length is raised to narrow the shooting angle of view and reduce the accommodated scene range, that is, to increase the image magnification ratio. If the first pixel information is not lower than the second pixel threshold, the focal length of the current camera device is maintained.

[0037] Figure 3 A flow chart of microphone stand height adjustment provided by an embodiment of the present invention is shown.

[0038] According to an embodiment of the present invention, Figure 3 As shown, adjusting the height of the bracket according to the first distance information and the first height information is specifically as follows: S302, obtaining second height information; S304: Update second height information according to the first distance information and the first height information; S306, determining whether the first distance information is greater than a preset second distance threshold; S308: If yes, collect and record the first distance information and the first height information again; S310: If not, adjust the height of the bracket according to the second height information.

[0039] It should be noted that the second height information is the target height value of the microphone stand. In the present embodiment, the second height information is updated in real time according to the obtained first height information for adjusting the stand height. First, the second height information is updated according to the set weighted algorithm based on the first distance information and the first height information. When the first distance information is greater than the preset second distance threshold, it indicates that the distance between the microphone user and the microphone stand is still within the set range, and the height calculation continues to be performed to improve the accuracy. When the first distance information is not greater than the preset second distance threshold, it indicates that the distance between the microphone user and the microphone stand is small. In order to ensure that the height of the microphone stand can be adjusted before the microphone user reaches the microphone use position, at this time, the height of the microphone stand is adjusted according to the second height information.

[0040] It is worth mentioning that it also includes: Obtaining first weighted information according to the first distance information; The second height information is updated according to the first weighted information, the first height information and the second height information in accordance with a preset weighted average algorithm.

[0041] It should be noted that, in this embodiment, a weighted algorithm is provided to update the second height information. It can be seen from the clarity of the captured image that the closer the microphone user is to the microphone stand, the clearer the image of the microphone user obtained by the capture is, and thus, the more accurate the calculated first height information is. Therefore, in this embodiment, according to the first distance information, the preset weight correspondence table is searched to obtain the first weighted information. Then, according to the first weighted information, the first height information and the second height information, a weighted average calculation method is used to obtain a height value for updating the second height information.

[0042] It is worth mentioning that it also includes: Obtaining a first deviation threshold according to the first distance information; Obtaining a first height range according to the first deviation threshold and the second height information; Determining whether the first altitude information is within the first altitude range; If yes, updating the second height information according to the first height information; If not, the second height information is not updated.

[0043] It should be noted that, in the present embodiment, a verification process for the first height information is provided. Since the shooting distance affects the clarity of the image, a first deviation threshold is set in the present embodiment as the deviation tolerance; wherein, the farther the distance is, the higher the deviation tolerance is; for example, when the distance is 5 meters, the first deviation threshold is 10%, and when the distance is 3 meters, the first deviation threshold is 5%. Then, based on the first deviation threshold and the second height information, the allowable first height range is calculated, indicating the normal range of the obtained height, which is used to verify the first height information. If the first height information is within the first height range, it means that the obtained height verification has passed, and can be used to update the second height information. If the first height information is not within the first height range, it means that the obtained height verification has failed, that is, the height deviation is large. In order to avoid affecting the accuracy of the microphone stand adjustment, the current first height information is not used to update the second height information.

[0044] Figure 4 A block diagram of an adaptive height adjustment system for a microphone stand according to the present invention is shown.

[0045] like Figure 4 As shown, the second aspect of the present invention discloses an adaptive height adjustment system 4 for a microphone stand, comprising a memory 41 and a processor 42, wherein the memory comprises an adaptive height adjustment method program for the microphone stand, and when the adaptive height adjustment method program for the microphone stand is executed by the processor, the following steps are implemented: Obtaining first distance information; Determining whether the first distance information is lower than a preset first distance threshold; If yes, obtaining first image information; Obtaining first pixel information according to the first image information; Determining whether the first pixel information is within a preset pixel range; If not, adjusting the focal length according to the first pixel information and reacquiring the first image information; If yes, obtaining second pixel information according to the first image information; Obtaining first height information according to the first pixel information, the second pixel information and the first distance information; The height of the bracket is adjusted according to the first distance information and the first height information.

[0046] It should be noted that the first distance information is the distance between the microphone stand and the microphone user; the first image information is the image of the microphone user captured by the microphone stand through the camera device; the first pixel information is the number of pixels from the first part of the microphone user to the preset first plane in the first image information; the second pixel information is the number of pixels between the feet of the microphone user and the image origin in the first image information; the first height information is the calculated value of the height from the first part of the user to the preset first plane. The first plane is the plane where the microphone stand is placed, including the ground or the stage surface; the first part is the part used to identify the height of the microphone user, including the mouth; for clarity, the ground is used to refer to the first plane and the mouth is used to refer to the first part below.

[0047] In this embodiment, a distance sensor is provided on the microphone stand for measuring the distance between the microphone user and the microphone stand; and a camera device is provided on the microphone stand for capturing an image of the microphone user. When the first distance information is not less than the preset first distance threshold, it indicates that the distance between the microphone user and the microphone stand is too large, which affects the accuracy of the microphone height adjustment, and therefore, the microphone height adjustment is not performed. When the first distance information is less than the preset first distance threshold, the height of the microphone stand is adjusted after analysis and calculation by image recognition related technology, such as OpenCV. First, image recognition and analysis are performed on the first image information to obtain the number of pixels from the mouth of the microphone user to the ground in the image, that is, the first pixel information. Then, it is determined whether the first pixel information is within the preset pixel range. If the first pixel information is not within the preset pixel range, it indicates that the number of pixels is too large or too small, which will affect the accuracy of the microphone height adjustment. At this time, the first image information is re-photographed after adjusting the focal length of the camera device. If the first pixel information is within the preset pixel range, it means that the accuracy requirement of the microphone height adjustment is met. At this time, the number of pixels between the feet of the microphone user and the image origin in the image is obtained based on image recognition and analysis, that is, the second pixel information. Finally, based on the first pixel information, the second pixel information and the first distance information, the vertical height between the mouth of the microphone user and the ground is calculated, that is, the first height information, which is used to adjust the height of the microphone stand.

[0048] According to an embodiment of the present invention, obtaining the first pixel information according to the first image information is specifically: Determining whether the feet of the target person are located on a preset first plane according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the first coordinate information; Determining whether a first part of a target person is recognized according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the second coordinate information; First pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information.

[0049] It should be noted that the first coordinate information is the coordinate point where the foot of the microphone user is located in the first image information; the second coordinate information is the coordinate point where the first part of the microphone user is located in the first image information, that is, the coordinate point where the mouth is located.

[0050] In this embodiment, image recognition related technologies, such as OpenCV, recognize the feet and mouth of the microphone user in the image. First, if the feet of the microphone user are not recognized or the user's feet are not on the preset first plane, it means that the captured image cannot cover the feet of the microphone user. At this time, the first pixel information is set to the preset first pixel reference value; wherein the first pixel reference value is a preset specific value used to characterize that the number of pixel points is too large. If the feet of the microphone user are recognized to be on the preset first plane, the coordinate points of the feet of the microphone user in the image are extracted, that is, the first coordinate information. Then, if the mouth of the microphone user is not recognized, it means that the captured image cannot cover the mouth of the microphone user. At this time, the first pixel information is set to the preset first pixel reference value. If the mouth of the microphone user is recognized, the coordinate points of the mouth of the microphone user in the image are extracted, that is, the second coordinate information. Finally, according to the coordinate points of the user's feet and mouth in the image, the number of pixels between the mouth of the microphone user and the ground is obtained.

[0051] According to an embodiment of the present invention, first pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information, specifically: Obtaining a first straight line L1 according to a line connecting the origin of the first image information and the first coordinate information; A straight line perpendicular to the first straight line L1 and passing through the second coordinate information is obtained as a second straight line L2; Obtaining third coordinate information according to the intersection point of the first straight line L1 and the second straight line L2; The pixel distance between the second coordinate information and the third coordinate information is calculated to obtain first pixel information.

[0052] It should be noted that, in this embodiment, a method for obtaining the number of pixels between the mouth of the microphone user and the ground is provided. First, the origin in the image is connected to the coordinate point of the foot of the microphone user to obtain a first straight line L1. Then, a straight line perpendicular to the first straight line L1 and passing through the coordinate point of the mouth of the microphone user is made to obtain a second straight line L2. Among them, the intersection of the first straight line L1 and the second straight line L2 obtains the third coordinate information. Finally, the pixel distance between the coordinate point of the mouth of the microphone user and the third coordinate information is calculated, that is, the number of pixels between the mouth of the microphone user and the ground is obtained.

[0053] According to an embodiment of the present invention, second pixel information is obtained according to the first image information, specifically: The distance between the origin of the first image information and the third coordinate information is calculated to obtain second pixel information.

[0054] It should be noted that in this embodiment, a method for obtaining the number of pixels between the foot of the microphone user and the image origin is provided. The pixel distance between the coordinate point of the foot of the microphone user and the third coordinate information is calculated, that is, the number of pixels between the foot of the microphone user and the image origin is obtained.

[0055] According to an embodiment of the present invention, adjusting the focal length according to the first pixel information is specifically: Determining whether the first pixel information exceeds a preset first pixel threshold; If so, adjust the focus down; If not, determining whether the first pixel information is lower than a preset second pixel threshold; If so, adjust the focus upward.

[0056] It should be noted that, in the present embodiment, a strategy for adjusting the focal length of a camera device is provided. When the first pixel information exceeds the preset first pixel threshold, it indicates that the image magnification ratio is too large, and the focal length is lowered to make the shooting angle of view wider and accommodate a larger scene range, that is, to reduce the image magnification ratio. When the first pixel information does not exceed the preset first pixel threshold, the size relationship between the first pixel information and the preset second pixel threshold is determined. If the first pixel information is lower than the second pixel threshold, it indicates that the image magnification ratio is too small, and the focal length is raised to narrow the shooting angle of view and reduce the accommodated scene range, that is, to increase the image magnification ratio. If the first pixel information is not lower than the second pixel threshold, the focal length of the current camera device is maintained.

[0057] According to an embodiment of the present invention, adjusting the height of the bracket according to the first distance information and the first height information is specifically: Get the second height information; updating second height information according to the first distance information and the first height information; Determining whether the first distance information is greater than a preset second distance threshold; If yes, collect and record the first distance information and the first height information again; If not, the height of the bracket is adjusted according to the second height information.

[0058] It should be noted that the second height information is the target height value of the microphone stand. In the present embodiment, the second height information is updated in real time according to the obtained first height information for adjusting the stand height. First, the second height information is updated according to the set weighted algorithm based on the first distance information and the first height information. When the first distance information is greater than the preset second distance threshold, it indicates that the distance between the microphone user and the microphone stand is still within the set range, and the height calculation continues to be performed to improve the accuracy. When the first distance information is not greater than the preset second distance threshold, it indicates that the distance between the microphone user and the microphone stand is small. In order to ensure that the height of the microphone stand can be adjusted before the microphone user reaches the microphone use position, at this time, the height of the microphone stand is adjusted according to the second height information.

[0059] It is worth mentioning that it also includes: Obtaining first weighted information according to the first distance information; The second height information is updated according to the first weighted information, the first height information and the second height information in accordance with a preset weighted average algorithm.

[0060] It should be noted that, in this embodiment, a weighted algorithm is provided to update the second height information. It can be seen from the clarity of the captured image that the closer the microphone user is to the microphone stand, the clearer the image of the microphone user obtained by the capture is, and thus, the more accurate the calculated first height information is. Therefore, in this embodiment, according to the first distance information, the preset weight correspondence table is searched to obtain the first weighted information. Then, according to the first weighted information, the first height information and the second height information, a weighted average calculation method is used to obtain a height value for updating the second height information.

[0061] It is worth mentioning that it also includes: Obtaining a first deviation threshold according to the first distance information; Obtaining a first height range according to the first deviation threshold and the second height information; Determining whether the first altitude information is within the first altitude range; If yes, updating the second height information according to the first height information; If not, the second height information is not updated.

[0062] It should be noted that, in the present embodiment, a verification process for the first height information is provided. Since the shooting distance affects the clarity of the image, a first deviation threshold is set in the present embodiment as the deviation tolerance; wherein, the farther the distance is, the higher the deviation tolerance is; for example, when the distance is 5 meters, the first deviation threshold is 10%, and when the distance is 3 meters, the first deviation threshold is 5%. Then, based on the first deviation threshold and the second height information, the allowable first height range is calculated, indicating the normal range of the obtained height, which is used to verify the first height information. If the first height information is within the first height range, it means that the obtained height verification has passed, and can be used to update the second height information. If the first height information is not within the first height range, it means that the obtained height verification has failed, that is, the height deviation is large. In order to avoid affecting the accuracy of the microphone stand adjustment, the current first height information is not used to update the second height information.

[0063] A third aspect of the present invention provides a computer-readable storage medium, which includes a program for an adaptive height adjustment method for a microphone stand. When the program for the adaptive height adjustment method for a microphone stand is executed by a processor, the steps of the adaptive height adjustment method for a microphone stand as described in any one of the above items are implemented.

[0064] In summary, the present invention proposes a method, system and storage medium for adaptive height adjustment of a microphone stand; when the microphone user approaches the microphone stand, first distance information will be detected; if the detected first distance information is lower than a preset first distance threshold, the acquired first image information is analyzed according to a preset image processing technology to obtain first pixel information; when the first pixel information is within a preset pixel range, the first image information and the first distance information are combined to analyze and calculate the first height information; only when the first distance information is lower than a preset second distance threshold, the height of the microphone stand that needs to be adjusted is accurately calculated based on the first height information and the first distance information; through this process, adaptive adjustment of the microphone stand height is achieved, the optimal vocal position of the microphone user is accurately matched, and the user experience is significantly improved.

[0065] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0066] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for adaptively adjusting the height of a microphone stand, characterized in that: The method comprises: Obtaining first distance information; Determining whether the first distance information is lower than a preset first distance threshold; If yes, obtaining first image information; Obtaining first pixel information according to the first image information; Determining whether the first pixel information is within a preset pixel range; If not, adjusting the focal length according to the first pixel information and reacquiring the first image information; If yes, obtaining second pixel information according to the first image information; Obtaining first height information according to the first pixel information, the second pixel information and the first distance information; The height of the bracket is adjusted according to the first distance information and the first height information.

2. The method for adaptively adjusting the height of a microphone stand according to claim 1, characterized in that: The obtaining of first pixel information according to the first image information is specifically: Determining whether the feet of the target person are located on a preset first plane according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the first coordinate information; Determining whether a first part of a target person is recognized according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the second coordinate information; First pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information.

3. The method for adaptively adjusting the height of a microphone stand according to claim 2, characterized in that: The first pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information, specifically: Obtaining a first straight line L1 according to a line connecting the origin of the first image information and the first coordinate information; A straight line perpendicular to the first straight line L1 and passing through the second coordinate information is obtained as a second straight line L2; Obtaining third coordinate information according to the intersection point of the first straight line L1 and the second straight line L2; The pixel distance between the second coordinate information and the third coordinate information is calculated to obtain first pixel information.

4. The method for adaptively adjusting the height of a microphone stand according to claim 3, characterized in that: According to the first image information, second pixel information is obtained, specifically: The distance between the origin of the first image information and the third coordinate information is calculated to obtain second pixel information.

5. The method for adaptively adjusting the height of a microphone stand according to claim 1, characterized in that: The adjusting the focal length according to the first pixel information is specifically: Determining whether the first pixel information exceeds a preset first pixel threshold; If so, adjust the focus down; If not, determining whether the first pixel information is lower than a preset second pixel threshold; If so, adjust the focus upward.

6. The method for adaptively adjusting the height of a microphone stand according to claim 1, characterized in that: The adjusting the height of the bracket according to the first distance information and the first height information is specifically: Get the second height information; updating second height information according to the first distance information and the first height information; Determining whether the first distance information is greater than a preset second distance threshold; If yes, collect and record the first distance information and the first height information again; If not, the height of the bracket is adjusted according to the second height information.

7. An adaptive height adjustment system for a microphone stand, characterized in that: The system includes a memory and a processor, wherein the memory includes a method program for adaptively adjusting the height of a microphone stand, and when the method program for adaptively adjusting the height of a microphone stand is executed by the processor, the following steps are implemented: Obtaining first distance information; Determining whether the first distance information is lower than a preset first distance threshold; If yes, obtaining first image information; Obtaining first pixel information according to the first image information; Determining whether the first pixel information is within a preset pixel range; If not, adjusting the focal length according to the first pixel information and reacquiring the first image information; If yes, obtaining second pixel information according to the first image information; Obtaining first height information according to the first pixel information, the second pixel information and the first distance information; The height of the bracket is adjusted according to the first distance information and the first height information.

8. The adaptive height adjustment system for a microphone stand according to claim 7, characterized in that: The obtaining of first pixel information according to the first image information is specifically: Determining whether the feet of the target person are located on a preset first plane according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the first coordinate information; Determining whether a first part of a target person is recognized according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If yes, obtain the second coordinate information; First pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information.

9. The adaptive height adjustment system of a microphone stand according to claim 7, characterized in that: The adjusting the height of the bracket according to the first distance information and the first height information is specifically: Get the second height information; updating second height information according to the first distance information and the first height information; Determining whether the first distance information is greater than a preset second distance threshold; If yes, collect and record the first distance information and the first height information again; If not, the height of the bracket is adjusted according to the second height information.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer-readable storage medium includes a method program for adaptively adjusting the height of a microphone stand. When the method program for adaptively adjusting the height of a microphone stand is executed by a processor, the steps of the method for adaptively adjusting the height of a microphone stand as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Microphone control device and method

    CN102223594A

  • Microphone holder adjustment method, device, terminal and readable medium

    CN108650571A

  • Adjusting device for automatically adjusting height of microphone and height correction method thereof

    CN112367578A

  • Apparatus and method for controlling a microphone

    TW201135608A

  • Apparatus and method for automatically adjusting positions of microphone

    US20110254954A1