Even though our face-detection routine uses higher-level libraries, the universal OpenCV library is also required; it provides various value-added services, such as methods that convert images between various colour spaces.
Given that a manual installation of OpenCV is a higheffort task (and requires hours of compile time, as discussed at https://pimylifeup.com/raspberry-piopencv/), the following steps take a different approach.
We’re using the precompiled packages described at https://lindevs.com/install-precompiled-opencv-onraspberry-pi, which can be downloaded from https://github.com/prepkg/opencv-raspberrypi. This provides an OpenCV library that is in principle ready to run and contains all elements except for the GUI support, which the repository maintainer chose not to include.
Be that as it may, the actual installation of the OpenCV library is accomplished by deploying a DEB package, which is downloaded using :