example of a simple genetic algorithm for a people counting computer vision task