An Adaptive Height Adjustment Method, System, and Storage Medium for a Microphone Stand

The microphone bracket height is calculated through distance and image recognition technology, which solves the problem of cumbersome and inaccurate microphone height adaptation, realizes adaptive adjustment, and improves user experience and sound quality.

CN119906924BActive Publication Date: 2025-07-25SKYLAB M&C TECH
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In multiple use occasions, the adaptation of microphone height is complicated and inaccurate, resulting in poor sound acquisition effect, and the remote remote control signal is easily disturbed, making it difficult to accurately match the optimal voice position of each user.

Method used

Through distance detection and image recognition technology, the distance and image information between the microphone user and the microphone support are obtained, the height that needs to be adjusted by the microphone support is calculated, and the height adjustment is only performed when the distance reaches the threshold, so as to achieve adaptive adjustment.

Benefits of technology

Accurately match the optimal vocal position of the microphone user, improves the user experience, avoids the problems of sound distortion or poor volume, and reduces the impact of signal interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906924B_ABST
    Figure CN119906924B_ABST
Patent Text Reader

Abstract

The present invention provides a method, a system and a storage medium for adaptively adjusting the height of a microphone stand; when a microphone user approaches the microphone stand, detection of first distance information will be performed; if the detected first distance information is lower than a preset first distance threshold, the acquired first image information will be 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 height information will be calculated through analysis and combination of the first image information and the first distance information; only when the first distance information is lower than a preset second distance threshold, will the height that the microphone stand needs to be adjusted be accurately calculated based on the first height information and the first distance information; through this process, the adaptive adjustment of the height of the microphone stand is realized, the best sounding position of the microphone user is accurately matched, and the user experience is significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of bracket control, and more specifically, to an adaptive height adjustment method, system and storage medium for a microphone bracket. Background Art

[0002] In the case of multiple people using a microphone, especially at the award ceremony site, due to the significant differences in the heights of microphone users, the adaptation of the microphone height has become a key problem to be solved urgently. The traditional method of manually adjusting the height of the microphone bracket has exposed many drawbacks. On the one hand, the manual adjustment process is extremely cumbersome, requiring repeated operations by the staff, which is time-consuming and likely to disrupt the coherence and fluency of the award ceremony. On the other hand, the method of manually adjusting the height of the microphone bracket lacks precision and is difficult to exactly match the best voice position of each user. Due to the inability to accurately locate, it is very likely that the sound collection effect will be poor during the sound collection process, resulting in problems such as unclear speech, noise, or too low volume.

[0003] Currently, there is a design on the market that remotely adjusts the height of the microphone bracket through a remote control. However, in a crowded place with many electronic devices, the signal transmission is easily interfered. Once the signal is interrupted or delayed, the adjustment instruction of the microphone bracket cannot be conveyed in time and accurately, which may lead to a lag in the bracket adjustment or incorrect operation. In addition, the requirements for the staff of the remote control device are relatively high, and manual operation is also prone to over-adjusting or under-adjusting the microphone height, and the best voice position of the microphone user cannot be accurately matched either.

[0004] Therefore, there is an urgent need for a technology that can adaptively adjust the height of the microphone bracket. 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 bracket. When the microphone user approaches the microphone bracket, according to the distance between the microphone user and the microphone bracket and through image recognition technology, the height value that the microphone bracket needs to be adjusted can be accurately obtained; only when the distance between the microphone user and the microphone bracket reaches a preset distance threshold, the adjustment mechanism will be driven according to the actually required height calculated in the early stage to correspondingly adjust the height of the microphone bracket. This dual feedback mechanism based on distance detection and image recognition technology realizes the adaptive dynamic adjustment of the lifting height of the microphone bracket, ensures that the best voice position of the microphone user can be accurately matched, effectively avoids problems such as sound distortion or poor volume, and greatly improves the user experience in various scenarios.

[0006] The first aspect of the present invention provides an adaptive height adjustment method for a microphone bracket, and the method includes:

[0007] Obtain the first distance information;

[0008] Determine whether the first distance information is lower than a preset first distance threshold;

[0009] If so, obtain the first image information;

[0010] Obtain the first pixel information according to the first image information;

[0011] Determine whether the first pixel information is within a preset pixel range;

[0012] If not, adjust the focal length according to the first pixel information and re-obtain the first image information;

[0013] If so, obtain the second pixel information according to the first image information;

