pub fn draw_keypoints_def(
    image: &impl ToInputArray,
    keypoints: &Vector<KeyPoint>,
    out_image: &mut impl ToInputOutputArray
) -> Result<()>
Expand description

Draws keypoints.

Parameters

  • image: Source image.
  • keypoints: Keypoints from the source image.
  • outImage: Output image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
  • color: Color of keypoints.
  • flags: Flags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags. See details above in drawMatches .

Note: For Python API, flags are modified as cv.DRAW_MATCHES_FLAGS_DEFAULT, cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

Note

This alternative version of draw_keypoints function uses the following default values for its arguments:

  • color: Scalar::all(-1)
  • flags: DrawMatchesFlags::DEFAULT