GTRefiner.TestingAndClientExamples.ClientExamples.Visitor package

Submodules

GTRefiner.TestingAndClientExamples.ClientExamples.Visitor.BlurAndScaleResizerVisitor module

class GTRefiner.TestingAndClientExamples.ClientExamples.Visitor.BlurAndScaleResizerVisitor.BlurAndScaleResizerOrig(target_dim: ImageDimension, algo: str)

Bases: Resizer

visit_page(page: Page)

Resize a page (and all it’s ground-truth information, including the original image) to a target dimension. :param target_dim: Target dimension :type target_dim: ImageDimension

class GTRefiner.TestingAndClientExamples.ClientExamples.Visitor.BlurAndScaleResizerVisitor.BlurAndScaleResizerPxGT(target_dim: ImageDimension, algo: str)

Bases: Resizer

visit_page(page: Page)

Resize a page (and all it’s ground-truth information, including the original image) to a target dimension. :param target_dim: Target dimension :type target_dim: ImageDimension

Module contents