1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

python docs: fix missing output image in cv2.drawKeypoint examples

This commit is contained in:
berak
2016-08-07 15:59:11 +02:00
parent 52444bf8d0
commit d2a1994d71
3 changed files with 6 additions and 6 deletions
@@ -105,7 +105,7 @@ fast = cv2.FastFeatureDetector_create()
# find and draw the keypoints
kp = fast.detect(img,None)
img2 = cv2.drawKeypoints(img, kp, color=(255,0,0))
img2 = cv2.drawKeypoints(img, kp, None, color=(255,0,0))
# Print all default params
print "Threshold: ", fast.getInt('threshold')
@@ -121,7 +121,7 @@ kp = fast.detect(img,None)
print "Total Keypoints without nonmaxSuppression: ", len(kp)
img3 = cv2.drawKeypoints(img, kp, color=(255,0,0))
img3 = cv2.drawKeypoints(img, kp, None, color=(255,0,0))
cv2.imwrite('fast_false.png',img3)
@endcode