A camera that will itself decide when to take photo