image module
ImageImpulseRunner
Parameters
model_path: str
Bases
edge_impulse_linux.runner.ImpulseRunner
Methods
classifier
Parameters
self
videoDeviceId=0
classify
Parameters
self
data
get_features_from_image
Parameters
self
img
crop_direction_x='center'
crop_direction_y='center'
get_features_from_image_auto_studio_setings
Parameters
self
img
get_frames
Parameters
self
videoDeviceId=0
init
Parameters
self
debug=False
get_features_from_image_with_studio_mode
Extract features from an image using different resizing modes suitable for Edge Impulse Studio.
Parameters
img
mode
output_width
output_height
is_grayscale
resize_with_letterbox
Resize an image while maintaining aspect ratio using letterboxing.
Parameters
image
target_width
target_height
Last updated