mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Added image sequence to rtabmap::Image class
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@740 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -435,7 +435,7 @@ int main(int argc, char * argv[])
|
||||
cv::Mat descriptors;
|
||||
std::vector<cv::KeyPoint> keypoints;
|
||||
cv::Mat cvImg = camera->takeImage(descriptors, keypoints);
|
||||
Image img(cvImg, descriptors, keypoints);
|
||||
Image img(cvImg, 0, descriptors, keypoints);
|
||||
int i=0;
|
||||
double maxIterationTime = 0.0;
|
||||
int maxIterationTimeId = 0;
|
||||
@@ -452,7 +452,7 @@ int main(int argc, char * argv[])
|
||||
++countLoopDetected;
|
||||
}
|
||||
cvImg = camera->takeImage(descriptors, keypoints);
|
||||
img = Image(cvImg, descriptors, keypoints);
|
||||
img = Image(cvImg, 0, descriptors, keypoints);
|
||||
if(++count % 100 == 0)
|
||||
{
|
||||
printf(" count = %d, loop closures = %d, max time (at %d) = %fs\n",
|
||||
|
||||
Reference in New Issue
Block a user