How gopiashokan/educational-management-system works
Main Components
• User Interface (Frontend):
• Built using Streamlit (see app.py and files in the .streamlit folder).
• Handles user interactions such as logging in, test submissions, and exam processing.
• Backend / Application Logic:
• Contains the main application code (app.py) that orchestrates business logic for user management, test/exam processing, and role-based functionalities.
• Implements functionalities like adding/updating users, role management, and test creation.
• Deep Learning Engine:
• Incorporates a trained Convolutional Neural Network (CNN) model (Model/trained_model.h5) using TensorFlow and Keras.
• Supports handwriting verification, which is a critical feature for validating exam answer sheets.
• Database and Data Storage:
• Utilizes PostgreSQL (as mentioned in the README via psycopg2) for managing persistent data like user information, test grades, and other administrative records.
• Contains Dataset directories that store images (for user and test data) and CSV/XLSX files (for login credentials and test questions/answers).
File Structure and Relationships
• The root directory holds key configuration files (.env, requirements.txt) that define the execution environment.
• The Dataset directory is organized with subfolders for test images, login credentials, and test questions. It supports both training (images for handwriting recognition) and operational data.
• The Model directory is specifically for the stored and trained CNN model.
• The primary script (app.py) serves as the entry point for the Streamlit application, integrating frontend components, backend logic, and model inference.
Recognize Architectural Patterns and Technologies
• MVC (or similar separation of concerns) where the UI (Streamlit frontend) is separated from the core logic (Python backend) and the Machine Learning model.
• The deep learning integration leverages a CNN architecture for handwriting verification tasks.
• Several libraries (TensorFlow, Keras, OpenCV, Pandas, Scikit-learn) indicate that image processing and data analysis are central to the system’s functionalities.
• Environmental configurations via .env and setup scripts (requirements.txt) ensure the system is properly configured for deployment.