demonstration of using a simple perceptron in a people counting context