Fiducial.draw#

Fiducial.draw(image: Image, length: int = 100, thick: int = 2) None[source]#

Draw marker coordinate frame into image

Parameters:
  • image (Image) – image with BGR color order

  • length (int, optional) – axis length in pixels, defaults to 100

  • thick (int, optional) – axis thickness in pixels, defaults to 2

Raises:

ValueError – image must have BGR color order

Draws a coordinate frame into the image representing the pose of the marker. The x-, y- and z-axes are drawn as red, green and blue line segments.