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