https://github.com/karvy-singh/sort_memories
Sort photos based on the criteria of "Me with my fav people x,y,z" out of bunch of group photos/random photos
https://github.com/karvy-singh/sort_memories
dlib-face-detection dlib-face-recognition face-recognition python
Last synced: 11 months ago
JSON representation
Sort photos based on the criteria of "Me with my fav people x,y,z" out of bunch of group photos/random photos
- Host: GitHub
- URL: https://github.com/karvy-singh/sort_memories
- Owner: Karvy-Singh
- License: apache-2.0
- Created: 2025-01-03T14:14:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-03T17:15:06.000Z (over 1 year ago)
- Last Synced: 2025-03-29T18:12:08.131Z (about 1 year ago)
- Topics: dlib-face-detection, dlib-face-recognition, face-recognition, python
- Language: Python
- Homepage:
- Size: 93.7 MB
- Stars: 21
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sort_Memories
## Brief
Sort photos based on the criteria of "Me with my favorite people (x, y, z...)" out of a bunch of group photos/random photos.
## Overview
In scenarios where you have a collection of photos from a public event and want to find yourself or specific individuals:
1. **Upload Sample Pictures** of each individual for face detection on `local_host/upload`.
2. **Upload Group Pictures** for recognition and sorting on `local_host/recog`.
The sorted images will be available in the "saved_data" directory in your current directory.
## Instructions
### 1. Upload Sample Pictures
- Navigate to `local_host/upload`.
- Upload sample images of individuals for face detection.
### 2. Upload Group Pictures
- Navigate to `local_host/recog`.
- Upload group images for face recognition and sorting.
### 3. View Results
- After processing, the sorted images will be available in the `saved_data` directory within your current directory.
## SETUP
### 1. Clone and Navigate to Repository
```bash
git clone https://github.com/Karvy-Singh/Sort_Memories.git
cd Sort_Memories
```
### 2. Set Up Virtual Environment
```bash
python -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`
```
### 3. Install Required Dependencies
```bash
pip install face_recognition dlib flask Werkzeug
```
OR
```bash
pip install -r requirements.txt
```
### 4. Run the Application
```bash
source env/bin/activate # On Windows use `env\Scripts\activate`
python final.py
```
visit ```http://localhost:5000``` or any other port as displayed on terminal to run the application and follow the above mentioned steps.