Raw data form AR Foundation is rotated, and in landscape ratio. Code below helped solve the problem.
Understanding ARkit Human Segmentation
Next
Next
Raw data form AR Foundation is rotated, and in landscape ratio. Code below helped solve the problem.