Skip to content

An AI powered gallery web app to conveniently organize your photos

Notifications You must be signed in to change notification settings

Antony90/smart-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Gallery

An AI powered gallery web app to conveniently organize your photos.

A React app for my Machine Learning based image REST API.


Machine Learning features:

  • Image classification and tagging - Search for images in natural language descriptions.
  • Face detection and similarity - Uploaded photos are grouped by similar faces and visualized with face bounding boxes.

Photo Gallery features:

  • Create Smart Photo Albums - Select photos or use automatically generated albums based on tags, faces or date uploaded.
  • Graphs and Statistics - Image tag distribution, face data
  • Cloud storage - Firebase storage
  • Masonry Gallery layout - A natural tiling layout for photos
  • Filtering by metadata - Any photo metadata

TODO features:

  • Use face bounding boxes for a "generate collage" tool
  • Simple photo effects button e.g. contrast, shadow, brightness, filters

Screenshots

Photos ML Data Overview
Face ID ML Action History
Photo Preview Photo Details

Frontend tech

  • ant.design - React UI library
  • React ApexCharts.js, ant-design/charts - Beautiful graphs and charts
  • Redux - UI state management
  • firebase - database and image storage

Backend (image classifier, face detection, face data storage)

A REST server hosting an image classification endpoint and face simlarity microservice which stores facial data to group images by unique faces.

Source code and installation here.

  • MongoDB - face embedding data & metadata
  • dlib - face recognition
  • FastAPI - REST server with automatic documentation

Demo

A static demo is hosted here To be added soon.

Usage

Installation

Requires nodejs and python3 (for backend). A firebase app and mongodb database is required.

npm install

Run local

Start the http server.

npm run start

Also start the backend. Defaults to port 8000.

Environment variables

Copy the contents of .env.example to .env and fill with firebase credentials.