Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Aptfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
libsm6
libxrender1
libfontconfig1
libice6
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn facerecognition.wsgi
34 changes: 30 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.)*
Binary file added db.sqlite3
Binary file not shown.
22 changes: 22 additions & 0 deletions manage.py
Original file line number Diff line number Diff line change
@@ -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()
14 changes: 14 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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