Snap interview question

How to design and implement object tracking system