/facerecognitionbrain-api

Backend for Image Face Recognition application - Detect Faces in the given Image using machine learning API.

Primary LanguageJavaScript

facerecognitionbrain-api

Image Face Recognition application - Detect Faces in the given Image using machine learning API.

Demo1 - facerecognitionbrain

To run this Project:

  1. Clone this repo
  2. Go to project directory
  3. Install dependencies - Run npm install
  4. Run app npm start

This Repository is Back-end of Face Recognition Brain project, front-end for this project can be found here

Tools Used

  • ReactJs javascript framework used for frontend
    npx create-react-app facerecognitionbrain
    cd facerecognitionbrain
    npm start
    
  • Tachyons library used for design.
  • Tilt.js Animated objects library having lightweight parallax tilt effect.
    $   npm install –save react-tilt
    
  • Flaticon vector icon is used.
  • Particle.js Js library for Particles animated background.
    $   npm install react-particles-js
    
  • CSS3 Background Patterns Gallery using Madras css pattern .
  • Clarifai Image Recognition API.
    $   npm install clarifai
    
  • Cors for front-end and back-end connection.
    $   npm install cors
    
  • KnexJs used for database connection with back-end.
    $   npm install knex --save
    #   Then add (adding a --save) flag:
    $   npm install pg
    
  • Bcrypt for Password hashing.
  • NodeJs for Backend Server so that it can run outside the browser.
  • ExpressJs web application framework on top of Node.js that provides a robust set of features for web.
  • PostgreSQL is used for Handling Database.
  • Web App deployed at Heroku

Table made in Psql datbase

-- create table users

CREATE TABLE users (
id serial PRIMARY KEY,
name VARCHAR(100),
email text UNIQUE NOT NULL,
entries BIGINT DEFAULT 0,
joined TIMESTAMP NOT NULL);


-- create table login

CREATE TABLE login (
id serial PRIMARY KEY,
hash varchar(100) NOT NULL,
email text UNIQUE NOT NULL);

Contributing

Pull requests are welcome. Feel free to fork this repo.