Walls like this in dense areas definitely help. One, the animals are afraid of being seen going over the wall. Two, they don’t know what is on the other side where they are going over. Three, they are vulnerable to defensive action as they go over.
Walls, inside, should have an electronic solar powered mote of some kind.