BOOSTFeature.orientation#

property BOOSTFeature.orientation: Any#

Orientation of feature

Returns:

Orientation in radians

Return type:

float or list of float

Example:

>>> from machinevisiontoolbox import Image
>>> img = Image.Read("eiffel-1.png")
>>> orb = img.ORB()
>>> orb[0].orientation
np.float64(2.6065742432372345)
>>> orb[:5].orientation
array([2.6066, 0.2142, 0.9037, 1.3356, 3.9888])