Research Article

Real-Time Depth-Based Hand Detection and Tracking

Algorithm 3

Merge algorithm.
for
 if is not merged
   insert
  for
   if
    if is not merged
     
     if distance
      if intersect
        insert
      end if
     end if
    end if
   end if
  end
  Result Add the mean rectangle of
  
 end if
End