Skip to content

Commit

Permalink
added the whole frontend for the SPROCTOR (#88)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
3 people authored Nov 4, 2024
1 parent 2ada6f8 commit 2bf2f72
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
7 changes: 2 additions & 5 deletions Backend/proctor_core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Backend/proctor_core.py
# adding to a new branch

import cv2
import mediapipe as mp
import numpy as np
Expand Down Expand Up @@ -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)}")


self.logger.error(f"Error during cleanup: {str(e)}")
4 changes: 1 addition & 3 deletions Backend/run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Backend/run.py
# adding to a new branch
import threading as th
import logging
import os
Expand Down Expand Up @@ -107,6 +106,5 @@ def main():
logger.info("Application shutdown complete")

if __name__ == "__main__":
main()


main()
1 change: 1 addition & 0 deletions PROJECT_STRUCTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
│ ├── object_detection.py
│ ├── peer_comparison_tool.py
│ ├── processes.py
│ ├── proctor_core.py
│ ├── pyaudio_test.py
│ ├── run.py
│ ├── screen_recorder.py
Expand Down
1 change: 1 addition & 0 deletions repo_structure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@
│ ├── object_detection.py
│ ├── peer_comparison_tool.py
│ ├── processes.py
│ ├── proctor_core.py
│ ├── pyaudio_test.py
│ ├── run.py
│ ├── screen_recorder.py
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ six==1.16.0
pywin32==306
WMI==1.5.1
psutil>=5.9.0

#adding to new branch

0 comments on commit 2bf2f72

Please sign in to comment.