You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on a quick search of the codebase, surya only uses utility functions from cv2, and no GUI functions like imshow. If you use the headless version of the package, which is identical but doesn't include the GUI functions, then it would be easier to install in docker and would speed up installation times for regular users.
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.
The text was updated successfully, but these errors were encountered:
Based on a quick search of the codebase, surya only uses utility functions from
cv2
, and no GUI functions likeimshow
. If you use the headless version of the package, which is identical but doesn't include the GUI functions, then it would be easier to install in docker and would speed up installation times for regular users.From the
opencv-python-headless
docs:The text was updated successfully, but these errors were encountered: