Closed BiohazardShell closed 7 years ago
I acutally correct the TypeError by replacing flow = cv2.calcOpticalFlowFarneback(prev, nextim, 0.5, 1, 15, 3, 5, 1.2, 0) by flow = cv2.calcOpticalFlowFarneback(prev, nextim, None, 0.5, 1, 3, 15, 3, 5, 1)
Thanks Alexis for the issue and for the solution. This has been integrated in the code and pushed back to GitHub.
Hi , There's a TypeError at line 102 in smart-video-counter.py. One of the parameters is a float while the function wants a int. Seems like the function as been updated. Running system: