Bugfix 3115: Added not to documentation for python version for

facerecognizer interface + white + whitespaces remove
pull/1378/head
StevenPuttemans 12 years ago
parent 114bec52fe
commit 7e638cb0b5
  1. 2
      modules/contrib/doc/facerec/facerec_api.rst
  2. 5
      samples/python2/facerec_demo.py

@ -70,6 +70,8 @@ Moreover every :ocv:class:`FaceRecognizer` supports the:
* **Loading/Saving** the model state from/to a given XML or YAML.
.. note:: When using the FaceRecognizer interface in combination with Python, please stick to Python 2. Some underlying scripts like create_csv will not work in other versions, like Python 3.
Setting the Thresholds
+++++++++++++++++++++++

@ -31,6 +31,11 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
# ------------------------------------------------------------------------------------------------
# Note:
# When using the FaceRecognizer interface in combination with Python, please stick to Python 2.
# Some underlying scripts like create_csv will not work in other versions, like Python 3.
# ------------------------------------------------------------------------------------------------
import os
import sys

Loading…
Cancel
Save