Maybe try to explain a little bit more how the area/edge looks like and how you want to install/detect people.
Depending on that you might also want to try a (light) barrier type of sensor. A modern ToF sensor for example makes a reflector on the second side obsolete and allows easy installation.