Install each pair at the opposite positions.Then there is a infrared area between these two detector parts. 🧿Type Gate Opener sensor. When interrupt the infrared, the relay will output switch signal, it can work for parking barrier, walking gate, vehicle gate as body induction.
eBay