ray-plane intersection.
get your rays. that uses K, to have them in the camera frame.
then use the pose matrix to get them into the world frame.
then figure out where each ray intersects the ground plane. unless the ray is parallel to it, it’ll intersect. that involves solving a fairly simple equation, or going at it intuitively/geometrically.