Getting Error - detector = cv2.AKAZE_create() AttributeError: 'module' object has no attribute 'AKAZE_create' [7]+ Terminated: 15
<p>I was able to run same Python script earlier not sure why I started getting this error from last 1 week. I re-installed opencv and opencv-contrib but still no luck.</p>

<p>Here is my code:</p>

<pre><code>from future import print_functionimport
cv2 image = cv2.imread("IMG_3992.jpg") 
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) 
cv2.imshow("Original", image) 
detector = cv2.AKAZE_create() (kps, descs) = detector.detectAndCompute(gray, None) 
print("keypoints: {}, descriptors: {}".format(len(kps), descs.shape))       
cv2.drawKeypoints(image, kps, image, (0, 255, 0))
cv2.imshow("Output", image)
cv2.imwrite('AKZ_3992.jpg',image) cv2.waitKey(0) 
</code></pre>

<p>Can you please help me..Thanks a lot in advance..</p>

<p>Gags..</p>