Amplitude adjustment method and device based on image recognition, and massage device
By using image recognition technology to identify the user's muscle type and individual differences, the amplitude of the massage device is adjusted, solving the problem of inaccurate amplitude adjustment in existing technologies and achieving better massage effects and safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SICHUAN QIANLI BEOKA MEDICAL TECHNOLOGY INC
- Filing Date
- 2023-09-25
- Publication Date
- 2026-06-02
AI Technical Summary
The amplitude adjustment methods of existing massage devices are not very accurate, making it difficult to adjust to the optimal amplitude according to the user's muscle type and individual differences, resulting in a poor massage experience for the user.
Using image recognition technology, the device identifies the type and size of muscles in the current massage area by recognizing the user's panoramic image, adjusts the amplitude of the massage device to adapt to different muscle group characteristics, and implements protective measures when necessary to avoid injury.
It improves the accuracy and safety of amplitude adjustment, ensuring that the amplitude of the massage device is adapted to the type of muscle, thereby enhancing the user's massage experience and safety.
Smart Images

Figure CN117297943B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of massage equipment technology, specifically to an amplitude adjustment method and device based on image recognition, and a massage device. Background Technology
[0002] Massage equipment refers to electric appliances used to replace manual massage. Massage equipment generally uses a motor or other drive device to extend, retract, or vibrate the massage head through a transmission mechanism to achieve a massage effect. For example, a fascia gun, also known as a deep myofascial impactor, is a soft tissue massage tool that relaxes the body's soft tissues through high-frequency impacts. The fascia gun uses a piston to drive the massage head in a linear reciprocating motion. The massage head contacts the body, generating high-frequency vibrations that reach deep into the muscles, reducing local tissue tension, relieving pain, and promoting blood circulation. While existing fascia guns have adjustable massage head amplitude, users often lack the expertise to determine how to set the amplitude. When using existing variable amplitude fascia guns, users typically adjust the amplitude based on the instruction manual or by feel, making it difficult to achieve the optimal amplitude. This results in the variable amplitude fascia gun not performing at its best, and users not achieving the optimal massage experience.
[0003] Application publication number CN112545860A discloses a driving method for a driving component, as well as a massage device, electronic device, and storage medium. It discloses a method for determining the muscle fatigue level of the current massage area based on muscle state data, and adjusting driving component parameters, such as amplitude, according to the muscle fatigue level. However, the amplitude adjustment method of the aforementioned massage device only considers the influence of muscle fatigue level, making it difficult to adjust to the optimal amplitude and resulting in poor accuracy. Summary of the Invention
[0004] This application aims to address the problem of poor accuracy in existing amplitude adjustment methods for massage devices, and proposes an amplitude adjustment method and device based on image recognition, as well as a massage device.
[0005] The technical solution adopted by this application to solve the above-mentioned technical problems is:
[0006] In a first aspect, this application provides an amplitude adjustment method based on image recognition, applied to a massage device including a massage head, the method comprising:
[0007] Acquire panoramic images of the user using the massage equipment;
[0008] The type of muscle in the user's current massage area is determined based on the panoramic image, and a reference amplitude is determined based on the type of muscle.
[0009] The amplitude of the massage device is adjusted to the reference amplitude so that the massage device massages the current massage area at the reference amplitude.
[0010] Because different types of muscles located in different parts of the body have different muscle group characteristics, such as varying muscle thickness, research has shown that different amplitudes of massage are needed for muscles with different characteristics to achieve better massage effects. Based on this, the amplitude adjustment method provided in this application is based on image recognition technology. It identifies the type of muscle being massaged by recognizing a panoramic image of the user using the massage device and adjusts the massage device to a preset reference amplitude corresponding to that muscle type. This avoids amplitude compatibility issues caused by differences in muscle group characteristics in different parts of the body, thus improving the accuracy of amplitude adjustment.
[0011] Furthermore, based on the panoramic image, the type of muscle in the user's current massage area is determined, specifically including:
[0012] The human body recognition algorithm is used to obtain the user's human body parts in the panoramic image, and the human body image is abstracted into a skeleton model containing multiple joint points based on the obtained human body parts.
[0013] Determine the position information of the massage head relative to the joint point, and determine the type of muscle in the current massage area based on the position information of the massage head relative to the joint point.
[0014] This application uses a machine vision-based human body recognition algorithm to identify human body parts in panoramic images, constructs a skeletal model based on these parts, and then determines the muscle type of the current massage area based on the position information of the massage head relative to the joint points. This method can quickly and accurately identify the muscle group the user is currently massaging, improving the accuracy of muscle type determination and further enhancing the accuracy of amplitude adjustment.
[0015] Furthermore, the method also includes:
[0016] The size ratio between the current massage area and the massage head is determined based on the image pixels in the panoramic image, and the muscle group size of the current massage area is determined based on the size ratio.
[0017] The reference amplitude is corrected according to the size of the muscle group to obtain the target amplitude. The amplitude of the massage device is then adjusted to the target amplitude so that the massage device massages the current massage area with the target amplitude.
[0018] Due to individual user differences, the size of muscle groups in the same area may vary among different users. Based on this, this application determines the size of the muscle groups in the current massage area using panoramic images and corrects the reference amplitude according to the muscle group size; for example, increasing the amplitude if the muscle group is large and decreasing the amplitude if the muscle group is small. By identifying the muscle group size and correcting the reference amplitude, amplitude adaptation errors caused by individual differences are avoided, further improving the accuracy of amplitude adjustment.
[0019] Furthermore, the method also includes:
[0020] The massage protection area is divided according to the position information of each joint in the skeleton model. When the current massage area is in the massage protection area, the massage device is controlled to execute the massage protection program.
[0021] This application marks massage protection areas such as bones and meridians that need to be avoided from being hit in the skeleton model. If the massage head is detected hitting the massage protection area, protective measures such as reducing the frequency and amplitude or stopping the massage device are taken, thereby avoiding injury to the user during the use of the massage device and improving the safety of the massage device.
[0022] Furthermore, the method also includes:
[0023] The facial recognition algorithm is used to obtain the user's facial image in the panoramic image and identify the facial expression corresponding to the facial image.
[0024] The user's pain level is determined based on the facial expression. When the user's pain level is at a preset level, the massage device is controlled to execute a massage protection program.
[0025] Since facial expressions are a way for users to express emotions and feelings, different facial expressions will appear when a user experiences significant pain while using a massage device. Based on this, this application uses a facial recognition algorithm to determine the user's pain level. When a high level of pain is detected, protective measures such as reducing the frequency and amplitude of the massage device or stopping it are taken, thereby improving the user's comfort during use and preventing injury, thus enhancing the safety of the massage device.
[0026] Furthermore, the method also includes:
[0027] The system identifies the degree of contact between the massage head and the current massage area in the panoramic image, and determines the pressure level experienced by the user based on the degree of contact. When the pressure level experienced by the user is at a preset pressure level, the system controls the massage device to execute a massage protection program.
[0028] This application implements a massage protection program on the massage device when the user experiences high pressure during use. For example, if the massage head is encased in muscle or deformed, it indicates that the user is experiencing high pressure. In this case, the massage device will take protective measures such as reducing the frequency and amplitude or stopping the machine to prevent muscle damage caused by excessive pressure, thus avoiding injury to the user and further improving the safety of the massage device.
[0029] Secondly, this application provides an amplitude adjustment device based on image recognition, comprising:
[0030] The acquisition unit is used to acquire panoramic images of the user using the massage device;
[0031] The determining unit is used to determine the type of muscle in the user's current massage area based on the panoramic image, and to determine a reference amplitude based on the type of muscle.
[0032] An adjustment unit is used to adjust the amplitude of the massage device to the reference amplitude, so that the massage device massages the current massage area with the reference amplitude.
[0033] Because different types of muscles located in different parts of the body have different muscle group characteristics, such as varying muscle thickness, different amplitudes of vibration are required for massage to achieve better results. Therefore, the amplitude adjustment device provided in this application uses image recognition technology to identify the type of muscle being massaged by recognizing a panoramic image of the user using the massage device. It then adjusts the massage device to a reference amplitude corresponding to that muscle type. This avoids amplitude compatibility issues caused by differences in muscle group characteristics across different parts of the body, thus improving the accuracy of amplitude adjustment.
[0034] Thirdly, this application provides a massage device, including a main unit and a massage head. The main unit includes a control module and a continuously variable amplitude reciprocating drive mechanism, and also includes an image acquisition module.
[0035] The image acquisition module is used to acquire panoramic images of the user using the massage device;
[0036] The control module is used to determine the type of muscle in the user's current massage area based on the panoramic image, and to determine a reference amplitude based on the type of muscle.
[0037] The continuously variable reciprocating drive mechanism is used to adjust the amplitude of the massage device to the reference amplitude, so that the massage device massages the current massage area with the reference amplitude.
[0038] Because different types of muscles located in different parts of the human body have different muscle group characteristics, such as varying muscle thickness, different amplitudes of vibration are required for massage to achieve better results. Based on this, the massage device provided in this application acquires a panoramic image of the user using the massage device through an image acquisition module. The control module determines the muscle type based on the panoramic image and controls the continuously variable amplitude reciprocating drive mechanism to adjust the amplitude of the massage device according to the reference amplitude corresponding to the muscle type. Specifically, after determining the reference amplitude, the control module sends a corresponding control signal to the continuously variable amplitude reciprocating drive mechanism, causing the mechanism to adjust the amplitude to the reference amplitude, thereby achieving automatic amplitude adjustment. This avoids amplitude compatibility issues caused by differences in muscle group characteristics in different parts of the human body and improves the accuracy of amplitude adjustment.
[0039] Furthermore, the continuously variable reciprocating drive mechanism includes a crank-slider mechanism, an adjusting rod, and a position adjusting mechanism, which are sequentially hinged together by an eccentric wheel, an output rod, a connecting rod, and a piston.
[0040] The hinge point between the output rod and the connecting rod is a swing hinge point, and the adjusting rod has a swing end and an adjusting end;
[0041] The piston is connected to the massage head, and the position adjustment mechanism is electrically connected to the control module;
[0042] The swing end of the adjusting rod is hinged to the output rod, and the adjusting end of the adjusting rod is hinged to the position adjusting mechanism;
[0043] The position adjustment mechanism is used to drive the adjustment end of the adjustment rod to move relative to the control signal sent by the control module, so as to limit the swing range of the swing hinge point.
[0044] In the aforementioned continuously variable amplitude reciprocating drive mechanism, since the piston is rotatably connected to the connecting rod, and the connecting rod and adjusting rod are rotatably connected to the output rod respectively, the connecting rod and adjusting rod move with the swing of the output rod, thereby causing the piston to drive the massage head to move. This structural design effectively achieves stepless adjustment of the piston's reciprocating motion amplitude. Compared with existing stepless adjustment methods, it effectively reduces structural complexity and manufacturing costs, while also facilitating user adjustment. Through the position adjustment mechanism, the position of the adjusting end of the adjusting rod can be conveniently and reliably adjusted automatically, thereby driving the adjusting rod to adjust the swing range of the swing hinge point on the output rod, thus achieving automatic adjustment of the massage head amplitude. Specifically, once the control module determines the reference amplitude, it can input the corresponding control signal to the position adjustment mechanism, causing the position adjustment mechanism to automatically adjust the massage head amplitude to the reference amplitude.
[0045] The beneficial effects of this application are as follows: The image recognition-based amplitude adjustment method and device, and massage equipment described in this application, determine the current massage area and corresponding muscle type based on a machine vision-based human body recognition algorithm, and determine the reference amplitude of the massage equipment according to the muscle type. This ensures that the reference amplitude of the massage equipment is adapted to the muscle type, avoiding amplitude adaptation problems caused by differences in muscle group characteristics in different parts of the human body, and improving the accuracy of amplitude adjustment. By identifying muscle group size and correcting the reference amplitude, amplitude adaptation errors caused by individual differences are avoided, further improving the accuracy of amplitude adjustment. By dividing the massage protection area and controlling the massage equipment to implement protective measures based on the user's facial expressions and the user's pressure tolerance, harm to the user can be avoided, improving the safety and comfort of the user when using the massage equipment. Attached Figure Description
[0046] Figure 1 This is a schematic diagram of the structure of a massage device provided in an embodiment of this application;
[0047] Figure 2 A three-dimensional structural schematic diagram of a continuously variable amplitude reciprocating drive mechanism provided for an embodiment of this application;
[0048] Figure 3 A schematic diagram of the planar structure of a continuously variable amplitude reciprocating drive mechanism provided in an embodiment of this application;
[0049] Figure 4 A three-dimensional structural schematic diagram of a continuously variable reciprocating drive mechanism provided in an embodiment of this application;
[0050] Figure 5 A schematic flowchart illustrating an amplitude adjustment method based on image recognition provided in an embodiment of this application;
[0051] Figure 6 A flowchart illustrating a method for determining muscle type provided in an embodiment of this application;
[0052] Figure 7 A schematic diagram of the structure of a skeleton model provided in an embodiment of this application;
[0053] Figure 8 This application provides a schematic diagram of the structure of a three-dimensional image of a skeleton model.
[0054] Figure 9 A schematic flowchart of another image recognition-based amplitude adjustment method provided in this application embodiment;
[0055] Figure 10 A schematic diagram of an amplitude adjustment device based on image recognition provided in this application embodiment;
[0056] Explanation of reference numerals in the attached figures:
[0057] 7-Connecting rod; 9-Output rod; 10-Piston; 11-Adjusting rod; 12-Adjusting end of adjusting rod; 151-Leading screw; 152-Leading screw nut; 153-Drive motor; 16-Eccentric wheel. Detailed Implementation
[0058] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0059] In some of the processes described in the specification and accompanying drawings of this application, multiple operations appear in a specific order. However, it should be clearly understood that these operations may not be executed in the order they appear herein, or they may be executed in parallel. The operation numbers, such as 101, 102, etc., are merely used to distinguish different operations and do not represent any execution order. Furthermore, these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel.
[0060] The technical solutions of this application are applicable to application scenarios that require amplitude adjustment of variable amplitude massage devices, such as amplitude adjustment of variable amplitude fascia guns.
[0061] Since the amplitude adjustment of current massage devices is based on the user's sense of touch or the degree of muscle fatigue, the inventor, based on experimental research on existing amplitude adjustment methods and user feedback, found that the existing amplitude adjustment methods cannot be adjusted to the optimal amplitude, resulting in the variable amplitude fascia gun failing to achieve its best effect and users not being able to achieve the best massage experience.
[0062] To optimize the amplitude of the variable amplitude massage device, the inventors conducted a series of studies and discovered that a larger or smaller amplitude is not necessarily better. Furthermore, different muscle groups require different amplitudes, and using the appropriate amplitude for different muscles can improve massage effectiveness and efficiency. For example, when the gastrocnemius muscle is fatigued, a 10mm amplitude fascia gun is more effective at relieving muscle fatigue than 7mm or 16mm amplitude guns. The massage efficiency of a 10mm amplitude fascia gun is 25% higher than that of a 7mm amplitude fascia gun, while a 16mm amplitude fascia gun is not suitable for the gastrocnemius muscle and may even pose a risk of injury.
[0063] Based on this, the technical solution of this application is proposed. In the embodiments of this application, image recognition technology is used to determine the type of muscle in the current massage area by recognizing a panoramic image of the user using the massage device. A reference amplitude is determined based on the muscle type, and the amplitude of the massage device is adjusted to the reference amplitude so that the massage device massages the current massage area with the reference amplitude. That is, during the massage, the massage device automatically identifies the type of muscle in the current massage area and automatically adjusts the amplitude according to the type of muscle. By using different reference amplitudes to massage different types of muscles, the reference amplitude is adapted to the human body part, thereby improving the accuracy of amplitude adjustment.
[0064] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0065] Figure 1 This is a schematic diagram of the structure of a massage device provided in an embodiment of this application. The massage device may include a main unit, a massage head, and an image detection module, wherein the main unit includes a control module and a continuously variable amplitude reciprocating drive mechanism.
[0066] In this embodiment, the image detection module is electrically connected to the control module and is used to acquire panoramic images of the user using the massage device and send them to the control module. The image acquisition module can be a separate camera, which acquires panoramic images of the user using the massage device and sends them to the control module. Alternatively, the image acquisition module can be a terminal device with a camera, such as a smartphone, tablet, or smartwatch, which acquires panoramic images of the user using the massage device and sends them to the control module.
[0067] In this embodiment of the application, the control module is an MCU, i.e., a microprocessor controller, but it is not limited to this. The control module can also be a central processing unit or other processors with processing and computing functions. The control module is used to determine the type of muscle in the user's current massage area based on the received panoramic image, and to determine the corresponding reference amplitude based on the type of muscle.
[0068] In this embodiment, the continuously variable amplitude reciprocating drive mechanism is used to automatically and continuously adjust the amplitude of the massage device under the control of the control module. Please refer to [link to relevant documentation]. Figure 2 and Figure 3The continuously variable reciprocating drive mechanism includes a crank-slider mechanism consisting of an eccentric wheel 16, an output rod 9, a connecting rod 7, and a piston 10, all hinged together in sequence; an adjusting rod 11; and a position adjustment mechanism. The hinge point between the output rod 9 and the connecting rod 7 is the swing amplitude hinge point. The adjusting rod 11 has a swing end and an adjusting end 12. The piston 10 is connected to the massage head, and the position adjustment mechanism is electrically connected to the control module. The swing end of the adjusting rod 11 is hinged to the output rod 9, and the adjusting end of the adjusting rod 11 is hinged to the position adjustment mechanism. The position adjustment mechanism is used to drive the adjusting end 12 of the adjusting rod 11 to move relative to the control signal sent by the control module, thereby limiting the swing range of the swing amplitude hinge point.
[0069] In the aforementioned continuously variable reciprocating drive mechanism, when the input end of the eccentric wheel 16 rotates, the output rod 9 oscillates back and forth with the rotation of the eccentric wheel 16, and the connecting rod 7 and the adjusting rod 11 move with the oscillation of the output rod 9. When the position adjustment mechanism adjusts the adjusting end 12 of the adjusting rod 11 to different positions, the oscillation amplitude and oscillation range of the hinge point between the connecting rod 7 and the output rod 9 will change accordingly, and this change will be transmitted to the piston 10 through the connecting rod 7, causing the piston amplitude to change, which in turn drives the massage head amplitude to change.
[0070] Please see Figure 4 In this embodiment, the position adjustment mechanism includes a drive motor 153, a lead screw 151, and a lead screw nut 152. The lead screw nut 152 is rotatably mounted on the adjusting end 12 of the adjusting rod 11. The lead screw 151 is connected to the rotation input end of the drive motor 153. The drive motor 153 is electrically connected to a control module. The drive motor 153 is used to rotate forward or reverse according to the control signal sent by the control module, thereby driving the lead screw 151 to rotate and thus driving the lead screw nut 152 to slide along the axial direction of the lead screw 151. That is, the drive motor 153 rotates forward or reverse to drive the lead screw 151 to rotate, thereby driving the lead screw nut 152 to slide along the extension direction of the lead screw 151, and thus changing the position of the adjusting end 12 of the adjusting rod 11.
[0071] Based on the structure of the massage device described above, the amplitude of the massage device can be automatically and steplessly adjusted through the control module. The specific implementation process is as follows: when it is necessary to adjust the amplitude of the massage device, the control module sends a corresponding control signal to the drive motor 153. The control signal includes the motor rotation direction and the number of rotations or steps corresponding to the amplitude. After receiving the control signal, the drive motor 153 rotates according to the corresponding rotation direction and the number of rotations or steps. After the drive motor 153 rotates, it drives the lead screw 151 to rotate, which in turn drives the lead screw nut 152 to slide along the extension direction of the lead screw 151, thereby changing the position of the adjusting end 12 of the adjusting rod 11. When the position of the adjusting end of the adjusting rod 11 changes, the swing amplitude and swing range of the hinge point between the connecting rod 7 and the output rod 9 will change accordingly, and this change is transmitted to the piston 10 through the connecting rod 7, causing the piston amplitude to change, thereby adjusting the amplitude of the massage head to the corresponding amplitude.
[0072] It should be noted that the specific structure of the massage device described above is merely an example of a massage device capable of automatic stepless amplitude adjustment. The massage device can also have other structures, as long as it can automatically perform stepless amplitude adjustment. The stepless amplitude reciprocating drive mechanism for achieving stepless amplitude adjustment provided in this application embodiment belongs to the prior art; for its specific structure, please refer to application publication number CN116155027A.
[0073] Based on the aforementioned massage device, this application provides an amplitude adjustment method based on image recognition. Please refer to [link to relevant documentation]. Figure 5 This includes the following steps:
[0074] Step 101: Obtain a panoramic image of the user using the massage device: In this embodiment of the application, when the user uses the massage device for massage, a panoramic image of the user using the massage device can be obtained in real time through a camera or a terminal device with a camera. The panoramic image refers to an image that includes all human body parts and the massage device. In practical applications, the user can position the camera facing themselves and at a distance from the human body so that the image captured by the camera can cover the entire panorama of the user's body. When using a terminal device to capture a panoramic image, it is necessary to establish a communication connection between the terminal device and the control module of the massage device.
[0075] Step 102: Determine the muscle type of the user's current massage area based on the panoramic image, and determine the reference amplitude based on the muscle type: Please refer to... Figure 6 In this embodiment of the application, the method for determining the type of muscle in the user's current massage area may include:
[0076] Step 1021: Using a human body recognition algorithm, obtain the user's body parts in the panoramic image, and abstract the human body image into a skeleton model containing multiple joint points based on the obtained body parts. In this embodiment, the control module can first preprocess the received panoramic image, including image cropping, resizing, color space conversion, etc., for subsequent feature extraction and use; then, use a target detection algorithm, such as a CNN convolutional neural network, to perform target detection on the panoramic image, thereby identifying the user's body parts in the panoramic image, such as head, shoulders, arms, waist, legs, etc.; then, use feature extraction algorithms, such as SIFT (Scale Invariant Feature Transform), SURF (Speed-Up Robust Feature Transform), ORB (Oriented Fast and Rotated BRIEF), etc., to extract feature vectors from the detected body part targets. The feature vectors are used to represent the shape, size, and position information of each body part; then, based on the feature vectors, construct a skeleton model based on machine learning algorithms, such as K-nearest neighbors, support vector machine (SVM), decision tree, etc.; please refer to Figure 7 The skeletal model in this application embodiment can represent the skeletal structure of the human body, including the relative positions and connections of parts such as the skull, spine, sternum, pelvis, upper limb bones, and lower limb bones; please refer to... Figure 8 In addition, the embodiments of this application can also use graphics technology, such as OpenGL, 3D Max, etc., to render the skeleton model into a three-dimensional image and visualize the constructed skeleton model for easy observation and analysis.
[0077] Step 1022: Determine the position information of the massage head relative to the joint point, and determine the muscle type of the current massage area based on the position information of the massage head relative to the joint point: In this embodiment, the massage head can be feature-recognized to determine the position information of the current massage head relative to the joint point, thereby identifying the muscle type of the current massage area; for example, if the current massage head is located from the left shoulder to the left elbow, then the muscle type of the current massage area is the biceps brachii; the above method can quickly and accurately identify the muscle group that the user is currently massaging, improve the accuracy of muscle type determination, and further improve the accuracy of amplitude adjustment;
[0078] Step 103: Adjust the amplitude of the massage device to the reference amplitude so that the massage device massages the current massage area with the reference amplitude: After determining the reference amplitude, the control module of the massage device can generate a control signal corresponding to the reference amplitude and send it to the continuously variable amplitude reciprocating drive mechanism. The continuously variable amplitude reciprocating drive mechanism adjusts the amplitude of the massage device to the reference amplitude so that the massage device massages the current massage area with the reference amplitude.
[0079] The embodiments of this application use a human body recognition algorithm based on machine vision to determine the current massage area and the corresponding muscle type, and determine the reference amplitude of the massage device according to the muscle type, so that the reference amplitude of the massage device is adapted to the muscle type, avoiding the amplitude adaptation problem caused by the difference in muscle group characteristics in different parts of the human body, and improving the accuracy of amplitude adjustment.
[0080] Due to individual user differences, the size of muscle groups in the same area may vary among different users. To avoid amplitude adaptation errors caused by individual differences, please refer to [link / reference needed]. Figure 9 The embodiments of this application may further include the following steps:
[0081] Step 104: Determine the size ratio between the current massage area and the massage head based on the image pixels in the panoramic image, and determine the muscle group size of the current massage area based on the size ratio.
[0082] In practical applications, the size ratio between the current massage area and the massage head can be calculated by recognizing the image pixel size of the massage head and the image pixel size of the current massage area, thereby determining the size of the muscle group in the current massage area. Specifically, the larger the size ratio between the current massage area and the massage head, the larger the muscle group in the current massage area; the smaller the size ratio between the current massage area and the massage head, the smaller the muscle group in the current massage area.
[0083] Step 105: Correct the reference amplitude according to the muscle group size to obtain the target amplitude, and adjust the amplitude of the massage device to the target amplitude so that the massage device massages the current massage area with the target amplitude. After determining the muscle group size of the current massage area, the reference amplitude is corrected according to the muscle group size. For example, if the muscle group is large, the amplitude is increased based on the reference amplitude to obtain the target amplitude; if the muscle group is small, the amplitude is decreased based on the reference amplitude to obtain the target amplitude. After determining the target amplitude, the control module of the massage device can generate a control signal corresponding to the target amplitude and send it to the continuously variable amplitude reciprocating drive mechanism. The continuously variable amplitude reciprocating drive mechanism adjusts the amplitude of the massage device to the target amplitude so that the massage device massages the current massage area with the target amplitude. By identifying the muscle group size and correcting the reference amplitude, amplitude adaptation errors caused by individual differences are avoided, further improving the accuracy of amplitude adjustment.
[0084] To prevent the massage device from causing harm to the user, this embodiment may further include the following steps:
[0085] Massage protection zones are defined based on the positional information of each joint point in the skeletal model. When the current massage area is within a massage protection zone, the massage device executes a massage protection program. In practical applications, areas that need to be avoided from being struck, such as bones and meridians, can be designated as massage protection zones. If the massage head is detected striking a massage protection zone during user use, the massage device executes a massage protection program, such as reducing the massage frequency, amplitude, or stopping the massage. This prevents injury to bones and joints during user use and improves the safety of the massage device.
[0086] To further prevent massage devices from causing harm to users, this embodiment may also include the following steps:
[0087] The system uses a facial recognition algorithm to obtain the user's facial image in the panoramic image and recognizes the facial expression corresponding to the facial image. Based on the facial expression, the system determines the user's pain level. When the user's pain level is at a preset pain level, the system controls the massage device to execute a massage protection program.
[0088] In this embodiment, the panoramic image can be a panoramic image that includes a human face, meaning the camera needs to be positioned directly facing the user's face to capture the image. Since facial expressions are how users express emotions and feelings, information about pain can be obtained through facial expressions, especially the muscle movements of the eyes, eyebrows, mouth, and cheeks.
[0089] For example, the following are some common facial expression features associated with pain:
[0090] 1. Frowning or raising eyebrows: This usually indicates that you are experiencing pain;
[0091] 2. Closed eyes or tearing eyes: This may indicate that the pain is very intense, or that you are feeling sad or depressed because of the pain;
[0092] 3. Opening your mouth: This may indicate that you are experiencing intense pain, or that you are surprised or frightened by the pain;
[0093] 4. Tightness or twitching of the cheek muscles: This may indicate that you are experiencing a persistent pain.
[0094] By collecting facial expression features such as brow twitching, eye twitching, mouth twitching, or cheek twitching, the user's feedback information at the current amplitude can be obtained. This application embodiment determines the user's pain level when using the massage device based on facial expressions. When a high pain level is detected, the massage device is controlled to execute a massage protection program, such as reducing the massage frequency, amplitude, or stopping the massage, thereby improving the user's comfort during use and preventing injury, thus enhancing the safety of the massage device.
[0095] To further prevent massage devices from causing harm to users, this embodiment may also include the following steps:
[0096] The system identifies the degree of connection between the massage head and the current massage area in the panoramic image, determines the pressure level experienced by the user based on the degree of connection, and controls the massage device to execute a massage protection program when the user's pressure level is at a preset pressure level.
[0097] During the use of the massage device, the massage pressure exerted by the user can be determined by the degree of contact between the massage head and the muscles of the massaged area. For example, if the massage head is completely enveloped by muscles, it indicates that the user may be applying excessive pressure; similarly, if the shape of some silicone massage heads changes, such as compressing a circle into an ellipse, it may also indicate excessive pressure. This embodiment of the application determines the level of pressure exerted by the user. When the user experiences excessive pressure, the massage device executes a massage protection program, such as reducing the massage frequency, amplitude, or stopping the device altogether, to prevent muscle damage caused by excessive pressure and thus improve the safety of the massage device.
[0098] In summary, the image recognition-based amplitude adjustment method and apparatus, and massage device provided in this application, utilize a machine vision-based human body recognition algorithm to determine the current massage area and corresponding muscle type. Based on the muscle type, a reference amplitude for the massage device is determined, ensuring that the reference amplitude matches the muscle type. This avoids amplitude compatibility issues caused by differences in muscle group characteristics across different parts of the body, thus improving the accuracy of amplitude adjustment. By identifying muscle group size and correcting the reference amplitude, amplitude adaptation errors caused by individual differences are avoided, further enhancing the accuracy of amplitude adjustment. By dividing the massage protection area and controlling the massage device to implement protective measures based on the user's facial expressions and pressure tolerance, harm to the user can be avoided, improving the safety and comfort of using the massage device.
[0099] Corresponding to Figure 5 The image recognition-based amplitude adjustment method described above is further illustrated in this application embodiment, which also provides an image recognition-based amplitude adjustment device. Please refer to [link to relevant documentation]. Figure 10 ,include:
[0100] The acquisition unit is used to acquire panoramic images of the user using the massage device;
[0101] The determining unit is used to determine the type of muscle in the user's current massage area based on the panoramic image, and to determine a reference amplitude based on the type of muscle.
[0102] An adjustment unit is used to adjust the amplitude of the massage device to the reference amplitude, so that the massage device massages the current massage area with the reference amplitude.
[0103] It is understood that since the image recognition-based amplitude adjustment device described in this application embodiment is a device for implementing the image recognition-based amplitude adjustment method described in the embodiment, the device disclosed in the embodiment is described in a simpler way because it corresponds to the method disclosed in the embodiment. For relevant parts, please refer to the description of the method.
Claims
1. An amplitude adjustment method based on image recognition, applied to a massage device including a massage head, characterized in that, The method includes: Acquire panoramic images of the user using the massage equipment; The type of muscle in the user's current massage area is determined based on the panoramic image, and a reference amplitude is determined based on the type of muscle. The amplitude of the massage device is adjusted to the reference amplitude so that the massage device massages the current massage area at the reference amplitude; The type of muscle being massaged in the user's current area is determined based on the panoramic image, specifically including: The human body recognition algorithm is used to obtain the user's human body parts in the panoramic image, and the human body image is abstracted into a skeleton model containing multiple joint points based on the obtained human body parts. Determine the position information of the massage head relative to the joint point, and determine the type of muscle in the current massage area based on the position information of the massage head relative to the joint point; The method further includes: The size ratio between the current massage area and the massage head is determined based on the image pixels in the panoramic image, and the muscle group size of the current massage area is determined based on the size ratio. The reference amplitude is corrected according to the size of the muscle group to obtain the target amplitude. The amplitude of the massage device is then adjusted to the target amplitude so that the massage device massages the current massage area with the target amplitude.
2. The amplitude adjustment method based on image recognition according to claim 1, characterized in that, The method further includes: The massage protection area is divided according to the position information of each joint in the skeleton model. When the current massage area is in the massage protection area, the massage device is controlled to execute the massage protection program.
3. The amplitude adjustment method based on image recognition according to claim 1, characterized in that, The method further includes: The facial recognition algorithm is used to obtain the user's facial image in the panoramic image and identify the facial expression corresponding to the facial image. The user's pain level is determined based on the facial expression. When the user's pain level is at a preset level, the massage device is controlled to execute a massage protection program.
4. The amplitude adjustment method based on image recognition according to claim 1, characterized in that, The method further includes: The system identifies the degree of connection between the massage head and the current massage area in the panoramic image, determines the pressure level experienced by the user based on the degree of connection, and controls the massage device to execute a massage protection program when the pressure level experienced by the user is at a preset pressure level.
5. The amplitude adjustment method based on image recognition according to any one of claims 2 to 4, characterized in that, The massage protection program includes one or more of the following: reducing frequency, reducing amplitude, and stopping the massage.
6. An amplitude adjustment device based on image recognition, characterized in that, The device includes: The acquisition unit is used to acquire panoramic images of the user using the massage device; The determining unit is used to determine the type of muscle in the user's current massage area based on the panoramic image, and to determine a reference amplitude based on the type of muscle. The type of muscle being massaged in the user's current area is determined based on the panoramic image, specifically including: The human body recognition algorithm is used to obtain the user's human body parts in the panoramic image, and the human body image is abstracted into a skeleton model containing multiple joint points based on the obtained human body parts. Determine the position information of the massage head relative to the joint point, and determine the type of muscle in the current massage area based on the position information of the massage head relative to the joint point; The determining unit is further configured to determine the size ratio between the current massage area and the massage head based on the image pixels in the panoramic image, determine the muscle group size of the current massage area based on the size ratio, and correct the reference amplitude based on the muscle group size to obtain the target amplitude; An adjustment unit is used to adjust the amplitude of the massage device to the reference amplitude, so that the massage device massages the current massage area with the reference amplitude. The adjustment unit is also used to adjust the amplitude of the massage device to the target amplitude, so that the massage device massages the current massage area with the target amplitude.
7. A massage device, comprising a main unit and a massage head, wherein the main unit includes a control module and a continuously variable amplitude reciprocating drive mechanism, characterized in that, Also includes: Image acquisition module; The image acquisition module is used to acquire panoramic images of the user using the massage device; The control module is used to determine the type of muscle in the user's current massage area based on the panoramic image, and to determine a reference amplitude based on the type of muscle. The type of muscle being massaged in the user's current area is determined based on the panoramic image, specifically including: The human body recognition algorithm is used to obtain the user's human body parts in the panoramic image, and the human body image is abstracted into a skeleton model containing multiple joint points based on the obtained human body parts. Determine the position information of the massage head relative to the joint point, and determine the type of muscle in the current massage area based on the position information of the massage head relative to the joint point; The control module is also used to determine the size ratio between the current massage area and the massage head based on the image pixels in the panoramic image, determine the muscle group size of the current massage area based on the size ratio, and correct the reference amplitude based on the muscle group size to obtain the target amplitude. The continuously variable reciprocating drive mechanism is used to adjust the amplitude of the massage device to the reference amplitude, so that the massage device massages the current massage area with the reference amplitude; The continuously variable reciprocating drive mechanism is also used to adjust the amplitude of the massage device to the target amplitude, so that the massage device massages the current massage area with the target amplitude.
8. The massage device according to claim 7, characterized in that, The continuously variable reciprocating drive mechanism includes a crank-slider mechanism, an adjusting rod, and a position adjusting mechanism, which are sequentially hinged together by an eccentric wheel, an output rod, a connecting rod, and a piston. The hinge point between the output rod and the connecting rod is a swing hinge point, and the adjusting rod has a swing end and an adjusting end; The piston is connected to the massage head, and the position adjustment mechanism is electrically connected to the control module; The swing end of the adjusting rod is hinged to the output rod, and the adjusting end of the adjusting rod is hinged to the position adjusting mechanism; The position adjustment mechanism is used to drive the adjustment end of the adjustment rod to move relative to the control signal sent by the control module, so as to limit the swing range of the swing hinge point.