File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 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):
3030 assert (isinstance (num , numbers .Number ))
3131 safe_call (backend .get ().af_create_features (ct .pointer (self .feat ), c_dim_t (num )))
3232
33- def num_features ():
33+ def num_features (self ):
3434 """
3535 Returns the number of features detected.
3636 """
3737 num = c_dim_t (0 )
3838 safe_call (backend .get ().af_get_features_num (ct .pointer (num ), self .feat ))
3939 return num
4040
41- def get_xpos ():
41+ def get_xpos (self ):
4242 """
4343 Returns the x-positions of the features detected.
4444 """
4545 out = Array ()
4646 safe_call (backend .get ().af_get_features_xpos (ct .pointer (out .arr ), self .feat ))
4747 return out
4848
49- def get_ypos ():
49+ def get_ypos (self ):
5050 """
5151 Returns the y-positions of the features detected.
5252 """
5353 out = Array ()
5454 safe_call (backend .get ().af_get_features_ypos (ct .pointer (out .arr ), self .feat ))
5555 return out
5656
57- def get_score ():
57+ def get_score (self ):
5858 """
5959 Returns the scores of the features detected.
6060 """
6161 out = Array ()
6262 safe_call (backend .get ().af_get_features_score (ct .pointer (out .arr ), self .feat ))
6363 return out
6464
65- def get_orientation ():
65+ def get_orientation (self ):
6666 """
6767 Returns the orientations of the features detected.
6868 """
6969 out = Array ()
7070 safe_call (backend .get ().af_get_features_orientation (ct .pointer (out .arr ), self .feat ))
7171 return out
7272
73- def get_size ():
73+ def get_size (self ):
7474 """
7575 Returns the sizes of the features detected.
7676 """
You can’t perform that action at this time.
0 commit comments