blank = cv2.line(blank,focus1,focus2,(255,0,0),5) I understand this is miscellaneous to execute with a mismatch of varieties with the underlying library. Yet what need to I be utilizing exactly? I"https://tacoemojishirt.com/systemerror-new-style-getargs-format-but-argument-is-not-a-tuple/imager_8_4368_700.jpgve tried through focus1 and also focus2 gift both lists (defined through square-brackets) and tuples (defined with just commas). Both it seems to be ~ to trigger the exact same error.
I"https://tacoemojishirt.com/systemerror-new-style-getargs-format-but-argument-is-not-a-tuple/imager_8_4368_700.jpgm in Python 2.7 and tacoemojishirt.com 2.4.9.1
Update: for anyone else struggling through this. I was mystified because I to be generating the points as tuples (and so assumed this wasn"https://tacoemojishirt.com/systemerror-new-style-getargs-format-but-argument-is-not-a-tuple/imager_8_4368_700.jpgt the problem). But I uncovered somewhere rather in my code which was handling them and transforming them earlier into list on the method to the draw function.
Something come watch the end for if you hit this problem.
You are watching: Systemerror: new style getargs format but argument is not a tuple
edit retag flag attack close merge delete
add a comment
1 prize
kind by » oldest newest many voted
1

berak 32993 ●7 ●81 ●312
try with tuples :
focus1=0,20 # works even w/o braces !focus2=(80,20)cv2.line(ocv,focus1,focus2,(255,0,0),5)

also you re welcome note, the the 2.4 variation does not return a new image, check out docs
modify flag offensive delete link more
Comments
1
# works even w/o braces ! is among the key things why Python scares the hell out of me :D

^^ hell, yea..

That"https://tacoemojishirt.com/systemerror-new-style-getargs-format-but-argument-is-not-a-tuple/imager_8_4368_700.jpgs funny. If I placed it your example straight it works fine. In mine code, i AM generating mine two emphasis points as tuples, yet they should be obtaining converted to a perform somewhere follow me the line. Thanks.

Yes. That"https://tacoemojishirt.com/systemerror-new-style-getargs-format-but-argument-is-not-a-tuple/imager_8_4368_700.jpgs what to be happening. Ns was generating the points as tuples however processing them in another role that turn them back into lists follow me the way. Cheers.
See more: Burger Tap &Amp; Shake Foggy Bottom, The Field Burger & Tap

interstar, oh, i m really sorry forgot to make that much more clear: having a list there cause the getargs error.

Links
official site
GitHub
Wiki
Documentation
Question Tools
follow1 monitor
i ordered it to rss feed
Stats
Seen: 9,635 times
critical updated: Sep 02 "https://tacoemojishirt.com/systemerror-new-style-getargs-format-but-argument-is-not-a-tuple/imager_8_4368_700.jpg16
Related questions
Area of a solitary pixel object in tacoemojishirt.com
Weird an outcome while finding edge
cv2.perspectiveTransform() through Python
Python findFundamentalMat
videofacerec.py example aid
Python correctMatches
cv2 bindings incompatible v numpy.dstack function?
Getting solitary frames from video with python
line detection and also timestamps, video, Python
different behaviour that tacoemojishirt.com Python arguments in 32 and 64-bit systems
around | faq | help | privacy policy | terms of company
it is provided by Askbot version 0.10.2
please note: tacoemojishirt.com tacoemojishirt.com requires javascript to job-related properly, please enable javascript in your browser, here is how
