/God-s-Eye

👮‍♂️ initiative to helps police officers to find missing people

Primary LanguagePython

GOD,S EYE

Prerequisite

  1. Python3
  2. Dlib
  3. Postgressql RDMS
  4. Pgadmin4 (not mandatory)

Installation

Clone this respositor using the command

git clone https://github.com/neerajram30/God-s-Eye.git

Ubuntu:

cat requirements.txt

From the requirements install all the libraries one by one or install all by

pip install -r requirements.txt

Configuration

Create .env in root directory and configure it to files. Replace the fields with your credentials

DB_HOST     = "YOUR HOST NAME"
DB_NAME     = "YOUR DB NAME"
DB_USER     = "YOUR DB USER NAME"
DB_PASS     = "YOUR DB PASSWORD"
APP_SECRET  = "APP PASSWORD"

Usage example

For running this app on development environment you can uncomment this code

if __name__=='__main__':
    app.run(debug=True)

For running this app on production environment you can uncomment this code, the CCTV will only open when this option is enabled.

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=2204, threaded=True)

For creating database tables run command:

python3 createTables.py

For running this application on both product and development environment you can use this command

python3 app.py

Built With

Libraries Used

Contact Us


Linkedin profile