Head measurement method, wearable device and adjustment method thereof
Patent Information
- Application Number
- CN202310804397.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-06-30
AI Technical Summary
[0003]目前的用户头部大小测量方案主要是依赖于视觉测量或手动测量的方式来实现,然而这些测量方式存在着测量过程繁琐、结果不准确等问题
[0047] The above-mentioned technical solutions adopted in the embodiments of this application can achieve the following beneficial effects: The head measurement method of this application embodiment is executed by a wearable device. The wearable device is equipped with a magnetic transmitter and multiple magnetic receivers. When performing head measurement, firstly, with both ends of the wearable device in contact with the user's head and the magnetic transmitter emitting magnetic signals, the current magnetic induction data of each magnetic receiver is acquired; then, based on the current magnetic induction data of each magnetic receiver, the distance between the two contact points of the two ends of the wearable device in contact with the user's head is determined; finally, based on the distance between the two contact points of the two ends of the wearable device in contact with the user's head, the user's head size is determined. The head measurement method of this application embodiment is based on a wearable device equipped with a magnetic transmitter and multiple magnetic receivers. After the user wears the wearable device, the user's head size can be quickly measured through the magnetic induction data received by multiple magnetic receivers. Compared with traditional visual measurement and manual measurement schemes, this greatly improves the convenience and accuracy of head measurement.
Smart Images

