SystemError: new style getargs format but argument is not a tuple

SystemError: new style getargs format but argument is not a tuple

**

A very simple but BD less than a small bug

Read data using CV2. Reset() function, the original program: CV2. Reset (IMG, 28,56), the picture to (28,56) size. The error is as follows: systemerror: new style getargs format but argument is not a tuple!

Parameter non tuple case!
At the beginning, change 28,56 to [28,56], but it still can’t be changed to (28,56)
that is, reset (IMG, (28,56)).
just started to write programs in Python, and used Matlab before, so there are always such and such errors, I hope others can find the debug as soon as possible!
I wish you a quick and successful debug!

Read More: