deepscribe.pipeline.aggregation

class deepscribe.pipeline.aggregation.OchreDatasetTask(*args, **kwargs)

An ExternalTask requiring the presence of folder containing images of PFA hotspots.

output()

Checks if the folder is present.

Returns:luigi.LocalTarget
class deepscribe.pipeline.aggregation.OchreToHD5Task(*args, **kwargs)

Converts a folder of OCHRE hotspots into a single HDF5 archive

output()

HDF5 archive containing contents of the folder.

Returns:luigi.LocalTarget
requires()

Requires the presence of the OCHRE Dataset folder

Returns:OchreDatasetTask
run()

Copies the images into a single HDF5 archive with metadata from the filenames preserved.

Returns:None