[0014] Obtain the first height information according to the first pixel information, the second pixel information and the first distance information;

[0015] Adjust the height of the bracket according to the first distance information and the first height information.

[0016] In this solution, obtaining the first pixel information according to the first image information specifically includes:

[0017] Judge whether the feet of the target person are located on a preset first plane according to the first image information;

[0018] If not, set the first pixel information to a preset first pixel reference value;

[0019] If so, obtain the first coordinate information;

[0020] Judge whether the first part of the target person is recognized according to the first image information;

[0021] If not, set the first pixel information to a preset first pixel reference value;

[0022] If so, obtain the second coordinate information;

[0023] Obtain the first pixel information according to the first coordinate information, the second coordinate information and the first image information.

[0024] In this solution, obtaining the first pixel information according to the first coordinate information, the second coordinate information and the first image information specifically includes:

[0025] Obtain the first straight line L1 according to the connection line between the origin of the first image information and the first coordinate information;

[0026] A straight line perpendicular to the first straight line L1 and passing through the second coordinate information to obtain a second straight line L2;

[0027] Obtain third coordinate information according to the intersection point of the first straight line L1 and the second straight line L2;

[0028] Calculate the pixel distance between the second coordinate information and the third coordinate information to obtain first pixel information.

[0029] In this solution, obtaining second pixel information according to the first image information is specifically as follows:

[0030] Calculate the distance between the origin of the first image information and the third coordinate information to obtain second pixel information.

[0031] In this solution, adjusting the focal length according to the first pixel information is specifically as follows:

[0032] Judge whether the first pixel information exceeds a preset first pixel threshold;

[0033] If so, lower the focal length;

[0034] If not, judge whether the first pixel information is lower than a preset second pixel threshold;

[0035] If so, increase the focal length.

[0036] In this solution, adjusting the height of the bracket according to the first distance information and the first height information is specifically as follows:

[0037] Obtain second height information;

[0038] Update the second height information according to the first distance information and the first height information;

[0039] Judge whether the first distance information is greater than a preset second distance threshold;

[0040] If so, collect and record the first distance information and the first height information again;

[0041] If not, adjust the height of the bracket according to the second height information.

[0042] The 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. When the adaptive height adjustment method program for the microphone stand is executed by the processor, the following steps are implemented:

[0043] Obtain first distance information;

[0044] Determine whether the first distance information is lower than a preset first distance threshold;

[0045] If so, obtain the first image information;

[0046] Based on the first image information, obtain the first pixel information;

[0047] Determine whether the first pixel information is within a preset pixel range;

[0048] If not, adjust the focal length according to the first pixel information and re-obtain the first image information;

[0049] If so, based on the first image information, obtain the second pixel information;

[0050] Based on the first pixel information, the second pixel information, and the first distance information, obtain the first height information;

[0051] Adjust the height of the bracket according to the first distance information and the first height information.

[0052] In this solution, the obtaining of the first pixel information based on the first image information is specifically as follows:

[0053] Based on the first image information, determine whether the feet of the target person are located on a preset first plane;

[0054] If not, set the first pixel information to a preset first pixel reference value;

[0055] If so, obtain the first coordinate information;

[0056] Based on the first image information, determine whether the first part of the target person is recognized;

[0057] If not, set the first pixel information to a preset first pixel reference value;

[0058] If so, obtain the second coordinate information;

[0059] Based on the first coordinate information, the second coordinate information, and the first image information, obtain the first pixel information.

[0060] In this solution, the adjustment of the bracket height according to the first distance information and the first height information is specifically as follows:

[0061] Obtain the second height information;

[0062] Update the second height information according to the first distance information and the first height information;

[0063] Determine whether the first distance information is greater than a preset second distance threshold;

[0064] If so, collect and record the first distance information and the first height information again.

[0065] If not, adjust the height of the bracket according to the second height information.

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

[0067] The present invention provides an adaptive height adjustment method, system and storage medium for a microphone bracket. When a microphone user approaches the microphone bracket, the detection of the first distance information will be carried out. If the detected first distance information is lower than a preset first distance threshold, the acquired first image information will be analyzed based on a preset image processing technology to obtain first pixel information. When the first pixel information is within a preset pixel range, the first height information will be analyzed and calculated 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, the height that the microphone bracket needs to be adjusted will be accurately calculated based on the first height information and the first distance information. Through this process, the adaptive adjustment of the height of the microphone bracket is realized, accurately matching the best sounding position of the microphone user, and significantly improving the use experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] 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 some embodiments of the present invention and should not be regarded as limiting the scope.

