Solution 6

Do not go for human detection, instead of this , Draw a virtual line (on camera video image frame) in front of door, just detect large object which cross the line, you can use motion detection concept. its easy.