IR beam break sensors can be used to detect the number of people entering or exiting a building’s or room’s doorway by emitting a beam of infrared light and watching for the beam to be broken by a person passing through. Single beam break sensors allow for aggregate data on human activity in a space but dual beam break sensors will allow for directional counting.