From 2bf2f7268aec32fa8705da13e2cb1da85e4c5f6b Mon Sep 17 00:00:00 2001 From: MANI <122438942+devxMani@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:45:25 +0530 Subject: [PATCH] added the whole frontend for the SPROCTOR (#88) * Update repo structure * added the whole frontend * Update repo structure * Adding object detection model * Update repo structure --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Tanisha Lalwani <145191259+tanishaness@users.noreply.github.com> --- Backend/proctor_core.py | 7 ++----- Backend/run.py | 4 +--- PROJECT_STRUCTURE.md | 1 + repo_structure.txt | 1 + requirements.txt | 2 -- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Backend/proctor_core.py b/Backend/proctor_core.py index 259e405..a7f8621 100644 --- a/Backend/proctor_core.py +++ b/Backend/proctor_core.py @@ -1,5 +1,4 @@ -# Backend/proctor_core.py -# adding to a new branch + import cv2 import mediapipe as mp import numpy as np @@ -118,6 +117,4 @@ def cleanup(self): cv2.destroyAllWindows() self.logger.info("Cleanup completed successfully") except Exception as e: - self.logger.error(f"Error during cleanup: {str(e)}") - - \ No newline at end of file + self.logger.error(f"Error during cleanup: {str(e)}") \ No newline at end of file diff --git a/Backend/run.py b/Backend/run.py index f68170d..26e0ed3 100644 --- a/Backend/run.py +++ b/Backend/run.py @@ -1,5 +1,4 @@ # Backend/run.py -# adding to a new branch import threading as th import logging import os @@ -107,6 +106,5 @@ def main(): logger.info("Application shutdown complete") if __name__ == "__main__": - main() - \ No newline at end of file + main() diff --git a/PROJECT_STRUCTURE.md b/PROJECT_STRUCTURE.md index adeae4c..6fb00ae 100644 --- a/PROJECT_STRUCTURE.md +++ b/PROJECT_STRUCTURE.md @@ -238,6 +238,7 @@ │ ├── object_detection.py │ ├── peer_comparison_tool.py │ ├── processes.py +│ ├── proctor_core.py │ ├── pyaudio_test.py │ ├── run.py │ ├── screen_recorder.py diff --git a/repo_structure.txt b/repo_structure.txt index c6dc528..2755cc2 100644 --- a/repo_structure.txt +++ b/repo_structure.txt @@ -234,6 +234,7 @@ │ ├── object_detection.py │ ├── peer_comparison_tool.py │ ├── processes.py +│ ├── proctor_core.py │ ├── pyaudio_test.py │ ├── run.py │ ├── screen_recorder.py diff --git a/requirements.txt b/requirements.txt index 5fca71e..902244d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,5 +32,3 @@ six==1.16.0 pywin32==306 WMI==1.5.1 psutil>=5.9.0 - -#adding to new branch \ No newline at end of file