Skip to content
Advertisement

cv2.hough circles error on video

When I run cv2.HoughCircles() I am getting the error

JavaScript

My code is

GNU nano 2.2.6 File: cv.py

JavaScript

Advertisement

Answer

you are not checking if you circles is None. If you do that, it works:

JavaScript

Output generated:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement