createOptFlow_DeepFlow function in python opencv?
Is there a function like createOptFlow_DeepFlow in opencv python for optical flow calculation?
Is there a function like createOptFlow_DeepFlow in opencv python for optical flow calculation?
yes, there is createOptFlow_DeepFlow
in opencv3 / python.
you will need to build with the opencv_contrib repo , then it is in cv2.optflow
:
>>> help(cv2.optflow)
Help on module cv2.optflow in cv2:
NAME
cv2.optflow
FILE
(built-in)
FUNCTIONS
calcOpticalFlowSF(...)
calcOpticalFlowSF(from, to, layers, averaging_block_size, max_flow[, fl
w]) -> flow or calcOpticalFlowSF(from, to, layers, averaging_block_size, max_
low, sigma_dist, sigma_color, postprocess_window, sigma_dist_fix, sigma_color_f
x, occ_thr, upscale_averaging_radius, upscale_sigma_dist, upscale_sigma_color,
peed_up_thr[, flow]) -> flow
calcOpticalFlowSparseToDense(...)
calcOpticalFlowSparseToDense(from, to[, flow[, grid_step[, k[, sigma[,
se_post_proc[, fgs_lambda[, fgs_sigma]]]]]]]) -> flow
createOptFlow_DeepFlow(...)
createOptFlow_DeepFlow() -> retval
createOptFlow_Farneback(...)
createOptFlow_Farneback() -> retval
createOptFlow_SimpleFlow(...)
createOptFlow_SimpleFlow() -> retval
createOptFlow_SparseToDense(...)
createOptFlow_SparseToDense() -> retval
readOpticalFlow(...)
readOpticalFlow(path) -> retval
writeOpticalFlow(...)
writeOpticalFlow(path, flow) -> retval
Asked: 2015-12-10 00:03:24 -0600
Seen: 1,356 times
Last updated: Dec 10 '15
calcOpticalFlowSF() doesn't respond
calcOpticalFlowPyrLK on threads
Extract point for calcOpticalFlowPyrLK and cluster
lkdemo.cpp crashing upon cornerSubPix() and calcOpticalFlowPyrLK() call
Possible code bug in frame blending in gpu/NPP_staging.cu
Dense Optical Flow in JavaCV (DualTVL1)
Assertion failure with call to cv::calcOpticalFlowPyrLK(...) (ANSWERED)