Skip to content

Imagefeatures

flowtask.components.ImageFeatures

ImageFeatures

ImageFeatures(loop=None, job=None, stat=None, **kwargs)

Bases: FlowComponent

ImageFeatures is a component for extracting image features. It extends the FlowComponent class and implements a Plugin system for various image processing tasks.

Parameters:

Name Type Description Default
*args

Variable length argument list.

required
**kwargs

Arbitrary keyword arguments.

{}

Attributes:

Name Type Description
_model_name str

The name of the model used for feature extraction.

get_bio

get_bio(bio)

Return a BytesIO object for a payload.

run async

run()

run.

Execute the plugin List to extract image features.

start async

start(**kwargs)

start.

Initialize Task.

process

ImageFeatures

ImageFeatures(loop=None, job=None, stat=None, **kwargs)

Bases: FlowComponent

ImageFeatures is a component for extracting image features. It extends the FlowComponent class and implements a Plugin system for various image processing tasks.

Parameters:

Name Type Description Default
*args

Variable length argument list.

required
**kwargs

Arbitrary keyword arguments.

{}

Attributes:

Name Type Description
_model_name str

The name of the model used for feature extraction.

get_bio
get_bio(bio)

Return a BytesIO object for a payload.

run async
run()

run.

Execute the plugin List to extract image features.
start async
start(**kwargs)

start.

Initialize Task.