MarkerPose

Qualified name: n_fold_edge.marker_pose.MarkerPose

class MarkerPose(x, y, theta, quality, order)[source]

Bases: object

Define Marker Position and Orientation.

Parameters:
  • x (float) – X coordinate of marker position.

  • y (float) – y coordinate of marker position.

  • theta (float) – Orientation of marker.

  • quality (float) – The quality score of the marker.

  • order (int) – The Order type of the marker.

Methods

as_list

Return a list representation.

scale_position

Scale the marker position by a scale factor.

as_list()[source]

Return a list representation.

Returns:

  • x (float)

  • y (float)

  • theta (float)

  • quality (float)

  • order (int)

Return type:

list[float | int]

scale_position(scale_factor)[source]

Scale the marker position by a scale factor.

Parameters:

scale_factor (float)

Return type:

None