Pir sensor with analog output

I want to track if person are going into the room or leaving, if coming in sensor A gets triggered before B and other way when leaving, problem with digital out is that the pin stays high for more than 200-500ms then you will not be able to detect if the person change it minds and turn around and leave. By using 4 or more in array they can also enter diagonal or any angle.. Hence I am looking for one with digital output and no delay or analog..