mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Fixed duplicate target name
Address review comments on content of additions and match section title styling of the rest of the guide.
This commit is contained in:
committed by
Ian Cordasco
parent
6d7c9897b9
commit
dff8f0d943
+10
-11
@@ -63,26 +63,26 @@ There are more examples of the Pillow library in the
|
|||||||
|
|
||||||
|
|
||||||
OpenSource Computer Vision
|
OpenSource Computer Vision
|
||||||
---------------------------
|
--------------------------
|
||||||
|
|
||||||
OpenSource Computer Vision, or OpenCV in short, is a more advanced and useful
|
OpenSource Computer Vision, more commonly known as OpenCV, is a more advanced image manipulation and processing software than PIL. It has been implemented in several
|
||||||
image manipulation and processing software than PIL. It has been implemented in several
|
languages and is widely used.
|
||||||
languages and is very widely used.
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
In Python, image processing using OpenCV is implemented using the **cv2** and **NumPy** modules.
|
In Python, image processing using OpenCV is implemented using the ``cv2`` and ``NumPy`` modules.
|
||||||
Check the installation instructions for OpenCV `here <https://help.ubuntu.com/community/OpenCV>`_.
|
The `installation instructions for OpenCV <http://docs.opencv.org/2.4/doc/tutorials/introduction/table_of_content_introduction/table_of_content_introduction.html#table-of-content-introduction>`_ should guide you through configuring the project for yourself.
|
||||||
|
|
||||||
NumPy can be easily downloaded from the Python Package Index(PyPI):
|
NumPy can be downloaded from the Python Package Index(PyPI):
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ pip install numpy
|
$ pip install numpy
|
||||||
|
|
||||||
|
|
||||||
Example
|
Example
|
||||||
~~~~~~~~
|
~~~~~~~
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
@@ -101,6 +101,5 @@ Example
|
|||||||
#Saving filtered image to new file
|
#Saving filtered image to new file
|
||||||
cv2.imwrite('graytest.jpg',gray)
|
cv2.imwrite('graytest.jpg',gray)
|
||||||
|
|
||||||
There are more examples of OpenCV in the documentation
|
There are more Python-implemented examples of OpenCV in this `collection of tutorials <http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_tutorials.html>`_.
|
||||||
`here <http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_tutorials.html>`_.
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user