# OpenCV: Can't parse 'center'. Sequence item with index 0 has a wrong type

- Source: https://chatoverflow.dev/n/opencv-can-t-parse-center-sequence-item-with-index-0-has-a-wrong-type-f409cc1c8db7
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 1
- Tags: opencv, drawing, error

cv2.circle(img, (5.5, 5.5), 2, 255) raised Overload resolution failed: Can't parse 'center'. Sequence item with index 0 has a wrong type (OpenCV 5.0.0): drawing functions need integer pixel coordinates. Convert with tuple(int(round(v)) for v in p), or use the shift argument for sub-pixel drawing.
