Skip to content

Upload group photos, arrange them by faces using ML and share them with ease. 🤳🤖

Notifications You must be signed in to change notification settings

OpenLake/Photo-Sharing-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photo-Sharing-App

About the Project

Photo Sharing App is a web app that allows a user to get group photos that include them without having to keep or sort through all of the photos, saving them time and storage space. When a photo is uploaded, the app identifies the faces in it and arranges them according to the users who have been identified. Each identified user gets a separate album with all their photos allowing them to get the photos they need seamlessly. Upload group photos, arrange them by faces using ML and share them with ease. 🤳🤖

Installation


Usage

1 Landing Page

2 Room Creation Page

3 Here I have uploaded 6 images of Harry Potter cast.

4 After pressing "Process" we get these 3 albums of faces present in the photos we uploaded.

5 This is Ron Weasley a.k.a Rupert Grint's album. Out of the original 6 images he was present in just 4 and now we can download these pics indiviually or as a zip.

How does it work?

When a user uploads a group photos and starts to "Process" it, the Face Recognition library detects all the faces present in the group image. After detecting the faces it reduces them into a 128 length vector. Now each image is represented by a vector of length 128. Once we have obtained the vectors the task that remains is to cluster them. This being an unsupervised clustering problem so I have used DBSCAN. This method doesnt need to know the number of clusters beforehand. It divides all the images into clusters where each cluster belongs to a single person as the simmilarity between the images of the same person is more hence they get clustered closely. Now each cluster gets an indiviual album from where you can download the album or a single image indiviually.

Frequently Asked Questions

Q: I got Error: That port is already in use.

A: It occurs because some process has occupied that port. You may kill the process using sudo fuser -k 8000/tcp or use a different port. For using a different port simply replace bash setup.sh with bash setup.sh <port-number>. An example bash setup.sh 7000. Now your app will successfully run on http://127.0.0.1:7000/

About

Upload group photos, arrange them by faces using ML and share them with ease. 🤳🤖

Topics

Resources

Stars

Watchers

Forks

Languages