Skip to main content
. 2016 Oct 18;16(10):1724. doi: 10.3390/s16101724
Algorithm 2 TakeActions algorithm for static postures detection
Require:
 SetOfPostures [ ] = GeneratePosturesToBeTrained();
for i = 0 to sizeOf(SetOfPostures) do
  count = 0;
  while (PostureDetected() ≠ SetOfPostures[i]) and (count < MaxTrain) do
   AskUserToTryAgain(SetOfPostures[i]);
   count++;
  end while

end for
Ensure: