Algorithm 1. CAES in real time settings |
Begin
-
Step 1.
user login to the system
-
Step 2.
establishing a device connection using EDK
-
Step 3.
Repeat
-
Step 4.
acquiring brain signals
-
Step 5.
user has to select either ExpressiveMode or TrainingMode
-
Step 6.
if ExpressiveMode equals to true
-
Step 7.
extract raw signals
-
Step 8.
applying frequency filters
-
Step 9.
extract Hjorth features from all signals
-
Step 10.
calling classification module for emotion detection
-
Step 11.
rendering the emotions avatar
-
Step 12.
displaying instructions of treatment according to subject condition
-
Step 13.
end
-
Step 14.
if TrainingMode equals to true
-
Step 15.
start emotion based simulation
-
Step 16.
recording of brain signals
-
Step 17.
if Simulation equals to end
-
Step 18.
building a classification model using WEKA library
-
Step 19.
store classification model into database
-
Step 20.
endif
-
Step 21.
endif
-
Step 22.
until stop
|
End |