Skip to content
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

[IMP] Opencv headless #139

Merged
merged 2 commits into from
Oct 6, 2024
Merged

[IMP] Opencv headless #139

merged 2 commits into from
Oct 6, 2024

Conversation

bosd
Copy link
Collaborator

@bosd bosd commented Sep 19, 2024

Switch to opencv headless. To reduce the bloat on server environments.

b. Packages for server (headless) environments (such as Docker, cloud environments etc.), no GUI library dependencies

These packages are smaller than the two other packages above because they do not contain any GUI functionality (not compiled with Qt / other GUI components). This means that the packages avoid a heavy dependency chain to X11 libraries and you will have for example smaller Docker images as a result. You should always use these packages if you do not use cv2.imshow et al. or you are using some other package (such as PyQt) than OpenCV to create your GUI.

Fixup! Opencv-python-headless
@bosd bosd added dependencies Pull requests that update a dependency file performance Performance labels Sep 19, 2024
@bosd bosd marked this pull request as ready for review September 19, 2024 18:23
@bosd bosd merged commit 2ca41d8 into py-pdf:main Oct 6, 2024
12 checks passed
@bosd bosd deleted the opencv-headless branch October 6, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file performance Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant