Skip to content

Support for opencv-python-headless #170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sandzone opened this issue Feb 21, 2023 · 1 comment
Open

Support for opencv-python-headless #170

sandzone opened this issue Feb 21, 2023 · 1 comment

Comments

@sandzone
Copy link

Motivation
To improve use of LayoutParser with AWS Lambda

Additional context
The latest version of opencv-python has a well known dependency issue with ZLIB. Following is a thread about it.

opencv/opencv-python#772

Workaround for that problem is to install an earlier version of opencv-python. Specifically, 4.6.0.66

To make LayoutParser compatible with AWS Lambda, one has to install opencv-pytyon==4.6.0.66 ahead of LayoutParser.

Also, I am not sure if opencv-python-headless will be sufficient as a dependency instead of opencv-python to get LayoutParser to work properly. If 'headless' is sufficient, it saves a bit of space when creating AWS Lambda containers.

@micmarty-deepsense
Copy link

I'd also love to see that change - opencv-python-headless or opencv-contrib-python-headless should be sufficient, whatever works. Is there a chance to introduce one of them in the short term?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants