Research Article

A Massage Area Positioning Algorithm for Intelligent Massage System

Algorithm 1

Online learning massage positioning (OLMP).
Input: The user’s voice: voice; the key points of fingers; the key points of body; the collections of two types of probability for the respective part of the body.
Output: The collection of massage points.
    (1)Computer using the formula (1);
       and ; and the key points of body;
       and ./ calculate the intersection of the surface and ./
    (2)  = height();  = max(Length(), ).
    (3) /determine the massage candidate area ./
    (4) KWLib(voice);/match the user’s voice to the speech intent library to find the number of the target body part /
      ./ determine the number of the body part where the candidate area is located. /
    (5)IF and
      
      IF
      .
      / determine the number of the target part. /
    (6)The sets of initial probabilities for the respective part within :
     ; .
    (7)Compute using formula (2).
    (8)Center point roulette selection ./ finding the section through the roulette selection method. Determining the center point of target massage area by . /
    (9)Compute using the formula (3).
    (10), ./ determine the set of massage points and the target area for massage . /
    (11)Update using the formula (6).
    (12)Update using the formula (7).
Output
END