I have OpenCV installed but can't seem to import the DualTLV1OpticalFlow https://docs.opencv.org/3.3.0/dc/d47/classcv_1_1DualTVL1OpticalFlow.html
import cv2
optical_flow = cv2.DualTVL1OpticalFlow_create()
Gives me the error message
AttributeError: module 'cv2' has no attribute 'DualTVL1OpticalFlow_create'