Skip to content

Using the PDF pre-processor #117

@nevvermind

Description

@nevvermind

Firstly, thanks for your effort. It's a cool setup you've done here.

And thanks @xf0e for the PR.

Unfortunately, it seems that one of the Docker images up in DockerHub is out of date. I mean https://hub.docker.com/r/tleyden5iwx/open-ocr-preprocessor. It doesn't seem to contain the PDF pre-processor code added by @xf0e's PR.

$ docker images
REPOSITORY                          TAG                 IMAGE ID            CREATED             SIZE
busybox                             latest              d8233ab899d4        4 weeks ago         1.2MB
tleyden5iwx/open-ocr-2              latest              7b3add377eb6        3 months ago        845MB
rabbitmq                            3.6.5-management    5335b737c380        2 years ago         179MB
tleyden5iwx/open-ocr-preprocessor   latest              00a689ddd4f8        4 years ago         1.31GB

The preprocessor_rpc_worker.go file is different in the built image than the one found in the master branch.

docker exec docker-compose_strokewidthtransform_1 cat /opt/go/src/github.com/tleyden/open-ocr/preprocessor_rpc_worker.go

I'm assuming that's why the No preprocessor found for: "convert-pdf" error happens: #108 (comment)

Would you mind checking if the image is up to date with the code, @tleyden, when you've got some time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions