A low power people counting system based on a visoin sensor working on contrast