Traceback (most recent call last): File "example.py", line 58, in <module> flow = cv2.calcOpticalFlowFarneback(gray1, gray2,0.5, 3, 15, 2, 5, 1.2, 0) # calculating the flow between gray1 and gray2 using gunner farneback algorithm TypeError: integer argument expected, got float