Another "new style getargs format but argument is not a tuple" question.
For me, I'm getting it with
blank = cv2.line(blank,focus1,focus2,(255,0,0),5)
I know this is something to do with a mismatch of types with the underlying library. But what should I be using exactly? I've tried with focus1 and focus2 being both lists (defined with square-brackets) and tuples (defined with just commas). Both seem to trigger the same error.
I'm in Python 2.7 and opencv 2.4.9.1
Update: for anyone else struggling with this. I was mystified because I WAS generating the points as tuples (and so thought this wasn't the problem). But I found somewhere else in my code which was processing them and turning them back into lists on the way to the draw function.
Something to watch out for if you hit this problem.