Abstract
Emotions have undergone unusual stages all through the pandemic situation creating a trauma in the minds of learners that extirpate the growth of a learner. The main objective of the work is to identify the face emotions of learners in the learning environment that helps to estimate the attention of learners during lectures in the learning environment. The identification of facial emotions is performed using naïve bayes algorithm. Based on the emotional records, the academic achievement is analyzed with random forest algorithm. The findings of the research are that the attention of the learners in the learning environment with positive emotions produces good academic results.