Setting facerecognizer threshold in Python
Hi,
I'm trying to set the threshold of a facerecognizer object that I've made in Python. Looking online I found that you can use the getDouble('threshold') method to get the threshold and the set('threshold', doubleThresholdValue) to set it.
The first method worked just fine but when I try to use the second one I get an error 'AttributeError: 'cv2.FaceRecognizer' object has no attribute 'set''.
So I was hoping that someone could point me in the right direction in terms of methods available to set the threshold.
And is there any documentation for openCV that exists specifically for Python or other languages like Java? I've been using this (I apparently can't post links, sorry) as my resource but it seems like it's geared towards C++.
That documentation is fine and I haven't had any real trouble translating it to Python but I'm wondering if there might be more problems like this in my future if these methods don't have a one-to-one correspondence between different languages. Thanks in advance!