Tutorial: How to install Exadel CompreFace on Arch Linux

Exadel CompreFace is an open-source facial recognition platform that can be used for various purposes, such as attendance tracking, automation of customer service, and security.

In this tutorial, we will walk you through the steps to install Exadel CompreFace on Arch Linux.

Prerequisites

Installation Steps

Step 1: Clone the CompreFace Repository

Open the terminal and run the following command to clone the CompreFace repository:

git clone https://github.com/exadel-inc/CompreFace.git

Step 2: Adjust the Database Settings

Navigate to the directory where you cloned the CompreFace repository and open the docker-compose.yml file using an editor of your choice:

cd CompreFace/
nano docker-compose.yml

Edit the POSTGRES_PASSWORD and POSTGRES_USER environment variables in the postgres service section to set the database password and the user:

services:
  postgres:
    image: postgres:13.2-alpine
    restart: always
    environment:
      POSTGRES_PASSWORD: your_password
      POSTGRES_USER: your_username
    volumes:
      - compreface-postgres-data:/var/lib/postgresql/data

Step 3: Start the CompreFace Server

Run the following command to start the CompreFace server:

docker-compose up --build

This command will download and build the required Docker images, and start the CompreFace server. You should see the server logs in the terminal output.

Step 4: Access the CompreFace Web UI

Open your web browser and navigate to http://localhost:8000/. You should see the CompreFace web interface.

Step 5: Authenticate to the CompreFace Web UI

The default username and password for the CompreFace web interface are admin and password. However, you can change the password by setting the ADMIN_PASSWORD environment variable in the compreface service section.

services:
  compreface:
    build: .
    restart: always
    ports:
      - '8000:8000'
    environment:
      LOG_LEVEL: info
      ADMIN_PASSWORD: your_password
    depends_on:
      - postgres

Restart the CompreFace services by running the following command:

docker-compose down
docker-compose up --build

Conclusion

Congratulations! You have successfully installed Exadel CompreFace on Arch Linux. You can now use the CompreFace platform to build facial recognition applications for various purposes.

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!