[0069] Figure 1 Shows a flowchart of an adaptive height adjustment method for a microphone bracket of the present invention;

[0070] Figure 2 Shows a flowchart for confirming the first pixel information provided by an embodiment of the present invention;

[0071] Figure 3 Shows a flowchart for adjusting the height of a microphone bracket provided by an embodiment of the present invention;

[0072] Figure 4 Shows a block diagram of an adaptive height adjustment system for a microphone bracket of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0073] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0074] Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the present invention have the same meaning as commonly understood by those of ordinary skill in the art to which the present invention belongs. It should also be understood that terms such as those defined in a general dictionary should be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and should not be interpreted in an idealized or overly formal sense, unless explicitly defined in the embodiments of the present invention.

[0075] The "first", "second" and similar terms used in the embodiments of the present invention do not denote any order, quantity or importance, but are only used to distinguish different components. Terms such as "a", "an" or "the" do not denote a quantity limitation either, but mean that there is at least one. Similarly, words such as "comprising" or "including" 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. The terms "connected" or "coupled" and the like are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The steps before or after the methods of the embodiments of the present invention do not necessarily need to be carried out precisely in sequence. On the contrary, they can be carried out in reverse order or simultaneously. At the same time, other operations can also be added to these processes, or one or several steps can be removed from these processes.

[0076] In addition, in each embodiment of the present invention, the functional modules can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part.

[0077] Figure 1 The flowchart of an adaptive height adjustment method for a microphone stand according to the present invention is shown.

[0078] As Figure 1 shown, in a first aspect of the present invention, an adaptive height adjustment method for a microphone stand is disclosed, and the method includes:

[0079] S102, obtaining first distance information;

[0080] S104, determining whether the first distance information is lower than a preset first distance threshold;

[0081] S106, if so, obtain the first image information;

[0082] S108, obtain the first pixel information according to the first image information;

[0083] S110, determine whether the first pixel information is within a preset pixel range;

[0084] S112, if not, adjust the focal length according to the first pixel information and re-obtain the first image information;

[0085] S114, if so, obtain the second pixel information according to the first image information;

[0086] S116, obtain the first height information according to the first pixel information, the second pixel information and the first distance information;

[0087] S118, adjust the height of the bracket according to the first distance information and the first height information.

[0088] It should be noted that the first distance information is the distance between the microphone bracket and the microphone user; the first image information is the image of the microphone user obtained by the microphone bracket through the imaging device; the first pixel information is the number of pixel points from the first part of the microphone user in the first image information to a preset first plane; the second pixel information is the number of pixel points 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 on which the microphone bracket 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 the sake of clarity, the ground is used hereinafter to represent the first plane and the mouth is used to represent the first part.

[0089] In this embodiment, a distance sensor is provided on the microphone stand for measuring the distance between the microphone user and the microphone stand; 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 a 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 obtaining the adjusted height of the microphone. Therefore, the height of the microphone is not adjusted. When the first distance information is lower than the preset first distance threshold, then through image recognition related technologies, such as OpenCV, after analysis and calculation, the height of the microphone stand is adjusted. First, the first image information is subjected to image recognition and analysis to obtain the number of pixel points 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 a preset pixel range. If the first pixel information is not within the preset pixel range, it means that the number of pixel points is too large or too small, both of which will affect the accuracy of obtaining the adjusted height of the microphone. At this time, after adjusting the focal length of the camera device, the first image information is captured again. If the first pixel information is within the preset pixel range, it means that the requirements for the accuracy of the adjusted height of the microphone are met. At this time, according to the image recognition and analysis, the number of pixel points between the feet of the microphone user and the origin of the image is obtained, that is, the second pixel information. Finally, according to 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.

[0090] Figure 2 The flowchart for confirming the first pixel information provided by an embodiment of the present invention is shown.

[0091] According to an embodiment of the present invention, as Figure 2 shown, obtaining the first pixel information according to the first image information specifically is:

[0092] S202, according to the first image information, determine whether the feet of the target person are located on a preset first plane;

[0093] S204, if not, then set the first pixel information to a preset first pixel reference value;

