Muche easier: just use the LabWiev Runtime (what is free of cost) and cheap camera. Training up to recognize the human shape is easier as to recognize nonlinear scale of vacuummeter, what we are using here.Or you could use a camera and a neural network trained with millions of pictures of humans and non-humans approaching the door.
Do you mean my speed detecting version?i will like to have a good look to the human detector device schematic diagram