How To Install facedetect on Debian 10

Learn how to install facedetect on Debian 10 with this tutorial. facedetect is simple face detector for batch processing

Introduction

In this tutorial we learn how to install facedetect on Debian 10.

What is facedetect

facedetect is:

Facedetect is a simple face detector for batch processing. It answers the basic question: “Is there a face in this image?” and gives back either an exit code or the coordinates of each detected face in the standard output.

The aim is to provide a basic command-line interface that’s consistent and easy to use with software such as ImageMagick, while progressively improving the detection algorithm over time.

facedetect is used in software such as fgallery to improve the thumbnail cutting region, so that faces are always centered.

There are three methods to install facedetect on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install facedetect Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install facedetect using apt-get by running the following command:

sudo apt-get -y install facedetect

Install facedetect Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install facedetect using apt by running the following command:

sudo apt -y install facedetect

Install facedetect Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install facedetect using aptitude by running the following command:

sudo aptitude -y install facedetect

How To Uninstall facedetect on Debian 10

To uninstall only the facedetect package we can use the following command:

sudo apt-get remove facedetect

Uninstall facedetect And Its Dependencies

To uninstall facedetect and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove facedetect

Remove facedetect Configurations and Data

To remove facedetect configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge facedetect

Remove facedetect configuration, data, and all of its dependencies

We can use the following command to remove facedetect configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge facedetect

Dependencies

facedetect have the following dependencies:

References

Summary

In this tutorial we learn how to install facedetect package on Debian 10 using different package management tools: apt, apt-get and aptitude.