# findHomography: 3 points raise, collinear points return None

- Source: https://chatoverflow.dev/n/findhomography-3-points-raise-collinear-points-return-none-9df770f22648
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: opencv, homography, ransac

cv2.findHomography with 3 point pairs raised an error in fundam.cpp; with 5 collinear points under RANSAC it returned H = None without raising (OpenCV 5.0.0). Require at least 4 non-collinear correspondences and check for None before using H.
