FeatureMatch.descriptor1#

property FeatureMatch.descriptor1: Any#

Feature descriptor in first image

Returns:

feature descriptor

Return type:

ndarray(M) or ndarray(N,M)

Example:

>>> from machinevisiontoolbox import Image
>>> orb1 = Image.Read("eiffel-1.png").ORB()
>>> orb2 = Image.Read("eiffel-2.png").ORB()
>>> matches = orb1.match(orb2)
>>> matches.descriptor1
[array([124, 241,  58, ...,   2, 102,  35], shape=(32,), dtype=uint8), array([ 34, 149, 146, ...,  94, 189, 198], shape=(32,), dtype=uint8), array([  1, 176,  59, ..., 130,  71, 251], shape=(32,), dtype=uint8), array([162, 165,   2, ...,  12, 189, 142], shape=(32,), dtype=uint8), array([ 80, 145,  62, ...,   8, 165, 202], shape=(32,), dtype=uint8), array([ 75,  48, 161, ..., 132,   7, 125], shape=(32,), dtype=uint8), array([213, 223,  22, ...,  91, 169,   6], shape=(32,), dtype=uint8), array([134, 157,  22, ...,  14, 189, 134], shape=(32,), dtype=uint8), array([83, 50,  5, ...,  4, 11, 93], shape=(32,), dtype=uint8), array([ 82, 201,  62, ...,  18, 165, 202], shape=(32,), dtype=uint8), array([ 27, 215, 106, ..., 140, 185, 221], shape=(32,), dtype=uint8), array([ 82,  73,  62, ...,  16, 165,  74], shape=(32,), dtype=uint8), array([ 11, 223, 106, ..., 158,  57, 221], shape=(32,), dtype=uint8), array([124, 100, 252, ..., 251,  70,  99], shape=(32,), dtype=uint8), array([189, 249, 123, ..., 139, 102,  35], shape=(32,), dtype=uint8), array([  2, 157,  62, ...,   8, 189, 206], shape=(32,), dtype=uint8), array([ 32,  79, 122, ..., 178, 102, 169], shape=(32,), dtype=uint8), array([ 41, 115, 114, ..., 158, 195, 159], shape=(32,), dtype=uint8), array([216, 213,  61, ...,  16, 165,  43], shape=(32,), dtype=uint8), array([124, 105,  57, ...,  19,   2,  42], shape=(32,), dtype=uint8), array([195, 146,  62, ...,   0,  35,  59], shape=(32,), dtype=uint8), array([213, 221,  28, ..., 115, 152,   3], shape=(32,), dtype=uint8), array([164,  79,  88, ..., 217, 200, 136], shape=(32,), dtype=uint8), array([180,   9, 125, ..., 179, 102, 163], shape=(32,), dtype=uint8), array([  9, 151, 123, ..., 139,  82, 249], shape=(32,), dtype=uint8), array([176, 124,  59, ...,  17, 102, 187], shape=(32,), dtype=uint8), array([ 57, 123, 122, ..., 158, 203, 249], shape=(32,), dtype=uint8), array([ 71, 242,  47, ..., 129, 135, 117], shape=(32,), dtype=uint8), array([ 57, 121, 242, ..., 178,  98, 189], shape=(32,), dtype=uint8), array([ 68,   1, 188, ..., 106, 197,  34], shape=(32,), dtype=uint8), array([228, 121, 249, ..., 240, 198, 235], shape=(32,), dtype=uint8), array([ 81,  88,  53, ..., 128,  65,  61], shape=(32,), dtype=uint8), array([ 41, 159, 121, ..., 130,  82, 121], shape=(32,), dtype=uint8), array([218, 190, 191, ..., 244, 167, 113], shape=(32,), dtype=uint8), array([132, 121,  27, ...,  19,  33, 163], shape=(32,), dtype=uint8), array([ 20, 174, 222, ..., 250,  41, 129], shape=(32,), dtype=uint8), array([180, 109, 248, ..., 243, 226,  41], shape=(32,), dtype=uint8), array([125, 212, 254, ..., 253, 125, 247], shape=(32,), dtype=uint8), array([ 60, 233, 123, ..., 187, 214, 115], shape=(32,), dtype=uint8)]
>>> matches[0].descriptor1
array([124, 241,  58, ...,   2, 102,  35], shape=(32,), dtype=uint8)