meta_and_frame_from_redis_classification

Module Contents

Classes

MetaAndFrameFromRedisClassification

Helper class that provides a standard way to create an ABC using

class meta_and_frame_from_redis_classification.MetaAndFrameFromRedisClassification(redis_read_meta_key, redis_read_image_key, image_meta_queue, *args, **kwargs)[source]

Bases: pipert.core.routine.Routine

Helper class that provides a standard way to create an ABC using inheritance.

routine_type[source]
receive_msg(self, in_key, most_recent=True)[source]
main_logic(self, *args, **kwargs)[source]
setup(self, *args, **kwargs)[source]
cleanup(self, *args, **kwargs)[source]
static get_constructor_parameters()[source]

Returns a dictionary of the constructor’s parameters built as key for name and value for type name

does_routine_use_queue(self, queue)[source]

Returns True whether the routine uses the given queue_name. Args:

queue_name: the name of the queue