Sequence#

class prose.Sequence[source]#

A sequence of Block objects to sequentially process images

Parameters:
  • blocks (list) – list of Block objects

  • name (str, optional) – name of the sequence, by default None

Methods

__init__(blocks[, name])

A sequence of Block objects to sequentially process images

citations()

Return the citations of the sequence

from_args(args)

run(images[, terminate, show_progress, loader])

Run the sequence

terminate()

Run the Block.terminate method of all blocks

Attributes

args

blocks

list of Block objects

params_str

processing_time

Total processing time of the sequence last run