5,323
edits
No edit summary |
|||
Line 8: | Line 8: | ||
=== Free algorithms only === | === Free algorithms only === | ||
<pre> | <pre> | ||
pip install opencv-python | pip install opencv-contrib-python | ||
</pre> | </pre> | ||
=== Non-free Algorithms === | === Non-free Algorithms === | ||
You | You need to compile [https://github.com/opencv/opencv OpenCV] from source alongside [https://github.com/opencv/opencv_contrib OpenCV-contrib] if you want to do things the hard way | ||
{{hidden | Compilation Instructions | | {{hidden | Compilation Instructions | | ||
See [https://www.pyimagesearch.com/2018/08/15/how-to-install-opencv-4-on-ubuntu/ https://www.pyimagesearch.com/2018/08/15/how-to-install-opencv-4-on-ubuntu] for instructions. | See [https://www.pyimagesearch.com/2018/08/15/how-to-install-opencv-4-on-ubuntu/ https://www.pyimagesearch.com/2018/08/15/how-to-install-opencv-4-on-ubuntu] for instructions. |