Home Page & View CCTV Footage Pages have been completed. Several CSS, PHP and image files have been added, Update your local repo with latest code and verify.
Repo contains all required files for completion of local setup of gods-eye
First, Download this repository into your PC at any location
Follow these exact steps in the same order before attempting to run the project:
(If you have the required tools already in your system start from Step 3)
-
Download XAMPP for your system https://www.apachefriends.org/download.html (XAMPP Path should be C:\XAMPP preferably)
-
If you don't have Anaconda, download and install Anaconda from https://www.anaconda.com/products/individual#Downloads
-
Open Anaconda >> Click on Environment >> Click on Create >> Give name of the environment as "fyp" , choose Python version 3.6 (must be exactly 3.6) from dropdown >> Click Create
-
Once the environment is created Click on Home >> In the "Applications on" dropdown select "fyp" environment >> You will see Spyder editor icon, Click on Install.
-
Once spyder installation is complete you may Launch spyder and you can view the python files there when required.
-
Copy the two folders which are inside the dlib folder in the repository to the following path (may vary based on your anaconda installation path) C:\Users\username\anaconda3\envs\fyp\Lib\site-packages
-
Click on Environments in Anaconda, Click fyp, next to fyp env you will see a Play button, Click Open with terminal. Execute "All" commands given in Dependencies.txt file.
7(a) - After this try to run gods_eye.py in spyder, if it shows some ....300W iBuG shape_landmark_detector.. error DM me. -
Go to This PC, Right Click >> Click Properties >> Advanced System Settings Settings >> Environment Variables >> In User Variables & System Variables, you will find "Path"
-
Add our python env (fyp) path to both of those "PATH" Variables which will be something like this "C:\Users\username\anaconda3\envs\fyp" (Important Step)
-
Now copy all the contents of (i.e. folders & files inside the) main folder of our repo into C:\xampp\htdocs
-
Inside C:\XAMPP\ you'll find xampp-control.exe >> Double click and start Apache and MySql. Ensure MySQL runs in port 3306.
11(a) - Go to your browser and type localhost/phpmyadmin/ . Dashboard will open up. Click on SQL >> Execute the queries given in SQLSetup.txt file.
-
If you have completed everything till here successfully, then the project will work.
If any issues arise in between, please DM. Anything you try apart from these steps in your project setup will be at your own risk.