Skip to content

Latest commit

 

History

History
37 lines (37 loc) · 1.27 KB

README.md

File metadata and controls

37 lines (37 loc) · 1.27 KB

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 iamge 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