GithubHelp home page GithubHelp logo

chetan0110 / profily Goto Github PK

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

The small app which allows to upload profile picture and detects the age, gender, ethnicity etc based on uploaded picture.

JavaScript 4.38% Ruby 0.44% HTML 54.32% Shell 0.75% CSS 39.91% PowerShell 0.20%
reactjs redux react-router-dom redux-promise face-detection kairos

profily's Introduction

Profily

  • User can login in the app with any random user name and password because authentication has been done through one Basic Hash String internally which always authenticates
  • After login, user requires to upload image by clicking on choose file button and then hit Upload! button
  • After little processing, details like age, gender, ethnicity etc. will be displayed on the screen based on uploaded image
  • For face-detection kairos API has been used

Getting Started

  • Download and install node's latest version based on your system from here
  • Install npm package manager
  • Clone the project
  • Under the root (profily) directory run npm install
  • If you don't have CORS plugin for chrome added, add it (follow this link)
  • Click on CORS plugin icon in your browser and add url https://api.kairos.com/detect under Intercepted URLs or URL patterns

Prerequisites

  • All the required packages for this app have been listed under package.json file, some of them are needs to be installed menually and some of them come while creating app with create-react-app
  • Menually needs to be installed includes-
    1. react-redux
    2. react-router-dom
    3. redux
    4. redux-promise
    5. axios
  • Rest of them come while creating app

Installing

  • Third point under Getting started will install all the required packages

Usage

To run the server:

  • Under the root (profily) directory run npm start
  • The app will be accessible at localhost:3000

Deployment

  • Under the root (profily) directory run npm run build
  • Above command will create build of the app and put it inside build directory which can be found inside root directory of the app
  • You can keep build directory as it is or you can move it anywhere else
  • Install serve to run the build by running command npm install -g serve
  • Go to build directory and run serve -s . or go to parent directory of build and run serve -s build

profily's People

Contributors

chetan0110 avatar

Watchers

 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.