Back to Projects

Final Project • Web Application • Computer Vision

SERIN - Smart Emotion Recognition for Integrated Counseling

A web application prototype designed to help counselors observe students' facial emotional expressions during counseling sessions via real-time facial recognition.

Project Overview

SERIN is a final project web-based counseling support system. It uses the LightExNet V2 model to classify facial expressions into five emotion categories: Happy, Sad, Angry, Fear, and Neutral. Detection results are displayed on a live dashboard and session monitor, saved as logs with key moment markers, and compiled into exportable PDF counseling reports. On test data evaluation reported in the study, the model achieved 80.55% accuracy. SERIN is built as an initial observation aid, not a psychological diagnostic tool or a replacement for counselors.

Key Contributions

  1. Prepared and processed facial image datasets across five emotion categories.
  2. Performed image preprocessing, including grayscale conversion, 48×48 pixel resizing, and pixel value normalization.
  3. Developed and trained the LightExNet V2 CNN model, evaluating it using accuracy, precision, recall, F1-score, and a confusion matrix.
  4. Integrated Haar Cascade face detection and OpenCV preprocessing with a FastAPI backend for real-time webcam inference.
  5. Built end-to-end application workflows for student and session management, live monitoring, emotion logging, markers, report history, report details, and PDF export.

Technical Documentation & Artifacts

Supporting artifacts illustrating system architecture, technical evaluation, and project outputs.

Model Architecture

Architecture diagram of the LightExNet V2 model used to classify the five emotion categories.

LightExNet V2 architecture diagram used in the facial emotion recognition model.
LightExNet V2 architecture

Model Training and Evaluation

Training curves and classification evaluation metrics on the test dataset.

Accuracy and loss curves across model training epochs.
Accuracy and loss curves
Confusion matrix across the five facial emotion classification categories.
Confusion matrix

Sample PDF Report

Sample exported counseling report summarizing session details and emotion distributions.

Sample exported PDF counseling report generated by SERIN.
Exported counseling report

Technologies Used

  • Python
  • React
  • Vite
  • JavaScript
  • FastAPI
  • SQLite
  • SQLAlchemy
  • TensorFlow
  • Keras
  • OpenCV
  • Haar Cascade
  • LightExNet V2
  • jsPDF