[0094] S206, if so, then obtain the first coordinate information;

[0095] S208, according to the first image information, determine whether the first part of the target person is recognized;

[0096] S204, if not, then set the first pixel information to a preset first pixel reference value;

[0097] S210, if so, then obtain the second coordinate information;

[0098] S212. Obtain first pixel information according to the first coordinate information, the second coordinate information, and the first image information.

[0099] 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.

[0100] In this embodiment, image recognition related technologies, such as OpenCV, are used to 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 feet of the user are not on the preset first plane, it means that the captured image does not cover the feet of the microphone user. At this time, the first pixel information is set to a preset first pixel reference value; among them, the first pixel reference value is a preset specific value used to represent a relatively large number of pixel points. If the feet of the microphone user are recognized to be on the preset first plane, the coordinate point of the feet of the microphone user in the image is extracted, that is, the first coordinate information. Then, if the mouth of the microphone user is not recognized, it means that the captured image does not 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 point of the mouth of the microphone user in the image is extracted, that is, the second coordinate information. Finally, according to the coordinate points of the feet and mouth of the user in the image, the number of pixels between the mouth of the microphone user and the ground is obtained.

[0101] According to the embodiment of the present invention, obtaining the first pixel information according to the first coordinate information, the second coordinate information, and the first image information is specifically as follows:

[0102] Obtain a first straight line L1 according to the connection line between the origin of the first image information and the first coordinate information;

[0103] Obtain a second straight line L2 that is perpendicular to the first straight line L1 and passes through the second coordinate information;

[0104] Obtain third coordinate information according to the intersection point of the first straight line L1 and the second straight line L2;

[0105] Calculate the pixel distance between the second coordinate information and the third coordinate information to obtain the first pixel information.

[0106] 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.

[0107] According to an embodiment of the present invention, second pixel information is obtained according to the first image information, specifically:

[0108] The distance between the origin of the first image information and the third coordinate information is calculated to obtain second pixel information.

[0109] 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.

[0110] According to an embodiment of the present invention, adjusting the focal length according to the first pixel information is specifically:

[0111] Determining whether the first pixel information exceeds a preset first pixel threshold;

[0112] If so, adjust the focus down;

[0113] If not, determining whether the first pixel information is lower than a preset second pixel threshold;

[0114] If so, adjust the focus upward.

[0115] 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.

[0116] Figure 3The flowchart of the height adjustment of the microphone stand provided by the embodiment of the present invention is shown.

[0117] According to the embodiment of the present invention, as Figure 3 shown, according to the first distance information and the first height information, adjusting the height of the stand specifically includes:

[0118] S302, obtaining the second height information;

[0119] S304, updating the second height information according to the first distance information and the first height information;

[0120] S306, determining whether the first distance information is greater than a preset second distance threshold;

[0121] S308, if so, collecting and recording the first distance information and the first height information again;

[0122] S310, if not, adjusting the height of the stand according to the second height information.

[0123] It should be noted that the second height information is the target height value of the microphone stand. In this embodiment, the second height information is updated in real time according to the obtained first height information for adjusting the height of the stand. First, according to the first distance information and the first height information, the second height information is updated according to a set weighted algorithm. When the first distance information is greater than the preset second distance threshold, it means that the distance between the microphone user and the microphone stand is still within the set range, and the height calculation is continued to improve the accuracy. When the first distance information is not greater than the preset second distance threshold, it means that the distance between the microphone user and the microphone stand is small. 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.

[0124] It is worth mentioning that it further includes:

[0125] Obtaining the first weighted information according to the first distance information;

[0126] Updating the second height information according to the first weighted information, the first height information and the second height information according to a preset weighted mean algorithm.

[0127] It should be noted that in this embodiment, a weighting algorithm is provided to update the second height information. From the clarity of the captured image, it can be seen that the closer the microphone user is to the microphone stand, the clearer the image of the microphone user obtained by the shooting. Therefore, the calculated first height information is more accurate. Thus, in this embodiment, according to the first distance information, a preset weight correspondence table is searched to obtain the first weighting information. Then, based on the first weighting 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.

[0128] It is worth mentioning that it further includes:

[0129] According to the first distance information, a first deviation threshold is obtained;

[0130] According to the first deviation threshold and the second height information, a first height range is obtained;

[0131] It is determined whether the first height information is within the first height range;

[0132] If so, the second height information is updated according to the first height information;

