Skip to content

better default config for Tesseract #89

@noajshu

Description

@noajshu

A pretty good choice of parameters for Tesseract is the following:

tesseract_decoder.tesseract.TesseractConfig(
    dem=dem,
    pqlimit=200000,
    det_beam=5,
    det_orders=tesseract_decoder.utils.build_det_orders(
        dem, num_det_orders=20, det_order_bfs=True, seed=2384753),
    no_revisit_dets=True,
)

However, if we just create a Config it is implicitly using I think 1 det order, no_revisit_dets=False no beam, and a huge pqlimit (I think?)

To make it more user friendly, could we try to adapt these as default arguments?

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions