Skip to content

Commit 963b29b

Browse files
committed
Fix bug of calibFast().
1 parent ff2187c commit 963b29b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/photometric_calib/src/VignetteCalib.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,12 +626,13 @@ void VignetteCalib::calibFast(bool debug)
626626
int wI = wO, hI = hO;
627627

628628
Ptr<aruco::DetectorParameters> parameters = aruco::DetectorParameters::create();
629-
Ptr<aruco::Dictionary> dictionary = aruco::getPredefinedDictionary(aruco::DICT_6X6_250);
629+
Ptr<aruco::Dictionary> dictionary = aruco::getPredefinedDictionary(aruco::DICT_ARUCO_ORIGINAL);
630630

631631
std::vector<float *> images;
632632
std::vector<float *> p2imgX;
633633
std::vector<float *> p2imgY;
634634

635+
std::cout<<"Preprocessing images..."<<std::endl;
635636
for (unsigned long i = 0; i < imageReader->getNumImages(); ++i)
636637
{
637638
std::vector<int> markerIds;

0 commit comments

Comments
 (0)