Coder Social home page Coder Social logo

sonnyburni / smart-brain-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8.16 MB

A React App that detects, then highlights faces in web images. Including a user profile with image upload count and a Ranking Badge served from AWS Lambda

Home Page: https://sonny-smart-brain.herokuapp.com/

JavaScript 95.25% Dockerfile 2.83% PLpgSQL 1.92%
bcrypt clarifai-face-detection-api docker expressjs form-validation heroku json-web-token nodejs redis-database user-authentication

smart-brain-api's Introduction

Smart Brain Client

A React App that detects, then highlights faces in web images. Including a user profile with image upload count and a Ranking Badge served from AWS Lambda as a serverless function.

Built with React.js, Node.js, Express, Bcrypt, PostgreSQL, Redis, Tachyon CSS, Clarifai Face Detection API, and all running on Heroku Servers 'synched' with GitHub.

Back-end Server Repo Link: https://github.com/Sonnyburni/smart-brain

Thanks to Andrei Neagoie for creating the ZTM Web Developer Zero to Mastery and ZTM Junior to Senior Web Developer courses which SmartBrain is based on.

Since completing both courses and further personal development I have also updated the SmartBrain app further extensively, adding numerous updates, bug fixes etc. With the fundamental update being to adapt it to run 100% remotely with Heroku hosting the site in tandem with PostgreSQL DB, Redis DB and AWS Lambda servers too. I have also implemented validation for both email and password fields on sign up.


Demo

๐Ÿš€ View Live Demo ๐Ÿš€

<img src="" width="250" height="250"/>

How to use

You can use the following test login details (ensure lowercase as case sensitive)
Email: [email protected]
Password: world


Please note: Site may take a few seconds to initially load due to using Heroku .

Or you can click on the 'Register' tab and create your own new login details to use instead.

Once logged in simply copy, then paste an image url from the web (example: https://i.natgeofe.com/n/a66a4e3e-ba36-4ca1-bfb3-a3751bfaf110/83704.jpg) into the search input field, then click the 'DETECT' button to run the Face Detection API.

Each time you upload an image the 'Total Images Submitted' value is incremented by +1. You can view the current total in the 'View Profile' tab, along with the 'Current Rank 'Badge', which is fed from AWS Lambda as a serverless function.

The Rank Badge updates based on the current image upload count.

Total Images Submitted Current Rank 'Badge'
0 ๐Ÿ˜
1 ๐Ÿ˜ƒ
2 ๐Ÿ˜€
3 ๐Ÿ˜Š
4 ๐Ÿ˜‰
5 ๐Ÿ˜
6 ๐Ÿ”ถ
7 ๐Ÿ”ท
8 or over ๐Ÿš€

Features

  • Multi-Face Detection using Clarifai Face Detection API

  • Ranking badge element served from external AWS Lambda as a serverless function

  • User authentication using JSON Web Tokens (JWT)

  • With a Redis Database for Token Management

  • User profile with capture of image uploads, stored via a PostgreSQL Database

  • TS Particles for background animation

  • Parallax tilt for interactive site logo

  • Form validation

  • Bcrypt user password encryption/decryption to/from PostgreSQL Database

  • Editable user profile

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.