Skip to content

leejeongwoo1/facenet-web-project

Repository files navigation

Find someone who looks like using facenet

Facenet makes embedding vector and we compare between vectors to find a similar person
You can give a face image to web application, then web application shows someone who looks like face image

How to use?

  1. install
    # clone this repo
    git clone https://github.com/leejeongwoo1/facenet-web-project.git  
    check requirements.txt and install libraries(ex. facenet-pytorch, flask ...)
    
  2. include dataset:
    Add face image at frontend/static/face_dataset to compare with client image
    
  3. make embedding vector (json) about face_dataset
    Run embeddings.py to make json file which includes 512D embedding vector about dataset
    You can check json file at /model 
    
  4. Run flask web application
    set FLASK_APP=frontend
    flask run

reference

facenet-pytorch
facenet
lovelyzDetector using facenet

web preview

main page find similary person error page