I'm trying to add a button to my image processing script to save the high and low HSV values for my binary threshold.
According to the OpenCV 3.0 documentation here, OpenCV evidently has a function which does that.
I am writing the function like this
cv2.createButton('Button',f)
Where Button
is the name of the button and f
is the callback function (just an empty function)
However I keep on getting:-
AttributeError: 'module' object has no attribute 'createButton'
Apparently the same function works fine with C/C++ but it isn't working with python. Most probably because it isn't there for python (maybe) ?
How do I get around this problem?
from How to make buttons in OpenCV 3.1 using cv2.createButton?
No comments:
Post a Comment