Skip to content

Useless hackathon demo: Replace your eyes with beautiful eyes! Uses GCP Vision API

Notifications You must be signed in to change notification settings

VikramTiwari/beautiful-eyes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beautiful Eyes

  • A "Useless Hackathon" demo at Symph.
  • Replace your eyes with beautiful eyes!
  • Uses GCP Vision API to detect position coordinates of eyes.

What it does

  • changes photo to base64
  • sends them to vision api
  • gets position and slope of eyes
  • overlays beautiful eyes to those positions

Setup

  • Get an API key for Vision API from developer console
  • Replace it in the index.html#l10
  • Serve locally using python or nodejs
# python
python -m SimpleHTTPServer

# nodejs
http-server

Usage

  • Upload files from test directory
  • Wait for the response from vision api and the eyes will be replaced automatically

Credits

About

Useless hackathon demo: Replace your eyes with beautiful eyes! Uses GCP Vision API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%