Programming platform (what os, what language, what sdks and middleware, other??)
Algorithms - in words and as much as possible in pseudo code give VERY DETAILED algorithms to solve these problems
calibration of sensor(s)
capture of color or greyscale image, capture of depth data (map) --- have RGB and XYZ at every pixel point.
determination through some initilization/calibration of the ground floor in the room. Describe the floor as an equation to a plane ---- hint: user specifies 3 points in a screenshot that are not too close and represent points on the floor and for which you have RGB and XYZ values ---then you can get the plan from this uniquely
person detection
motion detection of person
detection of person laying/ prone on/to floor
GUI interface of program
including response when a person is detected to be on floor