FeatureMatch.p2#

property FeatureMatch.p2: Any[source]#

Feature coordinate in second 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.p2
array([[678.0673, 613.7857, 721.613 , ..., 858.    , 652.32  , 646.    ],
       [719.5393, 613.7857, 711.6597, ..., 871.    , 720.    , 720.    ]],
      shape=(2, 82))
>>> matches[0].p2
array([678.0673, 719.5393])