├── .gitignore ├── README.md └── app ├── app.py ├── createTables.py ├── db.py ├── main.py ├── requirements.txt ├── static ├── css │ ├── case.css │ ├── feedback.css │ ├── policehome.css │ ├── results.css │ ├── style.css │ ├── style1.css │ ├── style2.css │ ├── stylecs │ └── stylecs.css ├── img │ ├── bgvdo.mp4 │ └── police.png ├── screenshots │ ├── Neeraj Ram1.jpg │ ├── Neeraj1.jpg │ ├── Nidhin1.jpg │ ├── Ronaldo1.jpg │ └── dq1.jpg └── uploads │ ├── 1329279.jpg │ ├── Ashwin_Photo.jpg │ ├── IMG20220519200733.jpg │ ├── IMG_17965.jpg │ ├── IMG_20201121_011127_564.jpg │ ├── Mohanlal1.jpg │ ├── Neeraj.gif │ ├── Neeraj.jpg │ ├── Neeraj2.jpg │ ├── Photo-1.jpeg │ ├── Renjith_R.jpg │ ├── Resus.png │ ├── WhatsApp_Image_2022-05-26_at_10.05.01_AM.jpeg │ ├── WhatsApp_Image_2022-05-26_at_10.05.03_AM1.jpeg │ ├── cr7.jpg │ ├── dq2.jpg │ ├── hrithik.jpg │ ├── icons8-nfc-n-16.png │ ├── icons8-react-100.png │ ├── messi.jpg │ └── messi2.jpg └── templates ├── admin.html ├── adminhome.html ├── index.html ├── login.html ├── newcase.html ├── policehome.html ├── register.html ├── result.html ├── results.html ├── user.html └── useruploads.html /.gitignore: -------------------------------------------------------------------------------- 1 | **/__pycache__/ 2 | 3 | .env -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # **GOD,S EYE** 2 | 5 | 6 | 7 | 8 | 16 | ## **Prerequisite** 17 | 1) Python3 18 | 2) Dlib 19 | 3) Postgressql RDMS 20 | 4) Pgadmin4 (not mandatory) 21 | 22 | ## **Installation** 23 | 24 | Clone this respositor using the command 25 | 26 | ```sh 27 | git clone https://github.com/neerajram30/God-s-Eye.git 28 | 29 | ``` 30 | 31 | Ubuntu: 32 | 33 | ```sh 34 | cat requirements.txt 35 | 36 | ``` 37 | From the requirements install all the libraries one by one or install all by 38 | 39 | ```sh 40 | pip install -r requirements.txt 41 | 42 | ``` 43 | 48 | ## **Configuration** 49 | 50 | Create .env in root directory and configure it to files. Replace the fields with your credentials 51 | 52 | ```sh 53 | DB_HOST = "YOUR HOST NAME" 54 | DB_NAME = "YOUR DB NAME" 55 | DB_USER = "YOUR DB USER NAME" 56 | DB_PASS = "YOUR DB PASSWORD" 57 | APP_SECRET = "APP PASSWORD" 58 | ``` 59 | 60 | 61 | ## **Usage example** 62 | 63 | For running this app on development environment you can uncomment this code 64 | 65 | ```py 66 | if __name__=='__main__': 67 | app.run(debug=True) 68 | ``` 69 | For running this app on production environment you can uncomment this code, the CCTV will only open when this option is enabled. 70 | 71 | ```py 72 | if __name__ == '__main__': 73 | app.run(host='0.0.0.0', port=2204, threaded=True) 74 | ``` 75 | For creating database tables run command: 76 | 77 | ```sh 78 | python3 createTables.py 79 | ``` 80 | 81 | 82 | For running this application on both product and development environment you can use this command 83 | ```sh 84 | python3 app.py 85 | ``` 86 | 87 | ### Built With 88 | 89 | * [Python](https://www.python.org/) 90 | * [Flask](https://flask.palletsprojects.com/en/2.1.x/) 91 | * [Postgress DB](https://www.postgresql.org/) 92 | * [VS code](https://code.visualstudio.com/) 93 | 94 | 95 | ### Libraries Used 96 | 97 | * [Face Recognition](https://face-recognition.readthedocs.io/en/latest/readme.html) 98 | * [Dlib](http://dlib.net/) 99 | * [OpenCV](https://opencv.org/) 100 | * [NumPy](https://numpy.org/) 101 | 102 | ## **Contact Us** 103 | 104 | 106 | 107 |
{{ message }}
33 | {% endfor %} 34 | {% endif %} 35 | {% endwith %} 36 |Name | 43 |Mobile | 44 |Location | 45 |Date | 46 |Age | 47 |
---|---|---|---|---|
{{row[1]}} | 54 | 55 |{{row[2]}} | 56 |{{row[6]}} | 57 |{{row[3]}} | 58 |{{row[4]}} | 59 |