A fast algorithm for tracking human faces based on chromatic histograms