Closed cictapps closed 2 years ago
Problem 1: Followed the instructions given on the github repo, tried to run it using VSCode but encountered an error.
C:\Users\Tope-WVSU\Documents\GitHub\AIML_Detection_System\src> python Main.py
Traceback (most recent call last):
File "C:\Users\Tope-WVSU\Documents\GitHub\AIML_Detection_System\src\Main.py", line 113, in
Setup
Windows 10
Python Version C:\Users\Tope-WVSU>python --version Python 3.9.7
Good morning sir!
I have pinpointed the problem. It seems that you need to open the folder first in VS Code then navigate to the 'Main.py' file and run the program.
Will be updating the README instructions to address the problem in case the user encounters it.
I already navigated to the src folder before running the Main.py on the command prompt, still I encounter the error. I opened the src folder from VS Code, but I encountered the issue as well.
@ILoveRedEd55 please check this console logs.
PS C:\Users\Tope-WVSU\Documents\GitHub\AIML_Detection_System> cd src
PS C:\Users\Tope-WVSU\Documents\GitHub\AIML_Detection_System\src> python Main.py
Traceback (most recent call last):
File "C:\Users\Tope-WVSU\Documents\GitHub\AIML_Detection_System\src\Main.py", line 113, in
When I updated the directory of the images below: iconA = Image.open("./src/index/Wcamera.png") iconAa = Image.open("./src/index/Wcamera.png") iconAb = Image.open("./src/index/Wcamera.png") iconAc = Image.open("./src/index/Wcamera.png")
to
iconA = Image.open("index/Wcamera.png") iconAa = Image.open("index/Wcamera.png") iconAb = Image.open("index/Wcamera.png") iconAc = Image.open("index/Wcamera.png")
Fixes the problem and the GUI showed, but when I tried to click the Drowsiness Detection, I encountered this error
PS C:\Users\Tope-WVSU\Documents\GitHub\AIML_Detection_System\src> python Main.py Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Tope-WVSU\AppData\Local\Programs\Python\Python39\lib\tkinter__init.py", line 1892, in call__ return self.func(*args) File "C:\Users\Tope-WVSU\Documents\GitHub\AIML_Detection_System\src\Main.py", line 41, in drowsiness term1 = Popen (["./lib/env/drowsiness_env/python", "./src/drowsiness-detection.py"]) File "C:\Users\Tope-WVSU\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\Tope-WVSU\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified
Tested the application via Debugging with Python version 3.6.1. Performance was laggy (might be due to the Debugging). So far tested the Drowsiness and Weapons Detection functionality, as for others (Violence and Falling Detection), I am not sure on how to proceed.
After checking the updates made on the repository, here are my feedback:
User Manual is now okay, waiting for the manuscript.
Followup on this @ILoveRedEd55 .
@cictapps their manuscript was just approved today for formatting. Just checked the manuscript file and found no problems. Passing this for approval.
Title:
AI/ML for Anomalous Surveillance: A Detection and Alert System
Members:
Francis Rey Soldevilla, Francine Anne Millares, Jesmar Troy Adolacion, & Nezel Leagogo