HI,
This is what I’d do:

create a model that given a sequence of positions, predicts the next (x,y) position based on historical data.
make this model generate a maybe 10 points ahead and use this generated path decide to which room the person is going.

the part about deciding the room I’d do in regular code for now (is (x,y) inside room 1?)
to do that I’d try using RNN (or LSTM to be more precise) and look into how to predict any time series (eg: weather). My gut suggest that they are similar problems.
For example, here’s a video of a friend doing some basics on trajectory prediction: Shooting Hoops with Keras and TensorFlow || Zack Akil - YouTube 3
(it’s old but it’s just to get the idea)
I hope this can give you some ideas.