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:
@@ -79,8 +79,8 @@ kp = orb.detect(img,None)
|
||||
kp, des = orb.compute(img, kp)
|
||||
|
||||
# draw only keypoints location,not size and orientation
|
||||
img2 = cv2.drawKeypoints(img,kp,color=(0,255,0), flags=0)
|
||||
plt.imshow(img2),plt.show()
|
||||
img2 = cv2.drawKeypoints(img, kp, None, color=(0,255,0), flags=0)
|
||||
plt.imshow(img2), plt.show()
|
||||
@endcode
|
||||
See the result below:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user