1 | initial version |
Well I think I found the issue so I'll post it here in case anyone stumble upon this...
It seems my camera matrix was not properly initialized. I don't know why but I dont get a 3x3 matrix from my double[3,3]. So I initialized it using the OpenCV Mat constructor like this:
var intrinsic = new Mat(3, 3, MatType.CV_64F, new double[] { d1, d2, d3, d4, d5, d6, d7, d8, d9 });
And now it's working... if anyone know why my double[3,3] was not producing the corresponding Mat(3,3) feel free to share !