mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
d/dai: Fisheye calibration was upstreamed, actually use it now
This commit is contained in:
parent
faca646193
commit
5122ecd0b0
|
@ -197,12 +197,8 @@ depthai_get_gray_cameras_calibration(struct depthai_fs *depthai, struct t_stereo
|
|||
|
||||
uint32_t num_dist = 14;
|
||||
|
||||
#if 0
|
||||
// Good enough assumption that they're using the same distortion model
|
||||
bool use_fisheye = calibData.getDistortionModel(dai::CameraBoardSocket::LEFT) == dai::CameraModel::Fisheye;
|
||||
#else
|
||||
bool use_fisheye = false;
|
||||
#endif
|
||||
if (use_fisheye) {
|
||||
num_dist = 4;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue