Fixed image flipping (embarassing mistake), now optflow works