FeatureMatch.p1#

property FeatureMatch.p1: Any[source]#

Feature coordinate in first image

Returns:

feature coordinate

Return type:

ndarray(2) or ndarray(2,N)

Example:

>>> from machinevisiontoolbox import Image
>>> orb1 = Image.Read("eiffel-1.png").ORB()
>>> orb2 = Image.Read("eiffel-2.png").ORB()
>>> matches = orb1.match(orb2)
>>> matches.p1
array([[783.821 , 709.1714, 839.0617, ..., 997.    , 754.5601, 748.    ],
       [539.9656, 418.0379, 531.5053, ..., 708.    , 540.    , 540.    ]],
      shape=(2, 82))
>>> matches[0].p1
array([783.821 , 539.9656])