neural-style-video icon indicating copy to clipboard operation
neural-style-video copied to clipboard

getting an error when processing frames

Open CJHFUTURE opened this issue 7 years ago • 1 comments

Traceback (most recent call last): File "opticalflow.py", line 28, in flow = cv2.calcOpticalFlowFarneback(img1, img2, 0.5, 3, 15, 3, 5, 1.2, 0) TypeError: integer argument expected, got float

Thanks for any help:) Cheers

CJHFUTURE avatar Mar 01 '18 06:03 CJHFUTURE

im using python3 as well

CJHFUTURE avatar Mar 01 '18 07:03 CJHFUTURE