Understanding human emotions and behavior in closed environments is essential for creating more empathetic and humane spaces. Environmental factors, such as temperature, noise, and light, play a crucial role in influencing behavior, but individuals' emotional states are equally important and often go unnoticed. Artificial Intelligence of Behavior (AIoB) offers a novel approach that integrates environmental measurements with human emotions to create spatially adaptive processes that can influence behavior. In this article, we present a new human emotion sensor developed using video cameras and implemented on a System on Chip (SoC) development board. Our approach uses Convolutional Neural Networks (CNNs) to recognize the presence of emotions in enclosed spaces and generate parameters that can influence emotional states and behavior within an AIoB system. The research successfully integrates advanced CNN technology into a System on Chip (SoC) platform, allowing for real-time processing of video data. The versatility of utilizing an energy-efficient SoC extends its application to smart environments aimed at improving mental health. By employing algorithms capable of detecting emotional states across various individuals, the study enhances its effectiveness. Additionally, it identifies the best CNN operations tailored to the technical specifications of the devices involved. Thus, The development involves a three-step process: (i) collecting enough data to build a robust model, (ii) training the model and evaluating its performance using test values, and (iii) applying the model on the development board. Our study demonstrates the feasibility of using AIoB to recognize and respond to human emotions in closed areas. By integrating emotional cues with environmental measurements, our system can create more personalized and empathetic spaces that cater to the needs of individuals. Our approach could have significant implications for designing public spaces to promote well-being and emotional satisfaction.
Managing red–green–blue (RGB) lighting conditions within structures may evoke emotions and positively influence behavior. Intelligent RGB lighting systems based on environmental data measurements can substantially enhance the perception of comfort. This study presents a challenge that requires a holistic and integrated approach to implement an automatic RGB artificial lighting control system that can be utilized in various structures and indoor environments. Initially, the challenge spans the identification of environmental variables directly impacting comfort up to the careful selection of suitable sensors. The result is the development of a sophisticated and autonomous system that can adjust RGB lighting in real time, creating environments that are both comfortable and energy-efficient. This automated system fosters the creation of appropriate atmospheres across different contexts. The identification and monitoring of environmental variables are achieved through a neuro-fuzzy control mechanism, where fuzzy rules and membership functions are defined based on late positive potential timings and the influence of artificial lighting on human emotions. The outcomes from this study are an interconnected system capable of performing both online and offline operations to enable the monitoring of environmental variables and the efficient management of artificial lighting based on these metrics. A pilot study, with reference to an EEG wave registry system, yielded significant results. These tests had a statistically relevant result with an average frequency of approximately 9.8 Hz, indicative of a state of comfort among people. Despite a 10% deviation margin, 87% of measurements during the test remained consistent. This research study contributes to human behavior by fostering a relaxing environment and enabling a reduction in energy consumption through the use of efficient lighting. Moreover, the environment intention enables the creation of stimuli in three emotional states: activation, relaxation, and neutral, allowing behavioral adaptation to an intention to occur automatically in fluctuating environmental conditions.