[0133] If not, the second height information is not updated.

[0134] It should be noted that in this embodiment, a verification process for the first height information is provided. Since the shooting distance affects the image clarity, a first deviation threshold is set as the deviation tolerance in this embodiment; where the farther the distance, the higher the deviation tolerance; 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, according to the first deviation threshold and the second height information, the allowable first height range is calculated, which represents the normal range of the obtained height and 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 passes 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 fails, that is, the height deviation is large. To avoid affecting the accuracy of the microphone stand adjustment, the current first height information is not used to update the second height information.

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

[0136] Such as Figure 4As shown in the figure, the second aspect of the present invention discloses an adaptive height adjustment system 4 for a microphone stand, which includes a memory 41 and a processor 42. The memory includes a program for the adaptive height adjustment method of the microphone stand. When the program for the adaptive height adjustment method of the microphone stand is executed by the processor, the following steps are implemented:

[0137] Obtain the first distance information;

[0138] Judge whether the first distance information is lower than a preset first distance threshold;

[0139] If so, obtain the first image information;

[0140] According to the first image information, obtain the first pixel information;

[0141] Judge whether the first pixel information is within a preset pixel range;

[0142] If not, adjust the focal length according to the first pixel information and re-obtain the first image information;

[0143] If so, obtain the second pixel information according to the first image information;

[0144] According to the first pixel information, the second pixel information and the first distance information, obtain the first height information;

[0145] Adjust the height of the stand according to the first distance information and the first height information.

[0146] 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 obtained by the microphone stand through the imaging device; the first pixel information is the number of pixel points from the first part of the microphone user in the first image information to a preset first plane; the second pixel information is the number of pixel points 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 on which 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 the sake of clarity, the ground is used hereinafter to represent the first plane and the mouth is used to represent the first part.

[0147] 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.

[0148] According to an embodiment of the present invention, obtaining the first pixel information according to the first image information is specifically:

[0149] Determining whether the feet of the target person are located on a preset first plane according to the first image information;

[0150] If not, setting the first pixel information to a preset first pixel reference value;

[0151] If yes, obtain the first coordinate information;

[0152] Determining whether a first part of a target person is recognized according to the first image information;

[0153] If not, setting the first pixel information to a preset first pixel reference value;

[0154] If yes, obtain the second coordinate information;

[0155] First pixel information is obtained according to the first coordinate information, the second coordinate information and the first image information.

[0156] 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.

[0157] In this embodiment, image recognition related technologies, such as OpenCV, are used to 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 feet of the user are not on the preset first plane, it means that the captured image does not cover the feet of the microphone user. At this time, the first pixel information is set to a preset first pixel reference value; among them, the first pixel reference value is a preset specific value used to represent a relatively large number of pixel points. If the feet of the microphone user are recognized to be on the preset first plane, the coordinate point of the feet of the microphone user in the image, that is, the first coordinate information, is extracted. Then, if the mouth of the microphone user is not recognized, it means that the captured image does not 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 point of the mouth of the microphone user in the image, that is, the second coordinate information, is extracted. Finally, according to the coordinate points of the feet and mouth of the user in the image, the number of pixels between the mouth of the microphone user and the ground is obtained.

[0158] According to the embodiment of the present invention, the first pixel information is obtained according to the first coordinate information, the second coordinate information, and the first image information, specifically:

[0159] According to the connection line between the origin of the first image information and the first coordinate information, the first straight line L1 is obtained;

[0160] The straight line perpendicular to the first straight line L1 and passing through the second coordinate information is obtained to get the second straight line L2;

[0161] According to the intersection point of the first straight line L1 and the second straight line L2, the third coordinate information is obtained;

[0162] Calculate the pixel distance between the second coordinate information and the third coordinate information to obtain the first pixel information.

[0163] 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, connect the origin in the image with the coordinate point of the foot of the microphone user to obtain the first straight line L1. Then, draw a straight line perpendicular to the first straight line L1 and passing through the coordinate point of the mouth of the microphone user to obtain the second straight line L2. Among them, the intersection point of the first straight line L1 and the second straight line L2 gives the third coordinate information. Finally, calculate the pixel distance between the coordinate point of the mouth of the microphone user and the third coordinate information, that is, obtain the number of pixels between the mouth of the microphone user and the ground.

[0164] According to the embodiment of the present invention, the second pixel information is obtained according to the first image information, specifically:

