Jump to content

OpenCV: Difference between revisions

40 bytes removed ,  11 May 2020
no edit summary
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 ===
<pre>
pip install opencv-contrib-python
</pre>


You can also 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
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.