pyorc.Video.get_ms#
- Video.get_ms(cap: VideoCapture, split: Optional[int] = 2)[source]#
Get stabilization transforms for each frame based on analysis of stable points outside of water area.
- Parameters:
cap (cv2.VideoCapture) – ref to video file
split (int) – Amount of quadrants to split the area in to search for stabilization points. In each quadrant, an equal number of stabilization points will be searched for .This is in order to ensure stabilization uses points in all quadrants and prevent overfitting on only one part of the objective.