Skip to main content
. 2022 May 7;22(9):3568. doi: 10.3390/s22093568
Algorithm 1: Procedure used by the integrated detector
Input A sliding window (bx,by,bw,bh), face bounding boxes (fxn,fyn,fwn,fhn), face scores sn, n=1,2,N.
Settings sall=0, m=0, set offset, rw,  rh, fss, dhr, fwr, fhr and sthr.
Output Qualified (bx,by,bw,bh), sall.
Step 1 For each n:
If Equations (2)–(7) are fulfilled:
               m=m+1
         sscm=fss12ln(sn1sn)(1dndhr bh)
            sall=max{ sscm}, m=1,2,M
Step 2 Send sall to the cascading decision trees.
Step 3 If sall=max{sscm} is implemented:
  If sall>sthr:
    Output (bx,by,bw,bh);
else if sall>sdefault (default threshold):
   Output (bx,by,bw,bh).