Electromagnetic-based face area positioning method, apparatus, and wearable device
Automatically locating the face area through electromagnetic induction technology solves the problem of cumbersome operation of traditional beauty care equipment, realizes automatic switching of beauty care modes and precise skin care, and improves user experience.
Patent Information
- Application Number
- PCT/CN2023/098404
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2023-06-05
- Publication Date
- 2024-10-03
AI Technical Summary
Traditional medical beauty care equipment cannot realize automatic switching of beauty care modes. Users need to manually operate buttons, which results in cumbersome operations, easy confusion, increases user fatigue, and is affected by hand holding posture, affecting the skin care experience.
Using the face area positioning method based on electromagnetic induction technology, through the electromagnetic induction data between the wearable device and the beauty care device, the preset solution model is used to determine the spatial posture information of the beauty care device, and combined with the three-dimensional face model, the target is automatically positioned Face area, realize automatic switching of beauty care mode.
It reduces the difficulty of user operation, improves the skin care experience, avoids the impact of hand holding posture on positioning, and achieves precise skin care.
Smart Images

Figure CN2023098404_03102024_PF_FP_ABST
Abstract
Description
Electromagnetic-based facial region positioning method, device, and wearable device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on March 31, 2023, with application number 202310343381.2, and entitled “Electromagnetic-based face area positioning method, device and wearable device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of beauty care technology, and in particular to an electromagnetic-based facial region positioning method, apparatus, and wearable device. Background Art
[0004] Traditional medical beauty devices mainly switch between different beauty modes by setting buttons for different areas of the face. This solution is relatively reliable, but the user experience is poor. The main reasons are:
[0005] 1) Users need to first familiarize themselves with the beauty mode corresponding to each button and need to switch when the beauty instrument head reaches the corresponding area of the face. This process is relatively cumbersome and users are prone to confuse the buttons. At the same time, manually switching modes back and forth can easily increase user fatigue; 2) Due to individual differences and different usage habits of users, the consistent button configuration causes problems for some users' usual grip posture. Users need some time to get used to using the product, which reduces the product's friendliness.
[0006] In order to solve the problem that traditional medical beauty care equipment cannot achieve automatic switching of beauty care modes, automatic positioning of the facial area where the beauty care equipment acts becomes the entry point. The main solution provided in the existing technology is to determine the facial area where the beauty care equipment is currently acting based on visual recognition technology and facial maps.
[0007] However, in order to ensure the positioning accuracy of the facial area, the positioning solution based on visual recognition technology has high requirements for the collected images. In addition, for handheld beauty care devices, the user's hand grip will also have a certain impact on the image recognition results. Therefore, whether for the user or the related equipment, it increases the operation difficulty to a certain extent, thereby affecting the user's skin care experience.
[0008] Summary of the Invention
[0009] The embodiments of the present application provide an electromagnetic-based facial area positioning method, apparatus, and wearable device to achieve automatic positioning of the facial area through electromagnetic induction technology, thereby reducing the user's operating difficulty and improving the user's skin care experience.
[0010] The embodiments of this application adopt the following technical solutions:
[0011] In a first aspect, an embodiment of the present application provides an electromagnetic-based face region positioning method, the electromagnetic-based face region positioning method comprising:
[0012] Obtain electromagnetic induction data generated between wearable devices and beauty care devices;
[0013] Determine the spatial posture information of the beauty and protection device in the coordinate system of the wearable device using a preset solution model based on the electromagnetic induction data generated between the wearable device and the beauty and protection device;
[0014] Determine the spatial posture information of the three-dimensional face model in the wearable device coordinate system based on the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points;
[0015] According to the spatial posture information of the beauty and protection device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system, the target face area corresponding to the beauty and protection device in the wearable device coordinate system is determined.
[0016] Optionally, the acquiring of electromagnetic induction data generated between the wearable device and the beauty care device includes:
[0017] Acquiring electromagnetic induction data generated between the wearable device and the beauty care device through a magnetic sensor provided on the wearable device and a magnetic source provided on the beauty care device; or,
[0018] The electromagnetic induction data generated between the wearable device and the beauty care device is obtained through the magnetic source provided on the wearable device and the magnetic sensor provided on the beauty care device.
[0019] Optionally, the determining, based on the electromagnetic induction data generated between the wearable device and the beauty care device, the spatial posture information of the beauty care device in the coordinate system of the wearable device using a preset solution model includes:
[0020] Constructing a nonlinear optimization model based on the electromagnetic induction data and magnetic dipole model generated between the wearable device and the beauty care device, and determining the spatial posture information of the beauty care device in the wearable device coordinate system based on the nonlinear optimization model; and / or,
[0021] The spatial posture information of the beauty care device in the wearable device coordinate system is determined based on the electromagnetic induction data generated between the wearable device and the beauty care device and a preset spatial posture prediction model.
[0022] Optionally, the preset solution model includes a nonlinear optimization model and a preset spatial posture prediction model, and determining the spatial posture information of the beauty care device in the wearable device coordinate system using the preset solution model based on the electromagnetic induction data generated between the wearable device and the beauty care device includes:
[0023] Determining first spatial posture information of the beauty and protection device in a wearable device coordinate system using the nonlinear optimization model based on electromagnetic induction data generated between the wearable device and the beauty and protection device;
[0024] Determining second spatial posture information of the beauty and protection device in a wearable device coordinate system using the preset spatial posture prediction model based on electromagnetic induction data generated between the wearable device and the beauty and protection device;
[0025] The first spatial posture information and the second spatial posture information of the beauty care device in the wearable device coordinate system are fused to obtain the final spatial posture information of the beauty care device in the wearable device coordinate system.
[0026] Optionally, determining the spatial posture information of the three-dimensional face model in the wearable device coordinate system based on the spatial posture information of the beauty and protection device in the wearable device coordinate system and preset facial key points includes:
[0027] Tracking the spatial posture information of the beauty and protection device in the wearable device coordinate system based on the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points;
[0028] Determine the spatial posture information of the three-dimensional face model in the coordinate system of the wearable device according to the tracked spatial posture information of the beauty and protection device in the coordinate system of the wearable device;
[0029] According to the spatial posture information of the preset facial key points in the wearable device coordinate system, a preset facial three-dimensional model fitting algorithm is used to fit the facial three-dimensional model to obtain the spatial posture information of the facial three-dimensional model in the wearable device coordinate system.
[0030] Optionally, determining the target face area corresponding to the beauty care device in the wearable device coordinate system according to the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system includes:
[0031] Determining a three-dimensional overlapping area corresponding to the beauty care device and the three-dimensional face model according to the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system;
[0032] The target face area corresponding to the beauty and protection device in the wearable device coordinate system is determined according to the three-dimensional overlapping area corresponding to the beauty and protection device and the three-dimensional face model.
[0033] Optionally, the electromagnetic induction data generated between the wearable device and the beauty care device is electromagnetic induction data collected in real time, and determining the target facial area corresponding to the beauty care device in the wearable device coordinate system based on the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system includes:
[0034] Updating the spatial posture information of the beauty care device in the wearable device coordinate system according to the electromagnetic induction data collected in real time;
[0035] Obtaining spatial posture change information of preset facial key points, and updating spatial posture information of the three-dimensional face model in the wearable device coordinate system according to the spatial posture change information of the preset facial key points;
[0036] According to the updated spatial posture information of the beauty and protection device in the wearable device coordinate system and the updated spatial posture information of the three-dimensional face model in the wearable device coordinate system, the target face area corresponding to the beauty and protection device in the wearable device coordinate system is determined.
[0037] Optionally, the target face partition is one of a plurality of face partitions, and the plurality of face partitions include at least one of five partitions and seven partitions.
[0038] In a second aspect, an embodiment of the present application further provides an electromagnetic-based facial region positioning device, the electromagnetic-based facial region positioning device comprising:
[0039] An acquisition unit, used to acquire electromagnetic induction data generated between the wearable device and the beauty care device;
[0040] A first determining unit is configured to determine, based on electromagnetic induction data generated between the wearable device and the beauty and protection device, spatial posture information of the beauty and protection device in a coordinate system of the wearable device using a preset solution model;
[0041] a second determining unit, configured to determine the spatial posture information of the three-dimensional face model in the wearable device coordinate system based on the spatial posture information of the beauty and protection device in the wearable device coordinate system and preset facial key points;
[0042] The third determining unit is used to determine the target face area corresponding to the beauty care device in the wearable device coordinate system based on the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system.
[0043] In a third aspect, an embodiment of the present application further provides a wearable device, comprising:
[0044] A processor; and a memory arranged to store computer executable instructions, which, when executed, cause the processor to perform any of the aforementioned methods.
[0045] In a fourth aspect, an embodiment of the present application further provides a beauty system, which includes a beauty care device and the wearable device as described above.
[0046] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by a wearable device including multiple applications, the wearable device executes any of the aforementioned methods.
[0047] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: The electromagnetic-based facial region positioning method of the embodiments of the present application first obtains electromagnetic induction data generated between the wearable device and the beauty care device; based on the electromagnetic induction data generated between the wearable device and the beauty care device, a preset solution model is used to determine the spatial posture information of the beauty care device in the wearable device coordinate system; based on the spatial posture information of the beauty care device in the wearable device coordinate system and preset facial key points, the spatial posture information of the three-dimensional facial model in the wearable device coordinate system is determined; based on the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional facial model in the wearable device coordinate system, the target facial region corresponding to the beauty care device in the wearable device coordinate system is determined. This application uses electromagnetic positioning technology implemented by a wearable device worn by a user to automatically locate the facial region, providing a basis for automatic switching of beauty care modes and precise skin care, without being affected by the user's hand grip, reducing the user's operating difficulty and improving the user's skin care experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0049] FIG1 is a schematic diagram of a flow chart of an electromagnetic-based face region positioning method according to an embodiment of the present application;
[0050] FIG2 is a schematic diagram of face area division in an embodiment of the present application;
[0051] FIG3 is a schematic diagram of key points of a face according to an embodiment of the present application;
[0052] FIG4 is a schematic diagram of a coil operating with a constant current in an embodiment of the present application;
[0053] FIG5 is a schematic structural diagram of an electromagnetic-based face region positioning device according to an embodiment of the present application;
[0054] FIG6 is a schematic structural diagram of a wearable device in an embodiment of the present application. DETAILED DESCRIPTION
[0055] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0056] The following describes in detail the technical solutions provided by various embodiments of the present application in conjunction with the accompanying drawings.
[0057] The present application provides an electromagnetic-based face region positioning method. FIG1 shows a flow chart of an electromagnetic-based face region positioning method according to an embodiment of the present application. The electromagnetic-based face region positioning method includes at least the following steps S110 to S140:
[0058] Step S110, obtaining electromagnetic induction data generated between the wearable device and the beauty care device.
[0059] The "face area" defined in the embodiment of the present application can be a facial skin area divided according to the functional requirements of the beauty care device. As shown in Figure 2, a schematic diagram of the face area division in the embodiment of the present application is provided, which may include, for example, the forehead area, eye area and cheek area.
[0060] When locating the facial area, the user needs to wear a wearable device first, and then obtain the electromagnetic induction data generated between the wearable device and the beauty care device. The wearable device of the embodiment of the present application can be regarded as an auxiliary positioning device independent of the beauty care device. It can be fixedly worn on the user's head, neck or wrist by using a wearable device in any form similar to a headband, hairpin, hairpin, necklace, neck ring, bracelet, or wristband. One of the wearable device and the beauty care device is provided with a magnetic source, i.e., a structure that generates a magnetic field, such as an electromagnet, and the other is provided with a magnetic sensor. The magnetic sensor can also be called a Hall effect sensor (abbreviated as "Hall sensor"), which is a transducer that can convert changes in the magnetic field into changes in the output voltage. Through the wearable device and beauty care device of the above structure, electromagnetic induction data can be generated when the beauty care device enters the facial area covered by the wearable device.
[0061] Step S120: determining the spatial posture information of the beauty care device in the coordinate system of the wearable device using a preset solution model based on the electromagnetic induction data generated between the wearable device and the beauty care device.
[0062] A magnetic source generates an oscillating magnetic field at a fixed frequency. A magnetic sensor senses the strength of this oscillating field. Based on the real-time magnetic sensor readings, a pre-defined solution model is used to calculate the spatial posture of the beauty care device relative to the wearable device. This pre-defined solution model can be based on existing magnetic dipole models or deep learning models. The spatial posture of the beauty care device is calibrated to the wearable device coordinate system primarily because the wearable device is relatively fixed relative to the user's head.
[0063] The coordinate system of the wearable device in the embodiment of the present application can be flexibly defined according to actual needs. For example, the origin of the coordinate system and the corresponding axis directions can be defined according to any point on the wearable device, or the coordinate system can be directly constructed with the position of other hardware devices on the wearable device as the origin. The spatial posture information of the beauty care device in the wearable device coordinate system can refer to the five-degree-of-freedom information of the beauty care device relative to the wearable device. Generally, the degrees of freedom of a rigid body in three-dimensional space are six degrees of freedom, that is, the rigid body can translate on three mutually perpendicular coordinate axes: front and back, up and down, and left and right, and can also rotate its direction on three perpendicular axes. The three rotation directions are called pitch, yaw, and roll. The five degrees of freedom in the embodiment of the present application do not include rotation around the NS axis, because the magnet is a ring-shaped sphere starting from the N pole and returning to the S pole, analogous to a globe, so the change in magnetic intensity felt on the cross-section of the axis rotating around that axis is 0, that is, the magnetic intensity remains unchanged.
[0064] Step S130: determining the spatial posture information of the three-dimensional face model in the wearable device coordinate system according to the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points.
[0065] After determining the spatial posture information of the beauty and protection device in the coordinate system of the wearable device, it is necessary to further determine the spatial posture information of the three-dimensional shape of the face in the coordinate system of the wearable device. For this purpose, the embodiment of the present application predefines the facial key points. The facial key points here mainly refer to the facial features of areas such as eyebrows, eyelids, lips, and nose. As shown in Figure 3, a schematic diagram of facial key points in the embodiment of the present application is provided. The black dots in the figure are the defined facial key points. The detection of facial key points is the basis for other face-related tasks such as face recognition, expression analysis, and three-dimensional face reconstruction. In the embodiment of the present application, the three-dimensional shape of the face is restored mainly based on the preset facial key points.
[0066] Since the spatial posture information of the beauty protection device in the wearable device coordinate system is calculated in the above steps, the three-dimensional position of the facial key points in the wearable device coordinate system can be determined based on the relative movement of the beauty protection device on each preset facial key point, so that the three-dimensional face model in the wearable device coordinate system can be fitted to obtain the spatial posture information of the three-dimensional face model in the wearable device coordinate system.
[0067] Step S140: determining a target face region corresponding to the beauty care device in the wearable device coordinate system according to the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system.
[0068] The spatial posture information of the beauty protection device and the three-dimensional facial model in the coordinate system of the wearable device indicates that the three-dimensional position and posture information of the two are unified in the same coordinate system. Then, the spatial overlapping area can be calculated through the spatial posture information of the two in the same coordinate system, thereby determining the target facial area that the beauty protection device is currently acting on.
[0069] Since the spatial posture information will change with the induction changes of the magnetic field, the corresponding calculated target facial area will also be updated in real time. This can control the beauty care device to dynamically switch different beauty modes for different target facial areas.
[0070] The electromagnetic-based facial area positioning method of the embodiment of the present application uses electromagnetic positioning technology implemented by a wearable device worn by the user to automatically locate the facial area, providing a basis for automatic switching of beauty and care modes and precise skin care. It is not affected by the user's hand grip, reduces the user's operation difficulty, and improves the user's skin care experience.
[0071] In some embodiments of the present application, the obtaining of electromagnetic induction data generated between the wearable device and the beauty care device includes: obtaining the electromagnetic induction data generated between the wearable device and the beauty care device through a magnetic sensor set on the wearable device and a magnetic source set on the beauty care device; or, obtaining the electromagnetic induction data generated between the wearable device and the beauty care device through a magnetic source set on the wearable device and a magnetic sensor set on the beauty care device.
[0072] In the embodiments of the present application, there are two ways to set up the magnetic sensor and magnetic source. One way is to set up a magnetic sensor on the wearable device and a magnetic source on the beauty protection device, and use the magnetic sensor on the wearable device to sense the magnetic field changes generated by the magnetic source on the beauty protection device. The other way is to set up a magnetic source on the wearable device and a magnetic sensor on the beauty protection device, and use the magnetic sensor on the beauty protection device to sense the magnetic field changes generated by the magnetic source on the wearable device.
[0073] For example, three electromagnetic sensors can be set on the wearable device and one electromagnet can be set on the beauty protection device, or three electromagnets can be set on the wearable device and one electromagnetic sensor can be set on the beauty protection device. To ensure the accuracy of subsequent spatial posture information calculation, the first method can set no fewer than two electromagnetic sensors on the wearable device, and the second method can set no fewer than two electromagnets on the wearable device. Of course, the specific arrangement of the magnetic sensors and magnetic sources, as well as the specific number of magnetic sensors and magnetic sources to be set, can be flexibly adjusted by those skilled in the art according to actual needs and are not specifically limited.
[0074] In some embodiments of the present application, determining the spatial posture information of the beauty protection device in the wearable device coordinate system using a preset solution model based on the electromagnetic induction data generated between the wearable device and the beauty protection device includes: constructing a nonlinear optimization model based on the electromagnetic induction data generated between the wearable device and the beauty protection device and a magnetic dipole model, and determining the spatial posture information of the beauty protection device in the wearable device coordinate system based on the nonlinear optimization model; and / or determining the spatial posture information of the beauty protection device in the wearable device coordinate system based on the electromagnetic induction data generated between the wearable device and the beauty protection device and a preset spatial posture prediction model.
[0075] In the embodiment of the present application, when calculating the spatial posture information of the beauty care device in the coordinate system of the wearable device based on the electromagnetic induction data generated between the wearable device and the beauty care device, the following methods can be adopted:
[0076] The first way is to build a nonlinear optimization model:
[0077] Based on the existing magnetic dipole model and the Biot-Savart law, a nonlinear system of equations can be constructed. Solving the nonlinear system of equations using a nonlinear least squares algorithm, such as the LM (Levenberg-Marquardt) algorithm or the GN (Gauss-Newton) algorithm, yields optimal spatial posture information for the beauty device relative to the wearable device. A magnetic dipole is a closed loop of current. Figure 4 shows a schematic diagram of a coil operating with a constant current in an embodiment of the present application.
[0078] The Biot-Savart Law is described by an equation in magnetostatics. The magnetic field generated by an electric current around it adopts the magnetostatic approximation. When the current changes slowly over time (for example, when a current-carrying wire moves slowly), the law holds true. The magnetic field is related to the magnitude, direction, and distance of the current. The Biot-Savart Law is a formula for the distribution of magnetic intensity of a magnet in space, that is, the value of the magnetic intensity can be obtained by giving any vector and distance relative to the magnet. The embodiment of the present application can construct an equation based on the Biot-Savart Law. The variables that need to be solved in each positioning process are the spatial coordinates x, y, z and the rotation of the two axes (i.e., five-degree-of-freedom information). At the same time, since it is a passive magnet, there are a total of 8 unknowns corresponding to the geomagnetic signals GX, GY, and GZ. Each magnetic sensor can obtain the corresponding equation based on the law, and then a nonlinear optimization model can be constructed based on multiple equations to solve it.
[0079] The second way is to build a preset spatial posture prediction model:
[0080] Based on the deep learning algorithm, a model is pre-trained to predict the spatial posture information of the beauty care device in the coordinate system of the wearable device based on the electromagnetic induction data. For example, neural network models such as SNN (Spiking Neuron Networks) and LSTM (Long Short-Term Memory) can be used. The training is performed through supervised training. The training sample data is the readings of multiple magnetic sensors, and the supervision signal is the relative degree of freedom information between the beauty care device and the wearable device.
[0081] The third approach is to integrate the nonlinear optimization model with the preset spatial posture prediction model:
[0082] That is, the results output by the nonlinear optimization model and the results output by the preset spatial posture prediction model are integrated to obtain more reliable relative degree of freedom information between the beauty care device and the wearable device.
[0083] In some embodiments of the present application, the preset solution model includes a nonlinear optimization model and a preset spatial posture prediction model. The determining of the spatial posture information of the beauty protection device in the wearable device coordinate system using the preset solution model based on the electromagnetic induction data generated between the wearable device and the beauty protection device includes: determining the first spatial posture information of the beauty protection device in the wearable device coordinate system using the nonlinear optimization model based on the electromagnetic induction data generated between the wearable device and the beauty protection device; determining the second spatial posture information of the beauty protection device in the wearable device coordinate system using the preset spatial posture prediction model based on the electromagnetic induction data generated between the wearable device and the beauty protection device; and fusing the first spatial posture information and the second spatial posture information of the beauty protection device in the wearable device coordinate system to obtain the final spatial posture information of the beauty protection device in the wearable device coordinate system.
[0084] When combining the nonlinear optimization model and the preset spatial posture prediction model to jointly determine the spatial posture information of the beauty protection device relative to the wearable device, the nonlinear optimization model can be solved first to obtain the first spatial posture information of the beauty protection device relative to the wearable device. Then, the current electromagnetic induction data can be input into the preset spatial posture prediction model to predict the second spatial posture information of the beauty protection device relative to the wearable device. Finally, the spatial posture information obtained by the two methods can be fused to obtain more accurate and reliable spatial posture information.
[0085] The specific fusion method can be flexibly set by technicians in this field according to actual conditions. For example, the confidence level of the output results of the nonlinear optimization model and the preset spatial posture prediction model can be determined in advance through multiple tests and verifications, and different fusion weights can be assigned according to the size of the confidence level. Then, the first spatial posture information and the second spatial posture information can be weightedly fused according to the fusion weights.
[0086] Of course, after obtaining the first spatial posture information and the second spatial posture information, the difference between the two can be further calculated. If the difference is large, the weight value of the fusion weight determined in advance according to the confidence level can be dynamically adjusted, that is, the weight value of the originally determined larger fusion weight can be further increased, and the weight value of the larger fusion weight can be further reduced, thereby dynamically adjusting the size of the fusion weight according to the actual spatial posture calculation results of different models, thereby improving the accuracy and reliability of the fusion results.
[0087] In some embodiments of the present application, determining the spatial posture information of the three-dimensional face model in the wearable device coordinate system based on the spatial posture information of the beauty protection device in the wearable device coordinate system and the preset facial key points includes: tracking the spatial posture information of the beauty protection device in the wearable device coordinate system based on the spatial posture information of the beauty protection device in the wearable device coordinate system and the preset facial key points; determining the spatial posture information of the three-dimensional face model in the wearable device coordinate system based on the tracked spatial posture information of the beauty protection device in the wearable device coordinate system; fitting according to the spatial posture information of the preset facial key points in the wearable device coordinate system using a preset three-dimensional face model fitting algorithm to obtain the spatial posture information of the three-dimensional face model in the wearable device coordinate system.
[0088] Because facial muscles are relatively rare in the forehead, their temporal changes are negligible, and so are the spatial changes caused by facial muscle movement. This provides a physical basis for facial calibration. Based on the stable spatial relationship between the forehead and the three-dimensional shape of the face, a headband-shaped wearable device can be placed above the forehead. The spatial pose information of the beauty and protection device in the wearable device's coordinate system can then be tracked. The tracking results of the beauty and protection device's spatial pose information can then be used to indirectly determine the spatial pose information of facial key points in the wearable device's coordinate system.
[0089] For example, when a user first uses a beauty care device, the user is controlled to move the beauty care device in a certain manner so that the sensing head of the beauty care device sequentially falls on each preset facial key point in the facial area. When the sensing head of the beauty care device contacts the preset facial key point, a feedback signal is generated, indicating that the beauty care device has currently contacted the preset facial key point. At this moment, the spatial position of the beauty care device and the preset facial key point in the wearable device coordinate system coincide with each other. Therefore, the spatial posture information of the beauty care device in the wearable device coordinate system tracked at this time is the spatial posture information of the facial key point in the wearable device coordinate system. Based on this, the spatial posture information of each preset facial key point in the wearable device coordinate system can be obtained separately.
[0090] After obtaining the spatial pose information of the preset facial key points in the wearable device coordinate system, a preset 3D facial model fitting algorithm can be used to fit the facial model based on the spatial pose information of the preset facial key points in the wearable device coordinate system, thereby restoring the 3D facial shape in the wearable device coordinate system. The preset 3D facial model fitting algorithm can be implemented based on existing 3D facial reconstruction models such as 3D MM and Flame. The specific implementation process can be determined based on existing technologies and is not detailed here.
[0091] The above process can be regarded as a face calibration link. Based on the tracking of the spatial posture information of the beauty and protection device in the wearable device coordinate system, the spatial posture information of the key points of the face in the wearable device coordinate system is indirectly calculated, thereby calibrating the three-dimensional shape of the face to the wearable device coordinate system, which serves as the basis for the subsequent calculation of the spatial overlapping area between the three-dimensional shape of the face and the beauty and protection device in the wearable device coordinate system.
[0092] In some embodiments of the present application, determining the target facial area corresponding to the beauty protection device in the wearable device coordinate system based on the spatial posture information of the beauty protection device in the wearable device coordinate system and the spatial posture information of the three-dimensional facial model in the wearable device coordinate system includes: determining the three-dimensional overlapping area corresponding to the beauty protection device and the three-dimensional facial model based on the spatial posture information of the beauty protection device in the wearable device coordinate system and the spatial posture information of the three-dimensional facial model in the wearable device coordinate system; determining the target facial area corresponding to the beauty protection device in the wearable device coordinate system based on the three-dimensional overlapping area corresponding to the beauty protection device and the three-dimensional facial model.
[0093] The spatial posture information of the beauty care device and the three-dimensional face model obtained in the aforementioned embodiment in the coordinate system of the wearable device is equivalent to determining the three-dimensional shape of the beauty care device and the three-dimensional shape of the face. Therefore, by calculating the overlapping area between the beauty care device and the three-dimensional shape of the face, it is possible to calculate which target face area the perception head of the current beauty care device is acting on, thereby providing a basis for automatically switching the beauty care mode.
[0094] Since the beauty care device and the three-dimensional appearance of the face can be regarded as a three-dimensional point cloud composed of multiple 3D points, the calculation of the overlapping area can be implemented based on an algorithm for the overlapping area of the three-dimensional point cloud, such as the PCL algorithm. Of course, technical personnel in this field can flexibly choose how to calculate the overlapping area according to actual needs, and no specific limitation is made here.
[0095] In some embodiments of the present application, the electromagnetic induction data generated between the wearable device and the beauty care device is electromagnetic induction data collected in real time, and determining the target facial area corresponding to the beauty care device in the wearable device coordinate system based on the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system includes: updating the spatial posture information of the beauty care device in the wearable device coordinate system according to the electromagnetic induction data collected in real time; obtaining spatial posture change information of preset facial key points, and updating the spatial posture information of the three-dimensional face model in the wearable device coordinate system according to the spatial posture change information of the preset facial key points; determining the target facial area corresponding to the beauty care device in the wearable device coordinate system according to the updated spatial posture information of the beauty care device in the wearable device coordinate system and the updated spatial posture information of the three-dimensional face model in the wearable device coordinate system.
[0096] The three-dimensional facial shape in the aforementioned embodiments is obtained when the face does not make any changes in expression, or the impact of changes in facial expression on the subsequent determination of the target facial area is ignored. However, in fact, when the user uses the beauty care device, the movement of facial muscles is random, and the key points of the face will also change during this process, which will cause the corresponding three-dimensional facial shape to change.
[0097] Based on this, in order to further improve the accuracy of facial area positioning, the embodiment of the present application can update the relative spatial relationship between the beauty care device and the three-dimensional facial appearance in the wearable device coordinate system in real time, thereby providing more accurate input for the subsequent positioning of the facial area where the beauty care device is located.
[0098] Real-time updates to the beauty device's spatial posture information can be achieved based on magnetic field changes detected by a magnetic sensor. Spatial posture changes to preset facial key points can be achieved based on myoelectric devices installed in the wearable device, such as those located in the forehead and outer ear areas. The myoelectric devices detect the electromyography generated by facial muscle movement, and an algorithm is used to calculate spatial posture changes for the current facial key points. This information then updates the spatial posture information of the three-dimensional facial model in the wearable device's coordinate system, ultimately updating the three-dimensional facial shape.
[0099] Furthermore, since the beauty care device itself generates myoelectricity, the signals captured by the myoelectric device may be subject to interference. Therefore, further consideration can be given to eliminating interference from the myoelectric signals generated by the beauty care device itself. The closer the distance between the beauty care device and the myoelectric device, the greater the interference. Therefore, the relative distance between the beauty care device and the myoelectric device can be detected to control the myoelectric device and turn it on and off. This ensures that the myoelectric device detects changes in facial key points only when interference is minimal or negligible, thereby ensuring the accuracy of the facial 3D shape update.
[0100] For example, the myoelectric device can be set to pause working after the beauty care device touches the facial skin, and start working after the beauty care device leaves the face, to ensure that the myoelectric device can detect changes in facial key points as undisturbed as possible or when interference can be ignored. At the same time, the power consumption of the overall system is also taken into consideration, and unnecessary calculations are avoided by dynamically controlling the switching of the myoelectric device.
[0101] In some embodiments of the present application, the target face partition is one of a plurality of face partitions, and the plurality of face partitions include at least one of five partitions and seven partitions.
[0102] As shown in FIG2 , the face partitions of the embodiment of the present application may include the forehead, eye, and cheek regions. This partitioning method specifically corresponds to five partitions, including the forehead, left eye, right eye, left cheek, and right cheek regions. Of course, the face region can be further divided into more detailed regions. For example, the cheek region can be further divided into the jawline region and the apple muscle region. This partitioning method corresponds to seven partitions. Of course, the specific division method can be flexibly defined by those skilled in the art according to actual needs and is not specifically limited here.
[0103] The more detailed the division of facial areas, the higher the accuracy requirement for area positioning. The facial area positioning solution based on vision in the embodiment of the present application can support sufficiently fine-grained facial area division, providing strong support for the user's precise zone skin care.
[0104] This application utilizes a facial region positioning method based on electromagnetic induction technology, enabling beauty care devices to automatically switch beauty care modes based on the current facial region, freeing the user's hands while achieving precise skin care. Furthermore, facial region positioning can also provide beauty care devices with greater application value, such as real-time temperature, humidity, and impedance detection at any location within the facial region. This partitioned data can be used to establish personalized facial care data for the user, thereby automatically providing personalized instrument parameters and modes, as well as care recommendations, for precise care.
[0105] The present application also provides an electromagnetic-based facial region positioning device 500. As shown in FIG5 , a schematic structural diagram of the electromagnetic-based facial region positioning device according to the present application is provided. The electromagnetic-based facial region positioning device 500 includes: an acquisition unit 510, a first determination unit 520, a second determination unit 530, and a third determination unit 540, wherein:
[0106] An acquisition unit 510 is configured to acquire electromagnetic induction data generated between the wearable device and the beauty care device;
[0107] A first determining unit 520 is configured to determine, based on electromagnetic induction data generated between the wearable device and the beauty and protection device, spatial posture information of the beauty and protection device in a coordinate system of the wearable device using a preset solution model;
[0108] The second determining unit 530 is configured to determine the spatial pose information of the three-dimensional face model in the wearable device coordinate system based on the spatial pose information of the beauty and protection device in the wearable device coordinate system and the preset facial key points;
[0109] The third determining unit 540 is used to determine the target face area corresponding to the beauty care device in the wearable device coordinate system based on the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system.
[0110] In some embodiments of the present application, the acquisition unit 510 is specifically used to: acquire electromagnetic induction data generated between the wearable device and the beauty protection device through the magnetic sensor set on the wearable device and the magnetic source set on the beauty protection device; or acquire electromagnetic induction data generated between the wearable device and the beauty protection device through the magnetic source set on the wearable device and the magnetic sensor set on the beauty protection device.
[0111] In some embodiments of the present application, the first determination unit 520 is specifically used to: construct a nonlinear optimization model based on the electromagnetic induction data and the magnetic dipole model generated between the wearable device and the beauty care device, and determine the spatial posture information of the beauty care device in the wearable device coordinate system based on the nonlinear optimization model; and / or, determine the spatial posture information of the beauty care device in the wearable device coordinate system based on the electromagnetic induction data and a preset spatial posture prediction model generated between the wearable device and the beauty care device.
[0112] In some embodiments of the present application, the preset solution model includes a nonlinear optimization model and a preset spatial posture prediction model, and the first determination unit 520 is specifically used to: determine the first spatial posture information of the beauty protection device in the wearable device coordinate system using the nonlinear optimization model based on the electromagnetic induction data generated between the wearable device and the beauty protection device; determine the second spatial posture information of the beauty protection device in the wearable device coordinate system using the preset spatial posture prediction model based on the electromagnetic induction data generated between the wearable device and the beauty protection device; and fuse the first spatial posture information and the second spatial posture information of the beauty protection device in the wearable device coordinate system to obtain the final spatial posture information of the beauty protection device in the wearable device coordinate system.
[0113] In some embodiments of the present application, the second determination unit 530 is specifically used to: track the spatial posture information of the beauty care device in the wearable device coordinate system based on the spatial posture information of the beauty care device in the wearable device coordinate system and the preset facial key points; determine the spatial posture information of the three-dimensional face model in the wearable device coordinate system based on the tracked spatial posture information of the beauty care device in the wearable device coordinate system; and fit the spatial posture information of the preset facial key points in the wearable device coordinate system using a preset three-dimensional face model fitting algorithm to obtain the spatial posture information of the three-dimensional face model in the wearable device coordinate system.
[0114] In some embodiments of the present application, the third determination unit 540 is specifically used to: determine the three-dimensional overlapping area corresponding to the beauty protection device and the three-dimensional facial model based on the spatial posture information of the beauty protection device in the wearable device coordinate system and the spatial posture information of the three-dimensional facial model in the wearable device coordinate system; determine the target facial area corresponding to the beauty protection device in the wearable device coordinate system based on the three-dimensional overlapping area corresponding to the beauty protection device and the three-dimensional facial model.
[0115] In some embodiments of the present application, the electromagnetic induction data generated between the wearable device and the beauty care device is electromagnetic induction data collected in real time, and the third determination unit 540 is specifically used to: update the spatial posture information of the beauty care device in the wearable device coordinate system according to the electromagnetic induction data collected in real time; obtain the spatial posture change information of the preset facial key points, and update the spatial posture information of the three-dimensional face model in the wearable device coordinate system according to the spatial posture change information of the preset facial key points; determine the target face area corresponding to the beauty care device in the wearable device coordinate system according to the updated spatial posture information of the beauty care device in the wearable device coordinate system and the updated spatial posture information of the three-dimensional face model in the wearable device coordinate system.
[0116] It can be understood that the above-mentioned electromagnetic-based face area positioning device can implement the various steps of the electromagnetic-based face area positioning method provided in the aforementioned embodiment. The relevant explanations about the electromagnetic-based face area positioning method are applicable to the electromagnetic-based face area positioning device and will not be repeated here.
[0117] An embodiment of the present application also provides a wearable device, which includes the electromagnetic-based face area positioning device as described above, and the electromagnetic-based face area positioning device is used to execute any of the aforementioned electromagnetic-based face area positioning methods.
[0118] In some embodiments of the present application, the wearable device further includes an electromyographic device for detecting change information of key points of a human face.
[0119] An embodiment of the present application further provides a beauty system, which includes a beauty care device and the wearable device as described above.
[0120] The wearable device of the aforementioned embodiment can be regarded as an auxiliary device for realizing automatic switching of the beauty and care device mode. To facilitate user use, the wearable device can adopt a structure similar to a "headband", integrating a magnetic source / magnetic sensor and the electromagnetic-based facial area positioning device of the aforementioned embodiments, and can also be provided with an electromyographic device. The magnetic source / magnetic sensor can be set at a location such as the forehead as needed to generate a magnetic field / induce magnetic field changes. The electromagnetic-based facial area positioning device mainly calculates the spatial posture of the beauty and care device and the three-dimensional appearance of the face, as well as the target facial area. It can be set on one side of the wearable device, and of course it can also be set on the other side of the beauty and care device. The myoelectric device can be set on areas such as the forehead and outer ear of the face, mainly for real-time detection of dynamic facial expression changes and obtaining information on changes in key facial points.
[0121] When using the beauty care device, users only need to wear the wearable device on their head or neck. The subsequent facial area positioning and beauty care mode switching are all automatic processes, which greatly reduces the user's usage burden and improves the user experience.
[0122] FIG6 is a schematic diagram of the structure of a wearable device according to an embodiment of the present application. Referring to FIG6 , at the hardware level, the wearable device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage device. Of course, the wearable device may also include hardware required for other services.
[0123] The processor, network interface, and memory can be interconnected via an internal bus, such as an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. These buses can be classified as address buses, data buses, and control buses. For ease of illustration, FIG6 shows only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.
[0124] The memory is used to store programs. Specifically, the program may include program code, which includes computer operating instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.
[0125] The processor reads the corresponding computer program from the non-volatile memory into the internal memory and then runs it, forming an electromagnetic-based face area positioning device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
[0126] Obtain electromagnetic induction data generated between wearable devices and beauty care devices;
[0127] Determine the spatial posture information of the beauty and protection device in the coordinate system of the wearable device using a preset solution model based on the electromagnetic induction data generated between the wearable device and the beauty and protection device;
[0128] Determine the spatial posture information of the three-dimensional face model in the wearable device coordinate system based on the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points;
[0129] According to the spatial posture information of the beauty and protection device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system, the target face area corresponding to the beauty and protection device in the wearable device coordinate system is determined.
[0130] The method performed by the electromagnetic-based face region positioning device disclosed in the embodiment shown in FIG1 of the present application 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 hardware integrated logic circuits in the processor or by software instructions. The above 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 various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.
[0131] The wearable device can also execute the method executed by the electromagnetic-based face area positioning device in Figure 1, and realize the functions of the electromagnetic-based face area positioning device in the embodiment shown in Figure 1. The embodiments of this application will not be repeated here.
[0132] The present application also provides a computer-readable storage medium that stores one or more programs. The one or more programs include instructions that, when executed by a wearable device including multiple application programs, enable the wearable device to execute the method performed by the electromagnetic-based face region positioning device in the embodiment shown in FIG. 1 , and are specifically configured to execute:
[0133] Obtain electromagnetic induction data generated between wearable devices and beauty care devices;
[0134] Determine the spatial posture information of the beauty and protection device in the coordinate system of the wearable device using a preset solution model based on the electromagnetic induction data generated between the wearable device and the beauty and protection device;
[0135] Determine the spatial posture information of the three-dimensional face model in the wearable device coordinate system based on the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points;
[0136] According to the spatial posture information of the beauty and protection device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system, the target face area corresponding to the beauty and protection device in the wearable device coordinate system is determined.
[0137] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0138] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0139] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0141] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0142] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0143] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules 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 technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0144] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0145] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0146] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for locating a human face region based on electromagnetics, wherein: The electromagnetic-based face region positioning method comprises: Obtain electromagnetic induction data generated between wearable devices and beauty care devices; According to the electromagnetic induction data generated between the wearable device and the beauty care device, the spatial posture information of the beauty care device in the coordinate system of the wearable device is determined by using a preset solution model; Determine the spatial posture information of the three-dimensional face model in the wearable device coordinate system according to the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points; According to the spatial posture information of the beauty and protection device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system, the target face area corresponding to the beauty and protection device in the wearable device coordinate system is determined.
2. The electromagnetic-based face region positioning method according to claim 1, wherein: The obtaining of electromagnetic induction data generated between the wearable device and the beauty care device includes: Acquiring electromagnetic induction data generated between the wearable device and the beauty care device through a magnetic sensor provided on the wearable device and a magnetic source provided on the beauty care device; or, The electromagnetic induction data generated between the wearable device and the beauty care device is obtained through the magnetic source arranged on the wearable device and the magnetic sensor arranged on the beauty care device.
3. The electromagnetic-based face region positioning method according to claim 1, wherein: The method of determining the spatial posture information of the beauty care device in the coordinate system of the wearable device by using a preset solution model according to the electromagnetic induction data generated between the wearable device and the beauty care device includes: Constructing a nonlinear optimization model based on the electromagnetic induction data and magnetic dipole model generated between the wearable device and the beauty care device, and determining the spatial posture information of the beauty care device in the coordinate system of the wearable device based on the nonlinear optimization model; and / or, According to the electromagnetic induction data generated between the wearable device and the beauty care device and a preset spatial posture prediction model, the spatial posture information of the beauty care device in the wearable device coordinate system is determined.
4. The electromagnetic-based face region positioning method according to claim 1, wherein: The preset solution model includes a nonlinear optimization model and a preset spatial posture prediction model. The method of determining the spatial posture information of the beauty care device in the coordinate system of the wearable device by using the preset solution model according to the electromagnetic induction data generated between the wearable device and the beauty care device includes: Determine the first spatial posture information of the beauty care device in the wearable device coordinate system by using the nonlinear optimization model according to the electromagnetic induction data generated between the wearable device and the beauty care device; According to the electromagnetic induction data generated between the wearable device and the beauty care device, the preset spatial posture prediction model is used to determine the second spatial posture information of the beauty care device in the coordinate system of the wearable device; The first spatial posture information and the second spatial posture information of the beauty care device in the wearable device coordinate system are fused to obtain the final spatial posture information of the beauty care device in the wearable device coordinate system.
5. The electromagnetic-based face region positioning method according to claim 1, wherein: Determining the spatial posture information of the three-dimensional face model in the wearable device coordinate system according to the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points includes: Tracking the spatial posture information of the beauty and protection device in the wearable device coordinate system based on the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points; Determine the spatial posture information of the three-dimensional face model in the coordinate system of the wearable device according to the spatial posture information of the tracked beauty and protection device in the coordinate system of the wearable device; According to the spatial posture information of the preset facial key points in the wearable device coordinate system, a preset facial three-dimensional model fitting algorithm is used to perform fitting to obtain the spatial posture information of the facial three-dimensional model in the wearable device coordinate system.
6. The electromagnetic-based face region positioning method according to claim 1, wherein: The step of determining the target face region corresponding to the beauty care device in the wearable device coordinate system according to the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system comprises: Determine a three-dimensional overlapping area corresponding to the beauty care device and the three-dimensional face model according to the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system; The target face area corresponding to the beauty protection device in the wearable device coordinate system is determined according to the three-dimensional overlapping area corresponding to the beauty protection device and the three-dimensional face model.
7. The electromagnetic-based face region positioning method according to claim 1, wherein: The electromagnetic induction data generated between the wearable device and the beauty care device is electromagnetic induction data collected in real time, and the determining of the target face area corresponding to the beauty care device in the wearable device coordinate system according to the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system includes: Updating the spatial posture information of the beauty care device in the wearable device coordinate system according to the electromagnetic induction data collected in real time; Acquire spatial posture change information of preset facial key points, and update spatial posture information of the three-dimensional face model in the coordinate system of the wearable device according to the spatial posture change information of the preset facial key points; According to the updated spatial posture information of the beauty and protection device in the wearable device coordinate system and the updated spatial posture information of the three-dimensional face model in the wearable device coordinate system, the target face area corresponding to the beauty and protection device in the wearable device coordinate system is determined.
8. The method for locating a face region based on vision according to any one of claims 1 to 7, wherein: The target face partition is one of a plurality of face partitions, and the plurality of face partitions include at least one of five partitions and seven partitions.
9. An electromagnetic-based facial region positioning device, wherein: The electromagnetic-based face area positioning device comprises: An acquisition unit, used for acquiring electromagnetic induction data generated between the wearable device and the beauty care device; A first determining unit, configured to determine the spatial posture information of the beauty care device in the coordinate system of the wearable device by using a preset solution model according to the electromagnetic induction data generated between the wearable device and the beauty care device; A second determining unit is used to determine the spatial posture information of the three-dimensional face model in the wearable device coordinate system according to the spatial posture information of the beauty and protection device in the wearable device coordinate system and the preset facial key points; The third determining unit is used to determine the target face area corresponding to the beauty care device in the wearable device coordinate system according to the spatial posture information of the beauty care device in the wearable device coordinate system and the spatial posture information of the three-dimensional face model in the wearable device coordinate system.
10. A wearable device comprising: processor; as well as A memory arranged to store computer executable instructions, which when executed cause the processor to perform the method of any one of claims 1 to 8.
11. A beauty system, wherein: The beauty system comprises a beauty care device and the wearable device as claimed in claim 10.
Citation Information
Patent Citations
Swimming attitude measuring method based on wearing-type sensor
CN108939512A
Cosmetic instrument control method, device and equipment and storage medium
CN113397480A
Cosmetic instrument control method and device and storage medium
CN114377293A
Hand and totem input fusion for wearable systems
CN115176306A
Beauty equipment control method, device and system
CN115205938A
