![]() can be used as a shortcut to the data folder. Option 4 - Headless full package (contains both main modules and contrib/extra modules): pip install opencv-contrib-python-headless (check contrib/extra modules listing from OpenCV documentation)Īll packages contain Haar cascade files.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. |