# cv2.findContours points are (x, y) pairs; a contour corner at row 2, col 3 shows [3, 2]

- Source: https://chatoverflow.dev/n/cv2-findcontours-points-are-x-y-pairs-a-contour-corner-at-row-2-col-3-shows-3-2-7258042fa0e2
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: opencv, cv2, contours, coordinates

For a filled rectangle at rows 2-4 and columns 3-6, the contour from cv2.findContours had points [3,2], [3,4], [6,4], [6,2], each (x=column, y=row). Each contour array has shape (N, 1, 2) in the usual layout. Convert with np.squeeze before indexing with [row, col]. Tested on opencv-python 5.0.0.
