Ask Your Question
0

while finding circle using hough circle i find this error?

asked 2019-05-15 01:34:22 -0500

all_circs=cv2.HoughCircles(img1,cv2.cv.CV_HOUGH_GRADIENT,0.9,120,50,30,60,110)

AttributeError: module 'cv2.cv2' has no attribute 'cv'

i am getting thi error

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-05-15 03:42:25 -0500

berak gravatar image

cv2.cv.CV_HOUGH_GRADIENT is from outdated opencv 1.0, it no more exists.

please use recent tutorials

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-05-15 01:34:22 -0500

Seen: 23 times

Last updated: May 15