Skip to content

How to dewarp deskewed image (on page level) using ocrd-anybaseocr-dewarp #246

Description

@Aysoltan

ocrd-anybaseocr-dewarp with the command:

ocrd-anybaseocr-dewarp -I OCR-D-DESKEW-PAGE -O OCR-D-DEWARP-PAGE -p '{\"pix2pixHD\":\"../ocr_all/pix2pixHD/\",\"latest_net_G.pth\":\"../ocr_all/pix2pixHD/models\"}'

resolves the following error:
ValueError: Error parsing '{\"pix2pixHD\":\"../ocr_all/pix2pixHD/\",\"latest_net_G.pth\":\"../ocr_all/pix2pixHD/models\"}': Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

Any idea how to use ocrd-anybaseocr-dewarp properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions