Issue with cv2.fiseye.calibrate :fisheye.cpp:742: error: (-215:Assertion failed) objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3 in function 'calibrate'

if you have

then this assertion couldn’t have failed because that shape and dtype satisfies the assertion.

please check .shape and .dtype directly before the calibrate call.