| 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: |