Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

622 B
Raw Blame

convert_affinematrix_to_homography and convert_affinematrix_to_homography3d now reject integer and bool input up front with a ValueError naming the dtype, as Rt_to_matrix4x4 does; before, it failed with a bare RuntimeError from the in-place += 1.0 on the padded homography. ARKitQTVecs_to_ColmapQTVecs now rejects an integer, bool or complex qvec and a complex tvec with a TypeCheckError naming the argument, as ColmapQTVecs_to_ARKitQTVecs does; before, they failed inside linalg.vector_norm or a comparison. An integer tvec with a floating qvec still promotes and returns the floating result.