I have a working object detection and tracking system already implemented. It detects, tracks and maps the objects in the world frame. However, since my camera is mounted on a moving vehicle, it tilts therefore the coordinates of the tracked objects are changing drastically, which results in wrong mapping of objects in the world coordinate.
Is there a way to understand how much the camera tilts between frames, so that I can add or subtract the amount of tilting for the coordinates of the detected objects? Keep in mind that I do not have many keypoints in my images, therefore suggetions including keypoint tracking or something similar can be skipped.
Thanks in advance.