FeatureMatch.id2#

property FeatureMatch.id2: Any#

Feature id in second image

Returns:

feature id

Return type:

int or ndarray(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.id2
array([360, 313, 448, ...,  21, 477, 419], shape=(39,))
>>> matches[0].id2
360