pub fn draw_keypoints(
image: &impl ToInputArray,
keypoints: &Vector<KeyPoint>,
out_image: &mut impl ToInputOutputArray,
color: Scalar,
flags: DrawMatchesFlags,
) -> 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
§C++ default parameters
- color: Scalar::all(-1)
- flags: DrawMatchesFlags::DEFAULT