The Development of Web-Based Emotion Detection System Using Keyboard Actions (EDS-KA)

Zuriana Abu Bakar, Ong Sze Seong


Emotions is one of the user experience key factors. Emotions is subjective feeling and it is difficult to determine human’s emotions. Thus, there is a need to have a system that could automatically detect human emotions. Nowadays, most of the emotion detection systems are obtrusive, complex and expensive. Besides that, most of the data collection and analysis process for research has been done manually. Therefore, Web-based Emotion Detection System using Keyboards Actions (EDS-KA) has been developed to detect human emotions without their awareness, uncomplicated and inexpensive in which, it is based on human actions using computer keyboard. In addition, this system could assist researchers in data collection and analysis, whereas, data could be collected and analyzed automatically. Further, the analysis results were saved in the database and could be printed out. EDS-KA adopted the Rational Unified Process (RUP) system development methodology. The RUP has been selected for EDS-KA development because it is an iterative software development process. Therefore, it enable produce a well-defined  system requirements and reduced the software risk. EDS-KA was a web-based system. Thus,  users could access the system at any time and places that have internet connection. In terms of emotional considerations, EDS-KA focuson five (5) basic emotional states, namely happy, sad, afraid, relaxed and neutral (emotionless). Taken together, this system could assist the researchers’ tasks in conducting emotions detection research more efficient, taking less time and inexpensive.


emotions; emotion detection systems; keyboard actions; rational unified process; web-based system.

Full Text:



N. Zhuang, Y. Zeng, K. Yang, C. Zhang, L. Tong, and B. Yan, “Investigating patterns for self-induced emotion recognition from EEG signals,†Sensors (Switzerland), vol. 18, no. 3, pp. 1–22, 2018.

W. O. A. S. W. Ismail, M. Hanif, S. B. Mohamed, N. Hamzah, and Z. I. Rizman, “Human Emotion Detection via Brain Waves Study by Using Electroencephalogram (EEG),†Int. J. Adv. Sci. Eng. Inf. Technol., vol. 6, no. 6, p. 1005, 2016.

M. S. Özerdem and H. Polat, “Emotion recognition based on EEG features in movie clips with channel selection,†Brain Informatics, vol. 4, no. 4, pp. 241–252, 2017.

B. Parkinson, Ideas and realities of emotion. New York: Routledge, 1995.

R. Picard, Affective computing. 1997. Cambridge, Massachusetts: MIT Press, 1997.

J. P. Forgas, “Mood and judgment: The affect infusion model (AIM),†Psychol. Bull., vol. 117, no. 1, pp. 39–66, 1995.

P. Zimmermann, S. Guttormsen, B. Danuser, and P. Gomez, “Affective computing—a rationale for measuring mood with mouse and keyboard,†Int. J. Occup. Saf. Ergon., vol. 9, no. 4, pp. 539–551, 2003.

Oxford University Press, “Oxford Dictionaries | The World’s Most Trusted Dictionary Provider.†[Online]. Available:

L. F. Barrett, “Discrete Emotions or Dimensions? The Role of Valence Focus and Arousal Focus,†Cogn. Emot., vol. 12, no. 4, pp. 579–599, 1998.

P. Khanna and S. Mukundan, “Recognising Emotions from Keyboard Stroke Pattern,†Int. J. Comput. Appl., vol. 11, no. 9, pp. 1–5, 2010.

C. Li, C. Xu, and Z. Feng, “Analysis of physiological for emotion recognition with the IRS model,†Neurocomputing, vol. 178, pp. 103–111, Feb. 2016.

S. Balters and M. Steinert, “Capturing emotion reactivity through physiology measurement as a foundation for affective engineering in engineering design science and engineering practices,†J. Intell. Manuf., vol. 28, no. 7, pp. 1585–1607, 2017.

S. Zhao, A. Gholaminejad, G. Ding, Y. Gao, J. Han, and K. Keutzer, “Personalized Emotion Recognition by Personality-Aware High-Order Learning of Physiological Signals,†ACM Trans. Multimed. Comput. Commun. Appl., vol. 15, no. 1s, pp. 1–18, Jan. 2019.

P. Desmet, “Measuring emotions: Development and application of an instrument to measure emotional responses to products,†in Funology: From usability to enjoyment, M. A. Blythe, A. F. Monk, K. Overbeeke, and P. C. Wright, Eds. Dordrecht: Kluwer Academic Publishers, 2003, pp. 111–123.

L. Vea and M. M. Rodrigo, “Modeling negative affect detector of novice programming students using keyboard dynamics and mouse behavior,†Lect. Notes Comput. Sci. (including Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinformatics), vol. 10004 LNAI, pp. 127–138, 2017.

A. Samara, L. Galway, R. Bond, and H. Wang, “Affective state detection via facial expression analysis within a human–computer interaction context,†J. Ambient Intell. Humaniz. Comput., vol. 10, no. 6, pp. 2175–2184, 2019.

A. Kołakowska, “Usefulness of keystroke dynamics features in user authentication and emotion recognition,†Adv. Intell. Syst. Comput., vol. 551, pp. 42–52, 2018.

M. G. Valdez, J. J. Merelo, A. H. Aguila, and A. M. Soto, “Mining of keystroke and mouse dynamics to increase the engagement of students with programming assignments,†in Studies in Computational Intelligence, 2019, vol. 829, pp. 41–61.

T. Yamauchi and K. Xiao, “Reading Emotion From Mouse Cursor Motions: Affective Computing Approach,†Cogn. Sci., vol. 42, no. 3, pp. 771–819, 2018.

R. M. Nassr, A. H. Saleh, H. Dao, and M. N. Saadat, “Emotion-Aware Educational System: The Lecturers and Students Perspectives in Malaysia,†Adv. Intell. Syst. Comput., vol. 935, pp. 618–628, 2019.

P. Shukla and R. Solanki, “Web Based Keystroke Dynamics Application for Identifying Emotional State,†Int. J. Adv. Res. Comput. Commun. Eng., vol. 2, no. 11, pp. 4489–4493, 2013.

J. Sørensen, “Measuring emotions in a consumer decision-making context: Approaching or avoiding,†Aalborg University, 2008.

K. Reijneveld, M. P. de Looze, F. Krause, and P. Desmet, “Measuring the emotions elicited by office chairs,†no. January, p. 6, 2003.

P. J. Lang, Behavioral treatment and bio-behavioral assessment: Computer applications. Technology in Mental Health Care Delivery Systems. Ablex, 1980.

J. A. Bargas-avila and K. Hornbæk, “Old Wine in New Bottles or Novel Challenges ? A Critical Analysis of Empirical Studies of User Experience,†2011.

I. Sommerville, Software engineering, 8th ed. Harlow, England: Addison-Wesley, 2007.

R. D. Gibbs, Project Management with the IBM Rational Unified Process: Lessons from the Trenches. Upper Saddle River: NJ: IBM Press/Pearson, 2007.



  • There are currently no refbacks.

Published by INSIGHT - Indonesian Society for Knowledge and Human Development