A dynamic attention assessment and enhancement tool using computer graphics
© Navalyal and Gavas; licensee Springer 2014
Received: 12 November 2013
Accepted: 20 May 2014
Published: 26 July 2014
Training Programs to enhance Math Solving Skills, Memory, Visualization, etc in children are gaining popularity worldwide. Any skill is better acquired, when attention, the basic cognitive ability of the trainee is improved. This study makes an attempt to devise a technique in the form of a Brain Computer Interface (BCI) Game, to assist the trainers in monitoring and evaluating the attention levels of the trainees, at regular intervals during the training period.
The gaming environment is designed using Open Source Graphics Library (OpenGL) package and the game control is through the player’s brain waves using the BCI technology. The players control the movement of an object from a source to a destination location on the screen by focussing their thought processes. The time taken to complete one game can be recorded. More the time taken, lesser would be the attention sustaining capacity of the player.
Thirteen subjects under different levels of the ABACUS Math Solving training program controlled the ball movement while solving math problems mentally, the time taken reduced for most of the subjects as they reached higher levels of their training course, indicating the benefit of such training programmes. The game was also played by eight non-abacus literates. The evaluation procedure was found to be very easy and fast.
Concentration or sustained attention is the basic cognitive ability of a person to perform any task or develop a skill. The timely monitoring of this ability is important when his/her performance enhancement is concerned. Though the existing methodologies to assess ones cognitive abilities in the form of mathematical, linguistic-aptitude questionnaires, face to face interaction are well established, practicing these techniques in the present day scenario seems to be time consuming and less appealing, especially in case on online training programmes. Also, many current assessment techniques stress on task completion rather than the overall process responsible for it. To improve the quality of the output, be it a task performance or a skill attainment, the entire process of it has to be monitored and evaluated [].
Today computer games are being developed not only for entertainment of the players but in the field of health and education to improve one or more cognitive abilities of the users. Brain Computer Interface is one technology, which has facilitated the assessment of user behaviour through games []. These games can enhance problem solving abilities in children. Many “Serious” games for health and education for children are also popular [].
The states of the brain can be recorded in a non-invasive and a flexible way through Electroencephalogram (EEG) []. Research has shown that EEG based applications were first developed to help disabled people to communicate with machines [,], then they were used in video games as game controllers [] and then in Neurofeedback Games []. Children with Attention Deficit Hyperactivity Disorder (ADHD) syndrome are treated primarily with behavioural therapy than pharmacologically, as medications are bound to cause side effects [–].
Also training programs to help children, to focus and improve mental skills are increasingly becoming popular. Abacus is one such training program designed to develop math solving skills in children in the age groups of five to fourteen. This program is divided into many levels with increased complexity in solving skills at each level. The skills acquired at each of the levels are manually tested by specifying time limits to complete a calculation. This can be a burden on the trainer to make observations of a trainee’s performance before he/she is allowed to take up the next level.
These existing techniques test the trainees solving skills, which also reflect their attention and concentration levels. So as an alternative measure, the trainees can be tested for their improvement in concentration at different stages and their progress tracked. It can also aid self evaluation to the user. This paper shows a game implementation to test the progress of the trainees with a more flexible and interesting approach. It is a simple gaming application using visualization techniques to increase enthusiasm without being aware of being tested. As the system makes use of a subject’s direct attention to control a game, it works on a feed-forward mechanism [].
As inexpensive, wireless, portable and easy-to-use EEG headsets are available in the market from vendors like Neurosky and Emotiv [,], BCI game implementations have become very easy and assessing attention and meditation values of the users are found to be reliable [].
Section 3 deals with the proposed game design philosophy. Game implementation details are discussed in section 4 and 5. Results of the implementation are discussed in section 6. In section 7 and 8, the conclusion and future work are discussed.
Any gaming application uses a graphics tool for the design of the gaming environment and user interface along with devices like keyboard, mouse or a joystick type of controllers to control the game. An EEG based game uses “thoughts” to control game. Our implementation uses OpenGL software for designing the gaming environment and an EEG device and its driver software from Neurosky.
The game design schema was done by taking into consideration the following points: The hardware used should be inexpensive and easy to maintain. It should use simple GUI so as to make a novice get accustomed to it in a short span. It was also necessary for it to use neurofeedback to give a visual representation of his attention levels and thus aid him to enhance it in a rather playful manner.
The hardware includes a Lenovo Intel i5 processor based laptop and EEG device “Mindwave Mobile” from Neurosky. The implementation platform is Windows 7 and the game is developed using Visual C++ with OpenGL graphics library.
Details of NeuroSky Mindwave mobile EEG
Thinkgear software provided with the EEG device is used to connect the EEG device to the computer. It allows special applications and games to be run according to the states of mind as detected by EEG headset with NeuroSky’s ThinkGear sensor. It runs as a background process continuously by keeping an open socket on the computer system, thereby allowing applications to connect to it. The applications receive information from the connected ThinkGear devices. It is provided as an executable for Mac OS X and Windows platforms.
The device is a single lobe, dry sensor electrode based, non-invasive EEG device.
ThinkGear is the technology which is embedded in every NeuroSky product. It enables connectivity with brainwaves of the wearer. It comprises of a sensor that touches the forehead to collect brain wave data centered at the frontal cortex, the contact and the reference points located on the ear pad. The data is processed using the onboard chip included on it. Both the eSense Meters (Meditation and Attention) and raw brainwaves are calculated on the ThinkGear Chip.
The EEG electrode is placed on the user’s forehead (on the frontal cortex) during the play. The headset safely measures and outputs the EEG power spectrums (alpha waves, beta waves, etc), attention, meditation and eye blink values. Attention and Meditation are indicated and reported on a meter with a relative eSense scale of 1 to 100.
This scale has a set of grouping schemata for the ranges of values and a particular state of mind is attributed to it. Values between 20-40 are reduced levels and from 1-20 they are considered strongly lowered eSense. A value lying in the range of 40-60 is considered to be neutral. Values above 60 are considered to be values higher than the normal or “slightly elevated”. Values in the range of 80-100 are considered to be high levels of eSense.
Attention as an unsigned one-byte value indicates the intensity of a user’s level of mental “focus” or “attention”, such as that which occurs during intense concentration and directed (but stable) mental activity. Its value ranges from 0 to 100. Distractions, wandering thoughts, lack of focus or anxiety lower the Attention meter levels.
The input to this gaming application is through the attention values. The 3D ball moves from a source location to a destination location when the users focus on the task been assigned to them. Our implementation uses the eSense value 50 as a threshold value for a fair attention value, since it is the middlemost value lying on the eSense scale and is considered to be average balanced state of mind. When this value is crossed, the players ball moves forward towards the destination else it descends. On reaching the destination, a golden pot appears on the screen as a reward of the achievement.
The subjects were devoid of any mental or physical disabilities and normal environmental conditions prevailed during the experimentation.
EEG data was gathered from subjects from 4 different areas and age groups.
Areas included 13 Abacus students (8-Males, 5-Females) in the age groups of 6 -15 years, 3 under graduate students (2-males, 1-Female) in the age group of 20 – 22, 3 professionals (2-Males, 1-Female) in the age groups of 40 – 50 and 2 senior citizens (1-Male, 1-Female) above 60 years. All of them hailed from Karnataka, India. Out of the four groups, for two groups the data was collected when they were involved in mental activities performing a task, than using the gaming tool. The subjects involved in the experimentation were either playing a game or involved in a mental activity and each of these activities induce a perceptible concentration level in the participants which the application records. The recorded data are further evaluated.
The following algorithm defines work flow of the proposed BCI game. The second step in the algorithm comprises of setting up proper connectivity with the EEG device and the system, initializing OpenGL features like lighting, shading and material properties and drawing the required graphics objects on the OpenGL window.
Input: Attention eSense values.
Set up the environment for the game.
Read the input and start the timer.
If (input value > threshold).
Move the graphics object forward.
When the graphics object reaches the destination, stop timer.
The experimentation was carried out on students from various levels of abacus training. The students in the lower abacus training levels deal with simple addition and subtraction problems. Hence they performed better.
The students in the higher abacus training levels had to perform floating point calculations and were given multiple operations, so switching between multiple tasks hindered their attention. But the students, who had practised for more time in every level, did not panic and could perform calculations at higher attention levels.
Nervousness curbs attention values whereas confidence, self-esteem enhances it.
Attention can be divided into classes of ages. Too young (below 10 years) and too old ones (above 70 years) lack attention whereas teenagers are consistent in this regard. Further it considerably reduces with age. The subjects selected were not trained with special mental skills.
The linear trendline is a best-fit straight line for the data sets obtained which follows the equation given below to calculate the least squares fit for a line:
y = mx + c, where m is the slope and c is the intercept.
The application was tested on an assortment of subjects from mind training institutes like abacus institute. Surprisingly, these subjects could navigate the sphere with greater ease in contrast with the normal subjects.
As a summary, the paper draws sharp inferences of the mental activities with conjunction to the factors like age, mental training, etc. The visual game aids as a tool in this regard. The graphical analysis reveals the correlation that exists between the attention values and their enhancement for subjects undergoing mental training skills like abacus and non-abacus subjects. It also reveals the benefits of such training programmes. The application has the ability of providing feedback to children on their performance and monitoring their progress over time.
Visual modelling features of OpenGL can be added to distract a user during the game, which through control of thoughts could be overcome and could aid children with ADHD disorder to improve concentration. Playing such games on regular basis could enhance one’s attention and focussing capabilities considerably.
Prof Geeta N. has graduated in Electronics and Communication Engineering from GIT, Belgaum and completed Post-graduation in Computer Networking from VTU Belgaum. Currently she is working as Assoc. Prof in Computer Science and Engineering at KLE Dr. M.S.S College of Engineering and Technology, Belgaum, Karnataka. Her areas of interest include cognitive computing, brain-computer interface, computer networks and parallel processing.
Mr. Rahul Dasharath Gavas is pursuing his Bachelor of Engineering in Computer Science and Engineering from KLE Dr. M.S.S College of Engineering and Technology, Belgaum, India. His areas of interest include cognitive computing, brain-computer interface and unpredictability theory.
The authors are immensely grateful to the valuable guidance provided by Dr. Nandini Sidnal, HOD, Department of Computer Science & Engg, KLE Dr. M.S.S CET, Udyambag, Belgaum.
- Ferris GR, Munyon TP, Basik K, Buckley MR (2008) The Performance Evaluation Context: Social, Emotional, Cognitive, Political, and Relationship Components, Human Resource Management Review 18. Elsevier, pp 146–163, doi:10.1016/j.hrmr.2008.07.006Google Scholar
- Payam Aghaei P, Tauseef G, Omar AZ, Gaetano G, Calvo RA: Brain-Computer Interface: Next Generation Thought Controlled Distributed Video Game Development Platform. IEEE Symposium on Computational Intelligence and Games (CIG’08). 2008.Google Scholar
- Wang Q, Sourina O, Nguyen MK: EEG-based “Serious” Games Design for Medical Applications. Cyberworlds, International Conference, Singapore, IEEE Computer Society. 2010.Google Scholar
- Nunez PL, Srinivasan R: Electric fields of the brain: the neurophysics of EEG. Oxford University Press, Inc, New York; 2006.View ArticleGoogle Scholar
- Rebsamen B, Burdet E, Guan C, Zhang H, Teo CL, Zeng Q, Ang M, Laugier C: A brain-controlled wheelchair based on P300 and path guidance. Biomedical Robotics and Biomechatronics. The First IEEE/RAS-EMBS International Conference. 2006.Google Scholar
- Rebsamen B, Teo CL, Zeng Q, Ang VMH, Burdet E, Guan C, Zhang H, Laugier C: Controlling a wheelchair indoors using thought. IEEE Intelligent Systems 2006, 22: 18–24. 2007. doi:10.1109/MIS.2007.26 2007. doi:10.1109/MIS.2007.26 10.1109/MIS.2007.26View ArticleGoogle Scholar
- Lécuyer A, Lotte F, Reilly RB, Leeb R, Hirose M, Slater M: Brain-computer interfaces, virtual reality, and videogames. Computer 2008, 41: 66–72. 10.1109/MC.2008.410View ArticleGoogle Scholar
- Hammond DC: What is neurofeedback? Journal of Neurotherapy 2006, 10: 25–36. 2006. doi:10.1300/J184v10n04_04 2006. doi:10.1300/J184v10n04_04 10.1300/J184v10n04_04View ArticleGoogle Scholar
- Lim CG, Lee TS, Guan C, Sheng Fung DS, Cheung YB, Teng SS, Zhang H, Krishnan KR: Effectiveness of a brain-computer interface based programme for the treatment of ADHD: a pilot study. Pscyopharmacological Bulletin 2010, 43(1):73–82.Google Scholar
- Gevensleben H, Birgit H, Björn A, Schlamp D, Kratz O, Studer P, Wangler S, Rothenberger A, Moll GH, Heinrich H: Distinct EEG effects related to neurofeedback training in children with ADHD: A randomized controlled trial. International Journal of Psychophysiology 2009, 74: 149–157. doi:10.1016/j.ijpsycho.2009.08.005 doi:10.1016/j.ijpsycho.2009.08.005 10.1016/j.ijpsycho.2009.08.005View ArticleGoogle Scholar
- Cowan JD, Markham L: EEG biofeedback for the attention problems of Autism - A case study. Biofeedback and Self-Regulation 1994, 19: 287–287.Google Scholar
- Lopetegui E, Zapirain BG, Mendez A: Tennis Computer Game With Brain Control Using EEG Signals. Computer Games (CGAMES), 2011 16th International Conference. 2011.Google Scholar
- Neurosky Mindwave Mobile. Available at: , [http://www.Neurosky.com] Neurosky Mindwave Mobile. Available at:
- Emotive EEG System. Available at: , [http://www.emotiv.com] Emotive EEG System. Available at:
- Crowley K, Aidan S, Pitt I, Murphy D: Evaluating a brain-computer interface to categorise human emotional response. ICALT 2010.Google Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited.