What is Haar cascade XML file?
Haar cascades are XML files that can be used in OpenCV to detect specified objects.
What is Cascade file in Python?
The job of the cascade is to quickly discard non-faces and avoid wasting precious time and computations. When an image subregion enters the cascade, it is evaluated by the first stage. If that stage evaluates the subregion as positive, meaning that it thinks it's a face, then the output of the stage is maybe.