content_image/326659.jpg content_image/326658.jpg
<img src='content_image/326659.jpg'>

<img src='content_image/326658.jpg'>

using the smallest bounding rectangle containing the body mask) and continuously rotating the image until the maximum area symmetry is obtained on both sides of this vertical line (obtained when the difference in pixel count between left and right halves of the body mask separated by this vertical line is minimum). 

We support the real-time communication between the client and the server, the data will automati- cally store all the data streams in the database. Or, if you do not provide wireless network services, user data can be temporarily stored on the mobile device. On the network data stream may be different, the corresponding time sensitivity. Data, such as user profiles and exercise program, do not change very often, it does not affect the quality and quantity of stroke rehabilitation exercises. On the other hand, some of the data stream is a very sensitive time, including recovery record and intervention guidance, reminders and encouragement. These are very important to complete the design of the user stroke and exercise therapists have a better control of the patient’s self-practice, so these data are needed in real- time delivery. In this system, the data stream is usually text-based, has a very small size, such as a few KB, so it is easy to ensure the real-time conversion, even in a wireless environment. The user can interact with the system in two ways, namely the proposed rehabilitation program, or computer-related Web access. Access methods may have different functions, depending on the user privileges assigned category. For example, by the mobile application, users can stroke rehabilitation exercises, view their practice and history, and access to visual, auditory and tactile feedback in real time during the exercise. However, the therapist can only view user profiles and resume recording, if they choose Web access method used to make decisions and rehabilitation exercise program. 

## 3 System Evaluation 

Recommendation mobile application has been tested in a variety of network conditions, to evaluate its performance and stability. Specifically, the four wireless connection, a 50MB / s Wi-Fi, 4G LTE and a very low speed wireless has been used in the experiment. The first three cases, the application will automatically send user data to the server in real time, and in the last case, the data will be stored in the 

