File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,47 +30,47 @@ def __init__(self, num=0):
30
30
assert (isinstance (num , numbers .Number ))
31
31
safe_call (backend .get ().af_create_features (ct .pointer (self .feat ), c_dim_t (num )))
32
32
33
- def num_features ():
33
+ def num_features (self ):
34
34
"""
35
35
Returns the number of features detected.
36
36
"""
37
37
num = c_dim_t (0 )
38
38
safe_call (backend .get ().af_get_features_num (ct .pointer (num ), self .feat ))
39
39
return num
40
40
41
- def get_xpos ():
41
+ def get_xpos (self ):
42
42
"""
43
43
Returns the x-positions of the features detected.
44
44
"""
45
45
out = Array ()
46
46
safe_call (backend .get ().af_get_features_xpos (ct .pointer (out .arr ), self .feat ))
47
47
return out
48
48
49
- def get_ypos ():
49
+ def get_ypos (self ):
50
50
"""
51
51
Returns the y-positions of the features detected.
52
52
"""
53
53
out = Array ()
54
54
safe_call (backend .get ().af_get_features_ypos (ct .pointer (out .arr ), self .feat ))
55
55
return out
56
56
57
- def get_score ():
57
+ def get_score (self ):
58
58
"""
59
59
Returns the scores of the features detected.
60
60
"""
61
61
out = Array ()
62
62
safe_call (backend .get ().af_get_features_score (ct .pointer (out .arr ), self .feat ))
63
63
return out
64
64
65
- def get_orientation ():
65
+ def get_orientation (self ):
66
66
"""
67
67
Returns the orientations of the features detected.
68
68
"""
69
69
out = Array ()
70
70
safe_call (backend .get ().af_get_features_orientation (ct .pointer (out .arr ), self .feat ))
71
71
return out
72
72
73
- def get_size ():
73
+ def get_size (self ):
74
74
"""
75
75
Returns the sizes of the features detected.
76
76
"""
You can’t perform that action at this time.
0 commit comments