The cheap radar modules sens through walls and have no directionality.
The easy and cheap sensor methods you can rely on to sense if someone is standing in front of a picture frame is either reflective IR or ultrasonic sensor if the room is of reasonable size (more than 1 meter between facing images). First, an ultrasonic sensor needs an echo within a narrorange of time (20 mSec) to create an effect. You can use hardware or a microcontroller and software to insure an object is less than 1 meter (viewing distance) and anything greater would be ignored. There is little chance of any cross-talk on the cheap ultrasonic sensors if sensors are more than 3 meters apart. The only time you'll have trouble is if the sensor fires in the same 20-millisecond window - AND - the two sensors are within the 3 to 4-meter line-of-site.
IR can be used like the modulated IR on a garage door opener safety system. It becomes quite easy if you can reflect off of a white ( light colored) wall across from the picture frame. Alternatively, you can reflect off of the person standing and looking at the picture frame. This has some challenges because dark clothing and/or dark skin tones tend to absorb near-IR used by these sensors.
You can also make a simple beam interrupt sensor if you have any sort of gate systems to keep people a few feet back from the picture frame. You can put a second set of gates behind the viewer and use a send + receive to sense when someone is standing in front of the sensor and interrupting the beam.
The easy and cheap sensor methods you can rely on to sense if someone is standing in front of a picture frame is either reflective IR or ultrasonic sensor if the room is of reasonable size (more than 1 meter between facing images). First, an ultrasonic sensor needs an echo within a narrorange of time (20 mSec) to create an effect. You can use hardware or a microcontroller and software to insure an object is less than 1 meter (viewing distance) and anything greater would be ignored. There is little chance of any cross-talk on the cheap ultrasonic sensors if sensors are more than 3 meters apart. The only time you'll have trouble is if the sensor fires in the same 20-millisecond window - AND - the two sensors are within the 3 to 4-meter line-of-site.
IR can be used like the modulated IR on a garage door opener safety system. It becomes quite easy if you can reflect off of a white ( light colored) wall across from the picture frame. Alternatively, you can reflect off of the person standing and looking at the picture frame. This has some challenges because dark clothing and/or dark skin tones tend to absorb near-IR used by these sensors.
You can also make a simple beam interrupt sensor if you have any sort of gate systems to keep people a few feet back from the picture frame. You can put a second set of gates behind the viewer and use a send + receive to sense when someone is standing in front of the sensor and interrupting the beam.