the code is: hougharr=opencv.CreateMemStorage(0)#64k result=opencv.HoughCircles(edge,hougharr,opencv.CV_HOUGH_GRADIENT,2,edge.width/10)
and the error code is: TypeError: Argument 'circle_storage' must be CvMat. Use fromarray() to convert numpy arrays to CvMat
AND
the code is: hougharr=opencv.CreateMemStorage(0)#64k opencv.fromarray(hougharr) result=opencv.HoughCircles(edge,hougharr,opencv.CV_HOUGH_GRADIENT,2,edge.width/10)
and the error code is: TypeError: object does not have array interface
What should I do to correct the mistakes?