[0165] Calculate the distance between the origin of the first image information and the third coordinate information to obtain the second pixel information.

[0166] 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. Calculate the pixel distance between the coordinate point of the foot of the microphone user and the third coordinate information, that is, obtain the number of pixels between the foot of the microphone user and the image origin.

[0167] According to the embodiment of the present invention, the adjustment of the focal length according to the first pixel information is specifically:

[0168] Judge whether the first pixel information exceeds a preset first pixel threshold;

[0169] If so, lower the focal length;

[0170] If not, judge whether the first pixel information is lower than a preset second pixel threshold;

[0171] If so, increase the focal length.

[0172] It should be noted that in this embodiment, a focal length adjustment strategy for a camera device is provided. When the first pixel information exceeds a preset first pixel threshold, it means that the image magnification ratio is too large, then the focal length is lowered to make the shooting angle wider and accommodate a larger scene range, that is, reduce the image magnification ratio. When the first pixel information does not exceed the preset first pixel threshold, then judge the size relationship between the first pixel information and the preset second pixel threshold. If the first pixel information is lower than the second pixel threshold, it means that the image magnification ratio is too small, then the focal length is increased to make the shooting angle narrower and reduce the accommodated scene range, that is, increase the image magnification ratio. If the first pixel information is not lower than the second pixel threshold, keep the current focal length of the camera device.

[0173] 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 specifically includes:

[0174] Obtaining second height information;

[0175] Updating the second height information according to the first distance information and the first height information;

[0176] Determining whether the first distance information is greater than a preset second distance threshold;

[0177] If so, collecting and recording the first distance information and the first height information again;

[0178] If not, adjusting the height of the bracket according to the second height information.

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

[0180] It is worth mentioning that it further includes:

[0181] Obtaining first weighted information according to the first distance information;

[0182] Updating the second height information according to the first weighted information, the first height information and the second height information according to a preset weighted mean algorithm.

[0183] It should be noted that in this embodiment, a weighted algorithm is provided to update the second height information. From the clarity of the captured image, it can be seen that when the microphone user is closer to the microphone bracket, the image of the microphone user obtained by shooting is clearer, and thus the calculated first height information is more accurate. 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 the height value for updating the second height information.

[0184] It is worth mentioning that it further includes:

[0185] Obtain a first deviation threshold according to the first distance information;

[0186] Obtain a first height range according to the first deviation threshold and the second height information;

[0187] Determine whether the first height information is within the first height range;

[0188] If so, update the second height information according to the first height information;

[0189] If not, do not update the second height information.

[0190] It should be noted that in this 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 as the deviation tolerance in this embodiment; among them, the farther the distance, the higher the deviation tolerance; 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, according to the first deviation threshold and the second height information, the allowable first height range is calculated, which represents the normal range of the obtained height and 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 passes 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 fails, that is, the height deviation is large. To avoid affecting the accuracy of the microphone stand adjustment, the current first height information is not used to update the second height information.

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

[0192] In summary, the present invention proposes an adaptive height adjustment method, system and storage medium for a microphone stand; when a microphone user approaches the microphone stand, the detection of the first distance information will be performed; if the detected first distance information is lower than a preset first distance threshold, based on the preset image processing technology, the obtained first image information will be analyzed to obtain the first pixel information; when the first pixel information is within the preset pixel range, the first height information will be analyzed and calculated 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, will the height that the microphone stand needs to be adjusted be accurately calculated based on the first height information and the first distance information; through this process, the adaptive adjustment of the height of the microphone stand is realized, accurately matching the best voice position of the microphone user, and significantly improving the use experience.

[0193] When the above-mentioned 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 such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a 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 and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

[0194] The foregoing is only the 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 changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. An adaptive height adjustment method for a microphone stand, characterized in that, The method includes: Obtaining first distance information based on a distance sensor provided on the microphone stand; Judging whether the first distance information is lower than a preset first distance threshold; If so, obtaining first image information based on a camera device provided on the microphone stand; Obtaining first pixel information according to the first image information; Judging whether the first pixel information is within a preset pixel range; If not, adjusting the focal length according to the first pixel information and re-obtaining the first image information; If so, 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; Obtaining second height information; Obtaining first weighting information according to the first distance information; Updating the second height information according to the first weighting information, the first height information and the second height information according to a preset weighted mean algorithm; Judging whether the first distance information is greater than a preset second distance threshold; If so, collecting and recording the first distance information and the first height information again; If not, adjusting the stand height according to the updated second height information; The first distance information is the distance between the microphone stand and the microphone user; The first image information is an image of the microphone user taken by the camera device on the microphone stand; The first pixel information is the number of pixel points from the first part of the microphone user in the first image information to a preset first plane; The second pixel information is the number of pixel points between the feet of the microphone user and the image origin in the first image information; The first height information is a calculated value of the height from the first part of the user to the preset first plane; The second height information is the target height value of the microphone stand.

