DAISYFeature.draw2#

DAISYFeature.draw2(image: Any, color: Any = 'y', type: str = 'point') → Any[source]#

Draw features into image using OpenCV keypoint drawing

Parameters:
  • image (Image) – image to draw into

  • color (str, array_like or tuple, optional) – color of the features, defaults to ‘y’

  • type (str, optional) – style, one of ‘point’ [default], ‘rich’ (size and orientation) or ‘not’ (omit single points)

Raises:

ValueError – image pixel data is not C-contiguous

Returns:

the image drawn into

Return type:

Image

Warning

The image is drawn into in place. OpenCV requires that its pixel data is C-contiguous, otherwise a ValueError is raised. See Image for how to create such an image.