Figure CN116965803B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of head measurement technology, and in particular to a head measurement method, a wearable device, and an adjustment method thereof. Background Technology
[0002] User head size data is an important parameter in fields such as virtual interaction, medical care, and beauty care, and how to measure user head size is a problem that needs to be solved.
[0003] Current methods for measuring user head size mainly rely on visual or manual measurement. However, these methods suffer from problems such as cumbersome measurement processes and inaccurate results. Summary of the Invention
[0004] This application provides a head measurement method, a wearable device, and an adjustment method thereof to improve the convenience and accuracy of head measurement.
[0005] The embodiments of this application adopt the following technical solutions:
[0006] In a first aspect, embodiments of this application provide a head measurement method, wherein the head measurement method is performed by a wearable device, the wearable device being equipped with a magnetic transmitter and multiple magnetic receivers, and the head measurement method includes:
[0007] When the two ends of the wearable device are in contact with the two contact points on the user's head and the magnetic transmitter emits a magnetic signal, the current magnetic induction data of each magnetic receiver is acquired.
[0008] The distance between the two contact points on the user's head is determined based on the current magnetic induction data of each magnetic receiver;
[0009] The size of the user's head is determined based on the distance between the two contact points on the user's head.
[0010] Optionally, determining the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver includes:
[0011] Obtain the calibrated correspondence between the magnetic induction data of each magnetic receiver and the distance between the two contact points on the user's head;
[0012] Based on the current magnetic induction data of each magnetic receiver and the calibration correspondence, the distance between the two contact points on the user's head is determined.
[0013] Optionally, the calibration correspondence between acquiring the magnetic induction data of each magnetic receiver and the distance between the two contact points on the user's head includes:
[0014] The opening angle of the wearable device is adjusted according to multiple preset distances between two contact points on the user's head;
[0015] Based on the opening angle of the wearable device, magnetic induction data of each magnetic receiver is obtained;
[0016] Based on the spatial geometry information of the wearable device, the calibration correspondence is constructed according to the magnetic induction data of each magnetic receiver and each preset distance.
[0017] Optionally, determining the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver and the calibration correspondence includes:
[0018] Based on the current magnetic induction data of each magnetic receiver and the calibration correspondence, the distance between the two contact points on the user's head corresponding to the current magnetic induction data of each magnetic receiver is determined.
[0019] The distances between the two contact points on the user's head corresponding to the current magnetic induction data of each magnetic receiver are fused to obtain the final distance between the two contact points on the user's head.
[0020] Optionally, the wearable device has an arc-shaped structure, with the magnetic transmitter located in the middle of the arc-shaped structure. A first magnetic receiver and a second magnetic receiver are respectively located at the two ends of the arc-shaped structure that are in contact with the user's head. The current magnetic induction data of each magnetic receiver includes the first magnetic induction data of the first magnetic receiver and the second magnetic induction data of the second magnetic receiver.
[0021] Determining the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver includes:
[0022] The first relative angle between the magnetic transmitter and the first magnetic receiver is determined based on the first magnetic induction data.
[0023] The second relative angle between the magnetic transmitter and the second magnetic receiver is determined based on the second magnetic induction data;
[0024] The distance between the two contact points on the user's head is determined based on the first relative angle, the second relative angle, and the spatial geometry information of the wearable device.
[0025] Optionally, determining the distance between the two contact points on the user's head based on the first relative angle, the second relative angle, and the spatial geometry information of the wearable device includes:
[0026] The opening angle of the wearable device is determined based on the first relative angle and the second relative angle;
[0027] Based on the opening angle of the wearable device and the spatial geometry information of the wearable device, the distance between the two contact points on the user's head is determined using trigonometric functions.
[0028] Secondly, embodiments of this application also provide a head measuring device, which is applied to a wearable device. The wearable device is equipped with a magnetic transmitter and multiple magnetic receivers. The head measuring device includes:
[0029] The first acquisition unit is used to acquire the current magnetic induction data of each magnetic receiver when the two ends of the wearable device are in contact with the two contact points on the user's head and the magnetic transmitter emits a magnetic signal.
[0030] The first determining unit is used to determine the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver.
[0031] The second determining unit is used to determine the size of the user's head based on the distance between the two contact points on the user's head.
[0032] Thirdly, embodiments of this application also provide a head 3D model construction device, the head 3D model construction device comprising:
[0033] The second acquisition unit is used to acquire the user's head size;
[0034] The third determining unit is used to determine the key point information of the user's head based on the size of the user's head.
[0035] The fourth determining unit is used to determine the three-dimensional model of the user's head based on the user's head size and the user's head key point information;
[0036] The user's head size is obtained based on any of the aforementioned head measurement methods.
[0037] Fourthly, embodiments of this application also provide an adjustment device for a wearable device, the adjustment device for the wearable device comprising:
[0038] The third acquisition unit is used to acquire the user's head size;
[0039] The fifth determining unit is used to determine the contact state between the wearable device and the user's head based on the user's head size;
[0040] The sixth determining unit is used to adjust the opening angle of the wearable device according to the contact state between the wearable device and the user's head, so that the opening angle of the wearable device is adapted to the size of the user's head;
[0041] The user's head size is obtained based on any of the aforementioned head measurement methods.
[0042] Fifthly, embodiments of this application also provide a wearable device, including:
[0043] One magnetic transmitter and multiple magnetic receivers;
[0044] Processor; and
[0045] A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform any of the aforementioned head measurement methods.
[0046] Sixthly, embodiments of this application also provide a computer-readable storage medium storing one or more programs that, when executed by a wearable device including multiple applications, cause the wearable device to perform any of the methods described above.
[0047] The above-mentioned technical solutions adopted in the embodiments of this application can achieve the following beneficial effects: The head measurement method of this application embodiment is executed by a wearable device. The wearable device is equipped with a magnetic transmitter and multiple magnetic receivers. When performing head measurement, firstly, with both ends of the wearable device in contact with the user's head and the magnetic transmitter emitting magnetic signals, the current magnetic induction data of each magnetic receiver is acquired; then, based on the current magnetic induction data of each magnetic receiver, the distance between the two contact points of the two ends of the wearable device in contact with the user's head is determined; finally, based on the distance between the two contact points of the two ends of the wearable device in contact with the user's head, the user's head size is determined. The head measurement method of this application embodiment is based on a wearable device equipped with a magnetic transmitter and multiple magnetic receivers. After the user wears the wearable device, the user's head size can be quickly measured through the magnetic induction data received by multiple magnetic receivers. Compared with traditional visual measurement and manual measurement schemes, this greatly improves the convenience and accuracy of head measurement. Attached Figure Description
[0048] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0049] Figure 1 This is a flowchart illustrating a head measurement method according to an embodiment of this application;
[0050] Figure 2 This is a schematic diagram of an ideal magnetic dipole emission magnetic field in an embodiment of this application;
[0051] Figure 3 This is a schematic diagram of the magnetic field emitted by a magnetic transmitter installed on a wearable device according to an embodiment of this application;
[0052] Figure 4 This is a schematic diagram of a head measurement process in an embodiment of this application;
[0053] Figure 5 This is a flowchart illustrating a method for constructing a 3D head model according to an embodiment of this application.
[0054] Figure 6 This is a flowchart illustrating an adjustment method for a wearable device according to an embodiment of this application.
[0055] Figure 7 This is a schematic diagram of the structure of a head measuring device according to an embodiment of this application;
[0056] Figure 8 This is a schematic diagram of a head 3D model construction device according to an embodiment of this application;
[0057] Figure 9 This is a schematic diagram of the structure of an adjustment device for a wearable device according to an embodiment of this application;
[0058] Figure 10 This is a schematic diagram of the structure of a wearable device according to an embodiment of this application. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0060] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0061] This application provides a head measurement method, which is performed by a wearable device. The wearable device is equipped with a magnetic transmitter and multiple magnetic receivers, such as... Figure 1 The diagram shows a flowchart of a head measurement method according to an embodiment of this application. The head measurement method includes at least the following steps S110 to S130:
[0062] Step S110: When the two ends of the wearable device are in contact with the two contact points on the user's head and the magnetic transmitter emits a magnetic signal, the current magnetic induction data of each magnetic receiver is acquired.
[0063] The head measurement method in this application embodiment is performed by an independently designed wearable device. Here, the wearable device can be regarded as a head-mounted device that can be worn on the user's head, such as a headband, hair tie, or any other form. Its main function is to serve as an auxiliary positioning device for beauty care devices. That is, when the user wears the wearable device of this application embodiment and holds the beauty care device to perform care operations, the wearable device can be used to locate the face or head area where the beauty care device is applied, thereby achieving the purpose of precise skin care. For specific implementation, please refer to the introduction of relevant solutions, which will not be elaborated here.
[0064] In addition to the aforementioned positioning function, this application further expands the functionality of wearable devices by enabling the measurement of a user's head size. This requires the wearable device to be equipped with at least one magnetic transmitter and multiple magnetic receivers, thereby achieving head size measurement through electromagnetic induction technology. Of course, the specific location and number of the magnetic transmitters and receivers can be flexibly adjusted by those skilled in the art according to actual needs, and are not specifically limited here.
[0065] Based on the above hardware structure design, when implementing the head measurement method of this application embodiment, the user needs to wear a wearable device first. When the two ends of the wearable device come into contact with the two contact points on the user's head, the magnetic transmitter is controlled to emit magnetic signals and the current magnetic induction data received by each magnetic receiver is obtained.
[0066] The determination of contact can be achieved, for example, through the contact sensors built into both ends of the wearable device. The change in capacitance sensed by the contact sensors can determine whether the two ends of the wearable device are in contact with the two contact points on the user's head.
[0067] Step S120: Determine the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver.
[0068] Taking a headband-shaped wearable device as an example, after a user wears the device, the distance between the two contact points on the user's head mainly affects the opening angle of the wearable device. That is, when the distance between the two contact points on the user's head is different, the opening angle of the wearable device will also change to different degrees, which will cause the magnetic field strength sensed by the magnetic receiver set on the wearable device to change, thus generating different magnetic induction data. Therefore, it can be determined that there is a correlation between the distance between the two contact points on the user's head and the current magnetic induction data of the magnetic receiver.
[0069] Based on this, embodiments of this application can determine the distance between two contact points on the user's head by using certain strategies, such as pre-calibrated correspondence or real-time calculation, based on the current magnetic induction data received by multiple magnetic receivers.
[0070] Step S130: Determine the size of the user's head based on the distance between the two contact points on the user's head.
[0071] A user's head size can be characterized by multiple dimensions of data, such as head width, head length, and head circumference. Based on the wearing characteristics of wearable devices on a user's head, the distance between two contact points on the user's head can reflect the width of the head. This distance can also be used to calculate other dimensions of head size data. For example, the distance between the two contact points can be used as the diameter of a circle to calculate the circumference, and the circumference can be used as the user's head circumference. Of course, those skilled in the art can flexibly choose which dimensions of head size data to measure based on actual needs, and no specific limitations are made here.
[0072] The head measurement method of this application embodiment is based on a wearable device equipped with a magnetic transmitter and multiple magnetic receivers. After the user wears the wearable device, the size of the user's head can be quickly measured through the magnetic induction data received by the multiple magnetic receivers. Compared with traditional visual measurement and manual measurement schemes, it greatly improves the convenience and accuracy of head measurement.
[0073] In some embodiments of this application, determining the distance between the two contact points of the user's head based on the current magnetic induction data of each magnetic receiver includes: obtaining a calibration correspondence between the magnetic induction data of each magnetic receiver and the distance between the two contact points of the user's head; and determining the distance between the two contact points of the user's head based on the current magnetic induction data of each magnetic receiver and the calibration correspondence.
[0074] As mentioned above, the embodiments of this application can determine the distance between the two contact points of the current user's head based on the calibration correspondence between the magnetic induction data calibrated offline in advance and the distance between the two contact points of the user's head. Here, the "calibration correspondence" can be understood as the correspondence between the distance between the two contact points of different user heads and the magnetic induction data of each magnetic receiver.
[0075] The reason for calibrating the distance between the two contact points corresponding to "multiple magnetic receivers" is mainly to take into account the differences in how users wear the device each time and the differences in how different users wear it. This may lead to inaccurate magnetic induction data received by a single magnetic receiver. Therefore, by combining the magnetic induction data of multiple magnetic sensors, the accuracy of head measurement can be improved.
[0076] In some embodiments of this application, the calibration correspondence between obtaining the magnetic induction data of each magnetic receiver and the distance between the two contact points on the user's head includes: adjusting the opening angle of the wearable device according to multiple preset distances between the two contact points on the user's head; obtaining the magnetic induction data of each magnetic receiver based on the opening angle of the wearable device; and constructing the calibration correspondence based on the spatial geometric structure information of the wearable device, according to the magnetic induction data of each magnetic receiver and each preset distance.
[0077] When calibrating the above correspondence, multiple distance values between the two contact points on the user's head can be preset. These values can be flexibly set based on the head width range of a large number of users. Based on the preset distance values, the opening angle of the wearable device is adjusted accordingly. At each opening angle, each magnetic receiver on the wearable device outputs corresponding magnetic induction data. This allows us to obtain the magnetic induction data of each magnetic receiver for each opening angle, thus establishing the correspondence between the distance between the two contact points on the user's head and the magnetic induction data of each magnetic receiver.
[0078] For example, when the preset distance value is 15cm, adjust the opening angle of the wearable device so that the distance between the two ends of the wearable device is 15cm. At this time, each magnetic receiver on the wearable device will output a magnetic induction reading, and these magnetic induction readings all correspond to the distance value of 15cm.
[0079] It should be noted that in the above embodiments, the opening angle of the wearable device is adjusted based on multiple preset distances. The actual size of this opening angle does not need to be measured. This is because, during the calibration phase, the size and structural information of the wearable device are known. Therefore, the actual distance between the two ends of the wearable device can be measured physically and made equal to the preset distance values. The opening angle here is simply used to indicate that the change in distance between the two ends of the wearable device is achieved by adjusting the bending or opening angle of the wearable device.
[0080] To facilitate understanding of the embodiments of this application, the coil of the magnetic transmitter can be considered as an ideal magnetic dipole, such as... Figure 2 The diagram shown illustrates an ideal magnetic dipole emission magnetic field in an embodiment of this application.
[0081] based on Figure 2 The magnetic field emitted by the magnetic dipole in the middle, such as Figure 3 The diagram illustrates the magnetic field emitted by a magnetic transmitter on a wearable device according to an embodiment of this application. The example uses a structure with a magnetic transmitter in the center and magnetic receivers at the left and right ends as an example. Figure 3The magnetic field emitted by the magnetic emitter installed on the wearable device and the spatial geometry information of the wearable device are used to define the following parameters:
[0082] P1: The center point of the magnetic emitter;
[0083] P2: Set the center point of the magnetic receiver on the left side of the wearable device;
[0084] P3: Set the center point of the magnetic receiver on the right side of the wearable device;
[0085] L1: The perpendicular bisector (ray) of the magnetic emitter;
[0086] L2: The line connecting the center point of the left magnetic receiver to the center point of the magnetic transmitter, i.e., the line connecting P1 and P2;
[0087] L3: The line connecting the center point of the right magnetic receiver to the center point of the magnetic transmitter, i.e., the line connecting P1 and P3.
[0088] L4: Tangent at the center point of the coil in the average direction of the magnetic field lines passing through the left end magnetic receiver;
[0089] L5: Tangent at the center point of the coil in the average direction of the magnetic field lines passing through the right-end magnetic receiver;
[0090] L6: The perpendicular bisector (ray) of the plane containing the Z-axis of the left magnetic receiver, defined as "the perpendicular bisector of the left magnetic receiver";
[0091] L7: The perpendicular bisector (ray) of the plane containing the Z-axis of the right receiving coil, defined as "the perpendicular bisector of the right magnetic receiver";
[0092] L8: The line segment connecting P2 and P3, defined as representing the distance between the two contact points of the user's head;
[0093] P4: The intersection of L1 and L8;
[0094] α: The angle formed by L1 and L2, defined as "the angle between the left magnetic receiver and the magnetic transmitter";
[0095] β: The angle formed by L1 and L3 is defined as "the angle between the right-end magnetic receiver and the magnetic transmitter";
[0096] θ: θ = α + β, defined as the "opening angle";
[0097] γ: The angle between L4 and L6;
[0098] δ: The angle between L5 and L7.
[0099] Since the structural dimensions of the wearable device are fixed, and only the bending angle can be changed, the length changes of L2 and L3, which are the two chords of the ellipse containing the wearable device, are negligible. Therefore, the lengths of L2 and L3 can be considered fixed values. Furthermore, since P1 is set at the center, the sizes of L2 and L3 are equal. When different users wear it, only L8 and a series of angle values (α / β / θ / γ / δ / …) change.
[0100] Taking a triaxial orthogonal receiving coil as an example, when the magnetic transmitter coil normally emits an alternating magnetic field, multiple L8s are preset. According to the geometry of the wearable device, α and L8 have a one-to-one mapping, that is, one L8 length value corresponds to one α angle value. At this time, the induced voltages Ux, Uy, and Uz on the three orthogonal coils of the left magnetic receiver are read. Let P2 be the origin O(0,0,0). Then the direction vector of L4 is (Ux,Uy,Uz). According to spatial analytic geometry, it can be determined that γ and α have a one-to-one mapping, therefore L8 and γ also have a one-to-one mapping relationship. Based on this, by changing the preset L8, a set of triaxial induced voltages on the left magnetic receiver can be read, thereby establishing the correspondence between the magnetic induction reading of the left magnetic receiver and the preset L8.
[0101] The same principle applies to the right-end magnetic receiver, thus establishing a correspondence between the magnetic induction reading of the right-end magnetic receiver and the preset L8. Of course, it is also possible to simultaneously read the magnetic induction readings of the left and right magnetic receivers and establish a correspondence each time the size of L8 is changed. How to implement this is up to those skilled in the art, and will not be specifically limited here.
[0102] In some embodiments of this application, determining the distance between the two contact points of the user's head based on the current magnetic induction data of each magnetic receiver and the calibration correspondence includes: determining the distance between the two contact points of the user's head corresponding to the current magnetic induction data of each magnetic receiver and the calibration correspondence; and fusing the distances between the two contact points of the user's head corresponding to the current magnetic induction data of each magnetic receiver to obtain the final distance between the two contact points of the user's head.
[0103] Since differences in how users wear the device may affect the magnetic receiver's ability to sense the magnetic field, this application embodiment integrates the distance information between two contact points on the user's head obtained from magnetic induction data of multiple magnetic sensors, thereby improving the accuracy of the distance calculation between the two contact points on the user's head.
[0104] Specific fusion strategies can include averaging, or weighted averaging depending on the actual situation. The weights can be flexibly set based on the reliability of the magnetic induction data from multiple magnetic sensors. The higher the reliability, the greater the corresponding weight. How to fuse the data is up to those skilled in the art to set according to actual needs, and no specific limitations are made here.
[0105] In some embodiments of this application, the wearable device has an arc-shaped structure, with the magnetic transmitter disposed in the middle of the arc-shaped structure. A first magnetic receiver and a second magnetic receiver are respectively disposed at the two ends of the arc-shaped structure that are in contact with the user's head. The current magnetic induction data of each magnetic receiver includes the first magnetic induction data of the first magnetic receiver and the second magnetic induction data of the second magnetic receiver. Determining the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver includes: determining a first relative angle between the magnetic transmitter and the first magnetic receiver based on the first magnetic induction data; determining a second relative angle between the magnetic transmitter and the second magnetic receiver based on the second magnetic induction data; and determining the distance between the two contact points on the user's head based on the first relative angle, the second relative angle, and the spatial geometric information of the wearable device.
[0106] As mentioned above, the wearable device in this application embodiment can be a headband or similar head-mounted device. To ensure wearing comfort, as in the above embodiments... Figure 3 As shown, the wearable device can be designed as an arc-shaped structure, with a magnetic transmitter in the middle of the arc-shaped structure and a first magnetic receiver and a second magnetic receiver at each end of the arc-shaped structure.
[0107] Based on the characteristics of the above structural design, this application provides another method for determining the distance between two contact points on the user's head, namely, a real-time calculation method. When the user wears the wearable device, the first magnetic receiver on the left outputs first magnetic induction data, and the second magnetic receiver on the right outputs second magnetic induction data. Both the first and second magnetic induction data are induced voltages on a triaxial orthogonal coil. The first magnetic induction data corresponds to the direction vector L4, and the second magnetic induction data corresponds to the direction vector L5. Therefore, combined with... Figure 3 The geometric structure information of the wearable device can be used to calculate the angle α of the left magnetic receiver (i.e., the first relative angle) and the angle β of the right magnetic receiver (i.e., the second relative angle).
[0108] After determining the size of the first relative angle α and the second relative angle β, the length of P2P3, which is the distance between the two contact points on the user's head, can be solved by combining the spatial geometry of the wearable device and using trigonometric functions.
[0109] It should be noted that the placement and number of the magnetic transmitter and receiver in this embodiment are primarily a preferred implementation based on the spatial geometry of head-mounted devices such as headbands. This method, which places a magnetic transmitter in the center of the wearable device and symmetrically places a magnetic receiver at each end near the user's ear, allows for a more accurate reflection of the user's head width due to the distance between the receivers. Furthermore, the symmetrical design facilitates operation and implementation, improving the convenience of head measurement using wearable devices. Of course, those skilled in the art can flexibly adjust the placement and number of the magnetic transmitter and receiver according to actual needs, which will not be listed here.
[0110] In some embodiments of this application, determining the distance between two contact points on the user's head based on the first relative angle, the second relative angle, and the spatial geometry information of the wearable device includes: determining the opening angle of the wearable device based on the first relative angle and the second relative angle; and determining the distance between the two contact points on the user's head using trigonometric functions based on the opening angle of the wearable device and the spatial geometry information of the wearable device.
[0111] After determining the size of the first relative angle α and the second relative angle β based on the aforementioned embodiments, the first relative angle α and the second relative angle β are added together to obtain the current opening angle θ of the wearable device. Since L2 and L3 are the two chords of the ellipse in which the system is located, their length changes can be ignored, that is, their lengths are considered to be fixed values. Therefore, in the triangle formed by P1, P2, and P3, the length of the opposite side of the opening angle θ, namely P2P3, can be solved using the cosine theorem.
[0112] Of course, in addition to the above method, we can also use the Law of Cosines to find the length of the side opposite the first relative angle α, i.e., the length of P2P4, in the triangle formed by P1, P2, and P4. In the triangle formed by P1, P3, and P4, we can use the Law of Cosines to find the length of the side opposite the second relative angle β, i.e., the length of P3P4. Finally, we can add the lengths of P2P4 and P3P4 to get the length of P2P3.
[0113] For ease of understanding of the various embodiments of this application, such as Figure 4The diagram illustrates a head measurement process according to an embodiment of this application. The head measurement method in this embodiment is implemented using a wearable device. The wearable device has a magnetic transmitter and multiple magnetic receivers. During head measurement, the user needs to wear the wearable device, and when both ends of the wearable device are in contact with two contact points on the user's head, the magnetic transmitter is controlled to emit magnetic signals to acquire the current magnetic induction data of each magnetic receiver.
[0114] After obtaining the current magnetic induction data from each magnetic receiver, different processing strategies can be employed to determine the distance between the two contact points on the user's head, based on the characteristics of the magnetic induction data and the spatial geometry of the wearable device. One strategy is to determine the current distance between the two contact points on the user's head based on a pre-calibrated offline correspondence between the magnetic induction data and the distance between the two contact points. This correspondence determines the distance between the two contact points corresponding to the currently read magnetic induction data. Another strategy is to determine the distance between the two contact points on the user's head using real-time calculation. This strategy requires the wearable device to have a magnetic receiver at each end in contact with the user's head. The relative angle between the magnetic transmitter and the two magnetic receivers is determined based on the magnetic induction data from the two receivers. Then, based on this relative angle and the spatial geometry of the wearable device, trigonometric functions are used to determine the distance between the two contact points on the user's head.
[0115] After determining the distance between the two contact points on the user's head based on the above strategy, and considering the wearing characteristics of the wearable device on the user's head, the distance between the two contact points on the user's head can reflect the width of the user's head. It can also be used to calculate other dimensions of head size data. For example, the distance between the two contact points can be used as the diameter of a circle to calculate the circumference, and the circumference can be used as the user's head circumference.
[0116] This application also provides a method for constructing a three-dimensional head model, such as... Figure 5 The diagram illustrates a flowchart of a method for constructing a three-dimensional head model according to an embodiment of this application. The method includes at least the following steps S510 to S530:
[0117] Step S510: Obtain the user's head size;
[0118] Step S520: Determine the key point information of the user's head based on the user's head size;
[0119] Step S530: Determine the three-dimensional model of the user's head based on the user's head size and the user's head key point information; wherein, the user's head size is obtained based on any of the aforementioned head measurement methods.
[0120] After obtaining the user's head size, this embodiment of the application can further determine the user's head key point information based on the user's head size data, such as head width and head circumference. The head key point information mainly includes the user's facial key points, such as facial feature points like the nose, eyes, and mouth. Based on the currently measured head width, head circumference, and other information, the location of the user's facial key points can be roughly restored by combining the facial distribution characteristics of the facial key points. Then, the current user's head three-dimensional model can be generated by combining the standard head three-dimensional model.
[0121] A standard 3D head model can be obtained based on 3D MM or Flame models, etc. How to construct a standard 3D head model can be flexibly determined by those skilled in the art in combination with existing technologies, and no specific limitation is made here.
[0122] This application also provides an adjustment method for a wearable device, such as... Figure 6 The diagram provided illustrates a flowchart of an adjustment method for a wearable device according to an embodiment of this application. The adjustment method for the wearable device includes at least the following steps S610 to S630:
[0123] Step S610: Obtain the user's head size;
[0124] Step S620: Determine the contact state between the wearable device and the user's head based on the user's head size;
[0125] Step S630: Adjust the opening angle of the wearable device according to the contact state between the wearable device and the user's head, so that the opening angle of the wearable device is adapted to the size of the user's head;
[0126] The user's head size is obtained based on any of the aforementioned head measurement methods.
[0127] To improve user comfort, this embodiment of the application, after obtaining the user's head size, can also determine the contact state between the wearable device and the user's head based on the currently measured head size. The contact state here mainly refers to the tightness of the contact between the wearable device and the user's head. If it is worn too tightly, it will affect the user's comfort and thus affect the user's experience.
[0128] Specifically, the distance between the two ends of the wearable device in its natural state (when not being worn) can be used to judge the situation. If the difference between the measured head width and the distance between the two ends when the wearable device is not being worn is greater than a certain threshold, it indicates that the wearable device is in close contact with the user's head, which may cause discomfort to the user. Therefore, the opening angle of the wearable device can be adjusted appropriately to match the size of the user's head and improve the user's wearing comfort.
[0129] This application embodiment also provides a head measuring device 700, which is applied to a wearable device. The wearable device is equipped with a magnetic transmitter and multiple magnetic receivers, such as... Figure 7 The diagram provided illustrates the structure of a head measuring device 700 according to an embodiment of this application. The head measuring device 700 includes:
[0130] The first acquisition unit 710 is used to acquire the current magnetic induction data of each magnetic receiver when the two ends of the wearable device are in contact with the two contact points on the user's head and the magnetic transmitter emits a magnetic signal.
[0131] The first determining unit 720 is used to determine the distance between two contact points on the user's head based on the current magnetic induction data of each magnetic receiver.
[0132] The second determining unit 730 is used to determine the size of the user's head based on the distance between the two contact points of the user's head.
[0133] In some embodiments of this application, the first determining unit 720 is specifically used to: obtain the calibration correspondence between the magnetic induction data of each magnetic receiver and the distance between the two contact points of the user's head; and determine the distance between the two contact points of the user's head based on the current magnetic induction data of each magnetic receiver and the calibration correspondence.
[0134] In some embodiments of this application, the first determining unit 720 is specifically used to: adjust the opening angle of the wearable device according to multiple preset distances between two contact points on the user's head; acquire magnetic induction data of each magnetic receiver based on the opening angle of the wearable device; and construct the calibration correspondence based on the spatial geometric structure information of the wearable device, according to the magnetic induction data of each magnetic receiver and each preset distance.
[0135] In some embodiments of this application, the first determining unit 720 is specifically used to: determine the distance between two contact points on the user's head corresponding to the current magnetic induction data of each magnetic receiver and the calibration correspondence; and fuse the distances between the two contact points on the user's head corresponding to the current magnetic induction data of each magnetic receiver to obtain the final distance between the two contact points on the user's head.
[0136] In some embodiments of this application, the wearable device has an arc-shaped structure, with the magnetic transmitter disposed in the middle of the arc-shaped structure. A first magnetic receiver and a second magnetic receiver are respectively disposed at the two ends of the arc-shaped structure that are in contact with the user's head. The current magnetic induction data of each magnetic receiver includes the first magnetic induction data of the first magnetic receiver and the second magnetic induction data of the second magnetic receiver. The first determining unit 720 is specifically used to: determine a first relative angle between the magnetic transmitter and the first magnetic receiver based on the first magnetic induction data; determine a second relative angle between the magnetic transmitter and the second magnetic receiver based on the second magnetic induction data; and determine the distance between the two contact points on the user's head based on the first relative angle, the second relative angle, and the spatial geometric information of the wearable device.
[0137] In some embodiments of this application, the first determining unit 720 is specifically used to: determine the opening angle of the wearable device based on the first relative angle and the second relative angle; and determine the distance between the two contact points of the user's head using trigonometric functions based on the opening angle of the wearable device and the spatial geometric structure information of the wearable device.
[0138] It is understood that the head measuring device described above can realize each step of the head measuring method provided in the foregoing embodiments. The relevant explanations of the head measuring method are applicable to the head measuring device and will not be repeated here.
[0139] This application embodiment also provides a head 3D model construction device 800, such as Figure 8 As shown, a structural schematic diagram of a head 3D model construction device according to an embodiment of this application is provided. The head 3D model construction device 800 includes:
[0140] The second acquisition unit 810 is used to acquire the user's head size;
[0141] The third determining unit 820 is used to determine the key point information of the user's head based on the size of the user's head.
[0142] The fourth determining unit 830 is used to determine the three-dimensional model of the user's head based on the user's head size and the user's head key point information;
[0143] The user's head size is obtained based on any of the aforementioned head measurement methods.
[0144] This application embodiment also provides an adjustment device 900 for a wearable device, such as... Figure 9 The diagram shows a structural schematic of an adjustment device for a wearable device according to an embodiment of this application. The adjustment device 900 of the wearable device includes:
[0145] The third acquisition unit 910 is used to acquire the user's head size;
[0146] The fifth determining unit 920 is used to determine the contact state between the wearable device and the user's head based on the user's head size;
[0147] The sixth determining unit 930 is used to adjust the opening angle of the wearable device according to the contact state between the wearable device and the user's head, so that the opening angle of the wearable device is adapted to the size of the user's head;
[0148] The user's head size is obtained based on any of the aforementioned head measurement methods.
[0149] This application also provides a wearable device, including: a magnetic transmitter and a plurality of magnetic receivers; a processor; and a memory arranged to store computer-executable instructions, which, when executed, cause the processor to perform any of the aforementioned head measurement methods.
[0150] Figure 10 This is a schematic diagram of the structure of a wearable device according to an embodiment of this application. Please refer to it. Figure 10 At the hardware level, the wearable device includes a processor, and optionally also an internal bus, network interface, and memory. The memory may include RAM, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the wearable device may also include other hardware required for its business operations.
[0151] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 10 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0152] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.
[0153] The processor reads the corresponding computer program from non-volatile memory into main memory and then runs it, forming a head measurement device at the logical level. The processor executes the program stored in memory and specifically performs the following operations:
[0154] When the two ends of the wearable device are in contact with the two contact points on the user's head and the magnetic transmitter emits a magnetic signal, the current magnetic induction data of each magnetic receiver is acquired.
[0155] The distance between the two contact points on the user's head is determined based on the current magnetic induction data of each magnetic receiver;
[0156] The size of the user's head is determined based on the distance between the two contact points on the user's head.
[0157] The above is as stated in this application. Figure 1The method executed by the head measurement device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0158] The wearable device can also perform Figure 5 The method or execution of the three-dimensional model construction device for the middle head Figure 6 The method for adjusting the device of a wearable device and realizing the head 3D model construction device in Figure 5 The functions of the illustrated embodiment, or the adjustment device of the wearable device, are as follows: Figure 6 The functions of the embodiments shown are not described in detail here.
[0159] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by a wearable device comprising multiple applications, enable the wearable device to perform... Figure 1 The method executed by the head measuring device in the illustrated embodiment, and specifically used to perform:
[0160] When the two ends of the wearable device are in contact with the two contact points on the user's head and the magnetic transmitter emits a magnetic signal, the current magnetic induction data of each magnetic receiver is acquired.
[0161] The distance between the two contact points on the user's head is determined based on the current magnetic induction data of each magnetic receiver;
[0162] The size of the user's head is determined based on the distance between the two contact points on the user's head.
[0163] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0164] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0165] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0166] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0167] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0168] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0169] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0170] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0171] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0172] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A head measurement method, characterized in that, The head measurement method is performed by a wearable device, which is equipped with a magnetic transmitter and multiple magnetic receivers. The head measurement method includes: When the two ends of the wearable device are in contact with the two contact points on the user's head and the magnetic transmitter emits a magnetic signal, the current magnetic induction data of each magnetic receiver is acquired. The distance between the two contact points on the user's head is determined based on the current magnetic induction data of each magnetic receiver; The size of the user's head is determined based on the distance between the two contact points on the user's head; Determining the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver includes: Obtain the calibrated correspondence between the magnetic induction data of each magnetic receiver and the distance between the two contact points on the user's head; Based on the current magnetic induction data of each magnetic receiver and the calibration correspondence, the distance between the two contact points on the user's head is determined; The calibration correspondence between the magnetic induction data of each magnetic receiver and the distance between the two contact points on the user's head includes: The opening angle of the wearable device is adjusted according to multiple preset distances between two contact points on the user's head; Based on the opening angle of the wearable device, magnetic induction data of each magnetic receiver is obtained; Based on the spatial geometric structure information of the wearable device, the calibration correspondence is constructed according to the magnetic induction data of each magnetic receiver and each preset distance; The wearable device has an arc-shaped structure, with the magnetic transmitter located in the middle of the arc-shaped structure. A first magnetic receiver and a second magnetic receiver are respectively located at the two ends of the arc-shaped structure that come into contact with the user's head. The current magnetic induction data of each magnetic receiver includes the first magnetic induction data of the first magnetic receiver and the second magnetic induction data of the second magnetic receiver. Determining the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver includes: The first relative angle between the magnetic transmitter and the first magnetic receiver is determined based on the first magnetic induction data. The second relative angle between the magnetic transmitter and the second magnetic receiver is determined based on the second magnetic induction data; The distance between the two contact points on the user's head is determined based on the first relative angle, the second relative angle, and the spatial geometry information of the wearable device.
2. The head measurement method according to claim 1, characterized in that, Determining the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver and the calibration correspondence includes: Based on the current magnetic induction data of each magnetic receiver and the calibration correspondence, the distance between the two contact points on the user's head corresponding to the current magnetic induction data of each magnetic receiver is determined. The distances between the two contact points on the user's head corresponding to the current magnetic induction data of each magnetic receiver are fused to obtain the final distance between the two contact points on the user's head.
3. The head measurement method according to claim 1, characterized in that, Determining the distance between the two contact points on the user's head based on the first relative angle, the second relative angle, and the spatial geometry information of the wearable device includes: The opening angle of the wearable device is determined based on the first relative angle and the second relative angle; Based on the opening angle of the wearable device and the spatial geometry information of the wearable device, the distance between the two contact points on the user's head is determined using trigonometric functions.
4. A method for constructing a three-dimensional head model, characterized in that, The method for constructing the three-dimensional head model includes: Get the user's head size; Determine the user's head key point information based on the user's head size; A three-dimensional model of the user's head is determined based on the user's head size and the user's head key point information; The user's head size is obtained based on the head measurement method described in any one of claims 1 to 3.
5. A method for adjusting a wearable device, characterized in that, The adjustment method for the wearable device includes: Get the user's head size; The contact state between the wearable device and the user's head is determined based on the user's head size; The opening angle of the wearable device is adjusted according to the contact state between the wearable device and the user's head so that the opening angle of the wearable device is adapted to the size of the user's head; The user's head size is obtained based on the head measurement method described in any one of claims 1 to 3.
6. A head measuring device, characterized in that, The head measurement device is applied to a wearable device, the wearable device being equipped with a magnetic transmitter and multiple magnetic receivers, the head measurement device being used to perform the head measurement method according to any one of claims 1 to 3, the head measurement device comprising: The first acquisition unit is used to acquire the current magnetic induction data of each magnetic receiver when the two ends of the wearable device are in contact with the two contact points on the user's head and the magnetic transmitter emits a magnetic signal. The first determining unit is used to determine the distance between the two contact points on the user's head based on the current magnetic induction data of each magnetic receiver. The second determining unit is used to determine the size of the user's head based on the distance between the two contact points of the user's head; The first determining unit is specifically used for: Obtain the calibrated correspondence between the magnetic induction data of each magnetic receiver and the distance between the two contact points on the user's head; Based on the current magnetic induction data of each magnetic receiver and the calibration correspondence, the distance between the two contact points on the user's head is determined; The first determining unit is specifically used for: The opening angle of the wearable device is adjusted according to multiple preset distances between two contact points on the user's head; Based on the opening angle of the wearable device, magnetic induction data of each magnetic receiver is obtained; Based on the spatial geometric structure information of the wearable device, the calibration correspondence is constructed according to the magnetic induction data of each magnetic receiver and each preset distance; The wearable device has an arc-shaped structure, with the magnetic transmitter located in the middle of the arc-shaped structure. A first magnetic receiver and a second magnetic receiver are respectively located at the two ends of the arc-shaped structure that come into contact with the user's head. The current magnetic induction data of each magnetic receiver includes the first magnetic induction data of the first magnetic receiver and the second magnetic induction data of the second magnetic receiver. The first determining unit is specifically used for: The first relative angle between the magnetic transmitter and the first magnetic receiver is determined based on the first magnetic induction data. The second relative angle between the magnetic transmitter and the second magnetic receiver is determined based on the second magnetic induction data; The distance between the two contact points on the user's head is determined based on the first relative angle, the second relative angle, and the spatial geometry information of the wearable device.
7. A device for constructing a three-dimensional head model, characterized in that, The head 3D model construction device includes: The second acquisition unit is used to acquire the user's head size; The third determining unit is used to determine the key point information of the user's head based on the size of the user's head. The fourth determining unit is used to determine the three-dimensional model of the user's head based on the user's head size and the user's head key point information; The user's head size is obtained based on the head measurement method described in any one of claims 1 to 3.
8. An adjustment device for a wearable device, characterized in that, The adjustment device of the wearable device includes: The third acquisition unit is used to acquire the user's head size; The fifth determining unit is used to determine the contact state between the wearable device and the user's head based on the user's head size; The sixth determining unit is used to adjust the opening angle of the wearable device according to the contact state between the wearable device and the user's head, so that the opening angle of the wearable device is adapted to the size of the user's head; The user's head size is obtained based on the head measurement method described in any one of claims 1 to 3.
9. A wearable device, comprising: One magnetic transmitter and multiple magnetic receivers; processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform any of the head measurement methods of claims 1 to 3, the head three-dimensional model construction method of claim 4, or the wearable device adjustment method of claim 5.
Citation Information
Patent Citations
Human head data collector and collecting method thereof
CN105877754A