A raspberry pi detector for the doorman project