<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{Introduction}
\label{sec:introduction}



Walking exercises the nervous, cardiovascular, pulmonary, musculoskeletal and hematologic systems because it requires more oxygen to contract the muscles.  Hence, {\it gait velocity}, or called {\it walking speed}~\cite{Middleton2015}, has become a valid and important metric for senior populations~\cite{Middleton2015,studenski2011,Studenski03}. 

In 2011, Studenski et al~\cite{studenski2011} published a study that tracked gait velocity of over 34,000 seniors from 6 to 21 years in US. The study found that predicted survival rate based on age, sex, and gait velocity was as accurate as predicted based on age, sex, chronic conditions, smoking history, blood pressure, body mass index, and hospitalization. Consequently, it has motivated the industrial and academia communities to develop the methodology to track and assess the risk based on gait velocity. The following years have led to many papers that point to the importance of gait velocity as a predictor of degradation and exacerbation events associated with various chronic diseases including heart failure, COPD, kidney failure, stroke, etc~\cite{Studenski03, pulignano2016, Konthoraxjnl2015, kutner2015}.

In the US, there are 13 million seniors who live alone at home~\cite{profile2015}. Gait velocity and stride length are particularly important in this case since they provide an assessment of fall risk, the ability to perform daily activities such as bathing and eating, and hence the potential for being independent. Assessment of gait velocity is recommended to instruct the subjects to walk back and forth in a 5, 8 or 10 meter walkway. Similar results were found in a study comparing a 3 meter walk test to the GAITRite electronic walkway in individuals with chronic stroke~\cite{Peters2013}.

The above approaches are conducted either at the clinical institutes or designated locations. They are recommended by the physicians but are required to be conducted at limited time and location. Consequently, it is difficult to observe the change in long term. It is desirable for the elderly, their family members, and physicians to monitor gait velocity for the elderly all the time at any location. However, the assessment should take into account several factors, including accuracy, privacy, portability, robustness, and applicability. 

Shih and his colleagues~\cite{Shih17b} proposed a sensing system to be installed at home or nursing institute without revealing privacy and not using wearable devices. Given the proposed method, one may deploy several thermal sensors in his/her apartments as shown in Figure~\ref{fig:gaitVelocitySmartHome}. In this example, numbers of thermal sensors are deployed to increase the coverage of the sensing signals. In large spaces such as living room, there will be more than one sensor in one space; in small spaces such as corridor, there can be only one sensor. One fundamental question to ask is how many sensors should be deployed and how these sensors work together seamlessly to provide accurate gait velocity measurement. 
\begin{figure}[ht]
	\centering
 	\includegraphics[trim={1cm 3cm 2cm 2cm},clip,width=1\columnwidth]{figures/ThermalAtHome.pdf}
	\caption{Gait Velocity Measurement at Smart Homes}
	\label{fig:gaitVelocitySmartHome}
\end{figure} 

In a IoT environment, many devices will periodically transmit data. Some sensors are used for avoid accidents, so they will have very high sensing frequency. However, most of the data are redundant. Like a temperature sensor on a gas stove, the temperature value is the same as the value from air conditioner and does not change very frequently, but it will have dramatically difference when we are cooking. We can simply make a threshold that when temperature is higher or lower than some degrees, the data will be transmitted, and drop the data that we don't interest. This is a very easy solution if we only have a few devices, but when we have hundreds or thousands devices, it is impossible to manually configure all devices, and the setting may need to change in the winter and summer, or different location.

In this paper, we study the data from Panasonic Grid-EYE, a $8 \times 8$ pixels infrared array sensor, and FLIR ONE PRO, a $480 \times 640$ pixels thermal camera. Both are setting on ceiling and taking a video of a person walking under the camera.

In Figure~\ref{fig:gaitVelocitySmartHome}, there are fifteen thermal sensor in a house. If they are Panasonic Grid-EYE, it will have 2 bytes per pixel, 64 pixels per frame, 10 frames per second, and total need 1.7GB storage space per day. If they are FLIR ONE PRO, it generates 5 frames per second but needs about 45KB per frame, and it will need 291.6GB everyday.

{\bf Contribution} The target of our work is to compress the thermal data retrieved from FLIR ONE PRO to targeted data size and keep the quality of data. Nearby pixels in a thermal data mostly have similar value, so we can easily separate an data region into several regions and use its average value to represent it but will not cause too much error. By the method we proposed, the size of file can reduce more than $50\%$ compare to using JPEG compression algorithm when both have  $0.5\% (0.18^\circ C)$ of root-mean-square error.

The remaining of this paper is organized as follow. Section~\ref{sec:bk_related} presents related works and background for developing the methods. Section~\ref{sec:design} presents the system architecture, challenges, and the developed mechanisms.  Section~\ref{sec:eval} presents the evaluation results of proposed mechanism and Section~\ref{sec:conclusion} summaries our works.

 </pre></body></html>