If you want to localize a given 3d model in a scene and track it over time you can use this code as a starting point.

Here is one example of the turtle (on the right) which has been found in the image and overlaid by a 3d model (on the left)model_overlaid

Link for the repository: https://github.com/xiriu/localization_and_tracking

Link to a video showing the tracking.