You can at least get the who's in/out with a pair of cheap cameras (one inside, one out) and the frigate add-on. Set up for cat detection it's fairly decent:

If you build up enough images of your creatures, you could even train a model to recognise them each specifically.