Code Monkey home page Code Monkey logo

photo-sharing-app's Introduction

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 clsuter 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/

photo-sharing-app's People

Contributors

aneesh02 avatar kshivendu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.