FeatureMatch.id1#

property FeatureMatch.id1: Any#

Feature id in first 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.id1
array([410, 332, 494, ..., 132, 497, 343], shape=(39,))
>>> matches[0].id1
410