Rules for “uncommon” types

I’d like to see a blend of AI/Camera/App where we can set rules for wildlife detection. I have birds (which are always Ok), squirrels (which are Ok), Raccoons that aren’t Ok (after a certain hour), and recently a bear (which is never Ok on my porch),

I’d like to set sirens for the various types after certain hours.