This class stores pre-process information for the input. More...
Public Member Functions | |
def | __init__ (self) |
def | __dealloc__ (self) |
def | get_number_of_channels (self) |
Returns a number of channels to preprocess. | |
def | init (self, number_of_channels) |
Initializes with given number of channels. | |
def | set_mean_image (self, mean_image) |
Sets mean image values if operation is applicable. More... | |
def | set_mean_image_for_channel (self, mean_image, channel) |
Sets mean image values if operation is applicable. More... | |
def | mean_variant (self) |
Mean Variant to be applied for input before inference if needed. More... | |
def | mean_variant (self, variant) |
def | resize_algorithm (self) |
Resize Algorithm to be applied for input before inference if needed. More... | |
def | resize_algorithm (self, alg) |
def | color_format (self) |
Color format to be used in on-demand color conversions applied to input before inference. More... | |
def | color_format (self, fmt) |
Data Fields | |
mean_variant | |
Mean Variant to be applied for input before inference if needed. More... | |
resize_algorithm | |
Resize Algorithm to be applied for input before inference if needed. More... | |
color_format | |
Color format to be used in on-demand color conversions applied to input before inference. More... | |
This class stores pre-process information for the input.
def ie_api.PreProcessInfo.color_format | ( | self | ) |
Color format to be used in on-demand color conversions applied to input before inference.
Usage example:
def ie_api.PreProcessInfo.mean_variant | ( | self | ) |
Mean Variant to be applied for input before inference if needed.
Usage example:
def ie_api.PreProcessInfo.resize_algorithm | ( | self | ) |
Resize Algorithm to be applied for input before inference if needed.
Usage example:
def ie_api.PreProcessInfo.set_mean_image | ( | self, | |
mean_image | |||
) |
Sets mean image values if operation is applicable.
Also sets the mean type to MEAN_IMAGE for all channels
def ie_api.PreProcessInfo.set_mean_image_for_channel | ( | self, | |
mean_image, | |||
channel | |||
) |
Sets mean image values if operation is applicable.
Also sets the mean type to MEAN_IMAGE for a particular channel
ie_api.PreProcessInfo.color_format |
Color format to be used in on-demand color conversions applied to input before inference.
Usage example:
ie_api.PreProcessInfo.mean_variant |
Mean Variant to be applied for input before inference if needed.
Usage example:
ie_api.PreProcessInfo.resize_algorithm |
Resize Algorithm to be applied for input before inference if needed.
Usage example: