This is repository of "Do We Look A Like?".
You can access the website by clicking or scanning the QR code below.
This application is powered by InsightFace.
- docker is required
# Please change the username and tag correctly.
docker build -t takanarishimbo/do-we-look-alike:v1.0.0 .
cd nginx
# generate private-key
openssl genpkey -out private-key.key -algorithm RSA -pkeyopt rsa_keygen_bits:2048
# generate certificate-request
# please set the certificate.cnf file before executing it.
openssl req -new -key private-key.key -out certificate-request.csr -config certificate.cnf
# generate certificate
openssl x509 -req -in certificate-request.csr -signkey private-key.key -out certificate.crt -days 3650 -extfile certificate.cnf -extensions v3_ca
# Please set the .env file before executing it.
docker compose up -d
- conda or miniconda is required
conda create --name do_we_look_alike python=3.11
conda activate do_we_look_alike
# Please activate venv before executing it.
pip install -r requirements.txt
# Please activate venv before executing it.
streamlit run server.py