Detecting moving shadows: Algorithms and evaluation