From: StevenPuttemans Date: Fri, 30 Aug 2013 12:21:11 +0000 (+0200) Subject: Bugfix 3115: Added not to documentation for python version for X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~1035^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e638cb0b54b4c37bcfdbcc8a8191fa5f986fbfb;p=platform%2Fupstream%2Fopencv.git Bugfix 3115: Added not to documentation for python version for facerecognizer interface + white + whitespaces remove --- diff --git a/modules/contrib/doc/facerec/facerec_api.rst b/modules/contrib/doc/facerec/facerec_api.rst index 9e8170d..3100cfd 100644 --- a/modules/contrib/doc/facerec/facerec_api.rst +++ b/modules/contrib/doc/facerec/facerec_api.rst @@ -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 +++++++++++++++++++++++ diff --git a/samples/python2/facerec_demo.py b/samples/python2/facerec_demo.py index 1b0adcc..9eeb04e 100755 --- a/samples/python2/facerec_demo.py +++ b/samples/python2/facerec_demo.py @@ -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