Multiple People Tracking in ARView?

I am trying to get the 2D skeletal structure of a person in front of the camera. However, in my use case, there may be multiple people in front of the camera. Is there a way to track one person the whole time regardless of other people walking through the frame. Currently, ARFrame.detectedBody keeps jumping between all the people it sees in the frame.


I have one approach to try to solve this. I want to use human detection from the Vision framework. This will provide all the people within the camera view and then I can try to restrict ARView's Camera view to be only focused on the one person that I am interested in. However, I am unsure of how to restrict an ARView's camera scope.


Any help on this topic would be much appreciated!