FeatureMatch.p2#

property FeatureMatch.p2: Any#

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.4401, 636.0148, ..., 646.    , 419.2323, 676.8232],
       [719.5393, 613.4401, 719.6223, ..., 720.    , 748.885 , 719.1246]],
      shape=(2, 39))
>>> matches[0].p2
array([678.0673, 719.5393])