Position detection in a room

AnalysIR:

  • use a raspberry Pi with camera & some available software, should work well on ceiling as well
  • Placing an IR LED(s) on the body being tracked should make this easier & more accurate

Roborealm would make it pretty simple to track the position using this method. Accuracy is going to be dependent on the resolution of the cameras you use.