Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

using boxdetect in a lambda errors due to GUI artifacts #31

Open
@churdman001

Description

When trying to use boxdetect in an AWS lambda, this error occurs when deploying:

[ERROR] Runtime.ImportModuleError: Unable to import module 'pd_ocr/handlers/s3_write': libGL.so.1: cannot open shared object file: No such file or directory Traceback (most recent call last):

The error occurs because it is trying to use opencv artifacts necessary for GUI interface which is not needed in a lambda.

Proposed solution: boxdetect should use opencv-python-headless instead of opencv-python. That way these unneeded GUI artifacts are not included allowing boxdetect to be used in a lambda.

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

        AltStyle によって変換されたページ (->オリジナル) /