diff --git a/applications/reconstruct/src/registration.cpp b/applications/reconstruct/src/registration.cpp index 1d61e4c06a1960aea07c8df34eacfc67e54dc3f5..2cee459d45485af4a7b44fa7796006f112edfd66 100644 --- a/applications/reconstruct/src/registration.cpp +++ b/applications/reconstruct/src/registration.cpp @@ -454,6 +454,7 @@ bool ChessboardRegistration::findFeatures(Source *source, size_t idx) { PointCloud<PointXYZ>::Ptr cloud(new PointCloud<PointXYZ>); Mat rgb, depth; + source->grab(); source->getFrames(rgb, depth); bool retval = findChessboardCorners(rgb, depth, source->parameters(), pattern_size_, cloud, error_threshold_);