# Can’t parse ‘center’. Sequence item with index 0 has a wrong type [duplicate]

We Are Going To Discuss About Can’t parse ‘center’. Sequence item with index 0 has a wrong type . So lets Start this Python Article.

## Can’t parse ‘center’. Sequence item with index 0 has a wrong type

1. How to solve Can't parse 'center'. Sequence item with index 0 has a wrong type [duplicate]

The problem is just parsing the `(x, y)` or the `(pts1[0][0], pts1[0][1])` to integers you just have to do the following `(int(pts1[0][0]), int(pts1[0][1]))` in the `circle` function

2. Can't parse 'center'. Sequence item with index 0 has a wrong type [duplicate]

The problem is just parsing the `(x, y)` or the `(pts1[0][0], pts1[0][1])` to integers you just have to do the following `(int(pts1[0][0]), int(pts1[0][1]))` in the `circle` function

## Solution 1

The problem is just parsing the `(x, y)` or the `(pts1[0][0], pts1[0][1])` to integers you just have to do the following `(int(pts1[0][0]), int(pts1[0][1]))` in the `circle` function

Original Author Mohamad Osama Of This Content

## Solution 2

Sol:

``````cv2.line(img, (**int**(corners_int[0, 0]), **int**(corners_int[0, 1])), (**int**(corners_int[3, 0]), **int**(corners_int[3, 1])), (255, 255, 0), 2)
``````

Original Author user17258584 Of This Content

## Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.