2. The adaptive height adjustment method of a microphone stand according to claim 1, wherein The obtaining of the first pixel information according to the first image information is specifically: Judging whether the feet of the target person are located on the preset first plane according to the first image information; If not, setting the first pixel information to a preset first pixel reference value; If so, obtaining first coordinate information; Judging whether the first part of the 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 so, obtaining second coordinate information; Obtaining first pixel information according to the first coordinate information, the second coordinate information and the first image information.

3. The adaptive height adjustment method of a microphone stand according to claim 2, wherein The obtaining of the first pixel information according to the first coordinate information, the second coordinate information and the first image information is specifically: Obtaining a first straight line L1 according to the connection line between the origin of the first image information and the first coordinate information; Obtaining a second straight line L2 according to the straight line perpendicular to the first straight line L1 and passing through the second coordinate information; Obtaining third coordinate information according to the intersection point of the first straight line L1 and the second straight line L2; Calculating the pixel distance between the second coordinate information and the third coordinate information to obtain the first pixel information.

4. The adaptive height adjustment method of a microphone stand according to claim 3, characterized in that, The obtaining of the second pixel information according to the first image information is specifically: Calculating the distance between the origin of the first image information and the third coordinate information to obtain the second pixel information.

5. The adaptive height adjustment method of a microphone stand according to claim 1, characterized in that, Adjusting the focal length according to the first pixel information specifically includes: Judging whether the first pixel information exceeds a preset first pixel threshold; If so, lower the focal length; If not, judge whether the first pixel information is lower than a preset second pixel threshold; If so, increase the focal length.

6. An adaptive height adjustment system for a microphone stand, characterized in that, The system includes a memory and a processor. The memory includes a program for the adaptive height adjustment method of a microphone stand. When the program for the adaptive height adjustment method of the microphone stand is executed by the processor, the following steps are implemented: Obtain first distance information based on a distance sensor provided on the microphone stand; Judge whether the first distance information is lower than a preset first distance threshold; If so, obtain first image information based on an imaging device provided on the microphone stand; Obtain first pixel information according to the first image information; Judge whether the first pixel information is within a preset pixel range; If not, adjust the focal length according to the first pixel information and re-obtain the first image information; If so, obtain second pixel information according to the first image information; Obtain first height information according to the first pixel information, the second pixel information and the first distance information; Obtain second height information; Obtain first weighting information according to the first distance information; Update the second height information according to the first weighting information, the first height information and the second height information according to a preset weighted mean algorithm; Judge whether the first distance information is greater than a preset second distance threshold; If so, collect and record the first distance information and the first height information again; If not, adjust the height of the stand according to the updated second height information; The first distance information is the distance between the microphone stand and the microphone user; The first image information is an image of the microphone user taken by the microphone stand through the imaging device; The first pixel information is the number of pixel points from the first part of the microphone user in the first image information to a preset first plane; The second pixel information is the number of pixel points 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 a preset first plane; The second height information is the target height value of the microphone stand.

7. The adaptive height adjustment system of a microphone stand according to claim 6, characterized in that Obtaining the first pixel information according to the first image information specifically includes: Judging whether the feet of the target person are located on a preset first plane according to the first image information; If not, set the first pixel information to a preset first pixel reference value; If so, obtain first coordinate information; Judging whether the first part of the target person is recognized according to the first image information; If not, set the first pixel information to a preset first pixel reference value; If so, obtain second coordinate information; Obtain first pixel information according to the first coordinate information, the second coordinate information and the first image information.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium includes a program for an adaptive height adjustment method of a microphone stand. When the program for the adaptive height adjustment method of the microphone stand is executed by a processor, the steps of the adaptive height adjustment method of the microphone stand according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Microphone stand adjustment system and method

    US20120050527A1