Bugfix 3115: Added not to documentation for python version for
authorStevenPuttemans <steven.puttemans@lessius.eu>
Fri, 30 Aug 2013 12:21:11 +0000 (14:21 +0200)
committerStevenPuttemans <steven.puttemans@lessius.eu>
Mon, 2 Sep 2013 09:59:35 +0000 (11:59 +0200)
facerecognizer interface + white + whitespaces remove

modules/contrib/doc/facerec/facerec_api.rst
samples/python2/facerec_demo.py

index 9e8170d..3100cfd 100644 (file)
@@ -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
 +++++++++++++++++++++++
 
index 1b0adcc..9eeb04e 100755 (executable)
 # 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