This class tracks the motion of the camera. This can be used for
things like video stablization or to better understand camera motion
across multiple frames.
This uses the LK optical flow algorithm to track point correspondences
from one frame to another.
It can output the frame to frame camera motion as a homography.
|
|
|
update(self,
frame)
This tracks the points_b to the next frame using the LK tracker. |
source code
|
|
|
_selectTrackingPoints(self,
frame)
This uses the OpenCV get good features to track to initialize a set
of tracking points_b. |
source code
|
|
list of pv.Point()
|
|
|
|
|
|