[−][src]Function opencv::video::read_optical_flow
pub fn read_optical_flow(path: &str) -> Result<Mat>
Read a .flo file
Parameters
- path: Path to the file to be loaded
The function readOpticalFlow loads a flow field from a file and returns it as a single matrix. Resulting Mat has a type CV_32FC2 - floating-point, 2-channel. First channel corresponds to the flow in the horizontal direction (u), second - vertical (v).