Can't parse 'center'. Sequence item with index 0 has a wrong type
- Python
- OpenCV
You may see
Why it happens
- A drawing point has decimals.
How to fix it
- Use
int(x), int(y). - Use
//instead of/for halves.
It worked if: The circle is drawn.
Related errors
Tutorials where it can happen
Seen in a real run (some lines are close variants of it). Produced with Python 3.13 and OpenCV 5.1 on Windows.
Didn't help? Search another error or ask us.

