| Algorithm 1: Procedure used by the integrated detector | |
| Input | A sliding window , face bounding boxes face scores . |
| Settings | , , set , , , , , , and . |
| Output | Qualified , . |
| Step 1 | For each : If Equations (2)–(7) are fulfilled: |
| Step 2 | Send to the cascading decision trees. |
| Step 3 | If is implemented: If : Output ; else if (default threshold): Output . |