How to Install Exadel CompreFace on Fedora Server
Exadel CompreFace is an open-source face recognition platform for developers. In this tutorial, we will go through the steps to install Exadel CompreFace on Fedora Server.
Prerequisites
Before installing Exadel CompreFace, you must have the following prerequisites:
- A running instance of Fedora Server.
- Java Development Kit (JDK) 11 installed on your system. You can install it by running the following command:
sudo dnf install java-11-openjdk-devel
Step 1: Download Exadel CompreFace
To download Exadel CompreFace, go to the official website and download the latest version. In this tutorial, we will download version 1.3.0. You can use the following command to download it:
wget https://github.com/exadel-inc/CompreFace/releases/download/v1.3.0/compreface-dist-1.3.0.zip
Step 2: Unzip Exadel CompreFace
After downloading Exadel CompreFace, you need to unzip it into a folder. You can use the following command to unzip it:
unzip compreface-dist-1.3.0.zip
This will create a folder named compreface-dist-1.3.0.
Step 3: Configure Exadel CompreFace
Before running Exadel CompreFace, you need to configure it according to your requirements. Open the application.yml file located in the compreface-dist-1.3.0/config folder using a text editor.
vi compreface-dist-1.3.0/config/application.yml
Update the configuration values according to your requirements. For example, you can set the server port and the database credentials.
server:
port: 8080
spring:
datasource:
url: jdbc:postgresql://localhost:5432/compreface
username: username
password: password
Save and close the file when you are done.
Step 4: Start Exadel CompreFace
After configuring Exadel CompreFace, you can start it using the following command:
cd compreface-dist-1.3.0/
./run.sh
This will start Exadel CompreFace on port 8080.
Step 5: Access Exadel CompreFace
You can access Exadel CompreFace by opening a web browser and navigating to http://localhost:8080. If you have configured a different port in the application.yml file, replace 8080 with your configured port.
Conclusion
In this tutorial, we have shown you how to install Exadel CompreFace on Fedora Server. You can now use Exadel CompreFace to build face recognition applications.