diff --git a/Aptfile b/Aptfile new file mode 100644 index 00000000..f951a588 --- /dev/null +++ b/Aptfile @@ -0,0 +1,4 @@ +libsm6 +libxrender1 +libfontconfig1 +libice6 \ No newline at end of file diff --git a/Procfile b/Procfile new file mode 100644 index 00000000..6499e394 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: gunicorn facerecognition.wsgi \ No newline at end of file diff --git a/README.md b/README.md index 578bb9cc..e15e9d36 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,31 @@ # ksp-submission -This repository is created for Karnataka State Police Hackathon 2023 - submission collection. -## Team Information -### Team Name - -### Problem Statement - + +## Overview +ksp-submission is a **Python** project. This repository contains the source code, documentation, and any related assets for the project. + +## Intent +The intention behind this project is to provide a reference implementation, demonstrate ksp-submission’s functionality, and serve as a learning or showcase resource. + +## Complexity +Medium + +## How to Run +` +# Clone the repository + +git clone https://github.com/SughoshDixit/ksp-submission.git + +cd ksp-submission + +# (optional) create a virtual environment +python -m venv venv + +# Activate and install dependencies +.\\venv\\Scripts\\activate +pip install -r requirements.txt + +# Run the script +python main.py +` + +*(If the project uses a different build tool, replace the commands above with the appropriate instructions.)* \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 new file mode 100644 index 00000000..a7331fab Binary files /dev/null and b/db.sqlite3 differ diff --git a/manage.py b/manage.py new file mode 100644 index 00000000..c4ae6b1b --- /dev/null +++ b/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'facerecognition.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..2992ef6a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,14 @@ +asgiref==3.3.4 +Django==3.2.3 +joblib==1.0.1 +numpy==1.20.3 +opencv-python-headless==4.5.2.52 +Pillow==8.2.0 +pytz==2021.1 +scikit-learn==0.24.1 +scipy==1.6.3 +sklearn==0.0 +sqlparse==0.4.1 +threadpoolctl==2.1.0 +gunicorn +whitenoise