features_selection¶
-
menpo.visualize.
features_selection
(style='coloured')[source]¶ Widget that allows selecting a features function and its options. The widget supports all features from menpo.feature and has a preview tab. It returns a list of length 1 with the selected features function closure.
Parameters: style ({ 'coloured'
,'minimal'
}, optional) – If'coloured'
, then the style of the widget will be coloured. Ifminimal
, then the style is simple using black and white colours.Returns: features_function (list of length 1
) – The function closure of the features function using functools.partial. So the function can be called as:features_image = features_function[0](image)