Skip to content

savino9/face-rec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual DNA Application

Discover more about your culture, history and identity.
Virtual DNA allows registered users to upload a picture from a url, the application will connect to the Clarifai API to retrieve data prediction about the uploaded picture.

Problem to solve

The only way to discover more about your ethnic origin is to buy a DNA-kit test, which is most of the time very expensive. Once you buy the kit you will wait for it, usually you have to wait a lot of time also for the results.

  • DNA test kit are too expensive
  • Too much time before getting the results

What is Clarifai?

Clarifai is an artificial intelligence company that excels in visual recognition, solving real-world problems for businesses.

Target Audience


Primary target will be young professionals that wants to learn more about themselves, or just having fun, generally men and women from 25 years old to 35.

Project Specifications

This Web Application is built with:

  • React - front-end javascript library
  • NodeJS - run-time environment
  • Express - Node.js framework

Dev:

  • cors - Cross-Origin Resource Sharing (CORS)
  • body-parser - Node.js body parsing middleware

Security:

  • bcrypt - password hashing function

Database:

  • Postgres - OR database management system
  • Sequelize - ORM promise-based for Node.js

Folder Structure

my-app/
  README.md
  node_modules/
  package.json
  public/
    index.html
    favicon.ico
  src/
    App.css
    App.js
    App.test.js
    index.css
    index.js
    logo.svg

For the project, these files must exist with exact filenames:

  • public/index.html is the page template;
  • src/index.js is the JavaScript entry point.

Technical Specifications:

  • What data will you need to store? How will it be organized? Describe each table, its columns, and its relationships with other tables.

  • Data organization

     Table 'Users'

This will be a list of all of the users stored in the database.

The columns will be:

  • UserId (each user will be assigned a unique Id with a serial primary key)
  • Name (name of the user)
  • Email (email of the user)
  • Password (password of the user)
  • Score (numbers of image upload)
UserId Name Email Score
1 Luca luca@gmail.com 4
2 Stephany steph@mgmail.com 10
3 Trin trin@hotmail.com 8
  • What does your product look like? List each view, their purpose, and how they work

The information on each user will include the id, name, email and password.
After the user has submitted the url a face will be detected (if it exists) and more information about it such as gender, age and multicultural appearance.

ROUTES

Virtual DNA will be highly accessible and incredibly user friendly, the website will have the following routes:

Homepage('/')

This will be the first page the user sees.

Sign In('/signin')

This page allows users to sign in their own account.

Register('/register')

This page allows a user to register an account. (Ideally one account for one user);

Update Score('/image')

This route will update the rank of the user +1 after the image will be analized.

Milestones, Timeline

The application is almost complete. Most of the front-end it's set up and working, it's connected already with the server.

Sunday 28th

  • Implementing Postgres database
  • Creating the table Users
  • Changing background and text color

Monday 29th

  • Connecting the database with the front-end
  • Register a user
  • Getting User profile

Tuesday 30th

  • Update entries
  • Test sign in
  • Test Application

Wednesday 31

  • Figure out how to retrieve info from the Demographic model
  • Implement the new data in the front-end

About

React + Node.js Web App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published