One of the hardest things to tell sometimes, my father once told me, is to know whether you're coming or going.
One way is to use ultrasonic ranging readings to determine if someone is going towards or away from a door.
Another: use a small thermal motion sensor(as used in the body-temp infrared detecting automatic light switches) to detect which side of the door first senses a warm body(human) approaching.
Or use two closely spaced infrared/laser/LED xmit/receive beam-interruption pairs, closely spaced in a horiz. plane to determine direction of movement by detecting which beam is broken first. Beams should be at knee height to prevent swinging arms confusing detection while also avoiding detection of small pets.
Or use a pressure-sensitive(easy enough to make and use the touch sensitive module built into a PICC or ATMEL or ARM MCU) with a thin DIY foil-plastic sheet capacitance pancake hidden under a carpet to detect the delta-capacitance movement of unexpected visitors.
But you're overthinking the problem, if only one single thermal movement detector in a room detects things that go bump in the night, that shows any unexpected movement, then it must be that from this evidence you can conclude it was probably not due to a ghost.
Haven't you ever seen any of several glamorizing theft while cleverly showing the defeat of the best of security protection, i.e. flicks about holiday bank robberies, James Bond's clever break-ins or escapes or even any of the many sophisticated art theft movies showing how midnight burglars ravage a museum and steal something like the Hope Diamond?