When running calibrate_camera_intrinsics.cc, calibration fails with below error, regardless of the prior focal length used:
F0715 16:03:27.631510 210365888 visibility_pyramid.cc:54] Check failed: width_ > 0 (0 vs. 0)
I set the focal length prior by adding a flag:
DEFINE_double(focal_length_prior, 0.0, "Set a prior focal length to initialize intrinsics with.");
and then:
if (FLAGS_focal_length_prior != 0) { prior.focal_length.is_set = true; prior.focal_length.value[0] = FLAGS_focal_length_prior; }
Everything works fine if I don't set a focal prior.
When running calibrate_camera_intrinsics.cc, calibration fails with below error, regardless of the prior focal length used:
F0715 16:03:27.631510 210365888 visibility_pyramid.cc:54] Check failed: width_ > 0 (0 vs. 0)I set the focal length prior by adding a flag:
DEFINE_double(focal_length_prior, 0.0, "Set a prior focal length to initialize intrinsics with.");and then:
if (FLAGS_focal_length_prior != 0) { prior.focal_length.is_set = true; prior.focal_length.value[0] = FLAGS_focal_length_prior; }Everything works fine if I don't set a focal prior.