Option 3 - Headless main modules package: pip install opencv-python-headless.or you are using some other package (such as PyQt) than OpenCV to create your GUI. You should always use these packages if you do not use cv2.imshow et al. 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. 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). Packages for server (headless) environments (such as Docker, cloud environments etc.), no GUI library dependencies
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |