Exadel CompreFace is an open-source facial recognition platform that offers a wide range of features such as face detection, face recognition, face verification, and age/gender detection. In this tutorial, we will go through the steps to install Exadel CompreFace on Linux Mint.
Before installing CompreFace, you should ensure that your system meets the following requirements:
Docker is required to run CompreFace. If you don't have Docker installed on your system, follow these steps:
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
Once Docker is installed, you can check the version by running docker --version
in the terminal.
Docker Compose is a tool for defining and running multi-container Docker applications. You can install it by following these steps:
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
Once Docker Compose is installed, you can check the version by running docker-compose --version
in the terminal.
Clone the CompreFace repository to your system by running the following command:
git clone https://github.com/exadel-inc/CompreFace.git
Navigate into the CompreFace directory and create an environment file:
cd CompreFace
cp .env.sample .env
Open the .env file and modify the values to suit your environment, especially these variables:
TZ=UTC # your timezone
PGDATA=/opt/CompreFace/postgres # folder with DB data
Start CompreFace using Docker Compose.
docker-compose pull
docker-compose up -d
This will pull the necessary images and start the CompreFace services in the background. You can check the CompreFace logs by running docker-compose logs -f
in the terminal.
You can access the CompreFace web interface by opening your browser and navigating to http://localhost:8000
. The default credentials are:
username: root
password: password
In this tutorial, we have gone through the steps to install Exadel CompreFace on Linux Mint. You have also learned how to configure CompreFace, start it using Docker Compose and access the web interface.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!