Skip to content

youngjung/flow-python

Repository files navigation

flow-python

usage

read/write .flo file

import sys
sys.path.append('flow-python')
from flowio import readFlowFile, writeFlowFile

flow = readFlowFile(fname_input)
writeFlowFile(flow, fname_output)

visualize flow in rgb code

python flowToColor.py --fname_flow examples/grove2.flo

warp target image according to the flow

python warpImage.py --fname_image examples/grove2_frame10.png --fname_flow examples/grove2.flo

overlay flow in rgb on an image

python createOverlayImage.py --fname_image examples/grove2_frame10.png --fname_flow examples/grove2.flo

check color code

python colorTest.py

About

optical flow - read, write, visualize, warp, overlay

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages