From Beginner to Expert: Optical Flow for Object Tracking and Trajectories in OpenCV Python