FeatureMatch.p1#

property FeatureMatch.p1: Any#

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 , 710.2081, 730.9691, ..., 747.6   , 458.6473, 806.6305],
       [539.9656, 416.448 , 541.0605, ..., 540.    , 548.2268, 748.5697]],
      shape=(2, 39))
>>> matches[0].p1
array([783.821 , 539.9656])