.. _KNN:

K-Nearest Neighbour
**********************

*  :ref:`KNN_Understanding`

  .. tabularcolumns:: m{100pt} m{300pt}
  .. cssclass:: toctableopencv

  =========== ===================================================================
  |KNN_1|      Get a basic understanding of what kNN is
  =========== ===================================================================

  .. |KNN_1| image:: images/knn_icon1.jpg
                 :height: 90pt
                 :width:  90pt

*  :ref:`KNN_OpenCV`

  .. tabularcolumns:: m{100pt} m{300pt}
  .. cssclass:: toctableopencv

  =========== ===================================================================
  |KNN_2|      Now let's use kNN in OpenCV for digit recognition OCR
  =========== ===================================================================

  .. |KNN_2| image:: images/knn_icon2.jpg
                 :height: 90pt
                 :width:  90pt

.. raw:: latex

   \pagebreak

.. We use a custom table of content format and as the table of content only informs Sphinx about the hierarchy of the files, no need to show it.
.. toctree::
   :hidden:

   py_knn_understanding/py_knn_understanding
   py_knn_opencv/py_knn_opencv
